/* ============================================================
   COOKIE CONSENT BANNER
   ============================================================ */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9998;
  padding: 18px 28px;
  background: rgba(10, 6, 20, 0.97);
  border-top: 1px solid rgba(90, 56, 144, 0.2);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;

  /* Slide up on appear */
  transform: translateY(100%);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

#cookie-banner.visible {
  transform: translateY(0);
}

.cookie-text {
  font-size: 0.82rem;
  line-height: 1.7;
  color: var(--white-dim);
  opacity: 0.72;
  max-width: 640px;
  flex: 1;
  min-width: 220px;
}

.cookie-text a {
  color: var(--white);
  text-decoration: underline;
  text-decoration-color: rgba(139, 0, 0, 0.45);
  text-underline-offset: 3px;
  white-space: nowrap;
}

.cookie-text a:hover {
  text-decoration-color: var(--accent);
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-btn {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  padding: 10px 22px;
  border-radius: 4px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0ms, border-color 0ms, box-shadow 500ms ease, transform 500ms ease;
  white-space: nowrap;
}

.cookie-btn--accept {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent-hot);
}

.cookie-btn--accept:hover {
  box-shadow: 0 4px 20px rgba(139, 0, 0, 0.45);
  transform: translateY(-1px);
}

.cookie-btn--decline {
  background: transparent;
  color: var(--white-dim);
  border-color: rgba(90, 56, 144, 0.3);
  opacity: 0.6;
}

.cookie-btn--decline:hover {
  opacity: 1;
  border-color: rgba(90, 56, 144, 0.6);
}

@media (max-width: 560px) {
  #cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 20px 24px;
    gap: 16px;
  }
  .cookie-actions { width: 100%; }
  .cookie-btn { flex: 1; text-align: center; }
}
