@import url('https://fonts.googleapis.com/css2?family=Comic+Sans+MS&display=swap');

:root {
  --primary-color: #ff00ff;
  --secondary-color: #00ffff;
  --error-color: #ff3333;
  --success-color: #33ff33;
  --popup-bg: rgba(255, 255, 255, 0.95);
  --popup-border: #ddd;
}

body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  font-family: "Comic Sans MS", cursive, sans-serif;
  background-color: #f0f0f0;
  color: #333;
  overflow-x: hidden;
}

header {
  text-align: center;
  padding: 2rem 0;
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

h1 {
  margin: 0;
  font-size: 2.5rem;
  text-shadow: 3px 3px 0 rgba(0, 0, 0, 0.2);
}

.day-counter {
  font-size: 1.2rem;
  margin-top: 0.5rem;
  font-weight: bold;
}

.container {
  max-width: 800px;
  margin: 2rem auto;
  padding: 2rem;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 1;
}

.content {
  min-height: 300px;
  text-align: center;
  padding: 2rem;
}

.cookie-popup {
  position: absolute;
  padding: 15px;
  background: var(--popup-bg);
  border: 2px solid var(--popup-border);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 100;
  width: 300px;
  transition: all 0.3s ease;
  animation: bounce-in 0.5s;
}

.cookie-popup h3 {
  margin-top: 0;
  color: var(--primary-color);
  font-size: 1.2rem;
}

.legal-text {
  max-height: 150px;
  overflow-y: auto;
  font-size: 0.9rem;
  margin-bottom: 15px;
  padding: 10px;
  border: 1px solid #eee;
  background: #f9f9f9;
}

.cookie-buttons {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.accept-btn {
  background: var(--success-color);
  color: white;
  border: none;
  padding: 8px 15px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  transition: transform 0.2s ease;
  flex: 1;
}

.refuse-btn {
  background: var(--error-color);
  color: white;
  border: none;
  padding: 8px 15px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  transition: transform 0.2s ease;
  flex: 1;
}

.close-btn {
  position: absolute;
  top: 5px;
  right: 5px;
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  color: #888;
}

.cookie-popup button:hover {
  transform: scale(1.05);
}

.success-message {
  padding: 20px;
  background-color: var(--success-color);
  color: white;
  border-radius: 8px;
  text-align: center;
  margin: 20px 0;
  display: none;
  animation: fade-in 0.5s;
}

footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  background-color: #333;
  color: white;
  margin-top: 2rem;
}

.footer-link {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: bold;
}

.footer-link:hover {
  text-decoration: underline;
  color: var(--primary-color);
}

.footer-text {
  font-style: italic;
}

@keyframes bounce-in {
  0% { transform: scale(0.8); opacity: 0; }
  50% { transform: scale(1.05); opacity: 0.8; }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-5px); }
  40%, 80% { transform: translateX(5px); }
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.shake {
  animation: shake 0.5s ease;
}

.cursor-follower {
  transition: all 0.1s ease;
  position: fixed;
}