/* Block Street Cup website. One night-match look: deep purple pitch at night, the logo's yellow and red,
   Baloo 2 for display (the game's own font), the system font for reading. Copied to store/website/site.css. */

@font-face { font-family: 'Baloo 2'; font-weight: 800; font-display: swap; src: url(fonts/baloo-2-latin-800-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Baloo 2'; font-weight: 800; font-display: swap; src: url(fonts/baloo-2-latin-ext-800-normal.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Baloo 2'; font-weight: 800; font-display: swap; src: url(fonts/baloo-2-vietnamese-800-normal.woff2) format('woff2'); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: 'Baloo 2'; font-weight: 700; font-display: swap; src: url(fonts/baloo-2-latin-700-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Baloo 2'; font-weight: 700; font-display: swap; src: url(fonts/baloo-2-latin-ext-700-normal.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Baloo 2'; font-weight: 700; font-display: swap; src: url(fonts/baloo-2-vietnamese-700-normal.woff2) format('woff2'); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }

:root {
  color-scheme: dark;
  --night: #120d1a;
  --night-2: #1a1326;
  --night-3: #241a35;
  --line: rgba(255, 255, 255, 0.09);
  --ink: #f6f2fb;
  --muted: #b8aecb;
  --ball: #ffcd00;
  --ball-deep: #7a1f10;
  --red: #e8322a;
  --blue: #2e7bd6;
  --pitch: #3fbf6a;
  --display: 'Baloo 2', 'Segoe UI', system-ui, sans-serif;
  --body: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --wrap: 1160px;
  --radius: 20px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--night);
  color: var(--ink);
  font: 17px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--ball); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--ball); outline-offset: 3px; border-radius: 8px; }
.wrap { width: min(var(--wrap), 100%); margin: 0 auto; padding-inline: 20px; }

/* ── Top bar ─────────────────────────────────────────────── */
.top {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(16, 11, 24, 0.9);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}
/* Brand stripe along the top edge: the logo's yellow, the kit's red, the pitch-line blue. */
.top::before { content: ''; display: block; height: 4px; background: linear-gradient(90deg, var(--ball) 0 34%, var(--red) 34% 67%, var(--blue) 67%); }
.top .wrap { display: flex; align-items: center; gap: 22px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; flex: none; }
.brand img { width: 44px; height: 44px; border-radius: 12px; box-shadow: 0 6px 16px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.12); }
.brand span { display: grid; line-height: 1.05; }
.brand b { font: 800 23px/1 var(--display); letter-spacing: 0.01em; white-space: nowrap; }
.brand small { color: var(--ball); font-size: 12px; font-weight: 700; letter-spacing: 0.04em; white-space: nowrap; margin-top: 3px; }
.links { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.links a { position: relative; color: #f1eaf9; text-decoration: none; font-weight: 700; font-size: 16px; padding: 10px 14px; border-radius: 10px; }
.links a::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 3px; border-radius: 3px; background: var(--ball); transform: scaleX(0); transition: transform 0.2s ease; }
.links a:hover { color: #fff; }
.links a:hover::after, .links a[aria-current]::after { transform: scaleX(1); }
.actions { display: flex; align-items: center; gap: 12px; }
.langs { display: flex; padding: 3px; border-radius: 12px; background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.12); }
.langs a { color: var(--muted); text-decoration: none; font-weight: 800; font-size: 13px; letter-spacing: 0.04em; padding: 6px 10px; border-radius: 9px; }
.langs a:hover { color: var(--ink); }
.langs a[aria-current] { background: var(--ink); color: #1a1320; }
.cta {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border-radius: 12px;
  background: var(--ball); color: #1a1320; text-decoration: none; font: 800 17px/1 var(--display);
  box-shadow: 0 4px 0 #b9860a, 0 10px 24px rgba(255, 205, 0, 0.25); white-space: nowrap;
}
.cta:hover { transform: translateY(-1px); box-shadow: 0 5px 0 #b9860a, 0 14px 28px rgba(255, 205, 0, 0.32); }
.menu { display: none; position: relative; }
.menu summary {
  list-style: none; cursor: pointer; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.14);
}
.menu summary::-webkit-details-marker { display: none; }
.menu summary span, .menu summary span::before, .menu summary span::after { display: block; width: 20px; height: 2.5px; border-radius: 2px; background: var(--ink); position: relative; }
.menu summary span::before, .menu summary span::after { content: ''; position: absolute; left: 0; }
.menu summary span::before { top: -7px; }
.menu summary span::after { top: 7px; }
.menu[open] summary { background: rgba(255, 255, 255, 0.16); }
.menu-panel {
  position: absolute; right: 0; top: calc(100% + 12px); min-width: 220px; padding: 8px; display: grid;
  background: var(--night-2); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
}
.menu-panel a { color: var(--ink); text-decoration: none; font-weight: 700; padding: 12px 14px; border-radius: 10px; }
.menu-panel a:hover, .menu-panel a[aria-current] { background: rgba(255, 255, 255, 0.07); color: var(--ball); }
@media (max-width: 980px) { .links { display: none; } .menu { display: block; } .actions { margin-left: auto; } .brand small { display: none; } }
@media (max-width: 560px) {
  .top .wrap { gap: 10px; min-height: 64px; }
  .brand img { width: 36px; height: 36px; border-radius: 10px; }
  .brand b { font-size: 18px; }
  .actions { gap: 8px; }
  .cta { display: none; }
}

/* ── Buttons ─────────────────────────────────────────────── */
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.store {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 10px 18px 10px 14px; min-height: 58px;
  border-radius: 16px; border: 1px solid rgba(255, 255, 255, 0.18);
  background: #000; color: #fff; text-decoration: none;
}
.store svg { width: 28px; height: 28px; flex: none; }
.store span { display: grid; line-height: 1.15; }
.store small { font-size: 12px; opacity: 0.75; letter-spacing: 0.02em; }
.store b { font: 700 19px/1.1 var(--display); }
a.store:hover { border-color: var(--ball); }
.store.soon { cursor: default; }
.ghost {
  display: inline-flex; align-items: center; min-height: 58px; padding: 0 20px;
  border-radius: 16px; color: var(--ink); text-decoration: none; font-weight: 700;
  background: rgba(255, 255, 255, 0.07); border: 1px solid var(--line);
}
.ghost:hover { background: rgba(255, 255, 255, 0.12); }

/* ── Hero ────────────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; isolation: isolate; }
.hero-art { position: absolute; inset: 0; z-index: -2; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; transform: scale(1.04); animation: drift 18s ease-in-out infinite alternate; }
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(18, 13, 26, 0.94) 0%, rgba(18, 13, 26, 0.78) 38%, rgba(18, 13, 26, 0.2) 72%, rgba(18, 13, 26, 0.35) 100%),
    linear-gradient(0deg, var(--night) 0%, rgba(18, 13, 26, 0) 30%);
}
.hero .wrap { padding-block: clamp(56px, 10vw, 120px) clamp(72px, 11vw, 140px); }
.hero-copy { max-width: 600px; display: grid; gap: 22px; justify-items: start; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 99px;
  background: rgba(255, 205, 0, 0.12); color: var(--ball); font-weight: 700; font-size: 14px; letter-spacing: 0.02em;
  border: 1px solid rgba(255, 205, 0, 0.35);
}
.chip::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--ball); box-shadow: 0 0 0 4px rgba(255, 205, 0, 0.18); }
.logo { margin: 0; display: grid; justify-items: start; line-height: 0.82; transform: rotate(-3deg); transform-origin: left center; font-family: var(--display); }
.logo .l1 {
  font-weight: 800; font-size: clamp(64px, 11vw, 128px); color: var(--ball); letter-spacing: 0.04em;
  text-shadow: 3px 0 0 var(--ball-deep), -3px 0 0 var(--ball-deep), 0 3px 0 var(--ball-deep), 0 -3px 0 var(--ball-deep), 0 8px 0 var(--red), 0 14px 0 var(--ball-deep), 0 22px 30px rgba(0, 0, 0, 0.5);
}
.logo .l2 {
  margin-top: 14px; font-weight: 800; font-size: clamp(28px, 4.8vw, 56px); letter-spacing: 0.08em;
  padding: 8px 22px 0; border-radius: 16px; background: #fff; color: #1a1320; box-shadow: 0 8px 0 var(--blue), 0 18px 30px rgba(0, 0, 0, 0.4);
}
.tagline { margin: 10px 0 0; font: 800 clamp(26px, 3.6vw, 40px)/1.1 var(--display); text-wrap: balance; }
.lead { margin: 0; color: var(--muted); font-size: clamp(17px, 1.6vw, 19px); max-width: 54ch; }
.note { margin: 0; color: var(--muted); font-size: 14px; }

/* ── Stats ───────────────────────────────────────────────── */
.stats { margin-top: -48px; position: relative; z-index: 2; }
.stats ul {
  list-style: none; margin: 0; padding: 18px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px;
  background: linear-gradient(180deg, var(--night-3), var(--night-2)); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}
.stats li { display: grid; justify-items: center; text-align: center; padding: 8px 4px; }
.stats b { font: 800 clamp(30px, 4vw, 44px)/1 var(--display); color: var(--ball); font-variant-numeric: tabular-nums; }
.stats span { color: var(--muted); font-size: 14px; font-weight: 600; }
@media (max-width: 680px) { .stats ul { grid-template-columns: repeat(3, 1fr); } .stats li:nth-child(n+4) { grid-column: span 1; } }

/* ── Sections ────────────────────────────────────────────── */
section.block { padding-block: clamp(64px, 9vw, 110px) 0; }
.eyebrow { color: var(--ball); font-weight: 800; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; }
.title { margin: 8px 0 12px; font: 800 clamp(32px, 4.6vw, 52px)/1.05 var(--display); text-wrap: balance; }
.intro { margin: 0 0 32px; color: var(--muted); max-width: 62ch; font-size: 18px; }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.feature { padding: 22px; border-radius: var(--radius); background: var(--night-2); border: 1px solid var(--line); display: grid; gap: 10px; align-content: start; }
.feature .ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; }
.feature .ic svg { width: 26px; height: 26px; }
.feature h3 { margin: 4px 0 0; font: 800 22px/1.15 var(--display); }
.feature p { margin: 0; color: var(--muted); font-size: 16px; }

/* Techniques: one big shot, three smaller, then every name. */
.shots { display: grid; grid-template-columns: 1.6fr 1fr; gap: 16px; }
.shot { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--night-2); border: 1px solid var(--line); }
.shot img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 9; transition: transform 0.6s ease; }
.shot:hover img { transform: scale(1.035); }
.shot figcaption {
  position: absolute; inset: auto 0 0 0; padding: 40px 18px 16px;
  background: linear-gradient(0deg, rgba(10, 6, 16, 0.92) 10%, rgba(10, 6, 16, 0) 100%);
}
.shot figcaption b { display: block; font: 800 22px/1.1 var(--display); }
.shot figcaption span { color: #d9d0e6; font-size: 15px; }
.shot.big { grid-row: span 3; }
.shot.big img { aspect-ratio: auto; min-height: 100%; }
.shot.big figcaption b { font-size: 30px; }
.side { display: grid; gap: 16px; }
@media (max-width: 860px) { .shots { grid-template-columns: 1fr; } .shot.big { grid-row: auto; } .shot.big img { aspect-ratio: 16 / 9; } }
.names { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.names li { padding: 7px 14px; border-radius: 99px; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line); font-weight: 700; font-size: 15px; }
.names li.def { border-color: rgba(255, 205, 0, 0.45); color: var(--ball); }

/* Story mode: four shots with their captions under them, the eight chapters, the perks, the real streets. */
.story-shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.story-shots .shot img { height: auto; }
.story-shots .shot figcaption { position: static; padding: 14px 18px 16px; background: none; }
.story-shots .shot figcaption span { color: var(--muted); }
@media (max-width: 760px) { .story-shots { grid-template-columns: 1fr; } }
.subtitle { margin: clamp(40px, 5vw, 60px) 0 16px; font: 800 clamp(24px, 3vw, 32px)/1.1 var(--display); }
.journey { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.journey li { padding: 18px 18px 20px; border-radius: var(--radius); background: var(--night-2); border: 1px solid var(--line); display: grid; gap: 6px; align-content: start; }
.journey .jn { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font: 800 20px/1 var(--display); color: #1a1320; background: var(--ball); box-shadow: 0 3px 0 #b58f00; }
.journey small { color: var(--ball); font-weight: 700; font-size: 13px; letter-spacing: 0.02em; }
.journey b { font: 800 21px/1.15 var(--display); }
.journey p { margin: 0; color: var(--muted); font-size: 15px; }
.journey li.last { background: radial-gradient(120% 140% at 100% 0%, #4d3410 0%, var(--night-2) 62%); border-color: rgba(255, 205, 0, 0.45); }
@media (max-width: 980px) { .journey { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .journey { grid-template-columns: 1fr; } }
.promise.story-perks { margin-top: 24px; }
.teams.streets { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }

/* Teams and venues. */
.split { display: grid; grid-template-columns: 1fr 1.2fr; gap: 36px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.teams { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; }
.teams li { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.teams i { width: 26px; height: 18px; border-radius: 4px; flex: none; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2); }
.venues { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.venues .shot:first-child { grid-column: 1 / -1; }
.venues .shot img { aspect-ratio: 16 / 9; }
.venues .shot:first-child img { aspect-ratio: 1280 / 589; }
.venues .shot:not(:first-child) figcaption { padding: 28px 14px 12px; }
.venues .shot:not(:first-child) figcaption b { font-size: 18px; }
@media (max-width: 520px) {
  .shot figcaption { padding: 28px 14px 12px; }
  .shot figcaption b, .shot.big figcaption b { font-size: 19px; }
  .shot figcaption span { font-size: 14px; }
  .venues .shot:not(:first-child) figcaption b { font-size: 15px; }
}

/* Achievements. */
.cabinet { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; padding: clamp(24px, 4vw, 44px); border-radius: 28px; background: radial-gradient(120% 140% at 0% 0%, #3a2563 0%, var(--night-2) 55%); border: 1px solid var(--line); }
@media (max-width: 900px) { .cabinet { grid-template-columns: 1fr; } }
.badges { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.badges img { width: 100%; height: auto; border-radius: 50%; box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4); }
.badges img:nth-child(6) { grid-column: 2; }

/* Promise strip. */
.promise { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; list-style: none; margin: 0; padding: 0; }
.promise li { padding: 18px 20px; border-radius: 16px; background: var(--night-2); border: 1px solid var(--line); }
.promise b { display: block; font: 800 20px/1.2 var(--display); color: var(--ink); }
.promise span { color: var(--muted); font-size: 15px; }

/* Final call. */
.final { margin-block: clamp(64px, 9vw, 110px) 0; text-align: center; padding: clamp(36px, 6vw, 72px) 20px; border-radius: 32px; background: linear-gradient(135deg, #2b1b47 0%, #1a1326 50%, #3a1420 100%); border: 1px solid var(--line); display: grid; gap: 18px; justify-items: center; }
.final .ctas { justify-content: center; }

/* ── Footer ──────────────────────────────────────────────── */
.foot { margin-top: clamp(64px, 9vw, 110px); border-top: 1px solid var(--line); padding-block: 32px 48px; color: var(--muted); font-size: 15px; }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; justify-content: space-between; }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.foot a { color: var(--muted); text-decoration: none; }
.foot a:hover { color: var(--ink); }

/* ── Text pages (support, privacy, terms) ────────────────── */
.doc { width: min(820px, 100%); margin: 0 auto; padding: 48px 20px 0; }
.doc article { background: var(--night-2); border: 1px solid var(--line); border-radius: 24px; padding: clamp(24px, 5vw, 48px); }
.doc h1 { margin: 0 0 10px; font: 800 clamp(32px, 5vw, 44px)/1.1 var(--display); }
.doc h2 { margin: 32px 0 6px; font: 800 22px/1.25 var(--display); }
.doc p, .doc li { color: #ddd4ea; }
.doc i { color: var(--muted); }
.doc ul { padding-left: 22px; }

@keyframes drift { from { transform: scale(1.04) translateX(0); } to { transform: scale(1.1) translateX(-1.5%); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-art img { animation: none; }
  .shot img { transition: none; }
}
