/* Cookie Consent Banner */
.cookie-consent-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  z-index: 9999;
  max-width: 560px;
  width: calc(100% - 48px);
  background: rgba(15, 23, 42, 0.98);
  backdrop-filter: blur(24px);
  border: 1px solid rgba(59, 130, 246, 0.25);
  border-radius: 12px;
  box-shadow: 
    0 12px 48px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(59, 130, 246, 0.1) inset;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-consent-banner.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.cookie-consent-content {
  padding: 24px;
  position: relative;
}

.cookie-consent-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  color: #64748b;
  font-size: 20px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cookie-consent-close:hover {
  color: #f1f5f9;
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.3);
  transform: scale(1.05);
}

.cookie-consent-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #f1f5f9;
  margin: 0 0 12px 0;
  letter-spacing: 0.02em;
}

.cookie-consent-text {
  font-size: 0.875rem;
  color: #94a3b8;
  line-height: 1.6;
  margin: 0 0 20px 0;
}

.cookie-consent-link {
  color: #3b82f6;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.cookie-consent-link:hover {
  color: #60a5fa;
  text-decoration: underline;
}

.cookie-consent-actions {
  display: flex;
  gap: 12px;
}

.cookie-consent-btn {
  flex: 1;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid transparent;
  letter-spacing: 0.01em;
}

.cookie-consent-accept {
  background: rgba(59, 130, 246, 0.25);
  color: #60a5fa;
  border-color: rgba(59, 130, 246, 0.3);
}

.cookie-consent-accept:hover {
  background: rgba(59, 130, 246, 0.35);
  border-color: rgba(59, 130, 246, 0.5);
  transform: translateY(-1px);
}

.cookie-consent-deny {
  background: rgba(255, 255, 255, 0.05);
  color: #94a3b8;
  border-color: rgba(255, 255, 255, 0.1);
}

.cookie-consent-deny:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  color: #cbd5e1;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .cookie-consent-banner {
    bottom: 16px;
    width: calc(100% - 32px);
    max-width: none;
  }

  .cookie-consent-content {
    padding: 20px;
  }

  .cookie-consent-title {
    font-size: 1rem;
    margin-bottom: 10px;
  }

  .cookie-consent-text {
    font-size: 0.8125rem;
    margin-bottom: 16px;
  }

  .cookie-consent-actions {
    flex-direction: column;
    gap: 10px;
  }

  .cookie-consent-btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .cookie-consent-banner {
    bottom: 12px;
    width: calc(100% - 24px);
  }

  .cookie-consent-content {
    padding: 16px;
  }

  .cookie-consent-close {
    top: 12px;
    right: 12px;
    width: 24px;
    height: 24px;
    font-size: 18px;
  }

  .cookie-consent-title {
    font-size: 0.9375rem;
    margin-bottom: 8px;
  }

  .cookie-consent-text {
    font-size: 0.75rem;
    margin-bottom: 14px;
  }

  .cookie-consent-btn {
    padding: 9px 16px;
    font-size: 0.8125rem;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  .cookie-consent-banner {
    transition: opacity 0.2s ease;
  }

  .cookie-consent-banner.show {
    transform: translateX(-50%) translateY(0);
  }
}
