:root {
  --bg: #0a0612;
  --bg-elevated: #140e1c;
  --surface: #1c1428;
  --surface-2: #241b32;
  --border: rgba(232, 168, 56, 0.22);
  --accent: #e8a838;
  --accent-hover: #f5bc55;
  --accent-soft: rgba(232, 168, 56, 0.14);
  --coral: #ff6b5a;
  --violet: #9b7fd4;
  --text: #f7f1e8;
  --muted: #b3a6c0;
  --promo-bg: #2a1838;
  --radius: 18px;
  --radius-sm: 12px;
  --radius-pill: 999px;
  --header-h: 68px;
  --font: "Manrope", "Segoe UI", sans-serif;
  --display: "Sora", "Manrope", sans-serif;
  --max: 1180px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(155, 127, 212, 0.18), transparent 55%),
    radial-gradient(900px 500px at 90% 0%, rgba(232, 168, 56, 0.12), transparent 50%),
    var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: var(--accent-hover);
}

.container {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
}

/* Promo bar */
.promo-bar {
  background: linear-gradient(90deg, #3a1f4d, #4a2a1a 55%, #3a1f4d);
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 600;
  text-align: center;
  padding: 0.55rem 2.5rem;
  position: relative;
  letter-spacing: 0.01em;
}

.promo-bar__close {
  position: absolute;
  right: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 1.15rem;
  cursor: pointer;
  line-height: 1;
}

.promo-bar.is-hidden {
  display: none;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(10, 6, 18, 0.86);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--text);
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.logo img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: cover;
}

.logo:hover {
  color: var(--text);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-pill);
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: default;
  user-select: none;
  pointer-events: none;
}

a.nav-item {
  cursor: pointer;
  pointer-events: auto;
  text-decoration: none;
}

a.nav-item:hover {
  color: var(--accent);
}

.nav-item svg {
  width: 16px;
  height: 16px;
  opacity: 0.85;
}

.nav-item.is-active {
  background: var(--accent-soft);
  color: var(--accent);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: var(--radius-pill);
  padding: 0.65rem 1.25rem;
  font-weight: 700;
  font-size: 0.92rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: 0.18s ease;
  font-family: inherit;
  text-decoration: none;
}

.btn-ghost {
  color: var(--text);
  background: transparent;
  border-color: rgba(255, 255, 255, 0.18);
  pointer-events: none;
  cursor: default;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #f0b85a);
  color: #1a1006;
  box-shadow: 0 8px 24px rgba(232, 168, 56, 0.28);
}

.btn-primary:hover {
  color: #1a1006;
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.btn-coral {
  background: linear-gradient(135deg, var(--coral), #ff8a6a);
  color: #1a0806;
}

.nav-toggle {
  display: none;
  border: 0;
  background: var(--surface);
  color: var(--text);
  width: 42px;
  height: 42px;
  border-radius: 12px;
  font-size: 1.2rem;
  cursor: pointer;
}

/* Hero */
.hero {
  padding: 1.25rem 0 0.5rem;
}

.hero-card {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  min-height: clamp(280px, 42vw, 420px);
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.hero-card__media {
  position: absolute;
  inset: 0;
}

.hero-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-card__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 6, 18, 0.92) 0%, rgba(10, 6, 18, 0.55) 48%, rgba(10, 6, 18, 0.2) 100%),
    linear-gradient(180deg, transparent 55%, rgba(10, 6, 18, 0.55));
}

.hero-card__content {
  position: relative;
  z-index: 1;
  padding: clamp(1.5rem, 4vw, 3rem);
  max-width: 560px;
}

.hero-kicker {
  margin: 0 0 0.55rem;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-card h1,
.hero-title {
  margin: 0 0 0.65rem;
  font-family: var(--display);
  font-size: clamp(1.7rem, 4vw, 2.55rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.hero-sub {
  margin: 0 0 1.25rem;
  color: var(--text);
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 600;
}

/* Stats */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
  margin: 1.35rem 0 1.75rem;
}

.stat-card {
  background: linear-gradient(180deg, var(--surface), var(--bg-elevated));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem 1rem;
  text-align: center;
}

.stat-card strong {
  display: block;
  font-family: var(--display);
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  color: var(--accent);
  letter-spacing: -0.02em;
}

.stat-card span {
  display: block;
  margin-top: 0.25rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Lobby */
.section {
  padding: 0.5rem 0 1.75rem;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.9rem;
}

.section-head h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.section-head h2 .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 4px rgba(255, 107, 90, 0.18);
}

.slot-rail {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.85rem;
}

.slot-card {
  background: var(--surface);
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.slot-card:hover {
  transform: translateY(-4px);
  border-color: rgba(232, 168, 56, 0.35);
}

.slot-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.slot-card figcaption {
  padding: 0.55rem 0.65rem 0.7rem;
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 600;
}

/* Content */
.page-main {
  padding-bottom: 2.5rem;
}

.prose {
  max-width: 820px;
}

.prose h1 {
  font-family: var(--display);
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  line-height: 1.2;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}

.prose h2 {
  font-family: var(--display);
  font-size: 1.35rem;
  margin: 2rem 0 0.75rem;
  letter-spacing: -0.02em;
}

.prose h3 {
  font-size: 1.05rem;
  margin: 1.4rem 0 0.5rem;
  color: var(--accent);
}

.prose p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.prose strong {
  color: var(--text);
  font-weight: 700;
}

.prose ul,
.prose ol {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
  color: var(--muted);
}

.prose li {
  margin-bottom: 0.45rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
  margin: 1.25rem 0 1.75rem;
}

.feature-card {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  padding: 1.15rem 1.1rem;
}

.feature-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1rem;
  color: var(--text);
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.steps {
  display: grid;
  gap: 0.75rem;
  margin: 1rem 0 1.5rem;
  counter-reset: step;
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: start;
  background: var(--bg-elevated);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  padding: 1rem 1.05rem;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 800;
  font-family: var(--display);
}

.step h4 {
  margin: 0 0 0.25rem;
  font-size: 0.98rem;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.cta-banner {
  margin: 2rem 0;
  padding: 1.5rem 1.4rem;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(232, 168, 56, 0.18), rgba(255, 107, 90, 0.12)),
    var(--surface);
  border: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cta-banner h3 {
  margin: 0 0 0.3rem;
  font-family: var(--display);
  font-size: 1.2rem;
  color: var(--text);
}

.cta-banner p {
  margin: 0;
  color: var(--muted);
}

.page-link {
  display: inline-flex;
  margin-top: 0.35rem;
  font-weight: 700;
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: #07040c;
  padding: 2.5rem 0 1.5rem;
  margin-top: 1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 1.75rem;
}

.footer-brand p {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0.65rem 0 0;
  max-width: 320px;
}

.footer-col h4 {
  margin: 0 0 0.75rem;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li {
  margin-bottom: 0.45rem;
}

.footer-link {
  color: var(--muted);
  font-size: 0.9rem;
  cursor: default;
  pointer-events: none;
  user-select: none;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 1rem;
  color: var(--muted);
  font-size: 0.78rem;
}

/* Cookie */
.cookie-bar {
  position: fixed;
  left: 50%;
  bottom: 1.1rem;
  transform: translateX(-50%);
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: rgba(20, 14, 28, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-pill);
  padding: 0.55rem 0.55rem 0.55rem 1.1rem;
  box-shadow: var(--shadow);
  max-width: calc(100% - 1.5rem);
}

.cookie-bar p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
  white-space: nowrap;
}

.cookie-bar.is-hidden {
  display: none;
}

.to-top {
  position: fixed;
  right: 1rem;
  bottom: 1.1rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  background: var(--accent);
  color: #1a1006;
  font-size: 1.1rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(232, 168, 56, 0.35);
  opacity: 0;
  pointer-events: none;
  transition: 0.2s ease;
  z-index: 45;
}

.to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 980px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .slot-rail {
    grid-template-columns: repeat(3, 1fr);
  }

  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .main-nav {
    display: none;
    position: absolute;
    top: calc(var(--header-h) + 1px);
    left: 0;
    right: 0;
    background: rgba(10, 6, 18, 0.98);
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .main-nav.is-open {
    display: flex;
  }

  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .header-actions .btn-ghost {
    display: none;
  }

  .slot-rail {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .cookie-bar {
    flex-direction: column;
    border-radius: 16px;
    padding: 0.85rem;
    text-align: center;
  }

  .cookie-bar p {
    white-space: normal;
  }

  .hero-card__shade {
    background:
      linear-gradient(180deg, rgba(10, 6, 18, 0.35) 0%, rgba(10, 6, 18, 0.88) 70%),
      linear-gradient(90deg, rgba(10, 6, 18, 0.55), transparent 70%);
  }
}
