:root {
  --bg: #080808;
  --bg-soft: #101010;
  --panel: #141414;
  --panel-hover: #1a1a1a;
  --yellow: #DFFA03;
  --yellow-soft: #E8FF3A;
  --orange: #b97f1f;
  --red: #9d0f15;
  --white: #f7f2e9;
  --muted: #aaa49a;
  --line: rgba(223, 250, 3, .18);
  --max: 1240px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--white);
  font-family: "Inter", system-ui, sans-serif;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: .035;
  background-image:
    repeating-radial-gradient(circle at 20% 20%, #fff 0 1px, transparent 1px 3px);
  background-size: 5px 5px;
  mix-blend-mode: soft-light;
}

.topbar {
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(28px, calc((100vw - var(--max)) / 2));
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: rgba(6,6,6,.78);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .18em;
}

.brand img {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border-radius: 50%;
}

.brand span {
  color: var(--muted);
}

.nav {
  display: flex;
  gap: 34px;
  font-size: .84rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .09em;
}

.nav a {
  position: relative;
  padding: 30px 0;
  color: #d8d4cd;
  transition: color .2s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 19px;
  height: 2px;
  background: var(--yellow);
  transition: right .2s ease;
}

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

.nav a:hover::after {
  right: 0;
}

.menu-toggle {
  display: none;
  border: 0;
  background: none;
  width: 36px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--white);
  margin: 6px 0;
}

.hero {
  min-height: 820px;
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    url("assets/media/hero-incrocio.webp") center center / cover no-repeat;
  transform: scale(1.02);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.93) 0%, rgba(0,0,0,.72) 35%, rgba(0,0,0,.26) 67%, rgba(0,0,0,.35) 100%),
    linear-gradient(0deg, #080808 0%, transparent 28%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(var(--max), calc(100% - 56px));
  margin: 70px auto 0;
  max-width: var(--max);
}

.eyebrow,
.section-kicker {
  color: var(--yellow);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.eyebrow::before {
  content: "";
  width: 42px;
  height: 3px;
  background: var(--yellow);
}

.hero h1,
.section h2,
.discovery h2 {
  font-family: "Bebas Neue", Impact, sans-serif;
  text-transform: uppercase;
  font-weight: 400;
  letter-spacing: .02em;
}

.hero h1 {
  font-size: clamp(4.8rem, 9vw, 9.2rem);
  line-height: .82;
  max-width: 780px;
  text-shadow: 0 8px 30px rgba(0,0,0,.5);
}

.hero h1 span {
  color: var(--yellow);
}

.hero p {
  width: min(610px, 100%);
  margin-top: 30px;
  color: #d2cec7;
  font-size: 1.04rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 34px;
}

.btn {
  min-width: 170px;
  height: 54px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .08em;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--yellow);
  color: #080808;
  box-shadow: 0 10px 35px rgba(223,250,3,.16);
}

.btn-primary:hover {
  background: var(--yellow-soft);
}

.btn-ghost {
  border: 1px solid rgba(255,255,255,.26);
  background: rgba(10,10,10,.48);
}

.btn-ghost:hover {
  border-color: var(--yellow);
}

.scroll-hint {
  position: absolute;
  z-index: 3;
  bottom: 34px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  color: rgba(255,255,255,.55);
  font-size: .62rem;
  letter-spacing: .2em;
}

.scroll-hint i {
  width: 1px;
  height: 46px;
  background: linear-gradient(var(--yellow), transparent);
}

.section {
  width: min(var(--max), calc(100% - 56px));
  margin: 0 auto;
  padding: 120px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 48px;
}

.section-heading h2 {
  font-size: clamp(3.1rem, 6vw, 5.7rem);
  line-height: .92;
  margin: 14px 0 18px;
}

.section-heading h2 span {
  color: var(--yellow);
}

.section-heading p {
  color: var(--muted);
  line-height: 1.75;
  font-size: 1rem;
  max-width: 650px;
}

.starter-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 14px;
}

.starter-card {
  min-height: 300px;
  padding: 30px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.025), transparent 55%),
    var(--panel);
  border: 1px solid rgba(255,255,255,.07);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}

.starter-card::after {
  content: "";
  position: absolute;
  width: 140px;
  height: 3px;
  background: var(--yellow);
  right: -80px;
  top: 30px;
  transform: rotate(-35deg);
  opacity: .45;
}

.starter-card:hover {
  transform: translateY(-5px);
  border-color: rgba(223,250,3,.38);
  background-color: var(--panel-hover);
}

.starter-card-featured {
  background:
    linear-gradient(145deg, rgba(223,250,3,.12), transparent 58%),
    var(--panel);
}

.card-number {
  font-family: "Bebas Neue", sans-serif;
  font-size: 2rem;
  color: rgba(255,255,255,.18);
}

.starter-card small {
  color: var(--yellow);
  font-weight: 800;
  letter-spacing: .12em;
}

.starter-card h3 {
  margin: 8px 0 12px;
  font-family: "Bebas Neue", sans-serif;
  font-size: 2.4rem;
  font-weight: 400;
}

.starter-card p {
  color: var(--muted);
  line-height: 1.65;
}

.starter-card > a {
  margin-top: 25px;
  color: var(--yellow);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .1em;
}

.starter-card > a span {
  margin-left: 7px;
}

.guide {
  border-top: 1px solid rgba(255,255,255,.06);
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid rgba(255,255,255,.08);
  border-left: 1px solid rgba(255,255,255,.08);
}

.guide-card {
  min-height: 190px;
  padding: 28px;
  display: grid;
  grid-template-columns: 74px 1fr auto;
  gap: 22px;
  align-items: center;
  border-right: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: #0c0c0c;
  transition: background .2s ease, color .2s ease;
}

.guide-card:hover {
  background: var(--yellow);
  color: #090909;
}

.guide-icon {
  height: 58px;
  min-width: 58px;
  padding: 0 8px;
  border: 1px solid rgba(223,250,3,.42);
  color: var(--yellow);
  display: grid;
  place-items: center;
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.1rem;
  letter-spacing: .04em;
  transition: border-color .2s ease, color .2s ease;
}

.guide-card:hover .guide-icon {
  color: #090909;
  border-color: rgba(0,0,0,.35);
}

.guide-card h3 {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.75rem;
  font-weight: 400;
  letter-spacing: .02em;
}

.guide-card p {
  color: var(--muted);
  line-height: 1.55;
  margin-top: 8px;
  font-size: .9rem;
  transition: color .2s ease;
}

.guide-card:hover p {
  color: rgba(0,0,0,.72);
}

.guide-card b {
  font-size: 1.4rem;
}

.discovery {
  margin: 30px 0;
  padding: 100px 28px;
  position: relative;
  background:
    linear-gradient(90deg, rgba(0,0,0,.92), rgba(0,0,0,.70)),
    url("assets/banner.webp") center 62% / cover no-repeat;
  border-top: 1px solid rgba(223,250,3,.2);
  border-bottom: 1px solid rgba(223,250,3,.2);
}

.discovery-inner {
  width: min(var(--max), 100%);
  margin: auto;
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 50px;
  align-items: center;
}

.discovery-mark {
  width: 150px;
  height: 150px;
  display: grid;
  place-items: center;
  border: 2px solid var(--yellow);
  color: var(--yellow);
  font-family: "Bebas Neue", sans-serif;
  font-size: 7rem;
  transform: rotate(-4deg);
  box-shadow: 10px 10px 0 rgba(157,15,21,.5);
}

.discovery h2 {
  font-size: clamp(3rem, 5.5vw, 5.6rem);
  line-height: .95;
  margin: 14px 0 18px;
}

.discovery p {
  max-width: 760px;
  color: #cac5bd;
  line-height: 1.75;
}

.discovery strong {
  display: block;
  margin-top: 18px;
  color: var(--yellow);
}

.faq-list {
  border-top: 1px solid rgba(255,255,255,.09);
}

details {
  border-bottom: 1px solid rgba(255,255,255,.09);
}

summary {
  list-style: none;
  cursor: pointer;
  padding: 26px 6px;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  color: var(--yellow);
  font-size: 1.5rem;
}

details[open] summary::after {
  content: "−";
}

details p {
  padding: 0 6px 28px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 850px;
}

footer {
  width: min(var(--max), calc(100% - 56px));
  margin: auto;
  min-height: 150px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  align-items: center;
  border-top: 1px solid rgba(255,255,255,.08);
}

footer img {
  width: 62px;
  height: 62px;
  object-fit: cover;
  border-radius: 50%;
}

footer > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

footer strong {
  letter-spacing: .09em;
}

footer span,
footer p {
  color: #77736c;
  font-size: .78rem;
}

@media (max-width: 900px) {
  .topbar {
    height: 72px;
    padding-inline: 20px;
  }

  .brand img {
    width: 50px;
    height: 50px;
  }

  .brand span {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    display: none;
    padding: 12px 20px 22px;
    flex-direction: column;
    gap: 0;
    background: rgba(7,7,7,.98);
    border-bottom: 1px solid rgba(255,255,255,.08);
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 16px 0;
  }

  .nav a::after {
    display: none;
  }

  .hero {
    min-height: 740px;
  }

  .hero-bg {
    background-position: 58% center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(0,0,0,.94), rgba(0,0,0,.55)),
      linear-gradient(0deg, #080808 0%, transparent 28%);
  }

  .hero-content {
    width: calc(100% - 40px);
  }

  .hero h1 {
    font-size: clamp(4.2rem, 18vw, 6.5rem);
  }

  .hero p {
    font-size: .94rem;
  }

  .section {
    width: calc(100% - 40px);
    padding: 90px 0;
  }

  .starter-grid,
  .guide-grid {
    grid-template-columns: 1fr;
  }

  .discovery {
    padding: 80px 20px;
  }

  .discovery-inner {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .discovery-mark {
    width: 110px;
    height: 110px;
    font-size: 5rem;
  }

  footer {
    width: calc(100% - 40px);
    padding: 35px 0;
    grid-template-columns: auto 1fr;
  }

  footer p {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .scroll-hint {
    display: none;
  }

  .starter-card {
    min-height: 260px;
  }

  .guide-card {
    grid-template-columns: 55px 1fr auto;
    gap: 14px;
    padding: 22px 18px;
  }

  .guide-icon {
    min-width: 48px;
    height: 48px;
    font-size: .92rem;
  }
}


/* ---------- Discord CTA ---------- */
.discord-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 38px;
  padding: 0 16px !important;
  margin-left: 4px;
  background: var(--yellow);
  color: #080808 !important;
  border: 1px solid var(--yellow);
  font-size: .72rem !important;
  font-weight: 800 !important;
  letter-spacing: .08em !important;
  transition: transform .2s ease, background .2s ease !important;
}

.discord-btn::after {
  display: none !important;
}

.discord-btn:hover {
  transform: translateY(-2px);
  background: var(--yellow-soft);
}

.discord-btn svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.discord-strip {
  width: min(var(--max), calc(100% - 56px));
  margin: 30px auto 90px;
  padding: 34px 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border: 1px solid rgba(223,250,3,.22);
  background:
    linear-gradient(100deg, rgba(223,250,3,.12), transparent 48%),
    #101010;
  position: relative;
  overflow: hidden;
}

.discord-strip::after {
  content: "SK";
  position: absolute;
  right: 180px;
  top: -58px;
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: 10rem;
  color: rgba(255,255,255,.018);
  transform: rotate(-8deg);
  pointer-events: none;
}

.discord-strip small {
  color: var(--yellow);
  font-weight: 800;
  letter-spacing: .14em;
}

.discord-strip h2 {
  margin-top: 5px;
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: 2.5rem;
  font-weight: 400;
}

.discord-strip p {
  margin-top: 5px;
  color: var(--muted);
  font-size: .88rem;
}

.discord-strip .btn {
  flex: 0 0 auto;
}

@media (max-width: 900px) {
  .discord-btn {
    margin: 9px 0 0 !important;
    min-height: 46px;
  }

  .discord-strip {
    width: calc(100% - 40px);
    margin-bottom: 60px;
    padding: 28px 24px;
    flex-direction: column;
    align-items: flex-start;
  }

  .discord-strip .btn {
    width: 100%;
  }
}


/* Header: logo senza etichetta testuale */
.brand {
  gap: 0;
}





/* ---------- Homepage guide layout v7 ---------- */
.guide-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 0;
  gap: 12px;
}

.guide-card {
  min-height: 176px;
  border: 1px solid rgba(255,255,255,.075);
  background:
    linear-gradient(145deg, rgba(255,255,255,.018), transparent 58%),
    #0d0d0d;
}

.guide-card:hover {
  background: var(--yellow);
  border-color: var(--yellow);
}

.guide-card.crew-feature {
  grid-column: 1 / -1;
  min-height: 205px;
  grid-template-columns: 90px 1fr auto;
  padding: 36px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(223,250,3,.28);
  background:
    radial-gradient(circle at 88% 50%, rgba(223,250,3,.13), transparent 32%),
    linear-gradient(100deg, rgba(223,250,3,.10), transparent 48%),
    #0d0d0d;
}

.guide-card.crew-feature::before {
  content: "CREW";
  position: absolute;
  right: 90px;
  top: 50%;
  transform: translateY(-52%);
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: clamp(7rem, 12vw, 11rem);
  letter-spacing: .05em;
  color: rgba(255,255,255,.018);
  pointer-events: none;
}

.guide-card.crew-feature:hover::before {
  color: rgba(0,0,0,.045);
}

.guide-card.crew-feature .guide-icon {
  min-width: 74px;
  height: 74px;
  font-size: 1.15rem;
  border-color: rgba(223,250,3,.58);
  position: relative;
  z-index: 1;
}

.guide-card.crew-feature h3 {
  font-size: 2.2rem;
}

.guide-card.crew-feature p {
  max-width: 730px;
}

.crew-badge {
  position: absolute;
  top: 18px;
  right: 20px;
  z-index: 2;
  padding: 6px 9px;
  background: var(--yellow);
  color: #090909;
  font-size: .62rem;
  font-weight: 900;
  letter-spacing: .12em;
}

.guide-card.crew-feature > div,
.guide-card.crew-feature > b {
  position: relative;
  z-index: 1;
}

@media (max-width: 900px) {
  .guide-grid {
    grid-template-columns: 1fr;
  }

  .guide-card.crew-feature {
    grid-column: auto;
    min-height: 190px;
    grid-template-columns: 66px 1fr auto;
    padding: 28px 22px;
  }

  .guide-card.crew-feature .guide-icon {
    min-width: 58px;
    height: 58px;
    font-size: .95rem;
  }

  .guide-card.crew-feature::before {
    right: 20px;
    font-size: 7rem;
  }
}


.discovery-link {
  display: inline-flex;
  margin-top: 24px;
  color: var(--white);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .11em;
  border-bottom: 1px solid rgba(223,250,3,.45);
  padding-bottom: 5px;
  transition: color .2s ease, border-color .2s ease;
}
.discovery-link:hover {
  color: var(--yellow);
  border-color: var(--yellow);
}


/* ========== V11 UX ========== */
.search-trigger {
  border: 1px solid rgba(255,255,255,.12);
  background: transparent;
  color: #d3cec7;
  min-height: 36px;
  padding: 0 11px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-family: inherit;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .07em;
  transition: border-color .2s ease, color .2s ease, background .2s ease;
}
.search-trigger:hover {
  color: var(--yellow);
  border-color: rgba(223,250,3,.45);
  background: rgba(223,250,3,.035);
}
.search-trigger kbd {
  border: 1px solid rgba(255,255,255,.13);
  padding: 2px 5px;
  color: #77726b;
  font: inherit;
  font-size: .58rem;
}
.search-trigger svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 110px 22px 30px;
  background: rgba(0,0,0,.76);
  backdrop-filter: blur(9px);
}
.search-overlay.open { display: flex; }
body.search-open { overflow: hidden; }
.search-panel {
  width: min(720px, 100%);
  background: #0d0d0d;
  border: 1px solid rgba(223,250,3,.25);
  box-shadow: 0 28px 90px rgba(0,0,0,.55);
}
.search-box {
  min-height: 66px;
  display: grid;
  grid-template-columns: 28px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 0 18px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.search-box svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--yellow);
  stroke-width: 2;
}
.search-box input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--white);
  font: inherit;
  font-size: 1rem;
}
.search-box input::placeholder { color: #5f5a54; }
.search-close {
  border: 0;
  background: transparent;
  color: #77716a;
  cursor: pointer;
  font-size: 1.4rem;
}
.search-results { max-height: 56vh; overflow-y: auto; padding: 9px; }
.search-result {
  min-height: 67px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 14px;
  border: 1px solid transparent;
  transition: .15s ease;
}
.search-result:hover {
  border-color: rgba(223,250,3,.22);
  background: rgba(223,250,3,.055);
}
.search-result span { display: flex; flex-direction: column; gap: 4px; }
.search-result small {
  color: var(--yellow);
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.search-result strong { font-size: .9rem; }
.search-result b { color: var(--yellow); }
.search-empty {
  min-height: 145px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  color: #807a72;
  text-align: center;
}
.search-empty strong { color: #d0cbc4; }

.back-to-top {
  position: fixed;
  z-index: 60;
  right: 24px;
  bottom: 24px;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(223,250,3,.3);
  background: rgba(10,10,10,.92);
  color: var(--yellow);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: .2s ease;
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--yellow);
  color: #080808;
}

.site-updated {
  color: #6e6962;
  font-size: .7rem;
  letter-spacing: .06em;
}
.site-updated strong { color: #a8a198; }

/* onboarding */
.onboarding {
  width: min(var(--max), calc(100% - 56px));
  margin: 0 auto;
  padding: 100px 0 110px;
  border-top: 1px solid rgba(255,255,255,.06);
}
.onboarding-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 32px;
}
.onboarding-head h2 {
  margin-top: 11px;
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: clamp(3rem, 5vw, 5rem);
  font-weight: 400;
  line-height: .92;
}
.onboarding-progress-wrap {
  min-width: 210px;
  text-align: right;
}
.onboarding-progress-wrap span {
  display: block;
  margin-bottom: 8px;
  color: #7c766e;
  font-size: .7rem;
}
.onboarding-progress-track {
  height: 3px;
  background: rgba(255,255,255,.08);
}
.onboarding-progress-bar {
  width: 0;
  height: 100%;
  background: var(--yellow);
  transition: width .25s ease;
}
.onboarding-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 9px;
}
.onboarding-step {
  min-height: 185px;
  padding: 20px;
  position: relative;
  border: 1px solid rgba(255,255,255,.075);
  background: #101010;
  cursor: pointer;
  text-align: left;
  transition: .2s ease;
}
.onboarding-step:hover {
  transform: translateY(-3px);
  border-color: rgba(223,250,3,.3);
}
.onboarding-step.done {
  border-color: rgba(223,250,3,.28);
  background: linear-gradient(150deg, rgba(223,250,3,.09), #101010 58%);
}
.onboarding-step small {
  color: #5f5b55;
  font-size: .68rem;
  font-weight: 800;
}
.onboarding-step.done small { color: var(--yellow); }
.onboarding-step h3 {
  margin: 19px 0 8px;
  font-family: "Bebas Neue", sans-serif;
  font-weight: 400;
  font-size: 1.6rem;
}
.onboarding-step p {
  color: #817b73;
  font-size: .78rem;
  line-height: 1.55;
}
.onboarding-step .check {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.12);
  color: transparent;
  font-size: .75rem;
}
.onboarding-step.done .check {
  color: #080808;
  background: var(--yellow);
  border-color: var(--yellow);
}
.onboarding-step a {
  position: absolute;
  bottom: 17px;
  left: 20px;
  color: var(--yellow);
  font-size: .69rem;
  font-weight: 800;
  letter-spacing: .08em;
}
.onboarding-reset {
  margin-top: 16px;
  border: 0;
  background: transparent;
  color: #625e58;
  cursor: pointer;
  font: inherit;
  font-size: .68rem;
  text-decoration: underline;
}

/* What's new */
.whats-new {
  width: min(var(--max), calc(100% - 56px));
  margin: 0 auto;
  padding: 100px 0;
}
.news-grid {
  margin-top: 35px;
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 11px;
}
.news-card {
  min-height: 235px;
  padding: 25px;
  position: relative;
  border: 1px solid rgba(255,255,255,.075);
  background: #101010;
  overflow: hidden;
}
.news-card.featured {
  background:
    linear-gradient(135deg, rgba(223,250,3,.12), transparent 60%),
    #101010;
  border-color: rgba(223,250,3,.24);
}
.news-card small {
  color: var(--yellow);
  font-size: .64rem;
  font-weight: 800;
  letter-spacing: .12em;
}
.news-card h3 {
  margin: 16px 0 9px;
  font-family: "Bebas Neue", sans-serif;
  font-size: 2rem;
  font-weight: 400;
}
.news-card p {
  color: #89837b;
  font-size: .83rem;
  line-height: 1.6;
}
.news-card a {
  position: absolute;
  left: 25px;
  bottom: 23px;
  color: var(--yellow);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .08em;
}
.new-badge {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 0 7px;
  margin-left: 7px;
  background: var(--yellow);
  color: #080808;
  font-size: .55rem;
  font-weight: 900;
  letter-spacing: .1em;
  vertical-align: middle;
}

/* share cards / guide index new */
.guide-index-card .new-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  margin: 0;
}

@media (max-width: 1000px) {
  .onboarding-list { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: 1fr 1fr; }
  .news-card.featured { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .search-trigger kbd { display: none; }
  .onboarding,
  .whats-new { width: calc(100% - 40px); }
}
@media (max-width: 620px) {
  .search-trigger { min-width: 38px; padding: 0 10px; }
  .search-trigger .search-label { display: none; }
  .search-overlay { padding-top: 85px; }
  .onboarding-head { align-items: flex-start; flex-direction: column; }
  .onboarding-progress-wrap { min-width: 100%; text-align: left; }
  .onboarding-list,
  .news-grid { grid-template-columns: 1fr; }
  .news-card.featured { grid-column: auto; }
  .back-to-top { right: 16px; bottom: 16px; }
}


/* ---------- V12: fix contrast onboarding ---------- */
.onboarding-step {
  color: var(--white);
  font-family: "Inter", system-ui, sans-serif;
}

.onboarding-step h3 {
  color: var(--white);
}

.onboarding-step p {
  color: #a7a198;
}

.onboarding-step small {
  color: #756f67;
}

.onboarding-step.done h3 {
  color: var(--white);
}

.onboarding-step.done p {
  color: #c0b9af;
}

.onboarding-step:hover h3 {
  color: var(--yellow);
}

.onboarding-step:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 2px;
}


/* ---------- V16: active nav + smarter search ---------- */
.nav > a.active:not(.discord-btn) {
  color: var(--yellow);
}
.nav > a.active:not(.discord-btn)::after {
  width: 100%;
}
.search-result mark {
  padding: 0;
  background: transparent;
  color: var(--yellow);
}


/* ---------- V17: horizontal StreetKings header logo ---------- */
.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand img {
  width: clamp(150px, 12vw, 205px);
  height: auto;
  max-height: 58px;
  object-fit: contain;
  object-position: left center;
}

@media (max-width: 900px) {
  .brand img {
    width: 155px;
    max-height: 48px;
  }
}

@media (max-width: 620px) {
  .brand img {
    width: 132px;
    max-height: 42px;
  }
}


/* ---------- V18 media integration ---------- */
.hero-bg { filter: saturate(1.02) contrast(1.03); }


/* ---------- V21 discovery links ---------- */
.discovery-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
}
.discovery-links .discovery-link {
  margin-top: 24px;
}


/* ---------- V23: responsive hero + subtle motion ---------- */
@media (max-width: 900px) {
  .hero-bg {
    background-image: url("assets/media/hero-incrocio-mobile.webp");
  }
}

.reading-progress {
  position: fixed;
  top: var(--header-height, 82px);
  left: 0;
  right: 0;
  z-index: 98;
  height: 2px;
  pointer-events: none;
  background: rgba(255,255,255,.035);
  opacity: 0;
  transition: opacity .2s ease;
}

body.has-reading-progress .reading-progress {
  opacity: 1;
}

.reading-progress > span {
  display: block;
  width: 0%;
  height: 100%;
  background: var(--yellow);
  box-shadow: 0 0 12px rgba(223,250,3,.38);
  will-change: width;
}

.reveal-ready {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity .42s ease,
    transform .42s ease;
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal-ready.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal-ready {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  html {
    scroll-behavior: auto !important;
  }
}

@media (max-width: 900px) {
  .reading-progress {
    top: 72px;
  }
}


/* ---------- V26: contextual search + smart 404 ---------- */
.search-result em {
  color: #777169;
  font-size: .72rem;
  font-style: normal;
  line-height: 1.35;
}

.smart-404 {
  min-height: 100vh;
  padding: 118px 28px 60px;
  background:
    linear-gradient(90deg, rgba(0,0,0,.94), rgba(0,0,0,.72)),
    url('/assets/media/hero-incrocio.webp') center/cover no-repeat fixed;
}
.smart-404-shell { width: min(920px, 100%); margin: 0 auto; }
.smart-404-logo { width: 190px; height: auto; margin-bottom: 28px; }
.smart-404 h1 { font-family: 'Bebas Neue', Impact, sans-serif; font-size: clamp(4rem, 9vw, 7.6rem); font-weight: 400; line-height: .88; margin: 12px 0 18px; }
.smart-404 h1 span { color: var(--yellow); }
.smart-404 > .smart-404-shell > p { max-width: 670px; color: #a49e96; line-height: 1.7; }
.smart-404-search { margin-top: 34px; padding: 10px; display: flex; align-items: center; gap: 10px; border: 1px solid rgba(223,250,3,.22); background: rgba(8,8,8,.84); backdrop-filter: blur(14px); }
.smart-404-search input { width: 100%; min-height: 48px; padding: 0 14px; border: 0; outline: 0; background: transparent; color: #eee8df; font: inherit; }
.smart-404-results { margin-top: 8px; padding: 0; border: 1px solid rgba(255,255,255,.07); background: rgba(8,8,8,.9); }
.smart-404-results .search-result { border-bottom: 1px solid rgba(255,255,255,.055); }
.smart-404-results .search-result:last-child { border-bottom: 0; }
.smart-404-links { margin-top: 26px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.smart-404-link { padding: 18px; min-height: 92px; border: 1px solid rgba(255,255,255,.08); background: rgba(14,14,14,.8); transition: .18s ease; }
.smart-404-link:hover { border-color: rgba(223,250,3,.45); transform: translateY(-2px); }
.smart-404-link small { display: block; margin-bottom: 8px; color: var(--yellow); font-size: .62rem; font-weight: 800; letter-spacing: .11em; }
.smart-404-link strong { font-size: .88rem; }
@media (max-width: 680px) {
  .smart-404 { padding: 94px 18px 40px; }
  .smart-404-links { grid-template-columns: 1fr; }
  .smart-404-logo { width: 155px; }
}


/* ---------- V29: FiveM badge + launch countdown ---------- */
.fivem-badge {
  width: fit-content;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  padding: 5px 12px 5px 6px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(8,8,8,.58);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 28px rgba(0,0,0,.22);
  color: #ded9d1;
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.fivem-badge img {
  width: 30px;
  height: 30px;
  display: block;
  object-fit: cover;
  border-radius: 4px;
}

.launch-countdown {
  position: relative;
  z-index: 3;
  padding: 0 28px;
  background:
    linear-gradient(180deg, #080808 0%, #0a0a0a 100%);
}

.launch-countdown-inner {
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding: 44px 0 48px;
  display: grid;
  grid-template-columns: minmax(250px, .95fr) minmax(480px, 1.45fr) auto;
  align-items: center;
  gap: 34px;
  border-top: 1px solid rgba(223,250,3,.22);
  border-bottom: 1px solid rgba(255,255,255,.07);
}

.launch-countdown-copy h2 {
  margin-top: 8px;
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: clamp(2.25rem, 4vw, 4.1rem);
  line-height: .95;
  font-weight: 400;
  letter-spacing: .025em;
  text-transform: uppercase;
}

.launch-countdown-copy p {
  margin-top: 10px;
  color: #7f7972;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(80px, 1fr));
  border: 1px solid rgba(255,255,255,.07);
  background:
    linear-gradient(135deg, rgba(223,250,3,.055), transparent 52%),
    #0d0d0d;
}

.countdown-unit {
  position: relative;
  min-height: 108px;
  padding: 17px 14px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.countdown-unit + .countdown-unit {
  border-left: 1px solid rgba(255,255,255,.07);
}

.countdown-unit strong {
  color: var(--yellow);
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: clamp(2.6rem, 4.5vw, 4.5rem);
  line-height: .82;
  font-weight: 400;
  letter-spacing: .04em;
  text-shadow: 0 0 22px rgba(223,250,3,.13);
  font-variant-numeric: tabular-nums;
}

.countdown-unit span {
  margin-top: 12px;
  color: #747069;
  font-size: .61rem;
  font-weight: 800;
  letter-spacing: .15em;
}

.launch-cta {
  min-width: 205px;
  white-space: nowrap;
}

.launch-countdown.is-live .launch-countdown-inner {
  grid-template-columns: 1fr auto;
}

.launch-countdown.is-live .launch-countdown-copy h2 {
  color: var(--yellow);
}

.launch-countdown.is-live .countdown-grid {
  display: none;
}

.launch-countdown.is-live .launch-cta {
  border-color: var(--yellow);
  color: var(--yellow);
}

@media (max-width: 1050px) {
  .launch-countdown-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .launch-cta {
    width: fit-content;
  }

  .launch-countdown.is-live .launch-countdown-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .fivem-badge {
    min-height: 38px;
    margin-bottom: 15px;
    padding-right: 10px;
    font-size: .6rem;
  }

  .fivem-badge img {
    width: 27px;
    height: 27px;
  }

  .launch-countdown {
    padding: 0 18px;
  }

  .launch-countdown-inner {
    padding: 34px 0 38px;
  }

  .launch-countdown-copy h2 {
    font-size: 2.7rem;
  }

  .launch-countdown-copy p {
    line-height: 1.55;
  }

  .countdown-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .countdown-unit {
    min-height: 82px;
    padding: 13px 5px 11px;
  }

  .countdown-unit strong {
    font-size: clamp(2rem, 12vw, 3.2rem);
  }

  .countdown-unit span {
    margin-top: 8px;
    font-size: .48rem;
    letter-spacing: .08em;
  }

  .launch-cta {
    width: 100%;
    min-width: 0;
  }
}


/* ---------- V30: FiveM badge moved to header ---------- */
.fivem-header-badge {
  flex: 0 0 auto;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 14px;
  margin-right: 18px;
  padding: 5px 7px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(10,10,10,.72);
}

.fivem-header-badge img {
  width: 32px;
  height: 32px;
  display: block;
  object-fit: cover;
  border-radius: 4px;
}

.fivem-header-badge span {
  display: none !important;
}

/* The old hero badge is no longer used. */
.fivem-badge {
  display: none !important;
}

@media (max-width: 1120px) {
  .fivem-header-badge {
    margin-left: 9px;
    margin-right: 10px;
    padding: 5px 6px;
  }
}

@media (max-width: 760px) {
  .fivem-header-badge {
    min-height: 36px;
    margin-left: 7px;
    margin-right: auto;
    padding: 4px 5px;
    border-color: rgba(255,255,255,.10);
  }

  .fivem-header-badge img {
    width: 28px;
    height: 28px;
  }
}

/* ---------- V31: launch countdown immediately below header ---------- */
.launch-countdown-top {
  margin-top: 82px;
  position: relative;
  z-index: 4;
}

.launch-countdown-top .launch-countdown-inner {
  padding-top: 30px;
  padding-bottom: 30px;
  gap: 28px;
}

.launch-countdown-top .launch-countdown-copy h2 {
  font-size: clamp(2.15rem, 3.3vw, 3.55rem);
}

.launch-countdown-top .countdown-unit {
  min-height: 92px;
  padding-top: 14px;
  padding-bottom: 12px;
}

.launch-countdown-top .countdown-unit strong {
  font-size: clamp(2.45rem, 3.9vw, 4rem);
}

.launch-countdown-top + .hero {
  height: calc(100vh - 82px);
  min-height: 720px;
}

@media (max-width: 1050px) {
  .launch-countdown-top .launch-countdown-inner {
    padding-top: 26px;
    padding-bottom: 28px;
  }
}

@media (max-width: 760px) {
  .launch-countdown-top {
    margin-top: 72px;
  }

  .launch-countdown-top + .hero {
    height: auto;
    min-height: 720px;
  }
}

@media (max-width: 620px) {
  .launch-countdown-top .launch-countdown-inner {
    padding-top: 24px;
    padding-bottom: 26px;
    gap: 18px;
  }

  .launch-countdown-top .launch-countdown-copy h2 {
    font-size: 2.35rem;
  }

  .launch-countdown-top .countdown-unit {
    min-height: 74px;
  }

  .launch-countdown-top .countdown-unit strong {
    font-size: clamp(1.9rem, 11vw, 2.8rem);
  }
}


/* ---------- V33: VIP + homepage marketing ---------- */
.vip-btn {
  min-height: 38px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(223,250,3,.58);
  background: rgba(223,250,3,.07);
  color: var(--yellow) !important;
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .12em;
  transition: .18s ease;
}

.vip-btn:hover,
.vip-btn.active {
  background: var(--yellow);
  border-color: var(--yellow);
  color: #080808 !important;
}

.experience-strip {
  width: min(var(--max), calc(100% - 56px));
  margin: -1px auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid rgba(255,255,255,.075);
  background: #0b0b0b;
  position: relative;
  z-index: 6;
}

.experience-stat {
  min-height: 126px;
  padding: 25px 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: .2s ease;
}

.experience-stat + .experience-stat {
  border-left: 1px solid rgba(255,255,255,.07);
}

.experience-stat:hover {
  background: linear-gradient(135deg, rgba(223,250,3,.08), transparent);
}

.experience-stat strong {
  color: var(--yellow);
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.65rem;
  font-weight: 400;
  letter-spacing: .04em;
}

.experience-stat span {
  margin-top: 3px;
  color: #e5dfd7;
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .13em;
}

.experience-stat small {
  margin-top: 9px;
  color: #716c65;
  font-size: .72rem;
  line-height: 1.45;
}

@media (max-width: 980px) {
  .experience-strip { grid-template-columns: repeat(2, 1fr); }
  .experience-stat:nth-child(3) { border-left: 0; border-top: 1px solid rgba(255,255,255,.07); }
  .experience-stat:nth-child(4) { border-top: 1px solid rgba(255,255,255,.07); }
}

@media (max-width: 620px) {
  .experience-strip {
    width: calc(100% - 36px);
    grid-template-columns: 1fr;
  }
  .experience-stat + .experience-stat {
    border-left: 0;
    border-top: 1px solid rgba(255,255,255,.07);
  }
  .experience-stat { min-height: 104px; padding: 20px; }
}



/* =====================================================================
   V36 — DEFINITIVE TOPBAR
   Clean desktop alignment, compact FiveM mark, balanced VIP/Discord CTA,
   borderless Search control and earlier responsive collapse.
   ===================================================================== */

.topbar {
  justify-content: flex-start;
  gap: 0;
  overflow: visible;
}

/* StreetKings + FiveM stay together as the left brand cluster */
.topbar .brand {
  flex: 0 0 auto;
}

.topbar .fivem-header-badge {
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  min-height: 46px;
  margin: 0 0 0 16px;
  padding: 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(12,12,12,.78);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.015);
}

.topbar .fivem-header-badge img {
  width: 36px;
  height: 36px;
  display: block;
  object-fit: cover;
  border-radius: 4px;
}

.topbar .fivem-header-badge span {
  display: none !important;
}

/* Nav lives flush to the right instead of using space-between between every child */
.topbar .nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: clamp(18px, 1.8vw, 28px);
  font-size: .79rem;
  line-height: 1;
}

/* Standard nav links: vertically centered, with a clean underline sitting inside header */
.topbar .nav > a:not(.vip-btn):not(.discord-btn) {
  height: 82px;
  min-height: 82px;
  padding: 0 2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.topbar .nav > a:not(.vip-btn):not(.discord-btn)::after {
  left: 0;
  right: auto;
  bottom: 0;
  width: 0;
  height: 2px;
  transition: width .2s ease;
}

.topbar .nav > a:not(.vip-btn):not(.discord-btn):hover::after,
.topbar .nav > a.active:not(.vip-btn):not(.discord-btn)::after {
  width: 100%;
}

/* Search: deliberately borderless, so nothing can fall below the yellow divider */
.topbar .search-trigger {
  width: auto;
  height: 44px;
  min-height: 44px;
  margin: 0;
  padding: 0 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  align-self: center;
  border: 0;
  background: transparent;
  box-shadow: none;
  white-space: nowrap;
}

.topbar .search-trigger:hover {
  border: 0;
  background: rgba(223,250,3,.045);
  color: var(--yellow);
}

.topbar .search-trigger::before,
.topbar .search-trigger::after {
  display: none !important;
}

.topbar .search-trigger kbd {
  min-width: 34px;
  padding: 4px 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.025);
  color: #77726b;
  line-height: 1.05;
}

/* VIP + Discord: exactly the same dimensions */
.topbar .vip-btn,
.topbar .discord-btn {
  flex: 0 0 116px;
  width: 116px;
  min-width: 116px;
  height: 44px;
  min-height: 44px;
  margin: 0;
  padding: 0 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  font-size: .69rem !important;
  font-weight: 900 !important;
  letter-spacing: .105em !important;
  line-height: 1;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.topbar .vip-btn::after,
.topbar .discord-btn::after {
  display: none !important;
}

/* VIP = StreetKings identity */
.topbar .vip-btn {
  border: 1px solid var(--yellow);
  background: rgba(223,250,3,.07);
  color: var(--yellow) !important;
}

.topbar .vip-btn:hover,
.topbar .vip-btn.active {
  transform: translateY(-1px);
  border-color: var(--yellow);
  background: var(--yellow);
  color: #080808 !important;
}

/* Discord = Discord brand */
.topbar .discord-btn {
  border: 1px solid #5865F2;
  background: #5865F2;
  color: #fff !important;
}

.topbar .discord-btn:hover {
  transform: translateY(-1px);
  border-color: #6d78f5;
  background: #6d78f5;
  color: #fff !important;
}

/* Keyboard navigation */
.topbar a:focus-visible,
.topbar button:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 3px;
}

/*
  Collapse the header a little earlier than the old 900px breakpoint.
  This avoids a cramped "almost desktop" header on small laptops/tablets.
*/
@media (max-width: 1050px) {
  .topbar .brand img {
    width: 155px;
    max-height: 48px;
  }

  .topbar .fivem-header-badge {
    flex-basis: 42px;
    width: 42px;
    height: 42px;
    min-height: 42px;
    margin-left: 12px;
    padding: 4px;
  }

  .topbar .fivem-header-badge img {
    width: 32px;
    height: 32px;
  }

  .topbar .menu-toggle {
    display: block;
    margin-left: auto;
  }

  .topbar .nav {
    position: absolute;
    top: 82px;
    left: 0;
    right: 0;
    margin-left: 0;
    display: none;
    padding: 14px 20px 22px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(7,7,7,.985);
    border-bottom: 1px solid rgba(223,250,3,.18);
    box-shadow: 0 18px 34px rgba(0,0,0,.34);
  }

  .topbar .nav.open {
    display: flex;
  }

  .topbar .nav > a:not(.vip-btn):not(.discord-btn) {
    width: 100%;
    height: 48px;
    min-height: 48px;
    padding: 0 4px;
    justify-content: flex-start;
    border-bottom: 1px solid rgba(255,255,255,.055);
  }

  .topbar .nav > a:not(.vip-btn):not(.discord-btn)::after {
    display: none;
  }

  .topbar .search-trigger {
    width: 100%;
    height: 48px;
    min-height: 48px;
    padding: 0 4px;
    justify-content: flex-start;
    border-bottom: 1px solid rgba(255,255,255,.055);
  }

  .topbar .search-trigger kbd {
    margin-left: auto;
  }

  .topbar .vip-btn,
  .topbar .discord-btn {
    width: 100%;
    min-width: 0;
    flex-basis: auto;
    height: 46px;
    min-height: 46px;
    margin-top: 10px;
  }
}

@media (max-width: 900px) {
  .topbar .nav {
    top: 72px;
  }

  .topbar .brand img {
    width: 145px;
    max-height: 44px;
  }

  .topbar .fivem-header-badge {
    flex-basis: 38px;
    width: 38px;
    height: 38px;
    min-height: 38px;
    margin-left: 10px;
    padding: 4px;
  }

  .topbar .fivem-header-badge img {
    width: 28px;
    height: 28px;
  }
}

@media (max-width: 620px) {
  .topbar {
    padding-inline: 16px;
  }

  .topbar .brand img {
    width: 126px;
    max-height: 40px;
  }

  .topbar .fivem-header-badge {
    margin-left: 8px;
  }

  .topbar .search-trigger .search-label {
    display: inline;
  }

  .topbar .search-trigger kbd {
    display: none;
  }
}


/* =====================================================================
   V37 — TOPBAR ASSET REFINEMENT
   FiveM logo without border, VIP/Discord as image assets, fixed height.
   ===================================================================== */

.topbar {
  justify-content: flex-start;
  gap: 0;
  overflow: visible;
}

.topbar .brand {
  flex: 0 0 auto;
}

.topbar .brand img {
  width: 160px;
  height: auto;
  max-height: 52px;
  object-fit: contain;
  border-radius: 0;
}

.topbar .fivem-header-badge {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  margin: 0 0 0 18px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.topbar .fivem-header-badge img {
  width: 36px;
  height: 36px;
  display: block;
  object-fit: contain;
  border-radius: 0;
}

.topbar .nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: clamp(18px, 1.55vw, 26px);
  font-size: .79rem;
  line-height: 1;
}

.topbar .nav > a:not(.vip-btn):not(.discord-btn) {
  height: 82px;
  min-height: 82px;
  padding: 0 2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.topbar .nav > a:not(.vip-btn):not(.discord-btn)::after {
  left: 0;
  right: auto;
  bottom: 0;
  width: 0;
  height: 2px;
  transition: width .2s ease;
}

.topbar .nav > a:not(.vip-btn):not(.discord-btn):hover::after,
.topbar .nav > a.active:not(.vip-btn):not(.discord-btn)::after {
  width: 100%;
}

.topbar .search-trigger {
  width: auto;
  height: 44px;
  min-height: 44px;
  margin: 0;
  padding: 0 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  align-self: center;
  border: 0;
  background: transparent;
  box-shadow: none;
  white-space: nowrap;
}

.topbar .search-trigger:hover {
  border: 0;
  background: rgba(223,250,3,.045);
  color: var(--yellow);
}

.topbar .search-trigger::before,
.topbar .search-trigger::after {
  display: none !important;
}

.topbar .search-trigger kbd {
  min-width: 34px;
  padding: 4px 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.025);
  color: #77726b;
  line-height: 1.05;
}

.topbar .vip-btn,
.topbar .discord-btn {
  flex: 0 0 auto;
  width: auto;
  min-width: 0;
  height: 44px;
  min-height: 44px;
  margin: 0;
  padding: 0 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.topbar .vip-btn::after,
.topbar .discord-btn::after {
  display: none !important;
}

.topbar .vip-btn img,
.topbar .discord-btn img {
  height: 44px;
  width: auto;
  display: block;
  object-fit: contain;
}

.topbar .vip-btn:hover,
.topbar .discord-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
}

.topbar a:focus-visible,
.topbar button:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 3px;
}

@media (max-width: 1120px) {
  .topbar .brand img {
    width: 148px;
    max-height: 48px;
  }

  .topbar .fivem-header-badge {
    width: 38px;
    height: 38px;
    margin-left: 14px;
  }

  .topbar .fivem-header-badge img {
    width: 32px;
    height: 32px;
  }

  .topbar .nav {
    gap: 18px;
  }

  .topbar .vip-btn img,
  .topbar .discord-btn img {
    height: 40px;
  }
}

@media (max-width: 1050px) {
  .topbar .menu-toggle {
    display: block;
    margin-left: auto;
  }

  .topbar .nav {
    position: absolute;
    top: 82px;
    left: 0;
    right: 0;
    margin-left: 0;
    display: none;
    padding: 14px 20px 22px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(7,7,7,.985);
    border-bottom: 1px solid rgba(223,250,3,.18);
    box-shadow: 0 18px 34px rgba(0,0,0,.34);
  }

  .topbar .nav.open { display: flex; }

  .topbar .nav > a:not(.vip-btn):not(.discord-btn) {
    width: 100%;
    height: 48px;
    min-height: 48px;
    padding: 0 4px;
    justify-content: flex-start;
    border-bottom: 1px solid rgba(255,255,255,.055);
  }

  .topbar .nav > a:not(.vip-btn):not(.discord-btn)::after {
    display: none;
  }

  .topbar .search-trigger {
    width: 100%;
    height: 48px;
    min-height: 48px;
    padding: 0 4px;
    justify-content: flex-start;
    border-bottom: 1px solid rgba(255,255,255,.055);
  }

  .topbar .search-trigger kbd {
    margin-left: auto;
  }

  .topbar .vip-btn,
  .topbar .discord-btn {
    width: 100%;
    justify-content: flex-start;
    height: auto;
    min-height: 0;
    margin-top: 12px;
  }

  .topbar .vip-btn img,
  .topbar .discord-btn img {
    height: 42px;
  }
}

@media (max-width: 900px) {
  .topbar .nav { top: 72px; }
  .topbar .brand img {
    width: 138px;
    max-height: 44px;
  }
  .topbar .fivem-header-badge {
    width: 36px;
    height: 36px;
    margin-left: 10px;
  }
  .topbar .fivem-header-badge img {
    width: 30px;
    height: 30px;
  }
}

@media (max-width: 620px) {
  .topbar {
    padding-inline: 16px;
  }
  .topbar .brand img {
    width: 124px;
    max-height: 40px;
  }
  .topbar .fivem-header-badge {
    margin-left: 8px;
  }
  .topbar .search-trigger .search-label { display: inline; }
  .topbar .search-trigger kbd { display: none; }
}


/* =====================================================================
   V38 — HOMEPAGE MARKETING / UX
   ===================================================================== */

.game-showcase {
  padding-top: 92px;
}

.showcase-heading {
  max-width: 840px;
}

.showcase-heading h2 span {
  color: var(--yellow);
}

.showcase-lead {
  width: min(var(--max), calc(100% - 56px));
  height: clamp(300px, 42vw, 570px);
  margin: 42px auto 18px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.07);
  background: #0b0b0b;
}

.showcase-lead picture,
.showcase-lead img {
  width: 100%;
  height: 100%;
  display: block;
}

.showcase-lead img {
  object-fit: cover;
  transition: transform .65s cubic-bezier(.2,.7,.2,1);
}

.showcase-lead::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,.82), transparent 58%);
  pointer-events: none;
}

.showcase-lead:hover img {
  transform: scale(1.015);
}

.showcase-lead figcaption {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 26px;
  z-index: 2;
}

.showcase-lead figcaption small {
  display: block;
  color: var(--yellow);
  font-size: .62rem;
  font-weight: 900;
  letter-spacing: .16em;
}

.showcase-lead figcaption strong {
  display: block;
  margin-top: 7px;
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 3.2rem);
  font-weight: 400;
  letter-spacing: .025em;
}

.game-feature-grid {
  width: min(var(--max), calc(100% - 56px));
  margin: 28px auto 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-areas:
    "story story"
    "modes freeroam"
    "crew garage";
  gap: 18px;
}

.game-feature-card {
  min-height: 320px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.075);
  background: #101010;
  transform: translateZ(0);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.game-feature-card.feature-storycase {
  grid-area: story;
  min-height: 360px;
}

.game-feature-card.feature-modes {
  grid-area: modes;
}

.game-feature-card.feature-freeroam {
  grid-area: freeroam;
}

.game-feature-card.feature-crew {
  grid-area: crew;
}

.game-feature-card.feature-garage {
  grid-area: garage;
}

.game-feature-card picture,
.game-feature-card img {
  width: 100%;
  height: 100%;
  display: block;
}

.game-feature-card img {
  position: absolute;
  inset: 0;
  object-fit: cover;
  transition: transform .55s cubic-bezier(.2,.7,.2,1), filter .3s ease;
}

.feature-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(0,0,0,.94) 0%, rgba(0,0,0,.42) 56%, rgba(0,0,0,.10) 100%),
    linear-gradient(90deg, rgba(0,0,0,.42), transparent 62%);
}

.feature-copy {
  position: absolute;
  z-index: 3;
  left: 22px;
  right: 22px;
  bottom: 21px;
}

.feature-copy small {
  display: block;
  color: var(--yellow);
  font-size: .61rem;
  font-weight: 900;
  letter-spacing: .14em;
}

.feature-copy strong {
  display: block;
  margin-top: 8px;
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(1.9rem, 2.75vw, 2.85rem);
  font-weight: 400;
  line-height: .98;
  text-wrap: balance;
}

.feature-copy p {
  max-width: 520px;
  margin-top: 10px;
  color: #b7b0a7;
  font-size: .8rem;
  line-height: 1.55;
}

.game-feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(223,250,3,.38);
  box-shadow: 0 20px 46px rgba(0,0,0,.24);
}

.game-feature-card:hover img {
  transform: scale(1.025);
  filter: brightness(1.035);
}

.feature-storycase .feature-copy {
  left: 26px;
  right: 26px;
  bottom: 24px;
}

.feature-storycase .feature-copy strong {
  font-size: clamp(2.2rem, 4vw, 3.8rem);
}

.feature-storycase .feature-copy p {
  max-width: 620px;
}

.feature-storycase img {
  object-position: center center;
}

.feature-modes img {
  object-position: center center;
}

.feature-freeroam img {
  object-position: center center;
}

.feature-crew img {
  object-position: center top;
}

.feature-garage img {
  object-position: center center;
}

.feature-crew .feature-shade,
.feature-garage .feature-shade {
  background:
    linear-gradient(0deg, rgba(0,0,0,.96) 0%, rgba(0,0,0,.52) 58%, rgba(0,0,0,.14) 100%),
    linear-gradient(90deg, rgba(0,0,0,.52), transparent 66%);
}

.showcase-heading p {
  max-width: 740px;
}

.racer-journey {
  padding-top: 92px;
}

.journey-flow {
  width: min(var(--max), calc(100% - 56px));
  margin: 42px auto 0;
  display: flex;
  align-items: stretch;
  gap: 8px;
}

.journey-step {
  flex: 1;
  min-width: 0;
  min-height: 172px;
  padding: 22px 18px;
  border: 1px solid rgba(255,255,255,.075);
  background:
    linear-gradient(135deg, rgba(223,250,3,.03), transparent 56%),
    #101010;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.journey-step b {
  color: var(--yellow);
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.35rem;
  font-weight: 400;
}

.journey-step strong {
  display: block;
  margin-top: 18px;
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.52rem;
  font-weight: 400;
  line-height: 1;
}

.journey-step span {
  display: block;
  margin-top: 9px;
  color: #777169;
  font-size: .7rem;
  line-height: 1.5;
}

.journey-step:hover {
  transform: translateY(-4px);
  border-color: rgba(223,250,3,.4);
  background:
    linear-gradient(135deg, rgba(223,250,3,.085), transparent 62%),
    #101010;
}

.journey-flow > i {
  flex: 0 0 20px;
  align-self: center;
  color: var(--yellow);
  font-style: normal;
  text-align: center;
}

.racer-challenge-promo {
  width: min(var(--max), calc(100% - 56px));
  min-height: 420px;
  margin: 96px auto 0;
  padding: 34px;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, .95fr);
  gap: 28px;
  align-items: stretch;
  border: 1px solid rgba(223,250,3,.22);
  background:
    radial-gradient(circle at 84% 50%, rgba(223,250,3,.12), transparent 32%),
    linear-gradient(115deg, #0e0e0e 0%, #090909 68%, #121008 100%);
}

.racer-challenge-inner {
  position: relative;
  z-index: 2;
  max-width: 730px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px 6px 20px 10px;
}

.racer-challenge-inner h2 {
  margin-top: 12px;
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(3.1rem, 6vw, 6rem);
  font-weight: 400;
  line-height: .86;
}

.racer-challenge-inner h2 span {
  color: var(--yellow);
}

.racer-challenge-inner p {
  max-width: 610px;
  margin-top: 24px;
  color: #aaa49a;
  line-height: 1.7;
}

.racer-challenge-inner .btn {
  margin-top: 25px;
  align-self: flex-start;
}

.challenge-visual {
  position: relative;
  z-index: 2;
  min-height: 350px;
  margin: 0;
  border: 1px solid rgba(255,255,255,.1);
  background: #0b0b0b;
  overflow: hidden;
  align-self: stretch;
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
}

.challenge-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(8,8,8,.32) 0%, transparent 18%, transparent 82%, rgba(8,8,8,.22) 100%),
    linear-gradient(180deg, rgba(8,8,8,.1), rgba(8,8,8,.2));
}

.challenge-visual picture,
.challenge-visual img {
  width: 100%;
  height: 100%;
  display: block;
}

.challenge-visual img {
  object-fit: cover;
  object-position: center;
}

.challenge-speed-lines {
  position: absolute;
  width: 36%;
  height: 180%;
  right: -12%;
  top: -40%;
  opacity: .16;
  transform: skewX(-14deg);
  background: repeating-linear-gradient(
    90deg,
    transparent 0 24px,
    rgba(223,250,3,.5) 25px 27px,
    transparent 28px 58px
  );
  filter: blur(.4px);
}

.latest-news {
  padding-top: 92px;
}

.latest-news-grid {
  width: min(var(--max), calc(100% - 56px));
  margin: 40px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.latest-news-card {
  min-height: 245px;
  padding: 27px;
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255,255,255,.075);
  background:
    linear-gradient(135deg, rgba(223,250,3,.045), transparent 52%),
    #101010;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.latest-news-card small {
  color: var(--yellow);
  font-size: .61rem;
  font-weight: 900;
  letter-spacing: .14em;
}

.latest-news-card strong {
  margin-top: 16px;
  font-family: "Bebas Neue", sans-serif;
  font-size: 2rem;
  font-weight: 400;
}

.latest-news-card span {
  margin-top: 10px;
  color: #89837b;
  font-size: .78rem;
  line-height: 1.65;
}

.latest-news-card b {
  margin-top: auto;
  padding-top: 23px;
  color: var(--yellow);
  font-size: .67rem;
  letter-spacing: .1em;
}

.latest-news-card:hover {
  transform: translateY(-4px);
  border-color: rgba(223,250,3,.4);
  box-shadow: 0 18px 38px rgba(0,0,0,.24);
}

.search-answer {
  margin-top: 9px;
  max-width: 610px;
  color: #b7b0a7;
  font-size: .72rem;
  line-height: 1.5;
}

.search-answer i {
  margin-right: 8px;
  color: var(--yellow);
  font-style: normal;
  font-size: .55rem;
  font-weight: 900;
  letter-spacing: .1em;
}

@media (max-width: 960px) {
  .game-feature-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "story"
      "modes"
      "freeroam"
      "crew"
      "garage";
  }
  .game-feature-card,
  .game-feature-card.feature-storycase,
  .game-feature-card.feature-garage {
    min-height: 300px;
  }
  .journey-flow {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
  .journey-flow > i {
    display: none;
  }
  .latest-news-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .showcase-lead,
  .game-feature-grid,
  .journey-flow,
  .racer-challenge-promo,
  .latest-news-grid {
    width: calc(100% - 36px);
  }

  .showcase-lead {
    height: 360px;
  }

  .showcase-lead figcaption {
    left: 18px;
    right: 18px;
    bottom: 18px;
  }

  .game-feature-grid,
  .journey-flow {
    grid-template-columns: 1fr;
  }

  .game-feature-grid {
    gap: 14px;
  }

  .game-feature-card,
  .game-feature-card.feature-storycase {
    min-height: 280px;
  }

  .feature-copy {
    left: 18px;
    right: 18px;
    bottom: 18px;
  }

  .feature-copy strong {
    font-size: clamp(1.7rem, 9vw, 2.35rem);
  }

  .racer-challenge-promo {
    min-height: 0;
    padding: 24px;
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .racer-challenge-inner {
    padding: 4px 0 0;
  }

  .challenge-visual {
    min-height: 220px;
    order: -1;
  }

  .challenge-speed-lines {
    width: 78%;
    right: -30%;
  }
}


/* =====================================================================
   V40 — FINAL MARKETING / UX POLISH
   ===================================================================== */

.game-showcase { padding-bottom: 18px; }
.game-feature-grid { gap: 20px; }
.game-feature-card { isolation: isolate; }

.game-feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  box-shadow: inset 0 0 0 1px rgba(223,250,3,.42);
  transition: opacity .22s ease;
}
.game-feature-card:hover::before { opacity: 1; }

.feature-storycase { min-height: 390px; }
.feature-storycase .feature-copy { max-width: 720px; }
.feature-storycase .feature-copy strong { text-shadow: 0 7px 28px rgba(0,0,0,.55); }

/* Racer journey */
.journey-flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 13px;
  padding-top: 28px;
}
.journey-rail {
  position: absolute;
  top: 11px;
  left: 5%;
  right: 5%;
  height: 2px;
  background: linear-gradient(90deg, rgba(223,250,3,.16), rgba(223,250,3,.72) 20%, rgba(223,250,3,.72) 80%, rgba(223,250,3,.16));
}
.journey-step { position: relative; }
.journey-step::before {
  content: "";
  position: absolute;
  top: -23px;
  left: 18px;
  width: 9px;
  height: 9px;
  border: 2px solid var(--yellow);
  border-radius: 50%;
  background: #080808;
  box-shadow: 0 0 0 5px rgba(223,250,3,.07);
}
.journey-step:hover::before {
  background: var(--yellow);
  box-shadow: 0 0 0 7px rgba(223,250,3,.09);
}

/* Direct challenge */
.challenge-mini-flow {
  max-width: 690px;
  margin-top: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.challenge-mini-flow span {
  min-width: 0;
  flex: 1;
  padding: 12px 13px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.025);
  color: #ccc5bb;
  font-size: .62rem;
  font-weight: 850;
  letter-spacing: .075em;
}
.challenge-mini-flow span b {
  margin-right: 7px;
  color: var(--yellow);
  font-family: "Bebas Neue", sans-serif;
  font-size: 1rem;
  font-weight: 400;
}
.challenge-mini-flow i {
  color: var(--yellow);
  font-style: normal;
  opacity: .8;
}

/* Latest updates */
.latest-news-card small i {
  margin-right: 7px;
  padding: 3px 5px;
  border: 1px solid rgba(223,250,3,.34);
  background: rgba(223,250,3,.08);
  color: var(--yellow);
  font-style: normal;
  font-size: .51rem;
}

/* Search suggestions */
.search-suggestions {
  padding: 12px 18px 14px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.search-suggestions > span {
  margin-right: 3px;
  color: #68635d;
  font-size: .54rem;
  font-weight: 900;
  letter-spacing: .11em;
}
.search-suggestions button {
  min-height: 28px;
  padding: 0 9px;
  border: 1px solid rgba(255,255,255,.085);
  background: rgba(255,255,255,.022);
  color: #9d978e;
  font: inherit;
  font-size: .61rem;
  cursor: pointer;
  transition: .17s ease;
}
.search-suggestions button:hover {
  border-color: rgba(223,250,3,.42);
  background: rgba(223,250,3,.055);
  color: var(--yellow);
}
.search-answer {
  padding: 8px 10px;
  border-left: 2px solid rgba(223,250,3,.65);
  background: rgba(223,250,3,.035);
}

/* Launch state */
.launch-countdown.is-live .launch-countdown-inner {
  grid-template-columns: minmax(0, 1fr) auto auto;
}
.launch-secondary-cta { min-width: 145px; }

@media (hover:hover) and (pointer:fine) {
  .journey-step, .latest-news-card, .game-feature-card { will-change: transform; }
}

@media (prefers-reduced-motion: reduce) {
  .game-feature-card,
  .game-feature-card img,
  .journey-step,
  .latest-news-card,
  .showcase-lead img {
    transition: none !important;
    transform: none !important;
  }
}

@media (max-width: 1020px) {
  .journey-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-top: 0;
  }
  .journey-rail, .journey-step::before { display: none; }
  .launch-countdown.is-live .launch-countdown-inner { grid-template-columns: 1fr; }
}


@media (max-width: 980px) {
  .racer-challenge-promo {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .challenge-visual {
    min-height: 280px;
  }
}

@media (max-width: 650px) {
  .game-feature-grid { gap: 14px; }
  .feature-storycase { min-height: 300px; }
  .journey-flow { grid-template-columns: 1fr; }
  .challenge-mini-flow { flex-direction: column; align-items: stretch; }
  .challenge-mini-flow i { text-align: center; transform: rotate(90deg); }
  .search-suggestions { padding-inline: 14px; }
  .search-suggestions button { font-size: .58rem; }
}



/* ---------- V43: VIP Sound news ---------- */
.latest-news-sound {
  background:
    radial-gradient(circle at 88% 18%, rgba(223,250,3,.09), transparent 28%),
    linear-gradient(135deg, rgba(223,250,3,.055), transparent 52%),
    #101010;
}


/* =====================================================================
   V46 — KING / SPONSOR / LAUNCH
   ===================================================================== */

.latest-news-king {
  background:
    radial-gradient(circle at 88% 18%, rgba(223,250,3,.12), transparent 28%),
    linear-gradient(135deg, rgba(223,250,3,.05), transparent 52%),
    #101010;
}

.latest-news-sponsor {
  background:
    radial-gradient(circle at 88% 18%, rgba(224,77,45,.11), transparent 28%),
    linear-gradient(135deg, rgba(224,77,45,.045), transparent 52%),
    #101010;
}

.fivem-header-badge.is-live {
  cursor: pointer;
  filter: drop-shadow(0 0 9px rgba(255,124,52,.28));
  transition: transform .18s ease, filter .18s ease;
}

.fivem-header-badge.is-live:hover {
  transform: translateY(-1px) scale(1.035);
  filter: drop-shadow(0 0 12px rgba(255,124,52,.42));
}

/* Phase 1 language selector */
.language-switcher{display:inline-flex;align-items:center;gap:2px;margin-left:2px;padding:2px;border:1px solid #ffffff1c;background:#0b0f14}
.language-switcher button{border:0;background:transparent;color:#6f7882;min-width:31px;height:27px;padding:0 7px;font:800 .68rem/1 Inter,sans-serif;letter-spacing:.08em;cursor:pointer;transition:.18s ease}
.language-switcher button:hover{color:#f4f5f6}.language-switcher button.active{background:#DFFA03;color:#080a0d}
@media(max-width:980px){.language-switcher{margin:8px 0 2px;width:max-content}.language-switcher button{height:32px;min-width:38px}}
