/* Cookie Consent Banner */
.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  padding: 1rem;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  pointer-events: none;
}

.cookie-consent-banner.visible {
  transform: translateY(0);
  pointer-events: auto;
}

.cookie-consent-inner {
  max-width: 48rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.5rem;
  border-radius: 0.75rem;
  background: var(--surface-1, #0a0a0c);
  border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.06));
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.3);
}

.cookie-consent-text {
  font-size: 0.85rem;
  color: var(--text-secondary, #c4c4c4);
  line-height: 1.5;
  flex: 1;
}

.cookie-consent-link {
  color: var(--accent, #a78bfa);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-consent-link:hover {
  opacity: 0.8;
}

.cookie-consent-actions {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}

.cookie-consent-btn {
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: opacity 0.15s;
  border: none;
}

.cookie-consent-btn:hover {
  opacity: 0.85;
}

.cookie-consent-accept {
  background: var(--accent, #a78bfa);
  color: #fff;
}

.cookie-consent-reject {
  background: transparent;
  color: var(--text-muted, #6b6b6b);
  border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.06));
}

/* Light mode */
[data-theme="light"] .cookie-consent-inner {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.1);
}

/* Mobile */
@media (max-width: 640px) {
  .cookie-consent-inner {
    flex-direction: column;
    text-align: center;
  }

  .cookie-consent-actions {
    width: 100%;
    justify-content: center;
  }
}
