/* icrown — mobile-first, casino dark + gold (#d4a843) */
:root {
  --bg-deep: #0c0e14;
  --bg-panel: #141824;
  --bg-elevated: #1a1f2e;
  --gold: #d4a843;
  --gold-dim: #b8922f;
  --text: #f4f6fb;
  --text-muted: #9aa3b8;
  --border: rgba(212, 168, 67, 0.22);
  --radius: 14px;
  --shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
  --header-h: 56px;
  --bottom-nav-h: 62px;
  --font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  background-color: var(--bg-deep);
  background-image:
    radial-gradient(ellipse 130% 90% at 50% -15%, rgba(212, 168, 67, 0.18), transparent 52%),
    radial-gradient(ellipse 70% 60% at 100% 20%, rgba(212, 168, 67, 0.07), transparent 50%),
    linear-gradient(180deg, #06070c 0%, var(--bg-deep) 38%, #0b0d14 100%);
  color: var(--text);
  line-height: 1.55;
  /* Extra top clearance for raised center button (≈30px protrusion) */
  padding-bottom: calc(var(--bottom-nav-h) + 30px + env(safe-area-inset-bottom, 0px));
}

body.page-auth {
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

a {
  color: var(--gold);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--gold);
  color: #111;
  padding: 0.5rem 1rem;
  z-index: 9999;
}

.skip-link:focus {
  left: 0;
}

.container {
  width: min(1120px, 100% - 2rem);
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: linear-gradient(180deg, rgba(10, 12, 18, 0.98), rgba(12, 14, 20, 0.9));
  border-bottom: 1px solid var(--border);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(12px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1rem;
}

.logo {
  font-weight: 800;
  letter-spacing: 0.06em;
  font-size: 1.25rem;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-mark {
  width: 36px;
  height: 36px;
}

.logo--brand {
  display: flex;
  align-items: center;
}

.logo-brand {
  height: clamp(34px, 4.5vw, 48px);
  width: auto;
  max-width: min(210px, 56vw);
  object-fit: contain;
  filter: drop-shadow(0 2px 14px rgba(212, 168, 67, 0.28));
}

.logo-brand--footer {
  height: 40px;
  max-width: 190px;
  filter: drop-shadow(0 1px 8px rgba(212, 168, 67, 0.2));
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 1.25rem;
}

.nav-desktop a {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.95rem;
}

.nav-desktop a:hover {
  color: var(--gold);
}

.header-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.header-cta {
  display: none;
  gap: 0.5rem;
}

@media (min-width: 880px) {
  .nav-desktop {
    display: flex;
  }

  .header-cta {
    display: flex;
  }

  body:not(.page-auth) {
    padding-bottom: 0;
  }

  body.page-auth .site-footer {
    margin-bottom: 0;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.65rem 1.15rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn--gold {
  background: linear-gradient(145deg, var(--gold), var(--gold-dim));
  color: #151515;
  box-shadow: 0 6px 22px rgba(212, 168, 67, 0.35);
}

.btn--gold:hover {
  box-shadow: 0 10px 28px rgba(212, 168, 67, 0.45);
}

.btn--outline {
  background: transparent;
  border-color: var(--gold);
  color: var(--gold);
}

.btn--outline:hover {
  background: rgba(212, 168, 67, 0.12);
}

.btn--block {
  width: 100%;
}

.btn--xl {
  padding: 1rem 1.5rem;
  font-size: 1.05rem;
}

/* Hero carousel */
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  box-shadow: inset 0 -1px 0 rgba(212, 168, 67, 0.12);
}

.hero__viewport {
  position: relative;
  min-height: min(52vh, 420px);
}

.hero__slides {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.25, 0.8, 0.25, 1);
  will-change: transform;
}

.hero__slide {
  flex: 0 0 100%;
  position: relative;
  min-height: min(52vh, 420px);
}

.hero__slide img {
  width: 100%;
  height: min(52vh, 420px);
  object-fit: cover;
  object-position: center top;
  filter: saturate(1.08) contrast(1.05);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 8, 12, 0.96) 0%, rgba(12, 14, 20, 0.5) 52%, rgba(12, 14, 20, 0.15) 100%),
    radial-gradient(ellipse 85% 75% at 18% 42%, rgba(212, 168, 67, 0.14), transparent 58%);
  display: flex;
  align-items: center;
}

.hero__content {
  padding: 2rem 1rem;
  max-width: 560px;
}

.hero__content h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.45rem, 4vw, 2.25rem);
  line-height: 1.15;
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.65);
  letter-spacing: 0.02em;
}

.hero__content p {
  margin: 0 0 1.25rem;
  color: var(--text-muted);
  font-size: 1rem;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.hero__nav {
  position: absolute;
  inset: 0;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0.35rem;
}

.hero__arrow {
  pointer-events: auto;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(212, 168, 67, 0.45);
  background: rgba(12, 14, 20, 0.88);
  color: var(--gold);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.hero__arrow:hover {
  border-color: var(--gold);
  background: rgba(212, 168, 67, 0.12);
}

.hero__dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.hero__dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  border: none;
  background: rgba(255, 255, 255, 0.28);
  cursor: pointer;
  padding: 0;
}

.hero__dot.is-active {
  background: var(--gold);
  transform: scale(1.15);
}

/* Sections */
.section {
  padding: 3rem 0;
}

.section--tight {
  padding: 2.25rem 0;
}

#games {
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(212,168,67,0.07), transparent 55%),
    linear-gradient(180deg, rgba(10,12,20,0) 0%, rgba(14,18,30,0.5) 100%);
}

.section__title {
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  margin: 0 0 0.35rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.section__lead {
  margin: 0 0 1.75rem;
  color: var(--text-muted);
  max-width: 640px;
}

/* Game tabs */
.tabs {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.45rem;
  margin-bottom: 1.35rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 2px;
}

.tabs::-webkit-scrollbar { display: none; }

.tab-btn {
  padding: 0.42rem 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(212, 168, 67, 0.25);
  background: rgba(255,255,255,0.04);
  color: var(--text-muted);
  font-weight: 700;
  cursor: pointer;
  font-size: 0.82rem;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.2s ease;
  font-family: inherit;
}

.tab-btn:hover {
  border-color: rgba(212,168,67,0.5);
  color: var(--text);
  background: rgba(212,168,67,0.07);
}

.tab-btn.is-active {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(212, 168, 67, 0.14);
  box-shadow: 0 0 12px rgba(212,168,67,0.2);
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

@media (min-width: 560px) {
  .game-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 800px) {
  .game-grid { grid-template-columns: repeat(5, 1fr); }
}

@media (min-width: 1100px) {
  .game-grid { grid-template-columns: repeat(6, 1fr); }
}

.game-card {
  background: linear-gradient(160deg, #1c2132 0%, var(--bg-panel) 100%);
  border: 1px solid rgba(212, 168, 67, 0.18);
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  position: relative;
}

.game-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 12px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
  pointer-events: none;
}

.game-card:hover {
  transform: translateY(-6px) scale(1.03);
  border-color: rgba(212, 168, 67, 0.55);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.55), 0 0 18px rgba(212, 168, 67, 0.18);
}

.game-card[hidden] {
  display: none !important;
}

.game-card__media {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: radial-gradient(ellipse 90% 80% at 50% 30%, rgba(212, 168, 67, 0.12), #131622);
  display: flex;
  align-items: center;
  justify-content: center;
}

.game-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.3s ease;
}

.game-card:hover .game-card__media img {
  transform: scale(1.08);
}

.game-card__body {
  padding: 0.5rem 0.6rem 0.65rem;
  background: linear-gradient(180deg, transparent, rgba(10,12,20,0.7));
}

.game-card__title {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--text);
}

.game-card__provider {
  margin: 0.15rem 0 0;
  font-size: 0.68rem;
  color: var(--gold);
  opacity: 0.8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Feature cards */
.feature-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 560px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  background: linear-gradient(165deg, rgba(212, 168, 67, 0.06), var(--bg-panel));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  border-color: rgba(212, 168, 67, 0.38);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
}

.feature-card__icon {
  width: 44px;
  height: 44px;
  margin-bottom: 0.85rem;
  color: var(--gold);
}

.feature-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
}

.feature-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* Promo cards */
.promo-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .promo-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.promo-card {
  background: linear-gradient(155deg, rgba(212, 168, 67, 0.2), rgba(20, 24, 36, 0.98));
  border: 1px solid rgba(212, 168, 67, 0.35);
  border-radius: var(--radius);
  padding: 1.35rem;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.4);
}

.promo-card__badge {
  display: inline-block;
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 0.35rem;
}

.promo-card h3 {
  margin: 0 0 0.5rem;
}

.promo-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* FAQ */
.faq-list {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-panel);
}

.faq-item + .faq-item {
  border-top: 1px solid var(--border);
}

.faq-item summary {
  cursor: pointer;
  padding: 1rem 1.15rem;
  font-weight: 700;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "";
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  transform: rotate(-135deg);
}

.faq-item .faq-body {
  padding: 0 1.15rem 1.1rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* SEO article */
.seo-article {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.seo-article h2 {
  margin-top: 1.75rem;
}

.seo-article h2:first-child {
  margin-top: 0;
}

.seo-article h3 {
  margin-top: 1.25rem;
}

.seo-article p {
  color: var(--text-muted);
}

/* Providers strip */
.providers {
  overflow: hidden;
  border-block: 1px solid var(--border);
  background: rgba(20, 24, 36, 0.65);
}

.providers__track {
  display: flex;
  gap: 2rem;
  align-items: center;
  padding: 1.25rem 0;
  animation: marquee 28s linear infinite;
}

.providers:hover .providers__track {
  animation-play-state: paused;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.provider-logo {
  flex: 0 0 auto;
  height: 44px;
  width: 140px;
  object-fit: contain;
  padding: 0 0.5rem;
  opacity: 0.72;
  filter: grayscale(1) brightness(1.05);
  transition: opacity 0.2s ease, filter 0.2s ease, transform 0.2s ease;
}

.provider-logo:hover {
  opacity: 1;
  filter: grayscale(0);
  transform: scale(1.04);
}

/* Footer */
.site-footer {
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
  background: #07080c;
}

.footer-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr;
  }
}

.footer-note {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.social-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.social-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--gold);
}

.social-row a:hover {
  background: rgba(212, 168, 67, 0.12);
}

.footer-links {
  display: grid;
  gap: 0.35rem;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* Bottom nav mobile */
.bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  height: calc(var(--bottom-nav-h) + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: linear-gradient(180deg, rgba(14,17,28,0.97) 0%, rgba(8,10,18,0.99) 100%);
  border-top: 1px solid rgba(212, 168, 67, 0.28);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  backdrop-filter: blur(16px);
  overflow: visible;
}

@media (min-width: 880px) {
  .bottom-nav {
    display: none;
  }

  body:not(.page-auth) {
    padding-bottom: 0 !important;
  }
}

body.page-auth .bottom-nav {
  display: none !important;
}

/* Regular nav items (non-center) */
.bottom-nav a,
.bottom-nav > button:not(.bnav-center-btn) {
  appearance: none;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.62rem;
  font-weight: 700;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  cursor: pointer;
  padding: 0.3rem 0.2rem;
  font-family: inherit;
  transition: color 0.2s;
  text-decoration: none;
}

.bottom-nav a:hover,
.bottom-nav > button:not(.bnav-center-btn):hover {
  color: var(--text);
}

.bottom-nav a.is-active,
.bottom-nav > button.is-active {
  color: var(--gold);
}

.bottom-nav .bnav-icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
  filter: brightness(0.7);
  transition: filter 0.2s;
}

.bottom-nav a.is-active .bnav-icon,
.bottom-nav > button.is-active .bnav-icon {
  filter: brightness(1) drop-shadow(0 0 4px rgba(212,168,67,0.6));
}

.bottom-nav a:hover .bnav-icon {
  filter: brightness(0.9);
}

.bottom-nav svg {
  width: 22px;
  height: 22px;
  filter: opacity(0.65);
  transition: filter 0.2s;
}

.bottom-nav a.is-active svg {
  filter: opacity(1) drop-shadow(0 0 4px rgba(212,168,67,0.6));
}

/* Centre raised button wrapper */
.bnav-center {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

/* The raised circular button */
.bnav-center-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -64%);
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: transparent;
  border: none;
  overflow: hidden;
  display: block;
  padding: 0;
  line-height: 0;
  font-size: 0;
  cursor: pointer;
  appearance: none;
  text-decoration: none;
  box-shadow:
    0 -8px 28px rgba(212, 100, 0, 0.7),
    0 0 42px rgba(212, 120, 0, 0.3),
    0 4px 18px rgba(0, 0, 0, 0.7);
  transition: transform 0.22s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.22s ease;
  z-index: 2;
}

.bnav-center-btn:hover,
.bnav-center-btn:active {
  transform: translate(-50%, -70%);
  box-shadow:
    0 -12px 36px rgba(212, 100, 0, 0.9),
    0 0 56px rgba(212, 120, 0, 0.4),
    0 6px 22px rgba(0, 0, 0, 0.75);
}

.bnav-center-btn img {
  display: block;
  /* Slightly larger than the 72px button so the PNG's inner orange circle
     fully covers the CSS circle — overflow:hidden on parent clips the excess */
  width: 84px;
  height: 84px;
  margin: -6px;
  object-fit: cover;
  border-radius: 50%;
}

.bnav-center-label {
  font-size: 0.52rem;
  font-weight: 800;
  color: #2a1500;
  letter-spacing: 0.04em;
  line-height: 1;
  margin-top: 1px;
}

/* Arc notch behind center button */
.bottom-nav::before {
  content: "";
  position: absolute;
  top: -26px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 32px;
  background: linear-gradient(180deg, rgba(14,17,28,0.97) 0%, rgba(8,10,18,0.99) 100%);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  border-top: 1px solid rgba(212, 168, 67, 0.2);
  border-left: 1px solid rgba(212, 168, 67, 0.2);
  border-right: 1px solid rgba(212, 168, 67, 0.2);
  z-index: 1;
}

/* Drawer backdrop */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
  z-index: 120;
}

.drawer-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

/* Drawer panel */
.drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: min(300px, 86vw);
  background: linear-gradient(180deg, #111523 0%, #0a0c15 100%);
  border-right: 1px solid rgba(212, 168, 67, 0.2);
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 130;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.drawer.is-open {
  transform: translateX(0);
}

/* Drawer head */
.drawer__head {
  padding: 1.1rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(135deg, rgba(212, 168, 67, 0.12) 0%, transparent 60%);
  border-bottom: 1px solid rgba(212, 168, 67, 0.15);
  flex-shrink: 0;
}

.drawer__logo {
  height: 34px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(212,168,67,0.25));
}

.drawer__close {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(212, 168, 67, 0.3);
  background: rgba(212, 168, 67, 0.07);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  appearance: none;
}

.drawer__close:hover {
  background: rgba(212, 168, 67, 0.15);
  color: var(--gold);
  border-color: rgba(212, 168, 67, 0.55);
}

/* Guest/Welcome panel */
.drawer__guest {
  padding: 1rem 1rem 1.1rem;
  background: radial-gradient(ellipse 120% 100% at 20% 50%, rgba(212, 168, 67, 0.07), transparent 70%);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  flex-shrink: 0;
}

.drawer__welcome {
  margin: 0 0 0.2rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
}

.drawer__sub {
  margin: 0 0 0.85rem;
  font-size: 0.76rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.drawer__ctas {
  display: flex;
  gap: 0.5rem;
}

.drawer__ctas .btn {
  flex: 1;
  text-align: center;
  font-size: 0.82rem;
  padding: 0.48rem 0.5rem;
}

/* Divider */
.drawer__divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 168, 67, 0.22), transparent);
  margin: 0;
  flex-shrink: 0;
}

/* Nav */
.drawer__nav {
  padding: 0.6rem 0.65rem;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  flex: 1;
  overflow-y: auto;
}

.drawer__link {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.78rem 0.85rem;
  border-radius: 10px;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.18s ease;
  border-left: 3px solid transparent;
  text-decoration: none;
}

.drawer__link:hover,
.drawer__link.is-active {
  background: rgba(212, 168, 67, 0.09);
  color: var(--text);
  border-left-color: var(--gold);
}

.drawer__link-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--gold);
  opacity: 0.75;
  transition: opacity 0.18s;
}

.drawer__link:hover .drawer__link-icon,
.drawer__link.is-active .drawer__link-icon {
  opacity: 1;
}

.drawer__link-badge {
  margin-left: auto;
  background: var(--gold);
  color: #1a0e00;
  font-size: 0.6rem;
  font-weight: 800;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Social row in drawer */
.drawer__social {
  padding: 0.85rem 1rem;
  display: flex;
  gap: 0.6rem;
  border-top: 1px solid rgba(255,255,255,0.05);
  flex-shrink: 0;
}

.drawer__social-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.drawer__social-btn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(212, 168, 67, 0.2);
  background: rgba(255,255,255,0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all 0.2s;
}

.drawer__social-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(212, 168, 67, 0.1);
}

.drawer__social-btn svg {
  width: 18px;
  height: 18px;
}

/* Drawer footer */
.drawer__footer {
  padding: 0.85rem 1rem;
  border-top: 1px solid rgba(212, 168, 67, 0.15);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.lang-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(212, 168, 67, 0.3);
  background: rgba(212, 168, 67, 0.07);
  color: var(--text-muted);
  cursor: pointer;
  font-weight: 600;
  font-size: 0.82rem;
  font-family: inherit;
  transition: all 0.2s;
}

.lang-trigger:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.lang-trigger svg {
  width: 18px;
  height: 18px;
}

/* Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 140;
}

.modal-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -46%) scale(0.96);
  opacity: 0;
  pointer-events: none;
  width: min(380px, 92vw);
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  z-index: 150;
  box-shadow: var(--shadow);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.modal.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}

.modal h3 {
  margin: 0 0 1rem;
}

.lang-options {
  display: grid;
  gap: 0.5rem;
}

.lang-options a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--text);
  font-weight: 700;
}

.lang-options a:hover {
  border-color: var(--gold);
}

/* Auth pages */
.auth-hero {
  padding: 2.5rem 0 1rem;
}

.auth-panel {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}

.auth-panel .btn--xl {
  margin-top: 1rem;
}

.auth-seo {
  margin-top: 2rem;
}

.breadcrumbs {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.breadcrumbs a {
  color: var(--text-muted);
}

/* Utilities */
.auth-drawer-trigger {
  display: none;
  margin-left: auto;
}

@media (max-width: 879px) {
  .site-header__inner--auth .nav-desktop,
  .site-header__inner--auth .header-cta {
    display: none !important;
  }

  .site-header__inner--auth .auth-drawer-trigger {
    display: inline-flex !important;
  }
}

@media (min-width: 880px) {
  .site-header__inner--auth .auth-drawer-trigger {
    display: none !important;
  }

  .site-header__inner--auth .header-cta {
    display: flex !important;
  }
}

.mt-0 {
  margin-top: 0;
}

.visually-hidden {
  position: absolute !important;
  clip: rect(1px, 1px, 1px, 1px);
  padding: 0 !important;
  border: 0 !important;
  height: 1px !important;
  width: 1px !important;
  overflow: hidden;
}
