/* ============ COOKIE CONSENT BANNER ============ */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.4);
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  animation: slideUp 0.3s ease-out;
  max-height: 90vh;
  overflow-y: auto;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.cookie-banner-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.cookie-banner-text h3 {
  margin: 0 0 0.5rem 0;
  font-size: 1.125rem;
  font-weight: 600;
  color: #e0e0e0;
  line-height: 1.4;
}

.cookie-banner-text p {
  margin: 0;
  font-size: 0.9375rem;
  color: #a8a8a8;
  line-height: 1.5;
  max-width: 500px;
}

.cookie-banner-actions {
  display: flex;
  gap: 1rem;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 6px;
  font-size: 0.9375rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 200ms ease;
  white-space: nowrap;
  font-family: inherit;
}

.cookie-btn:focus-visible {
  outline: 2px solid #c0c0c0;
  outline-offset: 2px;
}

.cookie-btn-decline {
  background: rgba(255, 255, 255, 0.1);
  color: #d0d0d0;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.cookie-btn-decline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

.cookie-btn-decline:active {
  transform: scale(0.98);
}

.cookie-btn-accept {
  background: linear-gradient(135deg, #e0e0e0 0%, #d0d0d0 100%);
  color: #1a1a1a;
  font-weight: 600;
}

.cookie-btn-accept:hover {
  background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(224, 224, 224, 0.2);
}

.cookie-btn-accept:active {
  transform: scale(0.98);
}

/* ============ RESPONSIVE ============ */

@media (max-width: 768px) {
  .cookie-banner {
    padding: 1.25rem;
  }

  .cookie-banner-content {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }

  .cookie-banner-text {
    order: 1;
  }

  .cookie-banner-actions {
    order: 2;
    flex-direction: column;
  }

  .cookie-btn {
    width: 100%;
    padding: 0.875rem 1rem;
  }

  .cookie-banner-text p {
    max-width: 100%;
  }
}

/* ============ PREFERS REDUCED MOTION ============ */

@media (prefers-reduced-motion: reduce) {
  .cookie-banner {
    animation: none;
  }

  .cookie-btn {
    transition: none;
  }

  .cookie-btn-accept:hover {
    transform: none;
  }
}

/* ============ COOKIE BANNER HIDDEN ============ */

.cookie-banner.hidden {
  display: none;
}
