/* Brick Battle promo site. Same palette and chunky 3D buttons as the game menus. */
:root {
  --grass: #70CE50;
  --arena: #79B1FA;
  --blue: #397AF4;
  --navy: #30384B;
  --navy-deep: #232A3A;
  --navy-dark: #1B2130;
  --navy-line: #3E4862;
  --gray: #ADB8C7;
  --green: #49D66C;
  --red: #FF5058;
  --gold: #FFC84A;
  --purple: #8A63F2;
  --teal: #2EC4B6;
  --ink: #1E2433;
  --text: #FFFFFF;
  --muted: #B7C1D6;
  --radius: 22px;
  --wrap: 1180px;
  --nav-h: 68px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }
body {
  margin: 0;
  background: var(--navy-deep);
  color: var(--text);
  font: 500 17px/1.6 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, .display { font-family: 'Baloo 2', 'Nunito', system-ui, sans-serif; font-weight: 800; letter-spacing: 0; line-height: 1.08; }
h2 { font-size: clamp(30px, 4.4vw, 48px); margin: 0 0 12px; }
h3 { font-size: 23px; margin: 0 0 6px; }
p { margin: 0 0 12px; }
.wrap { width: min(var(--wrap), 100% - 32px); margin: 0 auto; }
.muted { color: var(--muted); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 8px; }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px 13px; border-radius: 16px;
  font: 800 21px/1 'Baloo 2', system-ui, sans-serif;
  text-decoration: none; color: #fff; background: var(--c, var(--green));
  border: 0; border-bottom: 6px solid rgba(0, 0, 0, .28); cursor: pointer;
  box-shadow: 0 10px 22px rgba(0, 0, 0, .25), inset 0 3px 0 rgba(255, 255, 255, .28);
  transition: transform .09s ease, border-bottom-width .09s ease, filter .15s;
}
.btn:hover { filter: brightness(1.07); }
.btn:active { transform: translateY(4px); border-bottom-width: 2px; }
.btn svg { width: 22px; height: 22px; flex: none; }
.btn.ghost { --c: rgba(255, 255, 255, .14); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .4); border-bottom-color: rgba(0, 0, 0, .2); backdrop-filter: blur(6px); }
.btn.small { padding: 10px 16px 8px; font-size: 17px; border-bottom-width: 4px; border-radius: 13px; }
.btn.small svg { width: 18px; height: 18px; }
.btn.disabled { cursor: default; filter: saturate(.75); }
.btn.disabled:active { transform: none; border-bottom-width: 6px; }

/* ---------------------------------------------------------------- floating cubes */
.cube { position: absolute; width: var(--s); height: var(--s); animation: bob 6s ease-in-out infinite; animation-delay: var(--d, 0s); pointer-events: none; z-index: 1; }
.cube svg { width: 100%; height: 100%; filter: drop-shadow(0 10px 10px rgba(0, 0, 0, .25)); }
@keyframes bob { 50% { transform: translateY(-14px) rotate(6deg); } }

/* ---------------------------------------------------------------- nav */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--nav-h); }
/* The blur lives on its own layer: on the bar itself it would also swallow the phone menu that hangs below it. */
.nav::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: rgba(27, 33, 48, .82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.nav-row { height: 100%; display: flex; align-items: center; gap: 18px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 800 22px 'Baloo 2', sans-serif; color: #fff; white-space: nowrap; }
.brand img { width: 38px; height: 38px; border-radius: 11px; box-shadow: 0 4px 0 rgba(0, 0, 0, .25); }
.nav nav { display: flex; gap: 2px; margin-left: auto; }
.nav nav a { text-decoration: none; font-weight: 800; font-size: 15px; color: var(--muted); padding: 8px 12px; border-radius: 11px; }
.nav nav a:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.menu-btn { display: none; margin-left: 4px; width: 44px; height: 44px; border-radius: 12px; border: 0; background: rgba(255, 255, 255, .1); color: #fff; cursor: pointer; }
.menu-btn svg { width: 24px; height: 24px; }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; min-height: min(100vh, 900px); display: flex; align-items: center; overflow: hidden; padding: calc(var(--nav-h) + 40px) 0 70px; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; transform: scale(1.04); }
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(23, 28, 42, .96) 0%, rgba(23, 28, 42, .86) 34%, rgba(23, 28, 42, .25) 64%, rgba(23, 28, 42, 0) 80%),
    linear-gradient(0deg, var(--navy-deep) 0%, rgba(35, 42, 58, 0) 22%);
}
.hero-in { position: relative; z-index: 2; }
.ribbon-new {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 15px;
  background: rgba(255, 200, 74, .14); border: 1px solid rgba(255, 200, 74, .45); color: #FFE19A;
  padding: 6px 14px 6px 6px; border-radius: 999px; margin-bottom: 18px;
}
.ribbon-new b { background: var(--gold); color: var(--ink); padding: 2px 10px; border-radius: 999px; font-size: 13px; letter-spacing: .5px; }
.ribbon-new:hover { background: rgba(255, 200, 74, .22); }
.hero-logo { width: min(400px, 76vw); margin: 0 0 14px -6px; filter: drop-shadow(0 16px 26px rgba(0, 0, 0, .45)); }
.hero h1 { font-size: clamp(38px, 5.6vw, 66px); margin: 0 0 16px; text-shadow: 0 4px 0 rgba(0, 0, 0, .25); }
.hero h1 span { color: var(--gold); }
.lead { max-width: 560px; font-size: clamp(17px, 1.6vw, 19px); color: #DCE3F0; margin-bottom: 26px; }
.lead b { color: #fff; }
.cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.pills li { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .1); font-weight: 800; font-size: 14px; }
.pills li::before { content: ''; width: 9px; height: 9px; border-radius: 3px; background: var(--c); }

/* ---------------------------------------------------------------- facts */
.facts { position: relative; z-index: 3; margin-top: -42px; }
.facts-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.fact {
  text-align: center; padding: 18px 10px 14px; border-radius: 20px; background: var(--navy);
  border-bottom: 6px solid var(--c); box-shadow: 0 16px 30px rgba(0, 0, 0, .25);
}
.fact b { display: block; font: 800 clamp(34px, 4vw, 46px)/1 'Baloo 2', sans-serif; color: var(--c); }
.fact span { color: var(--muted); font-weight: 800; font-size: 15px; }

/* ---------------------------------------------------------------- sections */
.sec { padding: 110px 0; position: relative; }
.sec.alt { background: var(--navy-dark); }
.head { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.head.left { text-align: left; margin: 0; }
.head p { color: var(--muted); font-size: 18px; }
.head a { color: var(--gold); }
.kicker {
  display: inline-block; font-weight: 900; font-size: 13px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--grass); background: rgba(112, 206, 80, .12); padding: 5px 12px; border-radius: 999px; margin-bottom: 14px;
}
.kicker.gold { color: var(--gold); background: rgba(255, 200, 74, .13); }
.kicker.red { color: #FF8A8F; background: rgba(255, 80, 88, .13); }
.card { background: var(--navy); border-radius: var(--radius); padding: 24px; box-shadow: 0 14px 30px rgba(0, 0, 0, .18); }
.shot { position: relative; border-radius: 20px; overflow: hidden; background: #111; border: 4px solid var(--navy-line); box-shadow: 0 22px 40px rgba(0, 0, 0, .35); }
.shot img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.shot.ui img { aspect-ratio: 1600 / 720; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .8, .3, 1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------------------------------------------------------------- modes */
.mode-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 18px; }
.mode-tabs button {
  display: flex; align-items: center; gap: 14px; text-align: left; cursor: pointer;
  padding: 14px 16px; border-radius: 18px; border: 0; color: #fff; font: inherit;
  background: var(--navy); border-bottom: 5px solid rgba(0, 0, 0, .25); transition: background .15s, transform .1s;
}
.mode-tabs button:hover { background: #38425a; }
.mode-tabs button svg { width: 46px; height: 46px; padding: 10px; border-radius: 14px; flex: none; background: rgba(255, 255, 255, .08); color: var(--c); }
.mode-tabs button span { font: 800 21px/1.1 'Baloo 2', sans-serif; }
.mode-tabs button small { display: block; font: 800 13px 'Nunito', sans-serif; color: var(--muted); margin-top: 3px; }
.mode-tabs button[aria-selected="true"] { background: var(--c); color: var(--ink); }
.mode-tabs button[aria-selected="true"] svg { background: rgba(255, 255, 255, .35); color: var(--ink); }
.mode-tabs button[aria-selected="true"] small { color: rgba(30, 36, 51, .75); }
.modes:not(.js) .mode-tabs { display: none; }
.modes:not(.js) .mode + .mode { margin-top: 18px; }
.mode {
  display: grid; grid-template-columns: 1.25fr 1fr; gap: 34px; align-items: center;
  background: var(--navy); border-radius: 26px; padding: 22px; border-top: 6px solid var(--c);
}
.mode .shot { border-color: rgba(0, 0, 0, .25); }
.mode-text h3 { font-size: 34px; color: var(--c); }
.mode-text > p { color: #DCE3F0; }
.rules { list-style: none; padding: 0; margin: 0 0 16px; }
.rules li { position: relative; padding: 0 0 10px 30px; color: var(--muted); }
.rules li::before { content: ''; position: absolute; left: 4px; top: 7px; width: 13px; height: 13px; border-radius: 4px; background: var(--c); transform: rotate(45deg); }
.mode-meta { font-size: 15px; color: var(--muted); border-top: 1px dashed var(--navy-line); padding-top: 12px; margin: 0; }
.mode-meta b { color: #fff; }

/* ---------------------------------------------------------------- siege spotlight */
.siege { background: radial-gradient(ellipse at 80% 20%, rgba(255, 200, 74, .12), transparent 55%), var(--navy-deep); }
.siege-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.steps { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.steps li { display: flex; gap: 16px; align-items: flex-start; background: var(--navy); border-radius: 18px; padding: 16px; border-left: 6px solid var(--c); }
.steps b { display: block; font: 800 22px/1.2 'Baloo 2', sans-serif; margin-bottom: 2px; }
.steps div { color: var(--muted); font-size: 16px; }
.step-ico { flex: none; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--c); color: var(--ink); box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .2); }
.step-ico svg { width: 26px; height: 26px; }
.siege-art { position: relative; }
.siege-art .shot img { aspect-ratio: 4 / 3; object-position: 52% 50%; }
.core-hud {
  position: absolute; left: -18px; bottom: 34px; display: grid; gap: 8px; padding: 12px; border-radius: 16px;
  background: rgba(13, 15, 30, .82); backdrop-filter: blur(6px); box-shadow: 0 12px 26px rgba(0, 0, 0, .4);
}
.core-row { display: grid; grid-template-columns: 22px 150px 44px; align-items: center; gap: 8px; }
.core-row svg { width: 20px; height: 20px; color: var(--c); }
.core-row i { height: 14px; border-radius: 7px; background: linear-gradient(90deg, var(--c) calc(var(--v) * 100%), rgba(255, 255, 255, .16) 0); }
.core-row b { font: 800 16px 'Baloo 2', sans-serif; }
.core-row.low i { animation: blink 1.2s steps(2) infinite; }
@keyframes blink { 50% { opacity: .55; } }
.callout {
  position: absolute; right: -10px; top: 26px; margin: 0; transform: rotate(3deg);
  font: 800 20px 'Baloo 2', sans-serif; color: #fff; background: var(--red); padding: 8px 16px; border-radius: 12px;
  box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .25), 0 12px 24px rgba(0, 0, 0, .35);
}

/* ---------------------------------------------------------------- leagues */
.leagues {
  list-style: none; padding: 0; margin: 0 0 34px; display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px;
  position: relative;
}
.leagues::before { content: ''; position: absolute; left: 6%; right: 6%; top: 52px; height: 8px; border-radius: 4px; background: linear-gradient(90deg, #CD7F45, #B8C4D6, #FFC84A, #49D6B8, #79B1FA, #B16CFF); opacity: .5; }
.leagues li { position: relative; text-align: center; background: var(--navy); border-radius: 20px; padding: 16px 8px 14px; margin-top: 18px; }
.badge-l { position: relative; display: block; width: 78px; height: 78px; margin: -36px auto 6px; color: var(--c); }
.badge-l .sh { width: 100%; height: 100%; }
.badge-l .gl { position: absolute; left: 50%; top: 44%; width: 34px; height: 34px; transform: translate(-50%, -50%); }
.leagues b { display: block; font: 800 22px 'Baloo 2', sans-serif; color: var(--c); }
.leagues li > span:not(.badge-l) { display: block; color: var(--muted); font-size: 14px; font-weight: 800; }
.leagues em { display: inline-block; font-style: normal; font-weight: 900; font-size: 13px; margin-top: 8px; padding: 3px 10px; border-radius: 999px; background: rgba(255, 200, 74, .14); color: var(--gold); }
.league-grid { display: grid; grid-template-columns: 1.15fr 1fr 1.35fr; gap: 18px; align-items: start; }
.league-grid .card h3 + p { margin-bottom: 18px; }
.trophies { width: 100%; border-collapse: collapse; font-size: 15px; margin-top: 8px; }
.trophies th, .trophies td { padding: 9px 6px; text-align: center; border-bottom: 1px solid var(--navy-line); }
.trophies thead th { color: var(--muted); font-size: 13px; font-weight: 800; }
.trophies tbody th { text-align: left; font-weight: 800; white-space: nowrap; }
.trophies tr:last-child > * { border-bottom: 0; }
.trophies .up { color: var(--green); font-weight: 900; }
.trophies .down { color: #FF8A8F; font-weight: 900; }

/* ---------------------------------------------------------------- maps */
.filters { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin: -14px 0 30px; }
.filters button {
  font: 800 15px 'Nunito', sans-serif; color: var(--muted); background: var(--navy); border: 2px solid transparent;
  padding: 8px 16px; border-radius: 999px; cursor: pointer;
}
.filters button:hover { color: #fff; }
.filters button[aria-pressed="true"] { color: var(--ink); background: var(--gold); }
.maps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.map { background: var(--navy); border-radius: 24px; padding: 12px 12px 20px; border-bottom: 6px solid var(--c); }
.map[hidden] { display: none; }
.map .shot { border: 0; border-radius: 16px; margin-bottom: 14px; box-shadow: none; }
.map h3, .map p, .map .tags { padding: 0 8px; }
.map p { color: var(--muted); font-size: 16px; }
.badge { position: absolute; top: 10px; left: 10px; background: var(--gold); color: var(--ink); font-weight: 900; font-size: 13px; padding: 3px 11px; border-radius: 999px; }
.tags { display: flex; gap: 6px; flex-wrap: wrap; }
.tags i { font-style: normal; font-weight: 800; font-size: 13px; padding: 3px 10px; border-radius: 999px; background: rgba(255, 255, 255, .08); color: #DCE3F0; }
.note { text-align: center; color: var(--muted); margin-top: 30px; }

/* ---------------------------------------------------------------- weapons */
.weapons { display: grid; grid-template-columns: 1fr 1.1fr; gap: 50px; align-items: center; }
.wgroup { margin-top: 18px; }
.wgroup h3 { font-size: 19px; color: var(--c); display: flex; align-items: center; gap: 8px; }
.wgroup h3 small { font: 900 12px 'Nunito', sans-serif; color: var(--ink); background: var(--c); padding: 1px 8px; border-radius: 999px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.chips span { font-weight: 800; font-size: 15px; padding: 5px 12px; border-radius: 10px; background: var(--navy); box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .25); }
.effects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 22px; }
.effects div { background: var(--navy); border-radius: 14px; padding: 12px; color: var(--muted); font-size: 14px; border-top: 4px solid var(--c); }
.effects b { display: block; color: var(--c); font-size: 16px; }

/* ---------------------------------------------------------------- social */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature { background: var(--navy); border-radius: 22px; padding: 22px; }
.feature p { color: var(--muted); font-size: 16px; margin: 0; }
.feature h3 { font-size: 21px; }
.ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 15px; background: var(--c); color: #fff; margin-bottom: 14px; box-shadow: inset 0 -5px 0 rgba(0, 0, 0, .22), inset 0 3px 0 rgba(255, 255, 255, .25); }
.ico.ink { color: var(--ink); }
.ico svg { width: 26px; height: 26px; }

/* ---------------------------------------------------------------- gallery */
.gallery {
  display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px max(16px, (100vw - var(--wrap)) / 2) 22px;
  scrollbar-width: thin; scrollbar-color: var(--navy-line) transparent; margin-top: -10px;
}
.gallery figure { margin: 0; flex: none; width: min(640px, 82vw); scroll-snap-align: center; }
.gallery img { border-radius: 18px; border: 4px solid var(--navy-line); width: 100%; aspect-ratio: 16 / 7.2; object-fit: cover; background: #111; }
.gallery figcaption { text-align: center; color: var(--muted); font-weight: 800; margin-top: 10px; }

/* ---------------------------------------------------------------- faq */
.faq-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 50px; align-items: start; }
.faq details { background: var(--navy); border-radius: 18px; margin-bottom: 12px; overflow: hidden; }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 56px 18px 22px; position: relative;
  font: 800 20px/1.25 'Baloo 2', sans-serif;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center;
  background: rgba(255, 255, 255, .08); font: 800 22px/1 'Nunito', sans-serif; color: var(--gold);
}
.faq details[open] summary::after { content: '−'; }
.faq details p { padding: 0 22px 18px; margin: 0; color: var(--muted); }
.faq a { color: var(--gold); }

/* ---------------------------------------------------------------- final */
.final {
  position: relative; overflow: hidden; text-align: center; padding: 110px 0;
  background: linear-gradient(180deg, #6EC6FF 0%, #A6DEFF 58%, var(--grass) 58.2%, #5DB843 100%); color: var(--ink);
}
.final h2 { font-size: clamp(40px, 6vw, 64px); }
.final p { font-size: 19px; font-weight: 700; margin-bottom: 24px; }
.final-icon { width: 96px; height: 96px; border-radius: 26px; margin: 0 auto 18px; box-shadow: 0 8px 0 rgba(0, 0, 0, .18), 0 18px 30px rgba(0, 0, 0, .2); }
.how { list-style: none; padding: 0; margin: 46px auto 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; max-width: 900px; }
.how li { background: rgba(255, 255, 255, .92); border-radius: 18px; padding: 16px; font-weight: 800; text-align: left; display: flex; gap: 12px; align-items: center; box-shadow: 0 8px 0 rgba(0, 0, 0, .12); }
.how b { flex: none; width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--blue); color: #fff; font: 800 20px 'Baloo 2', sans-serif; }

/* ---------------------------------------------------------------- footer */
.foot { padding: 30px 0 40px; color: var(--muted); font-size: 15px; background: var(--navy-dark); }
.foot-row { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; }
.foot .brand { font-size: 18px; }
.foot .brand img { width: 30px; height: 30px; border-radius: 9px; }
.foot nav { display: flex; gap: 18px; }
.foot a { color: #fff; text-decoration: none; }
.foot nav a:hover { color: var(--gold); }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1080px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .league-grid { grid-template-columns: 1fr 1fr; }
  .league-grid > .shot { grid-column: 1 / -1; }
  .leagues { grid-template-columns: repeat(3, 1fr); row-gap: 30px; }
  .leagues::before { display: none; }
}
@media (max-width: 920px) {
  :root { --nav-h: 62px; }
  .menu-btn { display: grid; place-items: center; }
  .nav nav {
    position: fixed; top: var(--nav-h); left: 0; right: 0; flex-direction: column; gap: 2px; margin: 0;
    padding: 10px 16px 18px; background: rgba(27, 33, 48, .98); border-bottom: 1px solid rgba(255, 255, 255, .08);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .18s, transform .18s, visibility .18s;
  }
  .menu-open .nav nav { transform: none; opacity: 1; visibility: visible; }
  .nav nav a { font-size: 18px; padding: 12px; }
  .nav-cta { margin-left: auto; }
  .mode, .siege-grid, .weapons, .faq-grid { grid-template-columns: 1fr; }
  .mode { gap: 20px; }
  .siege-grid { gap: 40px; }
  .core-hud { left: 10px; bottom: 10px; }
  .callout { right: 10px; top: 10px; }
  .maps { grid-template-columns: repeat(2, 1fr); }
  .facts-row { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
  .fact { padding: 14px 4px 10px; border-radius: 16px; }
  .fact span { font-size: 13px; }
  .head.left { text-align: center; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .sec { padding: 76px 0; }
  .hero { min-height: auto; padding: calc(var(--nav-h) + 26px) 0 76px; }
  .hero-bg { object-position: 70% 50%; }
  .hero-shade { background: linear-gradient(180deg, rgba(23, 28, 42, .78) 0%, rgba(23, 28, 42, .9) 55%, var(--navy-deep) 100%); }
  .ribbon-new { font-size: 13px; }
  .cta .btn { flex: 1 1 100%; }
  .brand { font-size: 19px; }
  .nav-cta { display: none; }
  .menu-btn { margin-left: auto; }
  .facts { margin-top: -30px; }
  .facts-row { grid-template-columns: repeat(3, 1fr); }
  .fact:nth-child(n + 4) { grid-column: span 1; }
  .mode-tabs { grid-template-columns: 1fr; gap: 8px; }
  .mode-tabs button { padding: 10px 12px; }
  .mode-tabs button svg { width: 40px; height: 40px; padding: 8px; }
  .mode { padding: 14px; border-radius: 22px; }
  .mode-text h3 { font-size: 28px; }
  .maps, .features, .league-grid { grid-template-columns: 1fr; }
  .leagues { grid-template-columns: repeat(3, 1fr); gap: 26px 8px; }
  .leagues li { padding: 12px 4px 10px; border-radius: 16px; }
  .badge-l { width: 60px; height: 60px; margin-top: -30px; }
  .badge-l .gl { width: 26px; height: 26px; }
  .leagues b { font-size: 18px; }
  .leagues li > span:not(.badge-l) { font-size: 12px; }
  .leagues em { font-size: 11px; padding: 2px 7px; }
  .hero .cube { display: none; }
  .effects { grid-template-columns: 1fr; }
  .core-row { grid-template-columns: 18px 96px 40px; }
  .callout { font-size: 16px; }
  .how { grid-template-columns: 1fr; }
  .foot-row { flex-direction: column; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cube, .core-row.low i { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
