/* ---------- Cookie consent banner ----------
   Shared across every page on the site — relies only on the design
   tokens (--color-white/--color-orange/--color-orange-dark/--font-text)
   that both styles.css and coming-soon.css already define identically,
   so this one file works unmodified wherever it's linked. Logic lives in
   assets/js/cookie-banner.js. */

.cookie-banner {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 10000;
  width: min(400px, calc(100vw - 48px));
  padding: 24px;
  border-radius: 16px;
  background: #1c1a19;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
  color: var(--color-white);
  font-family: var(--font-text);
}

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

.cookie-banner__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--color-white);
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.15s ease;
}

.cookie-banner__close:hover {
  opacity: 1;
}

.cookie-banner__text {
  margin: 0 32px 20px 0;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.8);
}

.cookie-banner__text a {
  color: var(--color-white);
  text-decoration: underline;
}

.cookie-banner__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cookie-banner__btn {
  height: 44px;
  padding: 0 20px;
  border-radius: 100px;
  border: none;
  font-family: var(--font-text);
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  transition: opacity 0.15s ease, background 0.15s ease;
}

.cookie-banner__btn--primary {
  background: linear-gradient(90deg, var(--color-orange) 0%, var(--color-orange-dark) 100%);
  color: var(--color-white);
}

.cookie-banner__btn--primary:hover {
  opacity: 0.9;
}

.cookie-banner__btn--secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-white);
}

.cookie-banner__btn--secondary:hover {
  background: rgba(255, 255, 255, 0.14);
}

.cookie-banner__btn:focus-visible,
.cookie-banner__close:focus-visible {
  outline: 2px solid var(--color-white);
  outline-offset: 2px;
}

@media (max-width: 480px) {
  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    width: auto;
  }
}
