:root {
  --bg: #06111a;
  --bg-deep: #03090e;
  --panel: #0b202e;
  --line: #244658;
  --text: #f3f7f8;
  --muted: #9cb1ba;
  --gold: #efbb50;
  --cyan: #55d8cf;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  background: radial-gradient(circle at 74% 5%, #173a49 0, transparent 34%), linear-gradient(180deg, #071722 0, var(--bg) 28%, var(--bg-deep) 100%);
  color: var(--text);
  font-family: "Noto Sans TC", system-ui, sans-serif;
  line-height: 1.65;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: .1;
  background-image: linear-gradient(120deg, transparent 0 48%, #70aabd 49% 50%, transparent 51%), linear-gradient(20deg, transparent 0 48%, #70aabd 49% 50%, transparent 51%);
  background-size: 190px 190px;
  mask-image: linear-gradient(to bottom, black, transparent 80%);
  pointer-events: none;
}

img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.skip-link { position: fixed; left: 12px; top: -60px; z-index: 20; padding: 8px 12px; background: var(--gold); color: #07131d; }
.skip-link:focus { top: 12px; }
.section, .hero { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(18px, 5vw, 72px);
  border-bottom: 1px solid #23425290;
  background: #06131ddd;
  backdrop-filter: blur(14px);
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 900; letter-spacing: .04em; }
.brand small { display: block; color: #78909b; font: 600 .52rem/1.1 "Barlow Condensed", sans-serif; letter-spacing: .18em; }
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid #efbb5080; border-radius: 50%; background: linear-gradient(145deg, #263a43, #0b1720); color: var(--gold); font: 800 .72rem/1 "Barlow Condensed", sans-serif; box-shadow: inset 0 0 16px #efbb5010; }
.topbar nav { display: flex; gap: 30px; color: #a9bbc4; font-size: .84rem; }
.topbar nav a { display: inline-flex; align-items: center; min-height: 44px; white-space: nowrap; transition: color .2s; }
.topbar nav .nav-play { color: var(--gold); font-weight: 900; }
.topbar nav a:hover { color: #fff; }
.header-cta { padding: 8px 16px; border-radius: 999px; background: var(--gold); color: #0b1720; font-size: .83rem; font-weight: 900; }

.hero { min-height: 680px; display: grid; grid-template-columns: .9fr 1.2fr; align-items: center; gap: 58px; padding: 82px 0; }
.eyebrow { margin: 0 0 14px; color: var(--gold); font: 800 .76rem/1.3 "Barlow Condensed", "Noto Sans TC", sans-serif; letter-spacing: .2em; }
.hero h1 { margin: 0 0 24px; font-size: clamp(2.8rem, 5.4vw, 5.5rem); line-height: 1.03; letter-spacing: -.065em; }
.hero h1 em { color: var(--cyan); font-style: normal; }
.lead { max-width: 530px; margin: 0; color: var(--muted); font-size: 1.08rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 18px; min-height: 48px; padding: 12px 21px; border: 1px solid var(--line); border-radius: 999px; font-weight: 800; transition: transform .2s, border-color .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button.primary { border-color: var(--gold); background: var(--gold); color: #13202a; box-shadow: 0 8px 30px #efbb5025; }
.button.secondary { background: #102b3a; }
.hero-proof { display: flex; gap: 25px; margin-top: 34px; color: #7f99a5; font-size: .78rem; }
.hero-proof span { display: flex; align-items: baseline; gap: 6px; }
.hero-proof strong { color: #fff; font: 800 1.4rem/1 "Barlow Condensed", sans-serif; }
.hero-stage { position: relative; }
.stage-label { position: absolute; z-index: 2; top: -13px; left: 22px; padding: 5px 12px; border: 1px solid #efbb5070; border-radius: 999px; background: #071521; color: var(--gold); font-size: .68rem; font-weight: 700; letter-spacing: .08em; }
.hero-art { position: relative; z-index: 1; padding: 8px; border: 1px solid #efbb5070; border-radius: 18px; background: #091923; box-shadow: 0 28px 100px #000b; transform: perspective(1000px) rotateY(-3deg); }
.hero-art::after { content: ""; position: absolute; inset: 8px; border-radius: 11px; box-shadow: inset 0 0 0 1px #ffffff14; pointer-events: none; }
.hero-art img { display: block; width: 100%; border-radius: 11px; }
.hero-glow { position: absolute; inset: 15% 5% -20%; background: #1bafa040; filter: blur(70px); }

.league-strip { overflow: hidden; border-block: 1px solid #24465880; background: #091923cc; }
.league-strip div { width: max-content; min-width: 100%; display: flex; align-items: center; justify-content: center; gap: 34px; padding: 14px 20px; color: #8fa5ae; font: 700 .8rem/1 "Barlow Condensed", "Noto Sans TC", sans-serif; letter-spacing: .15em; }
.league-strip i { width: 4px; height: 4px; border-radius: 50%; background: var(--gold); }

.league-world, .intro, .gameplay, .screenshots, .guide { padding-block: 112px; }
.section-heading h2, .download h2, .freedom-banner h2, .final-cta h2 { margin: 0; font-size: clamp(2.2rem, 4.4vw, 4rem); line-height: 1.15; letter-spacing: -.055em; }
.section-heading > p:last-child { margin: 14px 0 0; color: var(--muted); }
.section-heading.center { max-width: 760px; margin: 0 auto 50px; text-align: center; }
.section-lead { max-width: 550px; margin: 25px 0 48px auto; color: var(--muted); font-size: 1.05rem; }

.league-world { border-bottom: 1px solid #193644; }
.league-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.league-card { position: relative; min-height: 410px; padding: 30px 27px; overflow: hidden; border: 1px solid #2a4b5c; border-radius: 18px; background: linear-gradient(155deg, #102b39, #081721); }
.league-card::after { content: ""; position: absolute; right: -65px; bottom: -85px; width: 220px; aspect-ratio: 1; border: 1px solid #ffffff12; border-radius: 50%; box-shadow: 0 0 0 30px #ffffff05, 0 0 0 60px #ffffff04; }
.league-card.sbl { --league-accent: #54d7cf; }
.league-card.plg { --league-accent: #f0b94d; }
.league-card.tpbl { --league-accent: #ee655b; }
.league-card { box-shadow: inset 0 3px 0 var(--league-accent); }
.league-code { width: 72px; height: 72px; display: grid; place-items: center; margin-bottom: 32px; border: 1px solid color-mix(in srgb, var(--league-accent) 55%, transparent); border-radius: 50%; color: var(--league-accent); font: 800 1.35rem/1 "Barlow Condensed", sans-serif; }
.league-card > span { color: var(--league-accent); font-size: .72rem; font-weight: 700; letter-spacing: .1em; }
.league-card h3 { margin: 10px 0 12px; font-size: 1.35rem; }
.league-card p { margin: 0; color: var(--muted); font-size: .86rem; }
.league-card ul { position: absolute; z-index: 1; bottom: 26px; display: grid; gap: 5px; margin: 0; padding: 0; color: #b9c9cf; font-size: .75rem; list-style: none; }
.league-card li::before { content: "•"; margin-right: 8px; color: var(--league-accent); }

.collection { padding-block: 95px; border-block: 1px solid #473b2255; background: radial-gradient(circle at 80% 50%, #63471f36, transparent 34%), linear-gradient(115deg, #0c1e29, #090f14); }
.collection-inner { display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 62px; }
.collection-copy h2, .international h2, .legend-title h2 { margin: 0; font-size: clamp(2.2rem, 4.4vw, 4rem); line-height: 1.13; letter-spacing: -.055em; }
.collection-copy > p:not(.eyebrow), .international-copy > p:not(.eyebrow), .legend-title > p:not(.eyebrow) { color: var(--muted); }
.collection-copy > small { display: block; margin-top: 18px; color: #748c97; font-size: .7rem; }
.collection-image { position: relative; padding: 7px; border: 1px solid #efbb5060; border-radius: 16px; background: #101b21; box-shadow: 0 24px 80px #0009; }
.collection-image img { display: block; border-radius: 10px; }
.collection-image span { position: absolute; right: 16px; bottom: 16px; padding: 5px 11px; border: 1px solid #efbb5050; border-radius: 999px; background: #09131de8; color: var(--gold); font-size: .68rem; }
.rarity-list { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 27px; }
.rarity-list span { display: inline-flex; gap: 6px; align-items: center; padding: 7px 10px; border: 1px solid currentColor; border-radius: 999px; font: 700 .7rem/1 "Barlow Condensed", "Noto Sans TC", sans-serif; }
.rarity-list b { font-size: .78rem; }
.rarity-list .cyan { color: #65d8dc; }.rarity-list .green { color: #70d68b; }.rarity-list .blue { color: #6ba9ff; }.rarity-list .red { color: #f06b68; }.rarity-list .purple { color: #bd78f1; }.rarity-list .gold { color: #f2c65d; }

.legends { padding-block: 90px; }
.legend-panel { position: relative; display: grid; grid-template-columns: 1fr 1.25fr auto; align-items: center; gap: 45px; padding: 52px 55px; overflow: hidden; border: 1px solid #b58b3d70; border-radius: 22px; background: radial-gradient(circle at 85% 30%, #aa72293d, transparent 30%), linear-gradient(130deg, #251d12, #0b1922 58%); box-shadow: inset 0 1px 0 #ffe8a529; }
.legend-panel::after { content: "GOLD"; position: absolute; right: 4%; bottom: -42px; color: #efbb5008; font: 800 10rem/1 "Barlow Condensed", sans-serif; }
.legend-title { position: relative; z-index: 1; }
.legend-title h2 { font-size: clamp(2rem, 3.4vw, 3.2rem); }
.legend-title p:last-child { margin-bottom: 0; font-size: .84rem; }
.legend-names { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.legend-names span { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border: 1px solid #b58b3d35; border-radius: 9px; background: #0a1821a8; font-size: .8rem; }
.legend-names b { color: var(--gold); font: 800 1rem/1 "Barlow Condensed", sans-serif; }
.legend-seal { position: relative; z-index: 1; width: 120px; aspect-ratio: 1; display: grid; place-content: center; border: 1px solid #efbb5070; border-radius: 50%; text-align: center; box-shadow: 0 0 0 7px #efbb5009; }
.legend-seal strong { color: var(--gold); font: 800 2.6rem/.9 "Barlow Condensed", sans-serif; }
.legend-seal span { margin-top: 7px; color: #b8a786; font-size: .62rem; }

.international { display: grid; grid-template-columns: 1.12fr .88fr; align-items: center; gap: 65px; padding-block: 115px; }
.international-image { padding: 7px; border: 1px solid #784b5360; border-radius: 16px; background: #111923; box-shadow: 0 24px 80px #0009; }
.international-image img { display: block; border-radius: 10px; }
.tournament-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px; margin-top: 28px; }
.tournament-grid span { padding: 13px; border: 1px solid #294c5d; border-radius: 10px; background: #0b1d28; color: #91a8b2; font-size: .72rem; }
.tournament-grid b { display: block; margin-bottom: 3px; color: #f1f5f6; font-size: .82rem; }

.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.feature-card { position: relative; min-height: 290px; padding: 26px 23px; overflow: hidden; border: 1px solid #284959; border-radius: 14px; background: linear-gradient(160deg, #102b39, #081721); }
.feature-card::after { content: ""; position: absolute; right: -45px; bottom: -65px; width: 150px; height: 150px; border: 1px solid #55d8cf18; border-radius: 50%; }
.feature-number { position: absolute; top: 18px; right: 20px; color: #45626d; font: 700 1rem/1 "Barlow Condensed", sans-serif; }
.feature-icon { width: 43px; height: 43px; display: grid; place-items: center; margin-bottom: 40px; border: 1px solid #efbb5060; border-radius: 12px; background: #efbb500d; color: var(--gold); font-size: 1.25rem; }
.feature-card h3 { margin: 0 0 10px; font-size: 1.15rem; }
.feature-card p { margin: 0; color: var(--muted); font-size: .88rem; }
.feature-card small { position: absolute; bottom: 20px; color: #56727e; font: 700 .65rem/1 "Barlow Condensed", sans-serif; letter-spacing: .15em; }

.gameplay { border-top: 1px solid #193644; }
.play-flow { display: grid; gap: 90px; }
.play-row { display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: 62px; }
.play-row.reverse { grid-template-columns: .8fr 1.2fr; }
.play-row.reverse .play-image { order: 2; }
.play-image { position: relative; padding: 7px; border: 1px solid #305568; border-radius: 15px; background: #0a1c27; box-shadow: 0 20px 70px #0008; }
.play-image::before { content: ""; position: absolute; inset: 16% -7%; z-index: -1; background: #1a817c25; filter: blur(45px); }
.play-image img { display: block; border-radius: 9px; }
.play-copy > span { color: var(--gold); font: 800 .72rem/1 "Barlow Condensed", sans-serif; letter-spacing: .16em; }
.play-copy h3 { margin: 12px 0 15px; font-size: clamp(1.8rem, 3vw, 3rem); line-height: 1.2; letter-spacing: -.04em; }
.play-copy p { margin: 0; color: var(--muted); }
.play-copy ul { display: grid; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; font-size: .88rem; }
.play-copy li::before { content: "✓"; margin-right: 9px; color: var(--cyan); font-weight: 900; }

.freedom-banner { position: relative; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 40px; padding: 58px 64px; overflow: hidden; border: 1px solid #efbb5060; border-radius: 20px; background: radial-gradient(circle at 85% 50%, #285064, transparent 35%), linear-gradient(120deg, #122d3b, #081720); }
.freedom-banner::before { content: ""; position: absolute; top: -40%; right: -5%; width: 360px; aspect-ratio: 1; border: 1px solid #efbb5025; border-radius: 50%; box-shadow: 0 0 0 35px #efbb5008, 0 0 0 70px #efbb5008; }
.freedom-banner p:last-child { max-width: 630px; margin: 15px 0 0; color: var(--muted); }
.freedom-stat { position: relative; z-index: 1; display: flex; align-items: center; gap: 18px; }
.freedom-stat strong { color: var(--gold); font: 800 7rem/.7 "Barlow Condensed", sans-serif; }
.freedom-stat span { color: #d9e6ea; font-size: .85rem; font-weight: 700; }

.screenshots .section-heading { margin-bottom: 40px; }
.shot-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.shot { position: relative; padding: 0; overflow: hidden; border: 1px solid #294b5b; border-radius: 14px; background: #0b1d28; color: #fff; cursor: zoom-in; }
.shot-wide { grid-column: span 2; }
.shot img { display: block; width: 100%; transition: transform .35s, filter .35s; }
.shot:hover img { transform: scale(1.018); filter: brightness(1.08); }
.shot span { position: absolute; right: 12px; bottom: 12px; padding: 5px 10px; border: 1px solid #ffffff20; border-radius: 999px; background: #05101bd9; font-size: .7rem; }

.download { display: grid; grid-template-columns: .85fr 1.15fr; gap: 70px; padding: 72px 64px; border: 1px solid #315266; border-radius: 22px; background: linear-gradient(140deg, #0e2938, #081620); }
.download-copy > p:not(.eyebrow) { margin: 18px 0 0; color: var(--muted); }
.test-badges { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 25px; }
.test-badges span { padding: 4px 9px; border: 1px solid #315466; border-radius: 999px; color: #abc0c8; font-size: .7rem; }
.download-cards { display: grid; gap: 12px; }
.download-card { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 15px; min-height: 105px; padding: 18px 20px; border: 1px solid #34576a; border-radius: 14px; background: linear-gradient(120deg, #102f40, #091a26); transition: transform .2s, border-color .2s; }
.download-card:hover { transform: translateY(-2px); border-color: var(--gold); }
.platform-icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px; background: #55d8cf17; color: var(--cyan); font: 800 1.1rem/1 "Barlow Condensed", sans-serif; }
.platform-icon.apple { background: #efbb5017; color: var(--gold); }
.download-card small, .download-card strong, .download-card em { display: block; }
.download-card small { color: #718d99; font: 700 .62rem/1 "Barlow Condensed", sans-serif; letter-spacing: .15em; }
.download-card strong { margin-top: 4px; font-size: 1rem; }
.download-card em { color: #86a0ab; font-size: .73rem; font-style: normal; }
.download-card b { color: var(--gold); font-size: .78rem; white-space: nowrap; }
.download-card.is-disabled { opacity: .62; cursor: not-allowed; }
.download-card.is-disabled b { color: #8aa0aa; }
.download-note { margin: 4px 0 0; color: #6e8893; font-size: .7rem; }

.guide-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.guide-card { padding: 30px; border: 1px solid #284b5c; border-radius: 16px; background: #0a1e2a; }
.guide-platform { color: var(--gold); font: 800 .7rem/1 "Barlow Condensed", sans-serif; letter-spacing: .16em; }
.guide-card h3 { margin: 10px 0 25px; font-size: 1.4rem; }
.guide-card ol { display: grid; gap: 20px; margin: 0 0 27px; padding: 0; list-style: none; counter-reset: install; }
.guide-card li { position: relative; padding-left: 42px; counter-increment: install; }
.guide-card li::before { content: counter(install); position: absolute; left: 0; top: 0; width: 27px; height: 27px; display: grid; place-items: center; border: 1px solid #efbb5060; border-radius: 50%; color: var(--gold); font: 700 .75rem/1 "Barlow Condensed", sans-serif; }
.guide-card b, .guide-card small { display: block; }
.guide-card b { font-size: .9rem; }
.guide-card small { margin-top: 3px; color: var(--muted); font-size: .76rem; }
.guide-card > a { color: var(--cyan); font-size: .82rem; font-weight: 700; }
.guide-card > a.is-disabled { color: #718690; pointer-events: none; }

.final-cta { padding-block: 105px 120px; text-align: center; }
.final-cta p:not(.eyebrow) { margin: 15px 0 26px; color: var(--muted); }
footer { width: min(var(--max), calc(100% - 40px)); display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 30px; margin: auto; padding-block: 28px; border-top: 1px solid #173340; color: #6f8893; font-size: .72rem; }
footer p:nth-child(2) { margin-right: auto; }
.footer-brand { color: #dfe8eb; }

.lightbox { width: min(1100px, calc(100% - 30px)); max-width: none; padding: 8px; border: 1px solid #416274; border-radius: 15px; background: #06131d; box-shadow: 0 25px 100px #000; }
.lightbox::backdrop { background: #02070bd9; backdrop-filter: blur(8px); }
.lightbox img { display: block; width: 100%; border-radius: 9px; }
.lightbox-close { position: absolute; top: 16px; right: 16px; width: 38px; height: 38px; border: 1px solid #ffffff30; border-radius: 50%; background: #06131de6; color: #fff; font-size: 1.4rem; cursor: pointer; }

.reveal { animation: reveal .65s both; animation-timeline: view(); animation-range: entry 5% cover 25%; }
@keyframes reveal { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 920px) {
  .topbar { height: auto; min-height: 72px; flex-wrap: wrap; padding-top: 10px; }
  .topbar nav { order: 3; width: 100%; min-width: 0; gap: 24px; overflow-x: auto; }
  .hero { min-height: auto; grid-template-columns: 1fr; gap: 44px; padding: 58px 0 75px; }
  .hero-stage { order: -1; }
  .hero-art { transform: none; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .league-grid { grid-template-columns: 1fr; }
  .league-card { min-height: 360px; }
  .collection-inner, .international { grid-template-columns: 1fr; }
  .collection-image { order: -1; }
  .legend-panel { grid-template-columns: 1fr 1fr; }
  .legend-title { grid-column: span 2; }
  .play-row, .play-row.reverse { grid-template-columns: 1fr; gap: 30px; }
  .play-row.reverse .play-image { order: 0; }
  .download { grid-template-columns: 1fr; gap: 42px; padding: 50px 40px; }
  footer { grid-template-columns: 1fr; gap: 6px; }
  footer p { margin: 0; }
}

@media (max-width: 620px) {
  .topbar { height: auto; min-height: 62px; padding-inline: 16px; }
  .brand small { display: none; }
  .brand-mark { width: 34px; height: 34px; }
  .header-cta { padding: 7px 12px; font-size: .75rem; }
  .section, .hero { width: min(var(--max), calc(100% - 28px)); }
  .hero { gap: 35px; padding-top: 42px; }
  .hero h1 { font-size: clamp(2.55rem, 13vw, 3.8rem); }
  .hero-proof { justify-content: space-between; gap: 8px; }
  .hero-proof span, .hero-proof strong { display: block; }
  .league-strip div { justify-content: flex-start; animation: marquee 18s linear infinite; }
  @keyframes marquee { to { transform: translateX(-35%); } }
  .league-world, .intro, .gameplay, .screenshots, .guide { padding-block: 75px; }
  .feature-grid, .guide-grid { grid-template-columns: 1fr; }
  .collection { padding-block: 70px; }
  .collection-inner { gap: 38px; }
  .legends { padding-block: 65px; }
  .legend-panel { grid-template-columns: 1fr; gap: 28px; padding: 38px 26px; }
  .legend-title { grid-column: auto; }
  .legend-seal { width: 95px; }
  .international { padding-block: 75px; gap: 38px; }
  .tournament-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 245px; }
  .play-flow { gap: 65px; }
  .section-heading.center { text-align: left; }
  .freedom-banner { grid-template-columns: 1fr; padding: 38px 28px; }
  .freedom-stat strong { font-size: 5.5rem; }
  .shot-grid { grid-template-columns: 1fr; }
  .shot-wide { grid-column: auto; }
  .download { width: 100%; border-radius: 0; padding: 48px 20px; }
  .download-card { grid-template-columns: auto 1fr; }
  .download-card b { grid-column: 2; }
  .final-cta { padding-block: 80px 90px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .league-strip div { animation: none; }
  * { transition-duration: .01ms !important; }
}
