.site-footer {
  margin-top: 4rem;
  padding-top: 3.5rem;
  padding-bottom: 2.5rem;
  border-top: 1px solid rgba(39, 39, 42, 0.9);
  background: radial-gradient(circle at top, rgba(24, 24, 27, 0.9), #020617);
  box-shadow: 0 -18px 40px rgba(0, 0, 0, 0.85);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 2fr);
  gap: 2.5rem;
}

.footer-brand-block {
  max-width: 26rem;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1rem;
}

.footer-logo-mark {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 1.1rem;
  background: radial-gradient(circle at 20% 0, rgba(212, 175, 55, 0.25), transparent 60%), linear-gradient(145deg, #020617, #111827);
  border: 1px solid rgba(212, 175, 55, 0.85);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.9);
}

.footer-logo-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.footer-logo-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-logo-tagline {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.footer-description {
  font-size: 0.9rem;
  max-width: 24rem;
}

.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
}

.footer-heading {
  font-size: 0.9rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  color: var(--color-accent-gold);
}

.footer-link-list {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.footer-link-list a {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.footer-link-list a:hover,
.footer-link-list a:focus-visible {
  color: var(--color-neutral-100);
}

.footer-bottom {
  border-top: 1px solid rgba(39, 39, 42, 0.9);
  padding-top: 1.5rem;
}

.footer-copy {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: var(--color-neutral-200);
  justify-content: space-between;
}

.footer-legal-note {
  color: var(--color-primary);
}

.cookie-banner {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 60;
  padding: 0.75rem 0.75rem 1rem;
  background: linear-gradient(to top, rgba(9, 9, 11, 0.98), rgba(9, 9, 11, 0.92));
  border-top: 1px solid rgba(39, 39, 42, 0.95);
  box-shadow: 0 -16px 40px rgba(0, 0, 0, 0.95);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.cookie-banner-text {
  flex: 1 1 auto;
}

.cookie-title {
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
}

.cookie-description {
  font-size: 0.85rem;
  margin-bottom: 0.25rem;
}

.cookie-link {
  font-size: 0.8rem;
  color: var(--color-accent-gold);
  text-decoration: underline;
}

.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-end;
}

.cookie-btn {
  font-size: 0.75rem;
  padding-inline: 1.2rem;
  white-space: nowrap;
}

.cookie-banner.cookie-hide {
  animation: cookieFadeOut 0.25s ease-out forwards;
}

@keyframes cookieFadeOut {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(10px);
  }
}

.age-gate-overlay {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.85), rgba(0, 0, 0, 0.98));
  backdrop-filter: blur(20px);
}

.age-gate-overlay[hidden] {
  display: none;
}

.age-gate-modal {
  position: relative;
  width: 100%;
  max-width: 420px;
  padding: 2.25rem 2rem 2rem;
  border-radius: var(--radius-xl);
  background: radial-gradient(circle at top left, rgba(212, 175, 55, 0.12), transparent 55%), radial-gradient(circle at top right, rgba(136, 19, 55, 0.2), transparent 60%), linear-gradient(145deg, #020617, #111827 70%);
  border: 1px solid rgba(39, 39, 42, 0.95);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.98);
}

.age-gate-badge {
  position: absolute;
  inset-inline: 1.5rem;
  top: -1.1rem;
  margin: 0 auto;
  width: fit-content;
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fefce8;
  background: radial-gradient(circle at top, rgba(212, 175, 55, 0.5), rgba(136, 19, 55, 0.9));
  border: 1px solid rgba(212, 175, 55, 0.9);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.9);
}

.age-gate-title {
  text-align: center;
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}

.age-gate-description {
  font-size: 0.9rem;
  text-align: center;
  margin-bottom: 1.35rem;
}

.age-gate-actions {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.age-gate-actions .btn {
  width: 100%;
  justify-content: center;
}

@media (max-width: 900px) {
  .footer-top {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-links-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .footer-links-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-copy {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-banner-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-banner-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .cookie-btn {
    flex: 1 1 auto;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cookie-banner {
    scroll-behavior: auto;
    animation: none !important;
  }
}

/* responsive polish */
.site-footer,
.footer,
footer {
  overflow-wrap: anywhere;
}

@media (max-width: 640px) {
  .cookie-banner-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .cookie-btn {
    white-space: normal;
    flex: 1 1 auto;
    justify-content: center;
  }
  .cookie-banner-actions {
    width: 100%;
  }
}

/* opaque overlays */
.cookie-banner {
  background: linear-gradient(to top, #09090b, #0b0b0f);
}
