/* Landing page */
.hero { position: relative; min-height: min(100vh, 980px); display: flex; align-items: center; overflow: hidden; isolation: isolate; border-bottom: 1px solid var(--nw-line); }
.hero-art { position: absolute; inset: -2%; z-index: -3; background: #07080d url(../img/art/neon-skyline.webp) 62% 40% / cover no-repeat; animation: kenburns 38s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1.02) translate(0, 0); } to { transform: scale(1.1) translate(-1.5%, -1%); } }
@media (max-width: 760px) { .hero-art { background-image: url(../img/art/neon-skyline-sm.webp); background-position: 70% 40%; } }
@media (prefers-reduced-motion: reduce) { .hero-art { animation: none; } }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; pointer-events: none; opacity: .7; }
.hero-grid { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgba(7, 8, 13, .95) 0%, rgba(7, 8, 13, .8) 34%, rgba(7, 8, 13, .25) 66%, rgba(7, 8, 13, .1) 100%), linear-gradient(0deg, var(--nw-bg) 0%, transparent 32%), linear-gradient(180deg, rgba(7, 8, 13, .6) 0%, transparent 18%);
}
.hero-inner { padding: 110px 0 120px; }
.hero-title { font-size: clamp(4rem, 13vw, 11rem); line-height: .82; letter-spacing: .02em; margin: 0 0 28px; color: #fff; text-shadow: 0 0 40px rgba(252, 238, 10, .15); }
.hero-title small { display: block; font-size: .2em; letter-spacing: .9em; color: var(--nw-yellow); margin: 16px 0 0 .3em; font-weight: 600; }
.hero-lead { font-size: clamp(1.05rem, 1.6vw, 1.3rem); max-width: 54ch; color: #cfd3e2; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 34px 0 30px; }
.hero-status { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; }
.status-pill { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; background: rgba(5, 255, 161, .06); border: 1px solid rgba(5, 255, 161, .25); font: 600 .9rem/1 var(--font-mono); text-transform: uppercase; letter-spacing: .1em; }
.status-pill b { color: var(--nw-green); font-size: 1.05rem; }
.status-addr { display: inline-flex; align-items: center; gap: 10px; font-size: .95rem; }
.copy { background: none; border: 1px solid var(--nw-line2); color: var(--nw-dim); width: 34px; height: 34px; display: inline-grid; place-items: center; cursor: pointer; }
.copy:hover { color: var(--nw-yellow); border-color: var(--nw-yellow); }
.copy .icon { width: 16px; height: 16px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 0; margin: 46px 0 0; padding: 0; border-top: 1px solid var(--nw-line); max-width: 760px; }
.hero-stats div { padding: 16px 28px 0 0; margin-right: 28px; border-right: 1px solid var(--nw-line); }
.hero-stats div:last-child { border: 0; }
.hero-stats dt { font: 600 .68rem/1 var(--font-mono); letter-spacing: .2em; text-transform: uppercase; color: var(--nw-dim); }
.hero-stats dd { margin: 6px 0 0; font-size: 2rem; font-weight: 600; color: var(--nw-text); }
.scroll-hint { position: absolute; bottom: 26px; left: 50%; width: 26px; height: 42px; margin-left: -13px; border: 1px solid var(--nw-line2); border-radius: 13px; }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 2px; height: 8px; margin-left: -1px; background: var(--nw-yellow); animation: scrollhint 1.8s ease-in-out infinite; }
@keyframes scrollhint { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }
@media (max-width: 700px) {
  .hero-inner { padding: 70px 0 90px; }
  .hero-grid { background: linear-gradient(0deg, rgba(7, 8, 13, .98) 10%, rgba(7, 8, 13, .7) 60%, rgba(7, 8, 13, .4)); }
  .hero-stats div { padding-right: 16px; margin-right: 16px; }
  .hero-stats dd { font-size: 1.5rem; }
}

/* ticker */
.ticker { overflow: hidden; background: var(--nw-yellow); color: var(--nw-yellow-ink); border-block: 1px solid #000; }
.ticker-track { display: flex; width: max-content; animation: ticker 60s linear infinite; }
.ticker-track span { font: 700 1rem/1 var(--font-display); text-transform: uppercase; letter-spacing: .2em; padding: 14px 26px; white-space: nowrap; display: inline-flex; align-items: center; gap: 26px; }
.ticker-track span::after { content: "//"; opacity: .5; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* lifepaths */
.lifepaths { margin-top: 40px; }
.lifepath { --accent: var(--nw-yellow); padding: 30px 26px 26px; min-height: 280px; display: flex; flex-direction: column; transition: transform .2s; }
.lifepath:hover { transform: translateY(-4px); }
.lifepath { padding: 0 0 26px; overflow: hidden; }
.lifepath > :not(.lp-art) { margin-left: 26px; margin-right: 26px; }
.lifepath .lp-art { height: 260px; margin: 0 0 20px; position: relative; overflow: hidden; background: #0b0d15; }
.lifepath .lp-art img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; display: block; transition: transform .5s ease; }
.lifepath:hover .lp-art img { transform: scale(1.04); }
.lifepath .lp-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, var(--nw-panel) 100%); box-shadow: inset 0 -2px 0 var(--accent); }
.lifepath .lp-art svg { display: none; }
.lifepath .lp-art .lp-missing { display: none; }
.lifepath .lp-art .lp-missing + svg { display: block; height: 96px; width: auto; margin: 80px auto 0; }
@media (prefers-reduced-motion: reduce) { .lifepath .lp-art img { transition: none; } .lifepath:hover .lp-art img { transform: none; } }
.lifepath h3 { font-size: 2rem; margin-bottom: 6px; }
.lifepath .lp-start { font: 600 .72rem/1 var(--font-mono); letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.lifepath p { color: #c3c7d6; margin: 0; }

.who-split { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; margin-top: 72px; }
@media (max-width: 900px) { .who-split { grid-template-columns: 1fr; } }
.faction-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 20px; }
.faction { display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: center; padding: 12px; border: 1px solid var(--nw-line); background: var(--nw-raised); position: relative; }
.faction::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--fc, var(--nw-yellow)); }
.faction .crest { width: 44px; height: 44px; }
.faction { grid-template-columns: 64px 1fr; padding: 12px 14px 12px 16px; transition: border-color .2s, transform .2s; }
.faction:hover { border-color: var(--fc, var(--nw-line)); transform: translateX(2px); }
.faction .emblem { width: 64px; height: 64px; display: grid; place-items: center; position: relative; }
.faction .emblem .fac-ico { width: 60px; height: 60px; object-fit: contain; filter: drop-shadow(0 0 10px color-mix(in srgb, var(--fc, #fcee0a) 35%, transparent)); }
.faction .emblem .crest { display: none; }
.faction .emblem .crest:only-child { display: block; }
.faction .emblem .fac-ico-missing { display: none; }
.faction .emblem .fac-ico-missing + .crest { display: block; }
.faction b { font: 700 1.05rem/1.1 var(--font-display); text-transform: uppercase; letter-spacing: .06em; display: block; }
.faction small { color: var(--nw-dim); font: 600 .68rem/1 var(--font-mono); text-transform: uppercase; letter-spacing: .14em; }
@media (max-width: 520px) { .faction-grid { grid-template-columns: 1fr; } }
.job-list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 8px; }
.job-list li { display: grid; grid-template-columns: 36px 1fr auto; gap: 12px; align-items: center; padding: 10px 12px; border: 1px solid var(--nw-line); background: var(--nw-raised); }
.job-list .icon { color: var(--nw-cyan); width: 26px; height: 26px; }
.job-list b { font: 700 1.02rem/1.1 var(--font-display); text-transform: uppercase; letter-spacing: .06em; }
.job-list small { display: block; color: var(--nw-dim); font-size: .82rem; }
.job-list .tag { font: 600 .66rem/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; padding: 5px 7px; border: 1px solid var(--nw-line2); color: var(--nw-dim); }
.job-list .tag.ill { color: var(--nw-red); border-color: rgba(255, 42, 61, .4); }
.job-list .tag.fac { color: var(--nw-cyan); border-color: rgba(0, 240, 255, .35); }

/* features */
.features { margin-top: 40px; }
.feature { --accent: var(--nw-cyan); padding: 26px 22px; }
.feature .icon { width: 34px; height: 34px; color: var(--accent); margin-bottom: 18px; }
.feature h3 { font-size: 1.3rem; }
.feature p { color: #b7bccd; font-size: .95rem; margin: 0; }

/* districts */
.head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 36px; }
.head-row .lead { margin-bottom: 0; }
.district-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.district { position: relative; border: 1px solid var(--nw-line); background: #090b10; padding: 18px; overflow: hidden; min-height: 250px; display: flex; flex-direction: column; isolation: isolate; transition: border-color .2s; }
.district::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(7, 8, 13, .97) 8%, rgba(7, 8, 13, .55) 55%, rgba(7, 8, 13, .15) 100%); }
.district:hover { border-color: var(--dc, var(--nw-line2)); }
.district:first-child { grid-column: span 2; grid-row: span 2; }
.district .dmap { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s ease; }
.district:hover .dmap { transform: scale(1.05); }
.district h3 { font-size: 1.6rem; margin: auto 0 4px; position: relative; color: var(--dc, #fff); }
.district:first-child h3 { font-size: 2.6rem; }
.district .subs { font: 600 .7rem/1.5 var(--font-mono); text-transform: uppercase; letter-spacing: .1em; color: var(--nw-dim); position: relative; }
.district p { color: #b7bccd; font-size: .9rem; margin: 10px 0 0; position: relative; }
.district .danger { position: relative; display: flex; gap: 4px; margin-bottom: 8px; }
.district .danger i { width: 18px; height: 4px; background: var(--nw-line2); }
.district .danger i.on { background: var(--nw-red); }
@media (min-width: 1001px) { .district:nth-child(6), .district:nth-child(7) { grid-column: span 2; } }
@media (max-width: 1000px) { .district-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .district-grid { grid-template-columns: 1fr; } .district:first-child { grid-column: auto; grid-row: auto; } }

/* races */
.race-card { --accent: var(--nw-pink); padding: 0; display: flex; flex-direction: column; }
.race-card .route { height: 150px; background: #090b12; border-bottom: 1px solid var(--nw-line); }
.race-card .route { height: auto; aspect-ratio: 2 / 1; overflow: hidden; }
.race-card .route img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.race-card:hover .route img { transform: scale(1.04); }
.race-card .body { padding: 18px 20px 20px; }
.race-card h3 { font-size: 1.35rem; margin-bottom: 4px; }
.race-card .meta { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 12px; }
.race-card .rec { display: flex; justify-content: space-between; border-top: 1px solid var(--nw-line); padding-top: 12px; font-size: .9rem; }
.race-card .rec b { font-family: var(--font-mono); color: var(--nw-yellow); }

/* join */
.steps { list-style: none; padding: 0; margin: 40px 0 24px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.steps li.panel { position: relative; padding-top: 58px; }
.steps .step-n { position: absolute; top: 18px; left: 24px; font-size: 1.6rem; font-weight: 600; color: var(--nw-yellow); }
.steps h3 { font-size: 1.35rem; }
.steps p { color: #b7bccd; font-size: .95rem; }
.step-links { display: flex; flex-wrap: wrap; gap: 8px; }
.addr-box { display: flex; align-items: center; gap: 10px; background: #05060a; border: 1px solid var(--nw-line2); padding: 8px 8px 8px 14px; justify-content: space-between; }
.addr-box b { color: var(--nw-yellow); font-size: 1.05rem; }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .steps { grid-template-columns: 1fr; } }
.keys h3 { font-size: 1.2rem; }
.key-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.key-list li { display: flex; align-items: center; gap: 10px; color: #c3c7d6; font-size: .95rem; }

/* rules + faq */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; gap: 40px; } }
.rules { padding: 0; margin: 24px 0 0; list-style: none; counter-reset: r; display: grid; gap: 14px; }
.rules li { counter-increment: r; position: relative; padding: 0 0 14px 52px; border-bottom: 1px solid var(--nw-line); color: #b7bccd; }
.rules li::before { content: counter(r, decimal-leading-zero); position: absolute; left: 0; top: 0; font: 600 1.2rem/1.2 var(--font-mono); color: var(--nw-yellow); }
.rules b { color: var(--nw-text); }
.faq { border-bottom: 1px solid var(--nw-line); }
.faq summary { cursor: pointer; padding: 18px 40px 18px 0; font: 700 1.15rem/1.2 var(--font-display); text-transform: uppercase; letter-spacing: .05em; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 14px; font: 400 1.6rem/1 var(--font-mono); color: var(--nw-yellow); transition: transform .15s; }
.faq[open] summary::after { transform: rotate(45deg); }
.faq p { color: #b7bccd; margin: 0 0 18px; }

.cta-band { padding: 80px 0; background: radial-gradient(800px 260px at 50% 100%, rgba(252, 238, 10, .12), transparent 70%), #05060a; border-top: 1px solid var(--nw-line); text-align: center; }
.cta-band h2 { font-size: clamp(2.4rem, 6vw, 5rem); }
.cta-btns { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-top: 24px; }
.status-pill.is-off { background: rgba(255, 42, 61, .06); border-color: rgba(255, 42, 61, .3); color: #ffb3ba; }

/* sections over official screenshots (img/art): a dark veil keeps the text readable */
.art-band { position: relative; isolation: isolate; }
.art-band::before { content: ""; position: absolute; inset: 0; z-index: -2; background-position: center; background-size: cover; background-repeat: no-repeat; background-attachment: fixed; }
.art-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--nw-bg) 0%, rgba(7, 8, 13, .86) 14%, rgba(7, 8, 13, .84) 86%, var(--nw-bg) 100%); }
.art-rider::before { background-image: url(../img/art/city-rider.webp); }
.art-race::before { background-image: url(../img/art/street-race.webp); }
.art-alley::before { background-image: url(../img/art/alley-neon.webp); }
.art-badlands::before { background-image: url(../img/art/badlands.webp); background-position: center 60%; }
.cta-band.art-band::after { background: linear-gradient(180deg, var(--nw-bg) 0%, rgba(7, 8, 13, .6) 35%, rgba(7, 8, 13, .72) 100%); }
.art-band .panel { background: rgba(12, 14, 22, .82); backdrop-filter: blur(4px); }
@media (max-width: 760px), (hover: none) {
  .art-band::before { background-attachment: scroll; }
  .art-rider::before { background-image: url(../img/art/city-rider-sm.webp); }
  .art-race::before { background-image: url(../img/art/street-race-sm.webp); }
  .art-alley::before { background-image: url(../img/art/alley-neon-sm.webp); }
  .art-badlands::before { background-image: url(../img/art/badlands-sm.webp); }
}
