/* ==========================================================================
   Warrior Supporters — SHB Đà Nẵng international supporters group
   Navy terrace, orange flare, white type. One stylesheet for every public
   page; admin.css layers the staff tools on top.
   ========================================================================== */

:root {
  /* Brand — sampled from the SHB Đà Nẵng crest */
  --orange: #FF7300;   /* sampled from the SHB Đà Nẵng crest */
  --orange-hot: #ff8a2b;
  --orange-deep: #d95f00;
  --royal: #2E3079;    /* crest navy */
  --royal-2: #3b3e95;
  --navy: #14164a;
  --navy-2: #1a1c5c;
  --ink: #0b0c2e;
  --white: #F5F5F7;
  --silver: #DADAE0;   /* crest lettering */

  --text: #F5F5F5;
  --muted: rgba(245, 245, 245, .68);
  --faint: rgba(245, 245, 245, .42);
  --line: rgba(245, 245, 245, .12);
  --line-2: rgba(245, 245, 245, .22);
  --panel: rgba(46, 48, 121, .28);
  --panel-2: rgba(46, 48, 121, .45);

  --ok: #33d17a;
  --warn: #ffc23d;
  --bad: #ff4d5e;

  --display: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 14px;
  --radius-s: 8px;
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1200px;
  --header-h: 68px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font: 400 16.5px/1.6 var(--body);
  letter-spacing: -.005em;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  overflow-x: hidden;
}
img, svg, video, canvas { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--orange); color: var(--ink); }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }

main { overflow-x: clip; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Type ---------- */
.display, h1, h2, h3 {
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .005em;
  line-height: .92;
  margin: 0;
}
h1 { font-size: clamp(52px, 11vw, 148px); }
h2 { font-size: clamp(40px, 6.4vw, 84px); }
h3 { font-size: clamp(24px, 2.6vw, 32px); line-height: 1; }
.italic { font-style: italic; }
.o { color: var(--orange); }
p { margin: 0 0 1em; }
.lede { font-size: clamp(18px, 1.6vw, 21px); color: var(--muted); max-width: 40em; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 700 13px/1 var(--display);
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--orange);
}
.eyebrow::before { content: ""; width: 22px; height: 3px; background: var(--orange); transform: skewX(-20deg); }
.small { font-size: 14px; color: var(--muted); }
.mono { font-family: ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: .02em; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--orange); --fg: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px;
  border: 0; border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font: 800 17px/1 var(--display); letter-spacing: .1em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  box-shadow: 0 10px 30px -10px rgba(255, 115, 0, .65), inset 0 1px 0 rgba(255, 255, 255, .25);
  transition: background .2s var(--ease), transform .2s var(--ease), box-shadow .2s;
}
.btn:hover { background: var(--orange-hot); transform: translateY(-1px); box-shadow: 0 16px 36px -12px rgba(255, 115, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .3); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-ghost { --bg: rgba(245, 245, 245, .04); --fg: var(--white); box-shadow: inset 0 0 0 1px var(--line-2); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.btn-ghost:hover { background: rgba(245, 245, 245, .1); box-shadow: inset 0 0 0 1px rgba(245, 245, 245, .4); }
.btn-white { --bg: var(--white); --fg: var(--navy); box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .5); }
.btn-white:hover { background: #fff; }
.btn-sm { min-height: 42px; padding: 0 20px; font-size: 15px; }
.btn-block { width: 100%; }
.link { color: var(--orange); text-decoration: none; font-weight: 600; }
.link:hover { text-decoration: underline; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background .3s var(--ease), border-color .3s;
  border-bottom: 1px solid transparent;
}
.site-header.solid, body:not([data-page="home"]) .site-header {
  background: rgba(11, 12, 46, .86);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand img { width: 38px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text b { font: 800 19px/1 var(--display); letter-spacing: .06em; text-transform: uppercase; }
.brand-text small { font: 600 11px/1.3 var(--display); letter-spacing: .2em; text-transform: uppercase; color: var(--orange); margin-top: 3px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 10px 12px; text-decoration: none;
  font: 700 15px/1 var(--display); letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); transition: color .2s;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--white); }
.nav a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--orange); }
.lang {
  display: inline-flex; border: 1px solid var(--line-2); border-radius: 999px; padding: 3px;
}
.lang button {
  border: 0; background: none; cursor: pointer;
  padding: 5px 10px; border-radius: 999px;
  font: 700 12px/1 var(--display); letter-spacing: .12em; color: var(--muted);
}
.lang button[aria-pressed="true"] { background: var(--white); color: var(--navy); }
.header-cta { display: inline-flex; }
.menu-btn {
  display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer;
  position: relative;
}
.menu-btn span, .menu-btn span::before, .menu-btn span::after {
  position: absolute; left: 11px; width: 22px; height: 2px; background: var(--white); content: "";
  transition: transform .25s var(--ease), opacity .2s;
}
.menu-btn span { top: 21px; }
.menu-btn span::before { left: 0; top: -7px; }
.menu-btn span::after { left: 0; top: 7px; }
.menu-open .menu-btn span { background: transparent; }
.menu-open .menu-btn span::before { transform: translateY(7px) rotate(45deg); }
.menu-open .menu-btn span::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .menu-btn { display: block; }
  .header-cta { display: none; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink); border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 24px;
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: transform .25s var(--ease), opacity .2s, visibility .2s;
  }
  .menu-open .nav { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: 16px 0; font-size: 22px; border-bottom: 1px solid var(--line); flex-shrink: 0; }
  .nav a[aria-current="page"] { box-shadow: none; color: var(--orange); }
  .nav .btn { margin-top: 18px; }
}
@media (min-width: 901px) { .nav .btn { display: none; } }
@media (max-width: 420px) { .brand-text small { display: none; } .brand-text b { font-size: 17px; } }

/* ---------- Demo ribbon ---------- */
.demo-ribbon {
  position: fixed; left: 12px; bottom: 12px; z-index: 60;
  background: var(--warn); color: #241a00;
  font: 700 12px/1.2 var(--display); letter-spacing: .1em; text-transform: uppercase;
  padding: 7px 11px; border-radius: 4px; box-shadow: 0 8px 24px rgba(0, 0, 0, .35);
  max-width: calc(100vw - 24px);
}

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: 100svh; display: flex; align-items: flex-end;
  padding: calc(var(--header-h) + 40px) 0 clamp(40px, 8vh, 90px);
  overflow: hidden;
  background:
    radial-gradient(120% 70% at 85% 0%, rgba(255, 115, 0, .28), transparent 55%),
    radial-gradient(90% 60% at 0% 100%, rgba(46, 48, 121, .9), transparent 60%),
    linear-gradient(180deg, var(--navy) 0%, var(--ink) 100%);
}
/* floodlight beams */
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 90%; height: 140%; z-index: -1;
  background: repeating-linear-gradient(105deg, transparent 0 46px, rgba(245, 245, 245, .035) 46px 48px);
  -webkit-mask-image: linear-gradient(200deg, #000 10%, transparent 70%); mask-image: linear-gradient(200deg, #000 10%, transparent 70%);
}
/* optional photo slot: add a match photo at img/hero.jpg */
.hero-photo {
  position: absolute; inset: 0; z-index: -2;
  background-size: cover; background-position: center;
  opacity: .35; mix-blend-mode: luminosity;
}
.hero-stripe {
  position: absolute; right: -10%; bottom: 18%; z-index: -1;
  width: 70%; height: 22vh; min-height: 120px;
  background: var(--orange); transform: skewY(-12deg);
  opacity: .9;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 40%); mask-image: linear-gradient(90deg, transparent, #000 40%);
}
.hero-stripe.two { bottom: calc(18% - 34px); height: 12px; min-height: 12px; opacity: .55; }
.hero .eyebrow { margin-bottom: 22px; }
.hero h1 { position: relative; }
.hero h1 .line { display: block; }
.hero h1 .huge {
  font-size: clamp(76px, 19vw, 260px); font-style: italic; color: var(--orange);
  margin-left: -.04em; line-height: .82;
  text-shadow: 0 10px 60px rgba(255, 115, 0, .3);
}
.hero-bottom { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; align-items: end; margin-top: 34px; }
.hero-bottom .lede { color: rgba(245, 245, 245, .82); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border: 1px solid var(--line-2); border-radius: 999px;
  font: 600 13px/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.tag i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(51, 209, 122, .18); }
@media (max-width: 860px) { .hero-bottom { grid-template-columns: minmax(0, 1fr); gap: 26px; } }

/* ---------- Fixture card (ticket-shaped) ---------- */
.fixture {
  position: relative;
  background: linear-gradient(135deg, var(--royal) 0%, var(--navy-2) 100%);
  border-radius: var(--radius);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .45), inset 0 0 0 1px rgba(245, 245, 245, .08);
  overflow: hidden;
}
.fixture::after { /* perforation */
  content: ""; position: absolute; left: 0; right: 0; bottom: 92px; height: 0;
  border-top: 2px dashed rgba(245, 245, 245, .22);
}
.fixture-top { padding: 22px 24px 18px; }
.fixture-label { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 16px; }
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px; border-radius: 999px;
  font: 700 12px/1 var(--display); letter-spacing: .14em; text-transform: uppercase;
  background: rgba(245, 245, 245, .1); color: var(--white); white-space: nowrap;
}
.pill.orange { background: var(--orange); color: var(--ink); }
.pill.ok { background: rgba(51, 209, 122, .16); color: #7ff0ae; }
.pill.warn { background: rgba(255, 194, 61, .16); color: var(--warn); }
.pill.bad { background: rgba(255, 77, 94, .16); color: #ff8a96; }
.pill.mute { background: rgba(245, 245, 245, .08); color: var(--muted); }
.teams { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; }
.team { font: 800 clamp(26px, 3.4vw, 40px)/.95 var(--display); text-transform: uppercase; }
.team.away { text-align: right; }
.vs { font: 800 italic 18px/1 var(--display); color: var(--orange); }
.fixture-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 16px; color: var(--muted); font-size: 15px; }
.fixture-meta span { display: inline-flex; gap: 6px; align-items: center; }
.countdown { display: flex; gap: 8px; margin-top: 16px; }
.countdown div { flex: 1; background: rgba(11, 12, 46, .45); border-radius: 8px; padding: 10px 6px; text-align: center; }
.countdown b { display: block; font: 800 30px/1 var(--display); font-variant-numeric: tabular-nums; }
.countdown small { font: 600 11px/1 var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--faint); }
.fixture-bottom { height: 92px; display: flex; align-items: center; gap: 16px; padding: 0 24px; background: rgba(11, 12, 46, .35); }
.fixture-bottom .avail { flex: 1; min-width: 0; }
.bar { height: 6px; background: rgba(245, 245, 245, .12); border-radius: 99px; overflow: hidden; margin-top: 8px; }
.bar i { display: block; height: 100%; background: var(--orange); border-radius: inherit; transition: width .8s var(--ease); }
.avail-text { font: 700 14px/1.2 var(--display); letter-spacing: .1em; text-transform: uppercase; }
.avail-text span { color: var(--muted); }
@media (max-width: 480px) {
  .fixture-bottom { height: auto; flex-direction: column; align-items: stretch; padding: 18px 20px; }
  .fixture::after { display: none; }
  .fixture-bottom .btn { width: 100%; }
}

/* ---------- Marquee ---------- */
.marquee {
  background: var(--orange); color: var(--ink);
  overflow: hidden; white-space: nowrap; transform: rotate(-1.4deg) scale(1.03);
  margin: -14px 0 0; position: relative; z-index: 2;
  border-block: 3px solid var(--ink);
}
.marquee-track { display: inline-flex; animation: marquee 38s linear infinite; padding: 14px 0; }
.marquee span { font: 800 italic clamp(22px, 3vw, 34px)/1 var(--display); text-transform: uppercase; letter-spacing: .02em; padding-right: 28px; }
.marquee span::after { content: "★"; padding-left: 28px; font-style: normal; font-size: .7em; vertical-align: .15em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 11vw, 140px) 0; position: relative; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px 40px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head > div { max-width: 760px; }
.section-head h2 { margin-top: 14px; }
.section-head .lede { margin: 18px 0 0; }
.band-royal { background: linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); counter-reset: step; }
.step { padding: 30px 24px 10px 0; border-right: 1px solid var(--line); position: relative; }
.step + .step { padding-left: 24px; }
.step:last-child { border-right: 0; }
.step-n { font: 800 italic 78px/1 var(--display); color: transparent; -webkit-text-stroke: 1.5px var(--orange); display: block; margin-bottom: 18px; }
.step h3 { margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 16px; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .step { border-right: 0; border-bottom: 1px solid var(--line); padding: 26px 18px 18px 0; }
  .step + .step { padding-left: 0; }
  .step:nth-child(2n) { padding-left: 18px; border-left: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
  .step:nth-child(2n) { padding-left: 0; border-left: 0; }
  .step-n { font-size: 60px; margin-bottom: 10px; }
}

/* Nations / stats */
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 40px; }
.stat { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.stat b { display: block; font: 800 clamp(52px, 7vw, 84px)/.9 var(--display); color: var(--white); font-variant-numeric: tabular-nums; }
.stat span { font: 700 14px/1.2 var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--orange); }
.nations { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 8px 22px; }
.nation { display: grid; grid-template-columns: 30px 1fr auto; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.nation .flag { font-size: 22px; line-height: 1; }
.nation .name { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nation .n { font: 800 20px/1 var(--display); color: var(--orange); font-variant-numeric: tabular-nums; }
.nation .meter { grid-column: 2 / 4; height: 3px; background: rgba(245, 245, 245, .08); }
.nation .meter i { display: block; height: 100%; background: var(--orange); opacity: .7; }
@media (max-width: 640px) { .stats { grid-template-columns: 1fr; } .stat { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; } }

/* Membership card visual */
.member-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 90px); align-items: center; }
@media (max-width: 860px) { .member-split { grid-template-columns: 1fr; } }
.wcard {
  position: relative; aspect-ratio: 1.586; width: 100%; max-width: 480px;
  border-radius: 18px; overflow: hidden; isolation: isolate;
  background: linear-gradient(140deg, #2E3079 0%, var(--navy) 58%, #090a28 100%);
  box-shadow: 0 40px 90px rgba(0, 0, 0, .5), inset 0 0 0 1px rgba(245, 245, 245, .12);
  padding: clamp(18px, 4vw, 28px);
  display: flex; flex-direction: column; justify-content: space-between;
  transform: rotate(-3deg);
}
.wcard::before {
  content: ""; position: absolute; z-index: -1; right: -20%; top: 38%; width: 120%; height: 34%;
  background: var(--orange); transform: skewY(-16deg);
}
.wcard::after {
  content: ""; position: absolute; z-index: -1; inset: 0;
  background: repeating-linear-gradient(115deg, transparent 0 22px, rgba(245, 245, 245, .03) 22px 23px);
}
.wcard-top { display: flex; justify-content: space-between; align-items: flex-start; }
.wcard-top img { width: 46px; }
.wcard-title { font: 800 13px/1.2 var(--display); letter-spacing: .2em; text-transform: uppercase; text-align: right; }
.wcard-title span { color: var(--orange); display: block; }
.wcard-name { font: 800 clamp(22px, 4vw, 30px)/1 var(--display); text-transform: uppercase; text-shadow: 0 2px 12px rgba(0,0,0,.35); }
.wcard-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin-top: 8px; }
.wcard-no { font: 800 clamp(18px, 3vw, 22px)/1 var(--display); letter-spacing: .14em; }
.wcard-sub { font: 600 11px/1.3 var(--display); letter-spacing: .18em; text-transform: uppercase; color: rgba(245, 245, 245, .75); }
.wcard-flag { font-size: 30px; line-height: 1; }
.perks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.perks li { display: flex; gap: 14px; align-items: flex-start; color: var(--muted); }
.perks li::before { content: ""; flex: none; width: 14px; height: 14px; margin-top: 6px; background: var(--orange); clip-path: polygon(25% 0, 100% 0, 75% 100%, 0 100%); }
.perks b { color: var(--white); font-weight: 600; }
.perks em { font-style: normal; font-size: 12px; font-family: var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--faint); margin-left: 6px; }

/* FAQ */
.faq { border-top: 1px solid var(--line); max-width: 900px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative;
  font: 700 clamp(20px, 2.2vw, 24px)/1.15 var(--display); text-transform: uppercase; letter-spacing: .02em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 30px; color: var(--orange); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--muted); padding-right: 40px; margin-bottom: 22px; }

/* CTA band */
.cta-band { background: var(--orange); color: var(--ink); overflow: hidden; position: relative; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(105deg, transparent 0 60px, rgba(11, 12, 46, .06) 60px 62px); }
.cta-band .wrap { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; padding-block: clamp(56px, 8vw, 96px); }
.cta-band h2 { font-style: italic; max-width: 12ch; }
.cta-band .btn { --bg: var(--ink); --fg: var(--white); }
.cta-band .btn:hover { background: var(--navy); }

/* Footer */
.site-footer { background: var(--ink); border-top: 1px solid var(--line); padding: 56px 0 90px; color: var(--muted); font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.footer-grid h4 { font: 700 13px/1 var(--display); letter-spacing: .2em; text-transform: uppercase; color: var(--white); margin: 0 0 14px; }
.footer-grid a { display: block; text-decoration: none; padding: 4px 0; }
.footer-grid a:hover { color: var(--white); }
.powered { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.powered b { color: var(--white); font: 800 16px/1 var(--display); letter-spacing: .1em; text-transform: uppercase; }
.disclaimer { margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; color: var(--faint); }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }

/* ---------- Inner pages ---------- */
.page-hero {
  padding: calc(var(--header-h) + clamp(48px, 8vw, 96px)) 0 clamp(36px, 5vw, 56px);
  background:
    radial-gradient(80% 90% at 100% 0%, rgba(255, 115, 0, .2), transparent 60%),
    linear-gradient(180deg, var(--navy) 0%, var(--ink) 100%);
  position: relative; overflow: hidden;
}
.page-hero::after {
  content: ""; position: absolute; right: -6%; bottom: 22px; width: 46%; height: 10px; background: var(--orange); transform: skewY(-8deg);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000); mask-image: linear-gradient(90deg, transparent, #000);
}
.page-hero h1 { font-size: clamp(50px, 9vw, 120px); margin-top: 16px; }
.page-hero h1 em { color: var(--orange); }
.page-hero .lede { margin-top: 18px; }
.page-body { padding: clamp(36px, 5vw, 64px) 0 clamp(80px, 10vw, 120px); }

/* Match list */
.match-list { display: grid; gap: 16px; }
.match-row {
  display: grid; grid-template-columns: 120px minmax(0, 1fr) 240px; gap: 0;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.match-date { background: var(--royal); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 18px 10px; text-align: center; }
.match-date b { font: 800 50px/.9 var(--display); }
.match-date span { font: 700 13px/1.2 var(--display); letter-spacing: .18em; text-transform: uppercase; color: var(--orange); }
.match-date small { font: 600 12px/1.2 var(--display); letter-spacing: .12em; color: var(--muted); margin-top: 4px; text-transform: uppercase; }
.match-main { padding: 20px 24px; min-width: 0; }
.match-main .teams { grid-template-columns: auto auto auto; justify-content: start; gap: 14px; }
.match-main .team { font-size: clamp(24px, 3vw, 34px); }
.match-main .team.away { text-align: left; }
.match-comp { font: 700 12px/1 var(--display); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.match-side { padding: 20px 22px; border-left: 2px dashed var(--line-2); display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.match-row.past { opacity: .62; }
@media (max-width: 820px) {
  .match-row { grid-template-columns: 92px minmax(0, 1fr); }
  .match-side { grid-column: 1 / -1; border-left: 0; border-top: 2px dashed var(--line-2); }
  .match-date b { font-size: 40px; }
  .match-main { padding: 16px; }
}
.empty { padding: 48px 24px; text-align: center; border: 1px dashed var(--line-2); border-radius: var(--radius); color: var(--muted); }

/* ---------- Forms ---------- */
.flow { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 960px) { .flow { grid-template-columns: 1fr; } .flow-aside { order: -1; } }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3.5vw, 36px); }
.stepper { display: flex; gap: 6px; margin-bottom: 26px; list-style: none; padding: 0; }
.stepper li { flex: 1; font: 700 12px/1.2 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.stepper li::before { content: ""; display: block; height: 4px; border-radius: 4px; background: rgba(245, 245, 245, .12); margin-bottom: 8px; }
.stepper li.on { color: var(--white); }
.stepper li.on::before, .stepper li.done::before { background: var(--orange); }
.stepper li.done { color: var(--muted); }
.tabs { display: flex; gap: 4px; padding: 4px; background: rgba(11, 12, 46, .5); border-radius: 10px; margin-bottom: 26px; }
.tabs button { flex: 1; border: 0; background: none; padding: 12px 10px; border-radius: 7px; cursor: pointer; font: 700 14px/1.1 var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.tabs button[aria-selected="true"] { background: var(--royal-2); color: var(--white); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.field label, .field .label { display: flex; justify-content: space-between; gap: 8px; font: 700 13px/1.2 var(--display); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 8px; }
.field label .opt { color: var(--faint); font-weight: 600; letter-spacing: .1em; }
.input, .field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="date"], .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 14px;
  background: rgba(11, 12, 46, .6); border: 1px solid var(--line-2); border-radius: var(--radius-s);
  font-size: 17px; color: var(--white);
  transition: border-color .2s, box-shadow .2s;
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--orange) 50%), linear-gradient(135deg, var(--orange) 50%, transparent 50%); background-position: calc(100% - 20px) 23px, calc(100% - 15px) 23px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.field select option { background: var(--navy); }
.input:focus, .field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255, 115, 0, .22); }
.field input::placeholder { color: var(--faint); }
.field .hint { font-size: 13px; color: var(--faint); margin-top: 6px; }
.field.invalid input, .field.invalid .combo-input { border-color: var(--bad); }
.field .err { color: #ff8a96; font-size: 13px; margin-top: 6px; display: none; }
.field.invalid .err { display: block; }
.check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-size: 15px; color: var(--muted); }
.check input { flex: none; appearance: none; width: 22px; height: 22px; margin: 1px 0 0; border: 2px solid var(--line-2); border-radius: 5px; background: rgba(11, 12, 46, .6); cursor: pointer; display: grid; place-content: center; }
.check input:checked { background: var(--orange); border-color: var(--orange); }
.check input:checked::after { content: ""; width: 10px; height: 6px; border: 3px solid var(--ink); border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); }
.check.invalid input { border-color: var(--bad); }
.check a { color: var(--white); }
.form-note { font-size: 14px; color: var(--faint); margin-top: 16px; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 26px; }
.alert { padding: 14px 16px; border-radius: var(--radius-s); font-size: 15px; margin-bottom: 18px; background: rgba(255, 77, 94, .12); border: 1px solid rgba(255, 77, 94, .35); color: #ffb3bb; }
.alert.info { background: rgba(46, 48, 121, .5); border-color: var(--line-2); color: var(--white); }
.alert.ok { background: rgba(51, 209, 122, .12); border-color: rgba(51, 209, 122, .35); color: #9ef5c3; }

/* Country combobox */
.combo { position: relative; }
.combo-input { padding-left: 46px !important; }
.combo-flag { position: absolute; left: 14px; top: 14px; font-size: 22px; line-height: 1; pointer-events: none; }
.combo-list {
  position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 6px);
  max-height: 280px; overflow-y: auto; overscroll-behavior: contain;
  background: var(--navy-2); border: 1px solid var(--line-2); border-radius: var(--radius-s);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .5); padding: 6px; list-style: none; margin: 0;
}
.combo-list li { display: flex; align-items: center; gap: 12px; padding: 10px 10px; border-radius: 6px; cursor: pointer; }
.combo-list li span { font-size: 20px; }
.combo-list li[aria-selected="true"], .combo-list li:hover { background: var(--royal-2); }
.combo-list .sep { height: 1px; padding: 0; margin: 6px 4px; background: var(--line); pointer-events: none; }

/* OTP */
.otp { display: flex; gap: 8px; justify-content: flex-start; margin: 8px 0 4px; }
.otp input {
  width: 52px; height: 62px; text-align: center; padding: 0;
  font: 800 30px/1 var(--display); background: rgba(11, 12, 46, .6);
  border: 1px solid var(--line-2); border-radius: var(--radius-s); color: var(--white);
}
.otp input:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255, 115, 0, .22); }
@media (max-width: 420px) { .otp { gap: 6px; } .otp input { width: calc((100% - 30px) / 6); height: 56px; font-size: 26px; } }

/* Summary aside */
.aside-card { position: sticky; top: calc(var(--header-h) + 20px); }
.aside-list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 12px; }
.aside-list li { display: flex; gap: 12px; color: var(--muted); font-size: 15px; }
.aside-list li b { color: var(--white); font-weight: 600; }
.aside-list svg { flex: none; width: 20px; height: 20px; color: var(--orange); margin-top: 2px; }

/* ---------- Ticket ---------- */
.ticket-wrap { display: grid; grid-template-columns: minmax(0, 440px) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 900px) { .ticket-wrap { grid-template-columns: 1fr; } }
.ticket {
  position: relative; width: 100%; max-width: 440px; margin: 0 auto;
  background: var(--white); color: var(--navy);
  border-radius: 18px; overflow: hidden;
  box-shadow: 0 40px 90px rgba(0, 0, 0, .5);
}
.ticket-head {
  background: linear-gradient(135deg, var(--royal) 0%, var(--navy) 100%); color: var(--white);
  padding: 20px 22px 22px; position: relative; overflow: hidden;
}
.ticket-head::after { content: ""; position: absolute; right: -30px; bottom: 16px; width: 70%; height: 16px; background: var(--orange); transform: skewY(-10deg); }
.ticket-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; position: relative; z-index: 1; }
.ticket-brand img { width: 30px; }
.ticket-brand div { font: 800 13px/1.15 var(--display); letter-spacing: .16em; text-transform: uppercase; }
.ticket-brand div span { color: var(--orange); display: block; font-size: 11px; }
.ticket-brand .pill { margin-left: auto; }
.ticket .teams { position: relative; z-index: 1; }
.ticket .team { font-size: 30px; }
.ticket-cut { position: relative; height: 0; border-top: 2px dashed rgba(13, 17, 64, .2); margin: 0 18px; }
.ticket-cut::before, .ticket-cut::after { content: ""; position: absolute; top: -14px; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); }
.ticket-cut::before { left: -32px; } .ticket-cut::after { right: -32px; }
.ticket-body { padding: 18px 22px 22px; }
.ticket-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.ticket-grid dt { font: 700 11px/1 var(--display); letter-spacing: .18em; text-transform: uppercase; color: rgba(13, 17, 64, .5); margin-bottom: 4px; }
.ticket-grid dd { margin: 0; font: 700 18px/1.15 var(--display); text-transform: uppercase; letter-spacing: .02em; word-break: break-word; }
.ticket-grid .full { grid-column: 1 / -1; }
.ticket-qr { position: relative; display: grid; place-items: center; padding: 18px 0 6px; }
.ticket-qr .qr { width: 232px; height: 232px; padding: 12px; background: #fff; border-radius: 10px; box-shadow: inset 0 0 0 1px rgba(13, 17, 64, .1); }
.ticket-qr .qr img, .ticket-qr .qr canvas { width: 100% !important; height: 100% !important; image-rendering: pixelated; }
.ticket-no { text-align: center; font: 800 22px/1 var(--display); letter-spacing: .16em; margin-top: 10px; }
.ticket-token { text-align: center; font-size: 11px; color: rgba(13, 17, 64, .45); margin-top: 6px; }
.stamp {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -55%) rotate(-12deg);
  border: 5px solid var(--ok); color: #109b52; background: rgba(255, 255, 255, .9);
  padding: 10px 18px; border-radius: 8px; text-align: center;
  font: 800 30px/1 var(--display); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap;
}
.stamp small { display: block; font-size: 14px; letter-spacing: .14em; margin-top: 4px; }
.stamp.void { border-color: var(--bad); color: #c41d30; }
.ticket.is-void .qr, .ticket.is-used .qr { opacity: .18; filter: grayscale(1); }
.ticket-foot { background: #e9e9ef; padding: 14px 22px; font-size: 13px; color: rgba(13, 17, 64, .7); display: flex; gap: 10px; align-items: center; }
.ticket-foot svg { width: 18px; flex: none; color: var(--orange-deep); }
.ticket-actions { display: grid; gap: 10px; margin-top: 20px; max-width: 440px; margin-inline: auto; }
.ticket-actions .row { display: flex; gap: 10px; }
.ticket-actions .row > * { flex: 1; }
.ticket-side h2 { font-size: clamp(36px, 5vw, 60px); }
.checklist { list-style: none; padding: 0; margin: 22px 0; display: grid; gap: 14px; counter-reset: c; }
.checklist li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; color: var(--muted); counter-increment: c; }
.checklist li::before { content: counter(c); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--royal); color: var(--white); font: 800 16px/1 var(--display); }
.checklist b { color: var(--white); display: block; font-weight: 600; }

.my-tickets { display: grid; gap: 12px; margin-top: 18px; }
.my-ticket { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius-s); background: var(--panel); text-decoration: none; transition: border-color .2s, background .2s; }
.my-ticket:hover { border-color: var(--orange); background: var(--panel-2); }
.my-ticket .grow { flex: 1; min-width: 0; }
.my-ticket b { font: 800 20px/1.1 var(--display); text-transform: uppercase; display: block; }

/* Toast */
.toasts { position: fixed; z-index: 100; left: 50%; bottom: 24px; transform: translateX(-50%); display: grid; gap: 10px; width: min(92vw, 440px); pointer-events: none; }
.toast { pointer-events: auto; background: var(--white); color: var(--navy); padding: 14px 18px; border-radius: 10px; box-shadow: 0 20px 50px rgba(0, 0, 0, .45); font-size: 15px; border-left: 5px solid var(--orange); animation: toast-in .3s var(--ease); }
.toast.bad { border-left-color: var(--bad); }
.toast.ok { border-left-color: var(--ok); }
.toast b { font-family: var(--display); letter-spacing: .06em; }
.toast .code { font: 800 26px/1 var(--display); letter-spacing: .3em; display: block; margin-top: 6px; color: var(--orange-deep); }
@keyframes toast-in { from { opacity: 0; transform: translateY(12px); } }

/* Spinner */
.spin { width: 18px; height: 18px; border: 3px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .8s linear infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.loading { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 60px 0; color: var(--muted); }

/* Prose (privacy) */
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(28px, 3.4vw, 38px); margin: 48px 0 14px; }
.prose p, .prose li { color: var(--muted); }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 8px; }
.prose strong { color: var(--white); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.hero-in > * { animation: rise .9s var(--ease) both; }
.hero-in > :nth-child(2) { animation-delay: .08s; }
.hero-in > :nth-child(3) { animation-delay: .16s; }
@keyframes rise { from { opacity: 0; transform: translateY(30px); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .site-footer, .ticket-actions, .ticket-side, .demo-ribbon, .page-hero { display: none !important; }
  body { background: #fff; }
  .ticket { box-shadow: none; border: 1px solid #ccc; }
}

/* ==========================================================================
   v2 — Inter Da Nang co-branding + modern layer
   ========================================================================== */

/* Film grain over everything — keeps the flat navy from looking digital */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.staff::after { display: none; }

/* Header: Warrior mark + "by Inter Da Nang" lockup */
.site-header .brand { margin-right: 0; }
.brand-idn {
  display: flex; align-items: center; gap: 9px; margin-right: auto;
  padding-left: 16px; border-left: 1px solid var(--line-2); text-decoration: none;
  font: 600 10px/1.15 var(--display); letter-spacing: .18em; text-transform: uppercase; color: var(--faint);
  transition: color .2s;
}
.brand-idn b { color: var(--white); font-size: 12px; letter-spacing: .14em; }
.brand-idn img { width: 34px; height: 34px; transition: transform .6s var(--ease); }
.brand-idn:hover { color: var(--muted); }
.brand-idn:hover img { transform: rotate(-12deg) scale(1.06); }
.site-header.solid, body:not([data-page="home"]) .site-header { background: rgba(11, 12, 46, .72); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4); }
.nav a { border-radius: 999px; padding: 9px 14px; }
.nav a:hover { background: rgba(245, 245, 245, .06); }
.nav a[aria-current="page"] { box-shadow: none; background: rgba(245, 245, 245, .1); color: var(--white); }
@media (max-width: 1080px) and (min-width: 901px) { .brand-idn span { display: none; } }
@media (max-width: 900px) { .nav a { border-radius: 0; } .nav a:hover, .nav a[aria-current="page"] { background: none; } }
@media (max-width: 520px) {
  .brand-text { display: none; }
  .brand-idn { padding-left: 12px; }
  .site-header .wrap { gap: 12px; }
}

/* Hero */
.hero { background:
    radial-gradient(60% 55% at 78% 30%, rgba(255, 115, 0, .22), transparent 65%),
    radial-gradient(70% 60% at 10% 90%, rgba(59, 62, 149, .75), transparent 65%),
    linear-gradient(180deg, #16185a 0%, var(--ink) 100%); }
.hero::after { /* fine grid */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(245, 245, 245, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(245, 245, 245, .04) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(80% 70% at 60% 40%, #000, transparent 75%); mask-image: radial-gradient(80% 70% at 60% 40%, #000, transparent 75%);
}
.hero-crest {
  position: absolute; z-index: -1; right: -6vw; top: calc(var(--header-h) - 2vw);
  width: min(62vw, 760px); height: auto; opacity: .07; pointer-events: none;
  animation: crest-spin 140s linear infinite;
}
@keyframes crest-spin { to { transform: rotate(360deg); } }
.idn-chip {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px;
  padding: 6px 16px 6px 6px; border-radius: 999px; text-decoration: none;
  background: rgba(245, 245, 245, .06); box-shadow: inset 0 0 0 1px var(--line-2);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font-size: 13px; color: var(--muted); transition: background .2s;
}
.idn-chip img { width: 28px; height: 28px; }
.idn-chip b { color: var(--white); font-weight: 600; }
.idn-chip:hover { background: rgba(245, 245, 245, .12); }
.hero-in .idn-chip { display: flex; width: max-content; }
.hero h1 .huge { background: linear-gradient(100deg, #ffad66 0%, var(--orange) 45%, #ff5500 100%); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: none; filter: drop-shadow(0 12px 50px rgba(255, 115, 0, .35)); padding-right: .08em; }

/* Glass fixture card */
.fixture {
  background: linear-gradient(160deg, rgba(59, 62, 149, .55) 0%, rgba(26, 28, 92, .55) 100%);
  -webkit-backdrop-filter: blur(20px) saturate(1.3); backdrop-filter: blur(20px) saturate(1.3);
  border-radius: 22px;
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .7), inset 0 0 0 1px rgba(245, 245, 245, .12), inset 0 1px 0 rgba(245, 245, 245, .18);
}
.fixture-bottom { background: rgba(11, 12, 46, .4); }
.countdown div { background: rgba(11, 12, 46, .5); border-radius: 12px; box-shadow: inset 0 0 0 1px rgba(245, 245, 245, .06); }
.fixture-meta svg, .ico { width: 15px; height: 15px; flex: none; color: var(--orange); }
.pill { border-radius: 999px; }

/* Marquee — flatter, less shouty */
.marquee { transform: none; margin: 0; border: 0; background: linear-gradient(90deg, var(--orange-deep), var(--orange) 50%, var(--orange-deep)); }
.marquee-track { padding: 12px 0; }
.marquee span { font-size: clamp(18px, 2.2vw, 26px); letter-spacing: .04em; }

/* Bento "how it works" */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.bento-card {
  position: relative; overflow: hidden; isolation: isolate;
  grid-column: span 3; min-height: 230px; padding: 26px;
  border-radius: 22px; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px;
  background: linear-gradient(160deg, rgba(46, 48, 121, .42), rgba(26, 28, 92, .3));
  box-shadow: inset 0 0 0 1px var(--line);
  transition: transform .35s var(--ease), box-shadow .35s;
}
.bento-card:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px rgba(255, 115, 0, .45), 0 30px 60px -30px rgba(0, 0, 0, .6); }
.bento-card.b1 { grid-column: span 4; }
.bento-card.b2 { grid-column: span 2; }
.bento-card.b3 { grid-column: span 2; }
.bento-card.b4 { grid-column: span 4; }
.bento-card.b1, .bento-card.b4 { background: radial-gradient(90% 120% at 100% 0%, rgba(255, 115, 0, .2), transparent 60%), linear-gradient(160deg, rgba(46, 48, 121, .5), rgba(26, 28, 92, .35)); }
.bento-top { position: absolute; inset: 22px 22px auto 22px; display: flex; justify-content: space-between; align-items: flex-start; }
.bento-ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: rgba(255, 115, 0, .14); color: var(--orange); box-shadow: inset 0 0 0 1px rgba(255, 115, 0, .3); }
.bento-ico svg { width: 24px; height: 24px; }
.bento-n { font: 800 italic 64px/.8 var(--display); color: transparent; -webkit-text-stroke: 1px rgba(245, 245, 245, .22); }
.bento-card h3 { font-size: clamp(26px, 2.6vw, 34px); }
.bento-card p { color: var(--muted); font-size: 15px; margin: 0; max-width: 36em; }
@media (max-width: 860px) {
  .bento { grid-template-columns: 1fr; }
  .bento-card, .bento-card.b1, .bento-card.b2, .bento-card.b3, .bento-card.b4 { grid-column: auto; min-height: 200px; }
}

/* Stats as glass tiles */
.stat { border-radius: 20px; background: linear-gradient(160deg, rgba(46, 48, 121, .45), rgba(26, 28, 92, .25)); box-shadow: inset 0 0 0 1px var(--line); border: 0; }
.band-royal { background: radial-gradient(70% 80% at 0% 0%, rgba(59, 62, 149, .5), transparent 60%), linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%); }

/* Membership card — IDN credit */
.wcard-idn { display: flex; align-items: center; gap: 7px; margin-top: 10px; font: 600 10px/1 var(--display); letter-spacing: .18em; text-transform: uppercase; color: rgba(245, 245, 245, .75); }
.wcard-idn img { width: 22px; height: 22px; }

/* Inter Da Nang section */
.club { background: radial-gradient(60% 70% at 25% 50%, rgba(245, 245, 245, .05), transparent 70%), #05071d; border-block: 1px solid var(--line); }
.club-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(36px, 7vw, 100px); align-items: center; }
.club-crest { position: relative; display: grid; place-items: center; }
.club-crest img { position: relative; width: min(100%, 440px); height: auto; filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .6)); }
.crest-halo { position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(255, 115, 0, .28), transparent 65%); filter: blur(30px); }
.club-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 28px; }
.club-facts div { padding: 16px; border-radius: 16px; background: rgba(245, 245, 245, .04); box-shadow: inset 0 0 0 1px var(--line); }
.club-facts b { display: block; font: 800 22px/1.05 var(--display); text-transform: uppercase; letter-spacing: .02em; }
.club-facts span { display: block; margin-top: 6px; font-size: 13px; color: var(--muted); }
@media (max-width: 860px) {
  .club-grid { grid-template-columns: 1fr; }
  .club-crest img { width: min(70%, 320px); }
  .club-facts { grid-template-columns: 1fr; }
}

/* FAQ as soft cards */
.faq { border-top: 0; display: grid; gap: 10px; }
.faq details { border: 0; border-radius: 16px; background: rgba(245, 245, 245, .035); box-shadow: inset 0 0 0 1px var(--line); padding: 0 22px; transition: background .2s; }
.faq details[open] { background: rgba(245, 245, 245, .06); }
.faq summary { padding: 20px 40px 20px 0; font-size: clamp(18px, 2vw, 22px); }

/* CTA band */
.cta-band { background: linear-gradient(110deg, var(--orange-deep), var(--orange) 55%, #ff9a3d); }
.cta-band .btn { box-shadow: 0 14px 34px -14px rgba(11, 12, 46, .8); }

/* Footer lockup */
.foot-lockup { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; padding-bottom: 36px; margin-bottom: 36px; border-bottom: 1px solid var(--line); }
.foot-lockup img:first-child { width: 56px; height: auto; }
.foot-lockup img + .x + img { width: 72px; height: 72px; }
.foot-lockup .x { font: 300 28px/1 var(--body); color: var(--faint); }
.foot-lockup div { display: flex; flex-direction: column; gap: 4px; margin-left: 6px; }
.foot-lockup b { font: 800 26px/1 var(--display); text-transform: uppercase; letter-spacing: .04em; color: var(--white); }
.powered { text-decoration: none; padding: 8px 16px 8px 8px; border-radius: 999px; background: rgba(245, 245, 245, .05); box-shadow: inset 0 0 0 1px var(--line); width: max-content; transition: background .2s; }
.powered:hover { background: rgba(245, 245, 245, .1); }
.powered img { width: 40px; height: 40px; }
.powered > span:not(.arrow) { display: flex; flex-direction: column; line-height: 1.1; }
.powered .small { font-size: 11px; text-transform: uppercase; letter-spacing: .16em; }
.powered .arrow { color: var(--orange); margin-left: 4px; }

/* Inner pages */
.page-hero::before { content: ""; position: absolute; right: -80px; top: 40px; width: 420px; height: 420px; background: url(../img/idn-crest-white.png) center / contain no-repeat; opacity: .05; pointer-events: none; }
.panel { border-radius: 22px; background: linear-gradient(160deg, rgba(46, 48, 121, .4), rgba(26, 28, 92, .25)); border: 0; box-shadow: inset 0 0 0 1px var(--line); }
.match-row { border-radius: 22px; border: 0; box-shadow: inset 0 0 0 1px var(--line); background: linear-gradient(160deg, rgba(46, 48, 121, .4), rgba(26, 28, 92, .25)); transition: transform .3s var(--ease), box-shadow .3s; }
.match-row:not(.past):hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px rgba(255, 115, 0, .4), 0 30px 60px -30px rgba(0, 0, 0, .6); }
.match-date { background: linear-gradient(170deg, var(--royal-2), var(--royal)); }
.input, .field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="date"], .field select, .field textarea { border-radius: 12px; }
.tabs { border-radius: 14px; } .tabs button { border-radius: 10px; }
.my-ticket { border-radius: 16px; }

/* Ticket — issued by Inter Da Nang */
.ticket { border-radius: 24px; }
.ticket-issuer { display: flex; align-items: center; gap: 10px; margin-left: auto; font: 700 10px/1.2 var(--display); letter-spacing: .16em; text-transform: uppercase; color: rgba(13, 17, 64, .6); text-align: right; }
.ticket-issuer img { width: 34px; height: 34px; }
.ticket-foot { flex-wrap: wrap; }

@media (prefers-reduced-motion: reduce) { .hero-crest { animation: none; } }

html.static .hero { min-height: 0; } html.static .hero-crest, html.static .hero-in > * { animation: none; }
html.static .site-header { position: absolute; }
html.static .hero-stripe { height: 170px; min-height: 0; bottom: 120px; } html.static .hero-stripe.two { height: 12px; bottom: 90px; } html.static .viewfinder { min-height: 440px; }
.member-split h2, .club-grid h2 { font-size: clamp(40px, 4.8vw, 66px); margin: 16px 0 20px; }
.footer-grid a.powered { display: flex; align-items: center; gap: 12px; margin-top: 18px; padding: 8px 18px 8px 8px; }

/* ==========================================================================
   v3 — SHB Đà Nẵng crest + colours
   ========================================================================== */
.hero-shb { position: absolute; z-index: -1; right: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); top: calc(var(--header-h) + 34px); width: clamp(180px, 22vw, 290px); aspect-ratio: 1; animation: shb-float 7s ease-in-out infinite; }
.hero-shb img { position: relative; width: 100%; height: auto; filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .55)); }
.shb-glow { position: absolute; inset: -18%; border-radius: 50%; background: radial-gradient(circle, rgba(255, 115, 0, .42), transparent 62%); filter: blur(24px); }
@keyframes shb-float { 50% { transform: translateY(-10px) rotate(-2deg); } }
@media (max-width: 860px) { .hero-shb { top: calc(var(--header-h) + 14px); right: var(--gutter); width: 84px; } .shb-glow { inset: -30%; } }
html.static .hero-shb { animation: none; }
@media (prefers-reduced-motion: reduce) { .hero-shb { animation: none; } }

.eyebrow-shb::before { display: none; }
.eyebrow-shb img { width: 26px; height: 26px; }

/* Team badges */
.team { display: flex; align-items: center; gap: 10px; min-width: 0; }
.team.away { justify-content: flex-end; }
.team > span { min-width: 0; }
.tbadge { flex: none; width: 40px; height: 40px; border-radius: 50%; }
img.tbadge { filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .35)); }
.tbadge.ini { display: grid; place-items: center; background: rgba(245, 245, 247, .1); box-shadow: inset 0 0 0 1.5px rgba(245, 245, 247, .35); font: 800 14px/1 var(--display); letter-spacing: .04em; color: var(--silver); }
.match-main .team.away { justify-content: flex-start; flex-direction: row-reverse; }
.match-main .tbadge { width: 34px; height: 34px; }
.ticket .tbadge.ini { background: rgba(245, 245, 247, .14); }
@media (max-width: 480px) {
  .tbadge { width: 30px; height: 30px; } .tbadge.ini { font-size: 11px; }
  .teams .team { font-size: 22px; gap: 7px; }
  .fixture .teams, .ticket .teams { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
}

/* Membership card */
.wcard-shb { position: absolute; left: calc(clamp(18px, 4vw, 28px) + 56px); top: clamp(18px, 4vw, 28px); width: 46px; height: 46px; filter: drop-shadow(0 6px 12px rgba(0, 0, 0, .4)); }

/* SHB section */
.shb { background: radial-gradient(60% 70% at 80% 50%, rgba(46, 48, 121, .7), transparent 70%), linear-gradient(180deg, var(--ink), #10123d); }
.club-grid.flip { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.crest-halo.blue { background: radial-gradient(circle, rgba(255, 115, 0, .3), rgba(46, 48, 121, .5) 45%, transparent 70%); }
.club-facts { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
@media (max-width: 860px) { .club-grid.flip { grid-template-columns: 1fr; } .club-grid.flip .club-crest { order: -1; } }

/* Footer: supporting SHB */
.foot-shb { margin-left: auto; display: flex; align-items: center; gap: 12px; font: 700 12px/1 var(--display); letter-spacing: .18em; text-transform: uppercase; color: var(--faint); }
.foot-shb img { width: 64px; height: 64px; }
@media (max-width: 640px) { .foot-shb { margin-left: 0; width: 100%; } }
.foot-lockup .foot-shb { flex-direction: row; align-items: center; gap: 12px; margin-left: auto; }
@media (max-width: 640px) { .foot-lockup .foot-shb { margin-left: 0; } }

/* ==========================================================================
   v4 — Warriors badge, globe, polished "how it works"
   ========================================================================== */
.hero-shb { width: clamp(200px, 25vw, 340px); }
.hero-shb img { border-radius: 50%; }
.brand img { width: 42px; height: 42px; border-radius: 50%; }
.wcard-top img, .ticket-brand img, .foot-lockup img:first-child { border-radius: 50%; }
.foot-lockup img:first-child { width: 72px; height: 72px; }

/* ---- How it works ---- */
.bento { list-style: none; margin: 0; padding: 0; counter-reset: none; }
.bento-card { display: grid; grid-template-rows: auto 1fr; gap: 22px; justify-content: stretch; min-height: 0; padding: 0; }
.bento-card.b1, .bento-card.b4 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto; align-items: center; }
.bento-card.b4 .bento-vis { order: 2; }
.bento-vis { position: relative; min-height: 170px; display: grid; place-items: center; padding: 26px 26px 0; }
.bento-card.b1 .bento-vis, .bento-card.b4 .bento-vis { padding: 26px; min-height: 230px; }
.bento-card.b1 .bento-vis::before, .bento-card.b4 .bento-vis::before {
  content: ""; position: absolute; inset: 14px; border-radius: 16px; z-index: -1;
  background: radial-gradient(70% 80% at 50% 40%, rgba(255, 115, 0, .14), transparent 70%), rgba(11, 12, 46, .35);
  box-shadow: inset 0 0 0 1px rgba(245, 245, 247, .06);
}
.bento-meta { padding: 0 26px 26px; align-self: end; }
.bento-card.b1 .bento-meta, .bento-card.b4 .bento-meta { padding: 26px 30px; }
.bento-meta .bento-n { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 26px; padding: 0 10px; border-radius: 999px; background: rgba(255, 115, 0, .14); box-shadow: inset 0 0 0 1px rgba(255, 115, 0, .35); color: var(--orange); -webkit-text-stroke: 0; font: 800 14px/1 var(--display); letter-spacing: .12em; margin-bottom: 14px; }
.bento-meta h3 { margin-bottom: 10px; }
.bento-card { transition: transform .45s var(--ease), box-shadow .45s; }
.bento-card:hover .bento-vis > * { transform: translateY(-4px) scale(1.02); }
.bento-vis > * { transition: transform .5s var(--ease); }

/* mini UIs */
.v-form { width: min(100%, 300px); display: grid; gap: 8px; }
.v-field { background: rgba(245, 245, 247, .06); border-radius: 10px; padding: 8px 12px; box-shadow: inset 0 0 0 1px rgba(245, 245, 247, .1); }
.v-field small { display: block; font: 700 9px/1 var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--faint); margin-bottom: 4px; }
.v-field span { font-size: 14px; font-weight: 600; }
.v-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.v-type { display: inline-block; overflow: hidden; white-space: nowrap; border-right: 2px solid var(--orange); padding-right: 2px; animation: v-type 4s steps(9) infinite, v-caret .8s step-end infinite; max-width: 9ch; }
@keyframes v-type { 0% { max-width: 0; } 40%, 100% { max-width: 9ch; } }
@keyframes v-caret { 50% { border-color: transparent; } }
.v-otp { display: flex; gap: 5px; align-items: center; margin-top: 4px; }
.v-otp i { width: 26px; height: 32px; display: grid; place-items: center; border-radius: 7px; background: rgba(245, 245, 247, .08); box-shadow: inset 0 0 0 1px rgba(255, 115, 0, .45); font: 800 17px/1 var(--display); font-style: normal; }
.v-ok { margin-left: auto; font: 700 11px/1 var(--display); letter-spacing: .1em; text-transform: uppercase; color: #7ff0ae; background: rgba(51, 209, 122, .14); padding: 6px 9px; border-radius: 999px; }

.v-ticket { display: flex; width: min(100%, 290px); border-radius: 14px; overflow: hidden; box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .7); transform: rotate(-4deg); }
.bento-card:hover .v-ticket { transform: rotate(-1deg) translateY(-4px); }
.v-tk-main { flex: 1; display: flex; gap: 10px; align-items: center; padding: 14px; background: var(--white); color: var(--navy); }
.v-tk-main b { display: block; font: 800 18px/1 var(--display); text-transform: uppercase; }
.v-tk-main small { font-size: 11px; color: rgba(20, 22, 74, .6); }
.v-tk-stub { width: 86px; display: grid; place-content: center; text-align: center; background: var(--orange); color: var(--ink); border-left: 2px dashed rgba(11, 12, 46, .35); }
.v-tk-stub b { font: 800 20px/1 var(--display); letter-spacing: .06em; }
.v-tk-stub small { font: 700 8px/1.2 var(--display); letter-spacing: .06em; margin-top: 3px; }

.v-scan { display: grid; justify-items: center; gap: 12px; }
.v-qr { position: relative; width: 104px; height: 104px; padding: 10px; border-radius: 12px; background: #fff; color: var(--navy); box-shadow: 0 0 0 6px rgba(255, 115, 0, .18); overflow: hidden; }
.v-qr svg { width: 100%; height: 100%; }
.v-beam { position: absolute; left: 6px; right: 6px; height: 2px; top: 10%; background: var(--orange); box-shadow: 0 0 10px 2px rgba(255, 115, 0, .7); animation: v-beam 1.8s ease-in-out infinite alternate; }
@keyframes v-beam { to { top: 88%; } }
.v-in { font: 700 12px/1 var(--display); letter-spacing: .1em; text-transform: uppercase; color: #7ff0ae; background: rgba(51, 209, 122, .14); box-shadow: inset 0 0 0 1px rgba(51, 209, 122, .3); padding: 8px 12px; border-radius: 999px; }

.v-crowd { width: min(100%, 320px); display: grid; gap: 18px; }
.v-flags { display: flex; flex-wrap: wrap; }
.v-flags i { width: 46px; height: 46px; display: grid; place-items: center; font-size: 24px; font-style: normal; border-radius: 50%; background: #1d2068; box-shadow: 0 0 0 3px #161860; margin-right: -8px; margin-bottom: 6px; transition: transform .3s var(--ease); }
.v-flags i:nth-child(odd) { transform: translateY(-4px); }
.bento-card:hover .v-flags i { transform: translateY(-6px); }
.v-flags .v-more { background: var(--orange); color: var(--ink); font: 800 15px/1 var(--display); }
.v-meter span { font: 700 10px/1 var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--faint); }
.v-meter div { height: 8px; border-radius: 99px; background: rgba(245, 245, 247, .08); margin-top: 8px; overflow: hidden; }
.v-meter div i { display: block; height: 100%; width: 72%; border-radius: inherit; background: linear-gradient(90deg, var(--royal-2), var(--orange)); animation: v-meter 3s var(--ease) infinite alternate; }
@keyframes v-meter { from { width: 38%; } to { width: 86%; } }
@media (max-width: 860px) {
  .bento-card.b1, .bento-card.b4 { grid-template-columns: 1fr; }
  .bento-card.b4 .bento-vis { order: 0; }
  .bento-card.b1 .bento-meta, .bento-card.b4 .bento-meta { padding: 0 26px 26px; }
  .bento-card.b1 .bento-vis, .bento-card.b4 .bento-vis { min-height: 190px; }
}
html.static .v-type { max-width: 9ch; animation: none; }

/* ---- Globe ---- */
.globe-sec { background: radial-gradient(60% 70% at 75% 50%, rgba(46, 48, 121, .65), transparent 70%), linear-gradient(180deg, var(--ink), #0e1040 60%, var(--ink)); overflow: hidden; }
.globe-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(28px, 4vw, 60px); align-items: center; }
.globe-copy h2 { margin: 14px 0 18px; font-size: clamp(40px, 5vw, 70px); }
.gstats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 26px 0 22px; }
.gstats div { padding: 14px 14px 12px; border-radius: 16px; background: rgba(245, 245, 247, .045); box-shadow: inset 0 0 0 1px var(--line); }
.gstats b { display: block; font: 800 clamp(32px, 3.6vw, 46px)/.95 var(--display); font-variant-numeric: tabular-nums; }
.gstats span { display: block; margin-top: 6px; font: 700 10.5px/1.2 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--orange); }
.gnations { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.gnation {
  position: relative; display: grid; grid-template-columns: 18px 24px minmax(0, 1fr) auto; align-items: center; gap: 8px;
  padding: 9px 12px; border: 0; border-radius: 12px; cursor: pointer; text-align: left; overflow: hidden; isolation: isolate;
  background: rgba(245, 245, 247, .035); box-shadow: inset 0 0 0 1px var(--line); color: var(--white);
  transition: background .2s, box-shadow .2s, transform .2s var(--ease);
}
.gnation::before { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); z-index: -1; background: linear-gradient(90deg, rgba(255, 115, 0, .2), rgba(255, 115, 0, .04)); }
.gnation:hover { transform: translateX(3px); box-shadow: inset 0 0 0 1px rgba(255, 115, 0, .45); }
.gnation.on { box-shadow: inset 0 0 0 1.5px var(--orange); }
.gn-rank { font: 700 11px/1 var(--display); color: var(--faint); }
.gn-flag { font-size: 18px; line-height: 1; }
.gn-name { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gnation b { font: 800 18px/1 var(--display); color: var(--orange); font-variant-numeric: tabular-nums; }
.ghint { display: flex; align-items: center; gap: 8px; margin: 16px 0 0; font-size: 13px; color: var(--faint); }
.ghint svg { width: 16px; height: 16px; color: var(--orange); flex: none; }

.globe-stage { position: relative; width: 100%; max-width: 640px; aspect-ratio: 1; margin: 0 auto; display: grid; place-items: center; cursor: grab; touch-action: pan-y; }
.globe-stage:active { cursor: grabbing; }
.globe-glow { position: absolute; inset: 8%; border-radius: 50%; background: radial-gradient(circle, rgba(46, 48, 121, .9) 30%, rgba(255, 115, 0, .18) 58%, transparent 72%); filter: blur(30px); }
.globe-ring { position: absolute; inset: 3%; border-radius: 50%; border: 1px dashed rgba(245, 245, 247, .12); animation: crest-spin 90s linear infinite; }
#globe { position: relative; width: 100%; height: 100%; opacity: 0; transition: opacity 1s var(--ease); }
.globe-stage.ready #globe { opacity: 1; }
.globe-loading { position: absolute; color: var(--orange); }
.globe-stage.no-gl { aspect-ratio: auto; min-height: 0; }
.globe-stage.no-gl #globe, .globe-stage.no-gl .globe-loading, .globe-stage.no-gl .globe-ring { display: none; }
.globe-stage.no-gl::after { content: ""; width: 60%; aspect-ratio: 1; background: url(../img/warriors-crest.webp) center / contain no-repeat; opacity: .9; }
@media (max-width: 960px) {
  .globe-grid { grid-template-columns: 1fr; }
  .globe-stage { max-width: 520px; order: -1; margin-bottom: -10px; }
}
@media (max-width: 480px) { .gnations { grid-template-columns: 1fr; } .gstats span { font-size: 9.5px; letter-spacing: .1em; } }

/* globe overlays (rendered by globe.gl) */
.gtip { display: flex; align-items: center; gap: 10px; padding: 9px 13px 9px 10px; border-radius: 12px; background: rgba(11, 12, 46, .88); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 12px 30px rgba(0, 0, 0, .45), inset 0 0 0 1px rgba(255, 115, 0, .45); font-family: var(--body); color: var(--white); }
.gtip-flag { font-size: 24px; line-height: 1; }
.gtip b { display: block; font: 800 16px/1.1 var(--display); text-transform: uppercase; letter-spacing: .03em; }
.gtip span { font-size: 12px; color: var(--orange); font-weight: 600; }
.gpin { display: flex; flex-direction: column; align-items: center; gap: 6px; transform: translate(-50%, -21px); pointer-events: none; transition: opacity .3s; text-align: center; }
.gpin img { width: 42px; height: 42px; border-radius: 50%; box-shadow: 0 0 0 3px rgba(255, 115, 0, .5), 0 8px 20px rgba(0, 0, 0, .5); }
.gpin span { font: 800 14px/1 var(--display); text-transform: uppercase; letter-spacing: .06em; padding: 6px 10px; border-radius: 8px; background: rgba(11, 12, 46, .85); box-shadow: inset 0 0 0 1px rgba(255, 115, 0, .4); white-space: nowrap; }
.gpin small { display: block; font: 600 9px/1.2 var(--display); letter-spacing: .14em; color: var(--orange); margin-top: 2px; }
@media (prefers-reduced-motion: reduce) { .globe-ring, .v-type, .v-beam, .v-meter div i { animation: none; } }
.hero-shb { width: clamp(170px, 17vw, 250px); top: calc(var(--header-h) + 30px); }
@media (max-width: 860px) { .hero-shb { width: 84px; top: calc(var(--header-h) + 14px); } }
.bento-card.b1, .bento-card.b4 { align-items: stretch; }
.bento-card.b1 .bento-meta, .bento-card.b4 .bento-meta { align-self: center; }
.v-flags { flex-wrap: nowrap; }
.v-flags i { width: 40px; height: 40px; font-size: 21px; margin-right: -9px; }
.v-flags .v-more { font-size: 13px; }

/* ==========================================================================
   v5 — Warrior membership card
   ========================================================================== */
.wcard-stage { perspective: 1100px; display: grid; place-items: center; width: 100%; }
.wcard {
  --rx: 0deg; --ry: 0deg; --mx: 50%; --my: 50%;
  position: relative; isolation: isolate; overflow: hidden;
  width: 100%; max-width: 470px; aspect-ratio: 1.586; margin: 0 auto;
  padding: clamp(16px, 4.2%, 24px) clamp(16px, 4.6%, 26px);
  display: grid; grid-template-rows: auto 1fr auto auto; gap: 0;
  border-radius: 22px; color: var(--white);
  background:
    radial-gradient(120% 90% at 100% 100%, rgba(255, 115, 0, .38), transparent 55%),
    radial-gradient(90% 80% at 0% 0%, rgba(59, 62, 149, .95), transparent 60%),
    linear-gradient(150deg, #2E3079 0%, #191b5e 45%, #0b0c2e 100%);
  box-shadow:
    0 50px 90px -30px rgba(0, 0, 0, .8),
    0 18px 40px -20px rgba(255, 115, 0, .35),
    inset 0 0 0 1px rgba(245, 245, 247, .14),
    inset 0 1px 0 rgba(255, 255, 255, .22);
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  transform-style: preserve-3d;
  transition: transform .6s var(--ease), box-shadow .4s;
}
.wcard.is-tilting { transition: transform .08s linear; }
.wcard::before {                 /* fine guilloché lines, like a real card */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: repeating-radial-gradient(circle at 115% 120%, transparent 0 14px, rgba(245, 245, 247, .035) 14px 15px);
  transform: none; width: auto; height: auto; top: 0; right: 0;
}
.wcard::after {                  /* orange edge along the bottom */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; top: auto; height: 4px; z-index: 2;
  background: linear-gradient(90deg, transparent, var(--orange) 25%, #ffb066 50%, var(--orange) 75%, transparent);
}
.wc-mark { position: absolute; z-index: -1; right: -18%; top: 50%; width: 78%; height: auto; transform: translateY(-50%) rotate(-12deg); opacity: .13; filter: saturate(.6); pointer-events: none; }
.wc-shine {
  position: absolute; inset: -1px; z-index: 3; pointer-events: none; border-radius: inherit; mix-blend-mode: soft-light;
  background:
    radial-gradient(60% 70% at var(--mx) var(--my), rgba(255, 255, 255, .55), transparent 60%),
    linear-gradient(115deg, transparent 30%, rgba(255, 200, 140, .35) 45%, rgba(140, 170, 255, .35) 52%, transparent 66%);
  background-size: 100% 100%, 240% 100%;
  background-position: 0 0, calc(var(--mx) * 1.2) 0;
  opacity: .55; transition: opacity .4s;
  animation: wc-sheen 7s ease-in-out infinite;
}
.wcard.is-tilting .wc-shine { opacity: .9; animation: none; }
@keyframes wc-sheen { 0%, 100% { background-position: 0 0, 110% 0; } 50% { background-position: 0 0, -10% 0; } }

.wc-top { display: flex; align-items: center; gap: 11px; }
.wc-badge { width: clamp(42px, 12%, 54px); height: auto; aspect-ratio: 1; border-radius: 50%; filter: drop-shadow(0 6px 12px rgba(0, 0, 0, .45)); flex: none; }
.wc-title { flex: 1; min-width: 0; line-height: 1.1; }
.wc-title b { display: block; font: 800 clamp(15px, 4.2vw, 19px)/1 var(--display); letter-spacing: .06em; text-transform: uppercase; }
.wc-title span { display: block; margin-top: 4px; font: 600 clamp(8.5px, 2.2vw, 10.5px)/1.2 var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--orange); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wc-club { width: clamp(30px, 8.5%, 38px); height: auto; flex: none; filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .4)); }

.wc-mid { display: flex; align-items: center; gap: 12px; align-self: center; }
.wc-chip {
  position: relative; width: clamp(38px, 11%, 50px); aspect-ratio: 1.3; border-radius: 7px; flex: none;
  background: linear-gradient(135deg, #ffd29a 0%, #f2a64b 35%, #ffcf8f 55%, #c9771f 100%);
  box-shadow: inset 0 0 0 1px rgba(90, 45, 0, .35), 0 2px 6px rgba(0, 0, 0, .35);
  overflow: hidden;
}
.wc-chip i { position: absolute; background: rgba(110, 55, 0, .38); }
.wc-chip i:nth-child(1) { left: 0; right: 0; top: 33%; height: 1px; }
.wc-chip i:nth-child(2) { left: 0; right: 0; top: 66%; height: 1px; }
.wc-chip i:nth-child(3) { top: 0; bottom: 0; left: 50%; width: 1px; }
.wc-season { font: 700 clamp(9px, 2.4vw, 11px)/1 var(--display); letter-spacing: .2em; text-transform: uppercase; color: rgba(245, 245, 247, .7); padding: 5px 9px; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(245, 245, 247, .2); background: rgba(11, 12, 46, .35); }

.wc-bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.wc-holder { min-width: 0; }
.wc-holder small { display: block; font: 700 clamp(8px, 2.1vw, 10px)/1 var(--display); letter-spacing: .2em; text-transform: uppercase; color: rgba(245, 245, 247, .55); }
.wc-no {
  display: block; margin-top: 4px;
  font: 800 clamp(22px, 6.4vw, 30px)/1 var(--display); letter-spacing: .16em; font-variant-numeric: tabular-nums;
  color: #fff; text-shadow: 0 1px 0 rgba(255, 255, 255, .35), 0 -1px 0 rgba(0, 0, 0, .55), 0 3px 10px rgba(0, 0, 0, .4);   /* embossed */
}
.wc-name { display: block; margin-top: 6px; font: 700 clamp(13px, 3.6vw, 17px)/1.1 var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--silver); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.wc-nat { display: flex; flex-direction: column; align-items: center; gap: 5px; flex: none; }
.wc-flag { width: clamp(34px, 9.5%, 44px); aspect-ratio: 1; display: grid; place-items: center; font-size: clamp(20px, 5.6vw, 26px); border-radius: 50%; background: rgba(11, 12, 46, .55); box-shadow: inset 0 0 0 1.5px rgba(255, 115, 0, .55); }
.wc-nat small { font: 700 clamp(8px, 2vw, 9.5px)/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: rgba(245, 245, 247, .6); white-space: nowrap; }
.wc-foot { display: flex; align-items: center; gap: 6px; margin-top: 9px; padding-top: 8px; border-top: 1px solid rgba(245, 245, 247, .1); font: 600 clamp(8px, 2vw, 9.5px)/1 var(--display); letter-spacing: .18em; text-transform: uppercase; color: rgba(245, 245, 247, .55); }
.wc-foot img { width: 16px; height: 16px; }

#membership .wcard-stage .wcard { transform: rotateX(var(--rx)) rotateY(var(--ry)) rotate(-4deg); }
#membership .wcard-stage .wcard.is-tilting { transform: rotateX(var(--rx)) rotateY(var(--ry)); }
@media (prefers-reduced-motion: reduce) { .wc-shine { animation: none; } }
html.static .wc-shine { animation: none; }
#membership .wcard { max-width: 520px; }
@media (max-width: 600px) { #membership .wcard-stage .wcard { width: 94%; transform: rotateX(var(--rx)) rotateY(var(--ry)) rotate(-2deg); } }

/* ==========================================================================
   v6 — real icons instead of emoji
   ========================================================================== */
.flag { display: inline-block; width: 1.34em; height: 1em; object-fit: cover; border-radius: 3px; vertical-align: -0.14em; box-shadow: 0 0 0 1px rgba(245, 245, 247, .16); background: rgba(245, 245, 247, .08); }
.flag-sq { width: 1em; height: 1em; border-radius: 50%; }
.flag-none { width: 1.34em; height: 1em; }
.arrow { display: inline-flex; align-items: center; }
.arrow svg { width: 1.1em; height: 1.1em; display: block; }
.ico-check { width: 1.05em; height: 1.05em; display: inline-block; vertical-align: -0.18em; }
.link-ico { display: inline-flex; align-items: center; gap: 6px; }
.link-ico svg { width: 16px; height: 16px; }
/* contexts */
.combo-flag { top: 50%; transform: translateY(-50%); display: flex; align-items: center; font-size: 18px; color: var(--faint); }
.combo-flag svg { width: 20px; height: 20px; }
.combo-list li span { display: inline-flex; font-size: 18px; }
.gn-flag { display: inline-flex; font-size: 17px; }
.gtip-flag { display: inline-flex; font-size: 30px; }
.gtip-flag .flag-sq { box-shadow: 0 0 0 2px rgba(255, 115, 0, .6); }
.wc-flag { overflow: hidden; padding: 3px; }
.wc-flag .flag-sq { width: 100%; height: 100%; box-shadow: none; }
.v-flags i { overflow: hidden; padding: 0; }
.v-flags i .flag-sq { width: 100%; height: 100%; box-shadow: none; }
.v-field .flag { margin-right: 4px; }
.v-ok, .v-in { display: inline-flex; align-items: center; gap: 5px; }
.ticket-grid dd .flag { font-size: .85em; margin-left: 4px; }
.my-ticket .flag, .feed .flag, .barrow .flag { font-size: 16px; }
/* marquee star, drawn instead of the ★ glyph */
.marquee span::after { content: ""; display: inline-block; width: .55em; height: .55em; margin-left: 28px; vertical-align: .12em; background: currentColor; clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); padding: 0; }
.tbadge.crest-img { border-radius: 0; object-fit: contain; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .35)); }
.mini-badge { width: 26px; height: 26px; vertical-align: middle; margin-right: 8px; }
.mini-badge.ini { display: inline-grid; font-size: 10px; }

/* v7 — crests: no background, no halo, identical box for SHB and opponents */
img.tbadge, .tbadge.crest-img { filter: none; border-radius: 0; object-fit: contain; background: none; box-shadow: none; }
.teams .tbadge { width: 44px; height: 44px; }
.match-main .teams .tbadge { width: 38px; height: 38px; }
.ticket .teams .tbadge { width: 40px; height: 40px; }
@media (max-width: 480px) { .teams .tbadge, .match-main .teams .tbadge, .ticket .teams .tbadge { width: 32px; height: 32px; } }

/* ==========================================================================
   v8 — flags in the language switch, mobile sheet nav, members-only,
        onboarding, inner-page polish
   ========================================================================== */
/* language switch */
.lang button { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px 5px 6px; }
.lang .flag-sq { font-size: 15px; box-shadow: 0 0 0 1px rgba(245, 245, 247, .25); }
.lang button[aria-pressed="true"] .flag-sq { box-shadow: 0 0 0 1px rgba(20, 22, 74, .25); }
.lang-lg { display: none; }

/* desktop nav: icons + descriptions only show in the mobile sheet */
.nav .nav-ico, .nav small, .nav .nav-go, .nav-sheet-foot { display: none; }
.nav .nav-txt b { font: inherit; }

@media (max-width: 900px) {
  /* language switch stays in the header on phones: compact flags, no menu needed */
  .lang-head { display: inline-flex; margin-left: auto; margin-right: 6px; padding: 2px; }
  .lang-head button { padding: 5px 7px; gap: 0; }
  .lang-head button span { display: none; }
  .lang-head .flag-sq { font-size: 17px; }
  .nav {
    inset: var(--header-h) 0 0 0; height: calc(100dvh - var(--header-h));
    padding: 18px var(--gutter) calc(20px + env(safe-area-inset-bottom));
    display: flex; flex-direction: column; gap: 8px; overflow-y: auto; overscroll-behavior: contain;
    background:
      radial-gradient(80% 50% at 100% 100%, rgba(255, 115, 0, .22), transparent 60%),
      radial-gradient(70% 50% at 0% 0%, rgba(59, 62, 149, .55), transparent 60%),
      var(--ink);
    border-bottom: 0; transform: translateY(-12px);
  }
  .nav::before { content: ""; position: absolute; right: -90px; bottom: 60px; width: 300px; height: 300px; background: url(../img/warriors-crest.webp) center / contain no-repeat; opacity: .07; pointer-events: none; }
  .nav a:not(.btn) {
    position: relative; display: grid; grid-template-columns: 46px 1fr auto; align-items: center; gap: 14px;
    padding: 14px; border: 0; border-radius: 18px; flex-shrink: 0;
    background: rgba(245, 245, 247, .04); box-shadow: inset 0 0 0 1px var(--line);
    font: inherit; letter-spacing: 0; text-transform: none; color: var(--white);
    opacity: 0; transform: translateY(10px); transition: opacity .35s var(--ease), transform .35s var(--ease), background .2s;
    transition-delay: calc(var(--i) * 45ms);
  }
  .menu-open .nav a:not(.btn) { opacity: 1; transform: none; }
  .nav a:not(.btn)[aria-current="page"] { background: rgba(255, 115, 0, .1); box-shadow: inset 0 0 0 1.5px rgba(255, 115, 0, .55); color: var(--white); }
  .nav .nav-ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: rgba(255, 115, 0, .12); color: var(--orange); }
  .nav .nav-ico svg { width: 22px; height: 22px; }
  .nav .nav-txt { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
  .nav .nav-txt b { font: 800 22px/1 var(--display); letter-spacing: .04em; text-transform: uppercase; }
  .nav small { display: block; font-size: 13px; color: var(--muted); }
  .nav .nav-go { display: block; color: var(--faint); }
  .nav .nav-go svg { width: 20px; height: 20px; }
  .nav-sheet-foot { display: grid; gap: 12px; margin-top: auto; padding-top: 18px; }
  .nav .btn { margin-top: 0; }
  .lang-lg { display: flex; padding: 4px; border-radius: 16px; background: rgba(245, 245, 247, .04); }
  .lang-lg button { flex: 1; justify-content: center; padding: 12px; border-radius: 12px; font-size: 14px; }
  .lang-lg .flag-sq { font-size: 20px; }
  .nav-note { margin: 0; text-align: center; font-size: 12.5px; color: var(--faint); }
  body.menu-open { overflow: hidden; }
  .site-header { z-index: 70; }
  .menu-open .site-header { background: var(--ink); border-bottom-color: var(--line); }
}

/* members only */
.members-only {
  display: flex; align-items: center; flex-wrap: wrap; gap: 12px 14px; margin-top: 22px; max-width: 760px;
  padding: 14px 16px; border-radius: 16px;
  background: rgba(255, 115, 0, .1); box-shadow: inset 0 0 0 1px rgba(255, 115, 0, .4);
  color: var(--white); font-size: 15px;
}
.members-only svg { width: 22px; height: 22px; flex: none; color: var(--orange); }
.members-only span { flex: 1; min-width: 200px; color: rgba(245, 245, 247, .85); }
.members-only b { color: var(--white); }
.mo-tag { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font: 700 11px/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--orange); }
.mo-tag svg { width: 13px; height: 13px; }

/* stepper with numbers */
.stepper li { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.stepper li::before { flex-basis: 100%; }
.stepper li i { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font: 800 12px/1 var(--display); font-style: normal; background: rgba(245, 245, 247, .1); color: var(--muted); }
.stepper li.on i { background: var(--orange); color: var(--ink); }
.stepper li.done i { background: rgba(51, 209, 122, .2); color: #7ff0ae; }

/* live card preview on the join page */
.preview { margin-top: 16px; }
.preview-label { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font: 700 12px/1 var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.live-dot-o { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(255, 115, 0, .2); animation: pulse 1.6s infinite; }
.preview.is-member .preview-label { color: #7ff0ae; }
.preview.is-member .live-dot-o { background: var(--ok); box-shadow: 0 0 0 4px rgba(51, 209, 122, .2); }
.preview .wcard { max-width: 380px; }
.perks-panel { margin-top: 18px; }
@media (max-width: 960px) {
  .flow-aside .aside-card { position: static; }
  .flow-aside .perks-panel { display: none; }
  .preview .wcard { max-width: 340px; }
}

/* welcome after joining */
.active-strip { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; padding: 12px 14px; border-radius: 14px; background: rgba(51, 209, 122, .12); box-shadow: inset 0 0 0 1px rgba(51, 209, 122, .35); color: #9ef5c3; }
.active-strip b { font: 800 15px/1 var(--display); letter-spacing: .1em; text-transform: uppercase; color: #fff; }
.active-strip span { margin-left: auto; font: 700 14px/1 var(--display); letter-spacing: .14em; }
.card-reveal .wcard { animation: card-in 1.1s var(--ease) both; }
@keyframes card-in { from { opacity: 0; transform: rotateY(-70deg) translateY(20px) scale(.9); } }

/* inner page heroes: Warriors badge watermark */
.page-hero::before { background-image: url(../img/warriors-crest.webp); opacity: .08; right: -60px; top: 30px; width: 380px; height: 380px; transform: rotate(-10deg); }
@media (max-width: 640px) { .page-hero::before { width: 220px; height: 220px; right: -60px; top: 50px; } }

/* privacy layout */
.pv-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.pv-toc { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 2px; padding: 14px; border-radius: 18px; background: rgba(245, 245, 247, .035); box-shadow: inset 0 0 0 1px var(--line); }
.pv-toc p { margin: 0 0 8px; font: 700 12px/1 var(--display); letter-spacing: .18em; text-transform: uppercase; color: var(--orange); }
.pv-toc a { padding: 8px 10px; border-radius: 10px; text-decoration: none; font-size: 14px; color: var(--muted); }
.pv-toc a:hover { background: rgba(245, 245, 247, .06); color: var(--white); }
.pv-body { max-width: 780px; display: grid; gap: 14px; }
.pv-card { position: relative; padding: 24px 26px 10px; border-radius: 20px; background: linear-gradient(160deg, rgba(46, 48, 121, .38), rgba(26, 28, 92, .2)); box-shadow: inset 0 0 0 1px var(--line); scroll-margin-top: calc(var(--header-h) + 20px); }
.pv-card h2 { margin: 0 0 12px; font-size: clamp(24px, 3vw, 30px); }
.pv-n { position: absolute; right: 22px; top: 18px; font: 800 italic 34px/1 var(--display); color: transparent; -webkit-text-stroke: 1px rgba(255, 115, 0, .45); }
.pv-updated { margin-top: 6px; }
@media (max-width: 860px) {
  .pv-layout { grid-template-columns: 1fr; }
  .pv-toc { position: static; display: flex; flex-wrap: wrap; gap: 6px; }
  .pv-toc p { width: 100%; }
  .pv-toc a { padding: 7px 11px; background: rgba(245, 245, 247, .05); font-size: 13px; }
}
.find-ticket { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 70px); align-items: center; padding: clamp(20px, 5vw, 60px) 0; }
.find-ticket h1 { font-size: clamp(46px, 7vw, 86px); margin: 14px 0 16px; }
.find-ticket .wcard { transform: rotateX(var(--rx)) rotateY(var(--ry)) rotate(-4deg); }
.find-ticket .members-only { margin-top: 26px; }
@media (max-width: 860px) { .find-ticket { grid-template-columns: 1fr; } .find-card { max-width: 380px; width: 100%; margin: 0 auto; } }
@media (max-width: 900px) { .nav a.btn { color: var(--ink); font: 800 17px/1 var(--display); letter-spacing: .1em; text-transform: uppercase; padding: 0 26px; border-bottom: 0; } }
@media (max-width: 560px) {
  .match-main .teams { grid-template-columns: 1fr; gap: 6px; }
  .match-main .teams .vs { font-size: 13px; padding-left: 4px; }
  .match-main .team.away { flex-direction: row-reverse; justify-content: flex-end; }
  .match-main .team { font-size: 22px; }
}

/* ==========================================================================
   v9 — mobile optimisation
   ========================================================================== */
/* sticky ticket bar (phones only) */
.sticky-cta { display: none; }
@media (max-width: 760px) {
  .sticky-cta {
    position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 55;
    display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 10px; border-radius: 18px;
    background: rgba(11, 12, 46, .92); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .5), inset 0 0 0 1px rgba(255, 115, 0, .35);
    transform: translateY(140%); opacity: 0; transition: transform .35s var(--ease), opacity .25s;
  }
  .sticky-cta.show { transform: none; opacity: 1; }
  .sticky-cta img { width: 36px; height: 36px; border-radius: 50%; flex: none; }
  .sticky-cta span { flex: 1; min-width: 0; line-height: 1.15; }
  .sticky-cta b { display: block; font: 800 15px/1.1 var(--display); letter-spacing: .06em; text-transform: uppercase; }
  .sticky-cta small { display: block; font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .sticky-cta .btn { flex: none; min-height: 44px; }
  .demo-ribbon { bottom: calc(76px + env(safe-area-inset-bottom)); }
}

@media (max-width: 900px) {
  /* scrolling performance: no full-screen grain repaint, lighter glass */
  body::after { display: none; }
  .fixture, .bento-card, .panel, .match-row, .stat, .gstats div { -webkit-backdrop-filter: none; backdrop-filter: none; }
  .fixture { background: linear-gradient(160deg, #2a2d78 0%, #181a58 100%); }
  .hero-shb { animation: none; }
  .globe-ring { animation: none; }
  .wc-shine { animation-duration: 10s; }

  /* comfortable tap targets */
  .brand-idn { min-height: 44px; }
  .pv-toc a { min-height: 40px; display: inline-flex; align-items: center; }
  .footer-grid a { padding: 9px 0; }
  .faq summary { padding-top: 18px; padding-bottom: 18px; }
  .check { padding: 4px 0; }
  .gnation { min-height: 44px; }
}

@media (max-width: 480px) {
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 28px; }
  h2 { font-size: clamp(36px, 10.5vw, 48px); }
  .hero { padding-bottom: 36px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .page-hero { padding-bottom: 30px; }
  .page-hero h1 { font-size: clamp(44px, 13vw, 64px); }
  .members-only { padding: 12px 14px; font-size: 14px; }
  .members-only .btn { width: 100%; }
  .panel { padding: 18px 16px; border-radius: 18px; }
  .ticket-actions .row { flex-direction: column; }
  .cta-band h2 { font-size: 40px; }
  .cta-band .btn { width: 100%; }
  .foot-lockup { gap: 12px; }
  .foot-lockup b { font-size: 20px; }
  .footer-grid { gap: 22px; }
}
@media (max-width: 480px) { .preview .wcard { max-width: 290px; } .preview-label { justify-content: center; } .page-hero .members-only { margin-top: 16px; } }

/* ==========================================================================
   v10 — hero photo, mobile polish
   ========================================================================== */
/* hero photo (img/hero.jpg): full-bleed, darkened so the type stays readable */
.hero.has-photo .hero-photo { opacity: 1; mix-blend-mode: normal; background-size: cover; background-position: center 30%; }
.hero.has-photo .hero-photo::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 12, 46, .55) 0%, rgba(11, 12, 46, .35) 35%, rgba(11, 12, 46, .82) 75%, var(--ink) 100%),
    linear-gradient(90deg, rgba(11, 12, 46, .85) 0%, rgba(11, 12, 46, .2) 70%);
}
.hero.has-photo::before, .hero.has-photo::after { opacity: .5; }
.hero.has-photo .hero-stripe { opacity: .55; }
@media (max-width: 760px) {
  .hero.has-photo .hero-photo { background-position: 60% 20%; }
  .hero.has-photo .hero-photo::after { background: linear-gradient(180deg, rgba(11, 12, 46, .5) 0%, rgba(11, 12, 46, .7) 45%, rgba(11, 12, 46, .95) 80%, var(--ink) 100%); }
}

/* membership card: the member number never wraps */
.wc-no { white-space: nowrap; }
@media (max-width: 480px) {
  .wc-no { letter-spacing: .1em; font-size: clamp(19px, 6vw, 26px); }
  .wc-title span { letter-spacing: .1em; }
}

/* footer on phones: one centred lockup, then two link columns */
@media (max-width: 640px) {
  .foot-lockup { flex-direction: column; text-align: center; gap: 10px; padding-bottom: 26px; margin-bottom: 26px; }
  .foot-lockup > img:first-child, .foot-lockup .x, .foot-lockup > img + .x + img { display: inline-block; }
  .foot-lockup { display: grid; grid-template-columns: auto auto auto; justify-content: center; align-items: center; }
  .foot-lockup > div:not(.foot-shb) { grid-column: 1 / -1; margin: 6px 0 0; align-items: center; }
  .foot-lockup .foot-shb { grid-column: 1 / -1; justify-content: center; margin: 4px 0 0; width: auto; }
  .foot-lockup .foot-shb img { width: 44px; height: 44px; }
  .footer-grid > :first-child { text-align: center; }
  .footer-grid > :first-child .powered { margin-left: auto; margin-right: auto; }
  .disclaimer { text-align: center; }
}

/* gate scanner login: give it presence on phones */
@media (max-width: 480px) {
  .gate .panel { padding: 26px 20px; }
  .gate-lockup img:first-child { width: 56px; height: 56px; }
}
.wc-holder small { white-space: nowrap; }
@media (max-width: 480px) {
  .wcard { aspect-ratio: 1.42; }
  .wc-chip { width: 34px; }
  .wc-mid { gap: 8px; }
  .wc-foot { margin-top: 6px; padding-top: 6px; }
}
.wc-holder { flex: 1 1 auto; min-width: 0; }
.wc-name { width: 100%; }
.wc-flag { width: 42px; height: 42px; flex: none; }
.wc-nat { flex: none; max-width: 45%; }
@media (max-width: 480px) { .wc-flag { width: 36px; height: 36px; } }
/* hero photo tuning for the Chi Lăng fan-end shot: show the stands, keep the sky + watermark dark */
.hero.has-photo .hero-photo { background-position: center 78%; }
.hero.has-photo .hero-photo::after {
  background:
    linear-gradient(180deg, rgba(11, 12, 46, .82) 0%, rgba(11, 12, 46, .45) 26%, rgba(11, 12, 46, .18) 52%, rgba(11, 12, 46, .7) 82%, var(--ink) 100%),
    linear-gradient(90deg, rgba(11, 12, 46, .88) 0%, rgba(11, 12, 46, .55) 38%, rgba(11, 12, 46, 0) 70%);
}
.hero.has-photo .hero-shb .shb-glow { background: radial-gradient(circle, rgba(11, 12, 46, .85) 30%, rgba(255, 115, 0, .3) 55%, transparent 70%); }
@media (max-width: 760px) {
  .hero.has-photo .hero-photo { background-position: center 40%; }
  .hero.has-photo .hero-photo::after { background: linear-gradient(180deg, rgba(11, 12, 46, .7) 0%, rgba(11, 12, 46, .5) 30%, rgba(11, 12, 46, .78) 60%, rgba(11, 12, 46, .95) 85%, var(--ink) 100%); }
}
@media (max-width: 760px) { .hero.has-photo .hero-photo::after { background: linear-gradient(180deg, rgba(11, 12, 46, .55) 0%, rgba(11, 12, 46, .3) 28%, rgba(11, 12, 46, .62) 55%, rgba(11, 12, 46, .92) 82%, var(--ink) 100%); } }


/* ==========================================================================
   v12 — "Together for Da Nang" pop-up
   ========================================================================== */
.promo {
  position: fixed; inset: 0; z-index: 120; display: grid; place-items: center;
  padding: max(16px, env(safe-area-inset-top)) 16px max(16px, env(safe-area-inset-bottom));
  background: rgba(5, 6, 24, .72); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  opacity: 0; transition: opacity .3s var(--ease);
}
.promo.open { opacity: 1; }
.promo-card {
  position: relative; width: min(460px, 100%); max-height: calc(100svh - 32px);
  display: flex; flex-direction: column; border-radius: 22px; overflow: hidden;
  background: var(--ink); box-shadow: 0 40px 120px -20px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 115, 0, .35);
  transform: translateY(18px) scale(.96); transition: transform .45s var(--ease);
}
.promo.open .promo-card { transform: none; }
.promo-card img { display: block; width: 100%; height: auto; min-height: 0; flex: 1 1 auto; object-fit: contain; background: #0b0c2e; }
.promo-actions { padding: 12px; background: var(--ink); }
.promo-actions .btn { width: 100%; }
.promo-x {
  position: absolute; top: 10px; right: 10px; z-index: 2; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; border: 0; cursor: pointer;
  background: rgba(11, 12, 46, .72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  color: #fff; box-shadow: 0 0 0 1px rgba(245, 245, 247, .25); transition: background .2s, transform .2s var(--ease);
}
.promo-x:hover { background: var(--orange); color: var(--ink); transform: rotate(90deg); }
.promo-x svg { width: 18px; height: 18px; }
body.promo-open { overflow: hidden; }
body.promo-open .sticky-cta { display: none; }
@media (max-height: 700px) { .promo-card { width: min(380px, 100%); } }
@media (prefers-reduced-motion: reduce) { .promo, .promo-card { transition: none; } }

/* ==========================================================================
   v13 — footer lockup, centred at every width
   ========================================================================== */
.foot-brand { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding-bottom: 34px; margin-bottom: 34px; border-bottom: 1px solid var(--line); }
.fb-marks { display: flex; align-items: center; justify-content: center; gap: 16px; margin-bottom: 12px; }
.fb-marks img { width: 64px; height: 64px; border-radius: 50%; flex: none; }
.fb-x { font: 300 24px/1 var(--body); color: var(--faint); }
.fb-rule { width: 1px; height: 44px; background: var(--line-2); margin: 0 4px; }
.foot-brand b { font: 800 26px/1 var(--display); letter-spacing: .05em; text-transform: uppercase; color: var(--white); }
.foot-brand > span { color: var(--muted); font-size: 14px; }
@media (max-width: 480px) {
  .fb-marks { gap: 12px; }
  .fb-marks img { width: 54px; height: 54px; }
  .fb-rule { height: 38px; }
  .foot-brand b { font-size: 22px; }
}
.foot-brand > span { text-wrap: balance; max-width: 34em; }

/* ==========================================================================
   v14 — hero headline: supporters' scarf + the terrace chant
   ========================================================================== */
.scarf {
  --navy-k: #1b1d63;
  display: flex; align-items: stretch; width: min(100%, 760px); margin: 6px 0 26px -6px;
  transform: rotate(-3deg); transform-origin: 10% 50%;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .45));
  animation: scarf-sway 6s ease-in-out infinite;
}
@keyframes scarf-sway { 0%, 100% { transform: rotate(-3deg) skewY(0deg); } 50% { transform: rotate(-2deg) skewY(-.6deg); } }
.scarf-body {
  flex: 1; display: grid; place-items: center; position: relative; overflow: hidden;
  height: clamp(58px, 7.4vw, 92px); padding: 0 clamp(18px, 3vw, 40px);
  background:
    /* knit: fine vertical ribs + horizontal rows */
    repeating-linear-gradient(90deg, rgba(0, 0, 0, .07) 0 2px, transparent 2px 5px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .05) 0 1px, transparent 1px 4px),
    /* navy + white edge stripes, orange body */
    linear-gradient(180deg, var(--navy-k) 0 13%, #f5f5f7 13% 16%, var(--orange) 16% 84%, #f5f5f7 84% 87%, var(--navy-k) 87% 100%);
}
/* navy end-blocks with a white bar, like a real scarf's ends */
.scarf-body::before, .scarf-body::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: clamp(18px, 2.4vw, 30px);
  background: repeating-linear-gradient(90deg, rgba(0, 0, 0, .1) 0 2px, transparent 2px 5px),
              linear-gradient(90deg, var(--navy-k) 0 40%, #f5f5f7 40% 52%, var(--navy-k) 52% 100%);
}
.scarf-body::before { left: 0; } .scarf-body::after { right: 0; transform: scaleX(-1); }
.scarf-txt {
  display: inline-flex; align-items: center; gap: .45em; white-space: nowrap;
  font: 800 clamp(24px, 3.6vw, 44px)/1 var(--display); letter-spacing: .1em; text-transform: uppercase;
  color: var(--navy-k); text-shadow: 0 1px 0 rgba(255, 255, 255, .25);
}
.scarf-txt svg { width: .7em; height: .7em; fill: #f5f5f7; filter: drop-shadow(0 1px 0 rgba(0, 0, 0, .25)); }
.scarf-fringe { width: clamp(12px, 1.6vw, 20px); align-self: center; height: 80%;
  background: repeating-linear-gradient(180deg, var(--navy-k) 0 3px, transparent 3px 6px); }
.scarf-fringe.l { -webkit-mask: linear-gradient(90deg, transparent, #000 70%); mask: linear-gradient(90deg, transparent, #000 70%); }
.scarf-fringe.r { -webkit-mask: linear-gradient(270deg, transparent, #000 70%); mask: linear-gradient(270deg, transparent, #000 70%); }

.chant { margin: 0; }
.chant-main { display: block; font: 800 italic clamp(58px, 10.5vw, 150px)/.86 var(--display); text-transform: uppercase; letter-spacing: -.005em; color: var(--white); }
.chant-main em { font-style: italic; background: linear-gradient(100deg, #ffad66 0%, var(--orange) 45%, #ff5500 100%); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 10px 40px rgba(255, 115, 0, .35)); padding-right: .06em; }
.chant-tr { display: block; margin-top: 14px; font: 500 italic clamp(14px, 1.4vw, 17px)/1.4 var(--body); color: rgba(245, 245, 247, .7); letter-spacing: 0; text-transform: none; }
html[lang="vi"] .chant-tr { color: rgba(245, 245, 247, .6); }
@media (max-width: 480px) {
  .scarf { margin-bottom: 20px; }
  .scarf-txt { font-size: 22px; letter-spacing: .08em; }
  .chant-main { font-size: clamp(54px, 16vw, 72px); }
}
@media (prefers-reduced-motion: reduce) { .scarf { animation: none; } }
html.static .scarf { animation: none; }
.chant-main { line-height: 1.02; padding-top: .06em; }
.chant-main em { display: inline-block; padding-top: .08em; }
.chant-main em { color: transparent; }
.chant-tr { font-style: normal; font-size: clamp(15px, 1.5vw, 18px); color: rgba(245, 245, 247, .78); }

/* ==========================================================================
   v15 — membership page (card, details, tickets)
   ========================================================================== */
.member-page { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.mp-side { display: grid; gap: 18px; }
.mp-details { border-radius: 20px; padding: 20px; background: linear-gradient(160deg, rgba(46, 48, 121, .4), rgba(26, 28, 92, .22)); box-shadow: inset 0 0 0 1px var(--line); }
.mp-hd { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.mp-hd h3 { font-size: 22px; }
.mp-details dl { margin: 0; display: grid; gap: 0; }
.mp-details dl > div { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.mp-details dl > div:last-child { border-bottom: 0; }
.mp-details dt { color: var(--faint); font: 700 11px/1.6 var(--display); letter-spacing: .14em; text-transform: uppercase; }
.mp-details dd { margin: 0; color: var(--white); word-break: break-word; }
.mp-actions { display: flex; gap: 10px; margin-top: 16px; }
.mp-actions > * { flex: 1; }
.mp-title { font-size: clamp(44px, 6vw, 76px); margin: 14px 0 6px; }
@media (max-width: 900px) { .member-page { grid-template-columns: 1fr; } .mp-side .wcard { max-width: 400px; } }
@media (max-width: 480px) { .mp-details dl > div { grid-template-columns: 108px minmax(0, 1fr); } }
.mp-head { margin-bottom: clamp(20px, 3vw, 32px); }
.mp-head .mp-title { margin: 12px 0 0; }
.mp-sub { font-size: clamp(26px, 3vw, 34px); margin: 0 0 6px; }
@media (max-width: 900px) { .nav a.btn { border-radius: 999px; } }

/* v16 — onboarding profile + invites */
.field input[type="date"] { color-scheme: dark; appearance: none; -webkit-appearance: none; display: block; }
.field input[type="date"]::-webkit-date-and-time-value { text-align: left; }
.field.invalid select { border-color: var(--bad); }
#f-ref { text-transform: uppercase; letter-spacing: .12em; font-family: var(--display); font-weight: 700; }
#f-ref::placeholder { text-transform: none; letter-spacing: 0; font-family: inherit; font-weight: 400; }
.field .hint.ok { color: #7fe3ad; }
.field .hint b { color: var(--white); }
.seg { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.seg label { position: relative; cursor: pointer; margin: 0; display: block; letter-spacing: 0; text-transform: none; font: inherit; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: grid; gap: 3px; height: 100%; padding: 12px 12px 11px; border: 1px solid var(--line-2); border-radius: var(--radius-s); background: rgba(11, 12, 46, .6); transition: border-color .2s, background .2s; }
.seg b { font: 700 15px/1.15 var(--display); letter-spacing: .04em; text-transform: uppercase; color: var(--white); }
.seg small { font-size: 12.5px; line-height: 1.3; color: var(--faint); }
.seg label:hover span { border-color: rgba(255, 115, 0, .5); }
.seg input:checked + span { border-color: var(--orange); background: rgba(255, 115, 0, .13); box-shadow: inset 0 0 0 1px var(--orange); }
.seg input:focus-visible + span { outline: 2px solid var(--orange); outline-offset: 2px; }
#stay-field.invalid .seg span { border-color: var(--bad); }
#stay-field.invalid .err { display: block; }
@media (max-width: 720px) { .seg { grid-template-columns: 1fr 1fr; } }

.mp-invite { margin-top: 28px; padding: clamp(20px, 3vw, 28px); border: 1px solid rgba(255, 115, 0, .35); border-radius: var(--radius); background: linear-gradient(140deg, rgba(255, 115, 0, .14), rgba(46, 48, 121, .35) 60%); }
.mp-invite h3 { margin: 0 0 8px; font-size: clamp(24px, 2.6vw, 30px); }
.mp-invite p { margin: 0; color: var(--muted); font-size: 15px; }
.mp-invite p b { color: var(--white); }
.inv-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 18px 0; }
.inv-stats div { padding: 12px 14px; border-radius: var(--radius-s); background: rgba(11, 12, 46, .55); border: 1px solid var(--line); }
.inv-stats b { display: block; font: 800 34px/1 var(--display); color: var(--orange); }
.inv-stats span { font: 700 11px/1.3 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.inv-code { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 10px 10px 16px; border-radius: var(--radius-s); background: rgba(11, 12, 46, .7); border: 1px dashed rgba(255, 115, 0, .6); }
.inv-code small { font: 700 11px/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.inv-code code { flex: 1; font: 800 24px/1 var(--display); letter-spacing: .14em; color: var(--white); }
.inv-link { margin-top: 10px; font-size: 13px; color: var(--faint); word-break: break-all; }
.inv-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.inv-soon { display: inline-flex; margin-top: 14px; font: 700 11px/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--orange); }
.mp-compact .mp-hd { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.mp-email { font-size: 14px; color: var(--muted); overflow-wrap: anywhere; }
.mp-compact .mp-actions { margin-top: 0; }

/* v17 — match-day prep, venue links, physical card */
.venue-link { display: inline-flex; align-items: center; gap: 6px; color: inherit; text-decoration: none; border-bottom: 1px dashed rgba(255, 115, 0, .5); }
.venue-link:hover { color: var(--white); border-bottom-color: var(--orange); }
.vl-out svg { width: 12px; height: 12px; opacity: .7; }
.prep { margin-bottom: 34px; padding: clamp(20px, 3vw, 28px); border-radius: var(--radius); border: 1px solid rgba(255, 115, 0, .35); background: linear-gradient(150deg, rgba(255, 115, 0, .13), rgba(46, 48, 121, .3) 65%); }
.prep h2 { margin: 12px 0 18px; font-size: clamp(30px, 3.4vw, 42px); }
.prep-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.prep-list li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); }
.prep-list li:first-child { border-top: 0; padding-top: 4px; }
.mp-ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 115, 0, .16); color: var(--orange); }
.mp-ico svg { width: 21px; height: 21px; }
.prep-list b { display: block; font: 700 13px/1.2 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--orange); margin-bottom: 5px; }
.prep-list p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.5; }
.prep-list p b { display: inline; font: inherit; font-weight: 700; letter-spacing: 0; text-transform: none; color: var(--white); margin: 0; }
.prep-tip { display: inline-block; margin-top: 6px; font-size: 13.5px; color: var(--faint); }
.prep-map { margin-top: 12px; }
.prep-gate { font: 800 22px/1.1 var(--display); letter-spacing: .04em; text-transform: uppercase; color: var(--white); }
.mp-physical { margin-top: 12px; width: 100%; display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: var(--radius-s); border: 1px dashed var(--line-2); background: transparent; color: var(--faint); font: 700 13px/1.2 var(--display); letter-spacing: .12em; text-transform: uppercase; cursor: not-allowed; text-align: left; }
.mp-physical svg { width: 20px; height: 20px; flex: none; }
.mp-physical span { flex: 1; }
.mp-physical em { font-style: normal; font-size: 10.5px; letter-spacing: .14em; padding: 5px 9px; border-radius: 999px; background: rgba(255, 115, 0, .16); color: var(--orange); }
@media print { .prep { display: none; } }
.prep-mapbox { margin-top: 12px; border-radius: var(--radius-s); overflow: hidden; border: 1px solid var(--line-2); aspect-ratio: 16 / 9; max-height: 220px; width: 100%; background: #1b1d4f; }
.prep-mapbox iframe { width: 100%; height: 100%; border: 0; display: block; filter: saturate(.9); }
.prep-list li > div { min-width: 0; }
