/* Cookie Consent Banner */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 250, 240, 0.98));
  border-top: 2px solid rgba(212, 166, 10, 0.3);
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(8px);
  padding: 20px;
  z-index: 10000;
  transform: translateY(0);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
  opacity: 1;
}

.cookie-consent.hidden {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}

.cookie-consent__container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.cookie-consent__icon {
  font-size: 2rem;
  flex-shrink: 0;
  animation: cookie-bounce 2s ease-in-out infinite;
}

@keyframes cookie-bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.cookie-consent__content {
  flex: 1 1 400px;
  min-width: 0;
}

.cookie-consent__message {
  color: #3b3b3b;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

.cookie-consent__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.cookie-consent__button {
  padding: 10px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  white-space: nowrap;
}

.cookie-consent__button--accept {
  background: linear-gradient(135deg, #d4a60a, #b78508);
  color: #fff;
  box-shadow: 0 4px 12px rgba(212, 166, 10, 0.3);
}

.cookie-consent__button--accept:hover {
  background: linear-gradient(135deg, #b78508, #9a6f07);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(212, 166, 10, 0.4);
}

.cookie-consent__button--accept:active {
  transform: translateY(0);
}

.cookie-consent__link {
  color: #b45309;
  text-decoration: none;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: 999px;
  transition: all 0.2s ease;
  display: inline-block;
}

.cookie-consent__link:hover {
  background: rgba(212, 166, 10, 0.1);
  color: #9a6f07;
}

/* Dark theme */
html[data-theme="dark"] .cookie-consent {
  background: linear-gradient(135deg, rgba(24, 24, 24, 0.98), rgba(31, 31, 31, 0.98));
  border-top-color: rgba(251, 191, 36, 0.3);
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.45);
}

html[data-theme="dark"] .cookie-consent__message {
  color: #e9e9ee;
}

html[data-theme="dark"] .cookie-consent__button--accept {
  background: linear-gradient(135deg, #facc15, #eab308);
  color: #111;
}

html[data-theme="dark"] .cookie-consent__button--accept:hover {
  background: linear-gradient(135deg, #fde047, #facc15);
}

html[data-theme="dark"] .cookie-consent__link {
  color: #fbbf24;
}

html[data-theme="dark"] .cookie-consent__link:hover {
  background: rgba(251, 191, 36, 0.15);
  color: #fde047;
}

/* Responsive */
@media (max-width: 768px) {
  .cookie-consent {
    padding: 16px;
  }

  .cookie-consent__container {
    gap: 16px;
  }

  .cookie-consent__icon {
    font-size: 1.5rem;
  }

  .cookie-consent__message {
    font-size: 0.9rem;
  }

  .cookie-consent__actions {
    width: 100%;
    justify-content: stretch;
  }

  .cookie-consent__button,
  .cookie-consent__link {
    flex: 1 1 auto;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .cookie-consent__container {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-consent__actions {
    flex-direction: column;
    width: 100%;
  }

  .cookie-consent__button,
  .cookie-consent__link {
    width: 100%;
  }
}
