/* LionCity RP: night streets under sodium lamps */
@font-face { font-family: 'Big Shoulders Display'; src: url(fonts/big-shoulders-display-latin-600-normal.woff2) format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Big Shoulders Display'; src: url(fonts/big-shoulders-display-latin-800-normal.woff2) format('woff2'); font-weight: 800; font-display: swap; }
@font-face { font-family: 'Big Shoulders Display'; src: url(fonts/big-shoulders-display-latin-900-normal.woff2) format('woff2'); font-weight: 900; font-display: swap; }
@font-face { font-family: 'Barlow'; src: url(fonts/barlow-latin-400-normal.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Barlow'; src: url(fonts/barlow-latin-500-normal.woff2) format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Barlow'; src: url(fonts/barlow-latin-600-normal.woff2) format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Barlow'; src: url(fonts/barlow-latin-700-normal.woff2) format('woff2'); font-weight: 700; font-display: swap; }

:root {
  --asphalt: #1d1813;      /* warm wet road, not black */
  --kerb: #2a231c;         /* raised panels */
  --sodium: #ffb21e;       /* streetlight amber */
  --hazard: #ff6b14;       /* hazard orange */
  --concrete: #ddd5c6;     /* body text */
  --dust: #a2988a;         /* quiet text */
  --line: rgba(255, 178, 30, .22);
  --display: 'Big Shoulders Display', 'Arial Narrow', sans-serif;
  --text: 'Barlow', 'Segoe UI', sans-serif;
  --measure: 66ch;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--asphalt);
  color: var(--concrete);
  font: 400 1.0625rem/1.6 var(--text);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
:focus-visible { outline: 3px solid var(--sodium); outline-offset: 3px; border-radius: 2px; }
code { font: 600 .95em var(--text); color: var(--sodium); background: var(--kerb); padding: .1em .4em; border-radius: 3px; }

/* ---------- top bar ---------- */
.bar {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; gap: 2rem;
  padding: .8rem clamp(1rem, 4vw, 3rem);
  background: rgba(29, 24, 19, .88);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; }
.brand span { font: 900 1.6rem/1 var(--display); color: var(--sodium); letter-spacing: .01em; }
.bar nav { display: flex; gap: 1.6rem; margin-left: auto; }
.bar nav a { text-decoration: none; font-weight: 600; color: var(--dust); }
.bar nav a:hover { color: var(--concrete); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 3rem; padding: 0 1.6rem;
  font: 800 1.25rem/1 var(--display); letter-spacing: .02em;
  color: #241503; background: var(--sodium);
  border: 2px solid var(--sodium); border-radius: 4px;
  text-decoration: none;
}
.btn:hover { background: #ffc54d; border-color: #ffc54d; }
.btn.ghost { background: transparent; color: var(--sodium); }
.btn.ghost:hover { background: rgba(255, 178, 30, .1); }
.btn.small { min-height: 2.4rem; padding: 0 1rem; font-size: 1.05rem; }

/* ---------- hero: the city name under a streetlamp ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(4rem, 10vw, 8rem) clamp(1rem, 6vw, 5rem) clamp(4rem, 9vw, 7rem);
  min-height: 88vh; display: flex; flex-direction: column; justify-content: center;
}
.lamp {
  position: absolute; inset: -20% -10% auto 35%; height: 120%;
  background: radial-gradient(ellipse 45% 55% at 50% 0%, rgba(255, 178, 30, .38), rgba(255, 107, 20, .12) 45%, transparent 70%);
  pointer-events: none;
}
.hero > *:not(.night):not(.lamp):not(.hero-lion) { z-index: 1; }
.word { position: relative; font-family: var(--display); line-height: .78; text-transform: uppercase; }
.word span { display: block; }
.word .w1 {
  font-size: clamp(6rem, 24vw, 20rem); font-weight: 900; color: var(--sodium);
  text-shadow: 0 0 .25em rgba(255, 178, 30, .35);
}
.word .w2 {
  font-size: clamp(6rem, 24vw, 20rem); font-weight: 900;
  color: transparent; -webkit-text-stroke: 3px var(--hazard);
  margin-left: .22em;
}
.lede { position: relative; max-width: 34ch; margin-top: 2rem; font-size: clamp(1.15rem, 2vw, 1.4rem); line-height: 1.5; }
.actions { position: relative; display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.status[hidden] { display: none; }
.status { position: relative; display: flex; align-items: center; gap: .55rem; margin-top: 1.6rem; color: var(--dust); font-weight: 500; }
.dot { width: .6rem; height: .6rem; border-radius: 50%; background: #58e07a; box-shadow: 0 0 8px #58e07a; }

/* ---------- sections ---------- */
main > section:not(.hero) { padding: clamp(3.5rem, 8vw, 6.5rem) clamp(1rem, 6vw, 5rem); border-top: 1px solid var(--line); }
h2 { font: 900 clamp(2.6rem, 7vw, 4.8rem)/.95 var(--display); color: var(--concrete); text-transform: uppercase; margin-bottom: 2.2rem; }
h3 { font: 800 clamp(1.7rem, 3.6vw, 2.4rem)/1.05 var(--display); color: var(--sodium); margin: 3.4rem 0 .4rem; }
.hint { color: var(--dust); max-width: var(--measure); }
.fine { color: var(--dust); font-size: .92rem; max-width: var(--measure); margin-top: 1.4rem; }

/* the city: a list of big words, not boxes */
.rows { display: grid; gap: 0; }
.row { display: grid; grid-template-columns: minmax(10rem, 22rem) 1fr; gap: 1.5rem 3rem; padding: 1.4rem 0; border-bottom: 1px solid var(--line); }
.row dt { font: 800 clamp(1.8rem, 4vw, 2.8rem)/1 var(--display); color: var(--sodium); }
.row dd { max-width: var(--measure); align-self: center; }

/* ---------- store ---------- */
.store-head { display: grid; grid-template-columns: 1fr auto; gap: 1rem 3rem; align-items: end; }
.store-head h2 { margin-bottom: .6rem; }
.store-head p { max-width: var(--measure); grid-column: 1; }
.store-head .btn { grid-column: 2; grid-row: 1 / span 2; }

/* the price road: one lamp post per car, height = price */
.road {
  position: relative;
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(4.7rem, 1fr);
  gap: .25rem; align-items: end;
  height: 26rem; margin-top: 1.6rem; padding: 2.4rem 0 8.6rem;
  overflow-x: auto; scrollbar-color: var(--sodium) var(--kerb);
  background:
    repeating-linear-gradient(90deg, var(--sodium) 0 26px, transparent 26px 52px) 0 calc(100% - 8.2rem) / 100% 3px no-repeat;
}
.stop { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; }
.pole {
  position: relative; height: var(--h); margin: 0 auto; width: 6px;
  background: linear-gradient(var(--dust), #5e554a);
  border-radius: 3px 3px 0 0;
}
.pole::before { /* the lamp head */
  content: ''; position: absolute; top: -5px; left: 50%; width: 30px; height: 10px;
  transform: translateX(-50%); border-radius: 5px; background: var(--sodium);
  box-shadow: 0 6px 22px 6px rgba(255, 178, 30, .35);
}
.stop.flag .pole::before { background: var(--hazard); box-shadow: 0 6px 26px 8px rgba(255, 107, 20, .45); }
.usd {
  position: absolute; bottom: calc(100% + 12px); left: 50%; transform: translateX(-50%);
  font: 900 1.35rem/1 var(--display); color: var(--concrete); white-space: nowrap;
}
.stop.flag .usd { color: var(--hazard); }
.car, .kind { position: absolute; left: 0; right: 0; text-align: center; padding: 0 .2rem; }
.car { top: calc(100% + .7rem); height: 2.3em; font-weight: 700; font-size: .88rem; line-height: 1.15; }
.kind { top: calc(100% + 3rem); color: var(--dust); font-size: .74rem; line-height: 1.3; }

/* VIP table */
.vip-wrap { overflow-x: auto; margin-top: 1.4rem; }
.vip { width: 100%; min-width: 46rem; border-collapse: collapse; font-size: .98rem; }
.vip th, .vip td { padding: .85rem 1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.vip thead th { font: 900 1.7rem/1 var(--display); color: var(--concrete); padding-bottom: 1rem; }
.vip tbody th { font-weight: 600; color: var(--dust); width: 22%; }
.vip td small { display: block; color: var(--dust); font-size: .82rem; }
.vip tbody tr:first-child td { font: 900 1.6rem/1.1 var(--display); color: var(--sodium); }
.vip .obs { background: rgba(150, 80, 230, .1); }
.vip thead .obs { color: #c79bff; }
.vip tbody tr:first-child td.obs { color: #c79bff; }
.vip td.no { color: #6d6458; }

/* gem packs */
.packs { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr)); gap: .6rem; margin-top: 1.4rem; }
.packs li {
  display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: .1rem .4rem;
  padding: 1rem 1.1rem; background: var(--kerb); border-left: 3px solid var(--sodium); border-radius: 3px;
}
.packs b { font: 900 2.2rem/1 var(--display); color: var(--concrete); }
.packs span { color: var(--dust); font-weight: 600; }
.packs em { grid-column: 1 / -1; font-style: normal; font: 800 1.3rem/1.2 var(--display); color: var(--sodium); }
.packs i { grid-column: 1 / -1; font-style: normal; font-size: .82rem; color: var(--hazard); font-weight: 600; }

/* join: a real sequence, so it's numbered */
.steps { list-style: none; counter-reset: s; display: grid; gap: 1.6rem; max-width: 52rem; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 3.4rem 1fr; gap: 1.2rem; align-items: start; }
.steps li::before { content: counter(s); font: 900 3.4rem/.85 var(--display); color: var(--sodium); }
.steps li > div { max-width: var(--measure); }
.steps b { display: block; font: 800 1.6rem/1.15 var(--display); color: var(--concrete); margin-bottom: .2rem; }
.join .actions { margin-top: 2.4rem; }

/* rules */
.rules ul { list-style: none; display: grid; gap: .9rem; max-width: var(--measure); }
.rules li { padding-left: 1.4rem; position: relative; }
.rules li::before { content: ''; position: absolute; left: 0; top: .62em; width: .55rem; height: .55rem; background: var(--hazard); transform: rotate(45deg); }

.foot { padding: 2.4rem clamp(1rem, 6vw, 5rem); border-top: 1px solid var(--line); color: var(--dust); font-size: .9rem; }

.btn.soon { opacity: .55; cursor: default; }
.btn.soon:hover { transform: none; box-shadow: none; }

/* ---------- intro ---------- */
.intro {
  position: fixed; inset: 0; z-index: 50; display: grid; place-content: center; justify-items: center; gap: .6rem;
  background: #0e0a07; overflow: hidden; transition: clip-path .9s cubic-bezier(.7, 0, .2, 1), visibility 0s .9s;
  clip-path: inset(0 0 0 0);
}
.intro.out { clip-path: inset(0 0 100% 0); visibility: hidden; }
.intro.skip { display: none; }
.intro-lamp {
  position: absolute; top: -30vh; left: 50%; width: 120vh; height: 120vh; transform: translateX(-50%);
  background: radial-gradient(circle at 50% 30%, rgba(255, 178, 30, .5), rgba(255, 107, 20, .14) 35%, transparent 62%);
  opacity: 0; animation: lamp-on 1.4s .15s steps(1) forwards, lamp-glow 1.2s 1.1s ease-out forwards;
}
@keyframes lamp-on { 0% { opacity: 0; } 12% { opacity: .8; } 18% { opacity: 0; } 30% { opacity: .9; } 36% { opacity: .2; } 50%, 100% { opacity: .85; } }
@keyframes lamp-glow { to { opacity: 1; } }
.intro-lion {
  position: relative; width: clamp(110px, 18vw, 180px); height: auto; opacity: 0; transform: scale(.82);
  filter: drop-shadow(0 0 40px rgba(255, 150, 30, .55));
  animation: lion-pop 1s .55s cubic-bezier(.2, .8, .2, 1.2) forwards;
}
@keyframes lion-pop { to { opacity: 1; transform: none; } }
.intro-word { position: relative; display: flex; gap: .02em; font: 900 clamp(3.4rem, 11vw, 8rem)/.9 var(--display); letter-spacing: .01em; }
.intro-word span { display: inline-block; color: var(--sodium); opacity: 0; transform: translateY(.5em) rotate(4deg); animation: letter .7s cubic-bezier(.2, .8, .2, 1) forwards; }
.intro-word span.c { color: transparent; -webkit-text-stroke: 2px var(--hazard); }
.intro-word span:nth-child(1) { animation-delay: .9s; } .intro-word span:nth-child(2) { animation-delay: .96s; }
.intro-word span:nth-child(3) { animation-delay: 1.02s; } .intro-word span:nth-child(4) { animation-delay: 1.08s; }
.intro-word span:nth-child(5) { animation-delay: 1.2s; margin-left: .18em; } .intro-word span:nth-child(6) { animation-delay: 1.26s; }
.intro-word span:nth-child(7) { animation-delay: 1.32s; } .intro-word span:nth-child(8) { animation-delay: 1.38s; }
@keyframes letter { to { opacity: 1; transform: none; } }
.intro-sub { position: relative; color: var(--dust); font-weight: 600; letter-spacing: .3em; text-transform: uppercase; font-size: .8rem; opacity: 0; animation: rise .6s 1.6s ease forwards; }
.intro-bar { position: relative; width: min(220px, 50vw); height: 3px; margin-top: 1rem; background: rgba(255, 178, 30, .15); border-radius: 3px; overflow: hidden; }
.intro-bar i { position: absolute; inset: 0; background: linear-gradient(90deg, var(--hazard), var(--sodium)); transform: scaleX(0); transform-origin: left; animation: bar 1.9s .2s cubic-bezier(.6, 0, .3, 1) forwards; }
@keyframes bar { to { transform: none; } }

/* soft light that follows the mouse over cards */
.bundles > li, .packs li, .vip-wrap { --mx: 50%; --my: 50%; }
.bundles > li::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(260px circle at var(--mx) var(--my), rgba(255, 178, 30, .16), transparent 60%);
}
.bundles > li:hover::before { opacity: 1; }
.bundles > li { transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s; }
.bundles > li:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -18px rgba(255, 120, 20, .45); }
.packs li { transition: transform .3s cubic-bezier(.2, .8, .2, 1), border-color .3s; }
.packs li:hover { transform: translateY(-3px); border-left-color: var(--hazard); }
.row dt { transition: color .3s, transform .4s cubic-bezier(.2, .8, .2, 1); }
.row:hover dt { color: #ffc54d; transform: translateX(6px); }
.bar { transition: background .3s, box-shadow .3s; }
.bar.scrolled { background: rgba(20, 15, 11, .94); box-shadow: 0 10px 30px -18px #000; }

/* ---------- motion ---------- */
.night { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .9; pointer-events: none; }
.hero::after { content: ''; position: absolute; inset: auto 0 0; height: 30%; background: linear-gradient(transparent, var(--asphalt)); pointer-events: none; }
.hero-lion {
  position: absolute; right: clamp(-6rem, -2vw, 0rem); top: 50%; width: clamp(14rem, 34vw, 30rem); height: auto;
  transform: translateY(-50%); opacity: .0; filter: drop-shadow(0 0 40px rgba(255, 140, 30, .45));
  mix-blend-mode: screen; pointer-events: none;
}
.ready .hero-lion { animation: lion-in 1.6s .4s cubic-bezier(.2, .7, .2, 1) forwards, breathe 5s 2s ease-in-out infinite; }
@keyframes lion-in { from { opacity: 0; transform: translateY(-46%) scale(.92); } to { opacity: .55; transform: translateY(-50%) scale(1); } }
@keyframes breathe { 50% { transform: translateY(-50%) scale(1.03); filter: drop-shadow(0 0 70px rgba(255, 150, 30, .7)); } }
.word .w1, .word .w2 { opacity: 0; transform: translateY(.18em); }
.ready .word .w1 { animation: rise .9s .1s cubic-bezier(.2, .7, .2, 1) forwards, flicker 7s 2s infinite; }
.ready .word .w2 { animation: rise .9s .28s cubic-bezier(.2, .7, .2, 1) forwards; }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes flicker { 0%, 91%, 93%, 96%, 100% { opacity: 1; } 92%, 95% { opacity: .55; } }
.lede, .hero .actions { opacity: 0; }
.ready .lede { animation: rise .8s .55s ease forwards; }
.ready .hero .actions { animation: rise .8s .7s ease forwards; }
.btn { transition: background .2s, border-color .2s, transform .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 28px -6px rgba(255, 150, 30, .55); }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
.road .pole { height: 0; transition: height 1.1s cubic-bezier(.2, .7, .2, 1); }
.road.in .pole { height: var(--h); }
.road .stop:nth-child(n) .pole { transition-delay: calc(var(--i, 0) * 45ms); }
.pole::before { animation: hum 3.2s ease-in-out infinite; }
@keyframes hum { 50% { box-shadow: 0 6px 30px 9px rgba(255, 178, 30, .5); } }

/* bundles */
.bundles { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; margin-top: 1.4rem; }
.bundles > li {
  position: relative; padding: 1.3rem 1.3rem 1.1rem; background: var(--kerb); border-radius: 4px;
  border-top: 3px solid var(--hazard); overflow: hidden;
}
.bundles > li::after {
  content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 40%, rgba(255, 200, 120, .12) 50%, transparent 60%);
  transform: translateX(-100%); transition: transform .9s ease; pointer-events: none;
}
.bundles > li:hover::after { transform: translateX(100%); }
.b-price { font: 900 2.4rem/1 var(--display); color: var(--sodium); }
.b-price small { font: 600 .9rem var(--text); color: var(--dust); margin-left: .5rem; }
.bundles h4 { font: 800 1.5rem/1.1 var(--display); color: var(--concrete); margin: .5rem 0 .6rem; }
.bundles ul { list-style: none; display: grid; gap: .3rem; font-size: .95rem; }
.bundles ul li::before { content: '+ '; color: var(--hazard); font-weight: 700; }
.b-save { margin-top: .8rem; font-weight: 700; font-size: .85rem; color: var(--hazard); }

@media (prefers-reduced-motion: reduce) {
  .intro { display: none; }
  .word .w1, .word .w2, .lede, .hero .actions, .hero-lion, .reveal { opacity: 1; transform: none; animation: none !important; transition: none; }
  .hero-lion { opacity: .5; transform: translateY(-50%); }
  .road .pole { height: var(--h); transition: none; }
  .pole::before { animation: none; }
}

/* ---------- smaller screens ---------- */
@media (max-width: 1000px) { .bundles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) {
  .bar { gap: 1rem; }
  .bar nav { display: none; }
  .bar .btn { margin-left: auto; }
  .row { grid-template-columns: 1fr; gap: .4rem; }
  .store-head { grid-template-columns: 1fr; }
  .store-head .btn { grid-column: 1; grid-row: auto; justify-self: start; }
  .word .w2 { -webkit-text-stroke-width: 2px; }
  .hero-lion { display: none; }
  .bundles { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
