:root { color-scheme: dark; --ink: #101214; --paper: #f3f2ee; --muted: #a1a5aa; --line: #ffffff1c; --accent: #b4f000; --accent-hover: #d2ff58; --max: 1680px; --screen-duration: 320ms; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--ink); color: var(--paper); font-family: "Segoe UI", "Microsoft YaHei", sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
button, a { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; }
[hidden] { display: none !important; }
h1, h2, h3, h4, p { margin: 0; }
.home-hero { position: relative; isolation: isolate; display: grid; align-items: end; min-height: max(700px, var(--site-hero-min-height, 100svh)); }
.hero-media, .hero-video, .hero-vignette, .hero-bottom-mask { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media { z-index: -1; background: #20272a url('assets/hero-poster.jpg') center / cover; }
.hero-video { object-fit: cover; opacity: 0; transition: opacity .65s ease; }
.hero-video.is-active { opacity: 1; }
/* Only the lower copy area needs a scrim; preserve the video's original brightness. */
.hero-vignette { background: linear-gradient(0deg, #101214d9 0%, #10121452 23%, transparent 57%); }
.hero-bottom-mask {
  z-index: 0; inset: auto 0 0; height: 25%; pointer-events: none;
  background: linear-gradient(0deg, #b4f0003d 0%, #6089001c 26%, transparent 76%),
    radial-gradient(ellipse 100% 180% at 50% -85%, transparent 65%, #83b50014 88%, #b4f00020 100%);
}
/* Independently faded NEC lettering echoes the reference's code texture, not its branding. */
.hero-bottom-mask::after {
  content: ''; position: absolute; inset: 0;
  background: url('assets/hero-code.svg') repeat left bottom / 168px 168px;
  opacity: .16;
  -webkit-mask-image: linear-gradient(transparent, #000 42%), radial-gradient(ellipse 85% 150% at 50% -45%, transparent 38%, #0003 62%, #000 95%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(transparent, #000 42%), radial-gradient(ellipse 85% 150% at 50% -45%, transparent 38%, #0003 62%, #000 95%);
  mask-composite: intersect;
}
.hero-logo { position: absolute; top: 36px; left: clamp(24px, 4vw, 64px); width: 195px; height: auto; filter: drop-shadow(0 2px 8px #0008); }
.hero-copy { position: relative; z-index: auto; padding: 240px 24px 126px; text-align: center; text-shadow: 0 2px 18px #0009; }
.hero-title { width: min(760px, 80vw); margin: 0 auto; line-height: 0; }
/* The artwork has native alpha; mobile compositing needs no blend or luminance mask. */
.hero-title-art { display: block; width: 100%; height: auto; }
.download-button, .outline-button { display: inline-flex; justify-content: center; align-items: center; gap: 32px; min-height: 54px; padding: 0 28px; border: 1px solid #ffffff42; border-radius: 3px; font-size: 15px; transition: background .25s ease, border-color .25s ease, color .25s ease, box-shadow .25s ease, transform .25s ease; text-shadow: none; }
.download-button { background: #11191bcc; color: #f3f7ee; border-color: #ffffff42; box-shadow: inset 0 1px #ffffff24, 0 8px 24px #0003; backdrop-filter: blur(16px) saturate(135%); -webkit-backdrop-filter: blur(16px) saturate(135%); }
.download-button:hover { background: #b7f31324; border-color: var(--accent); color: #f2ffcf; box-shadow: inset 0 1px #ffffff36, 0 0 0 1px #b7f31324, 0 10px 28px #b7f3131f; transform: translateY(-2px); }
.download-button:hover .button-arrow-icon { filter: brightness(1.35) saturate(1.15); }
.download-button.is-loading { opacity: .7; pointer-events: none; }
.button-arrow-icon { display: block; width: 18px; height: 18px; object-fit: contain; flex: 0 0 auto; }
.download-requirement { margin-top: 14px; font-size: 12px; line-height: 1.7; color: #c0c1c2; }
.scroll-cue { position: absolute; z-index: 2; bottom: 25px; left: 50%; transform: translateX(-50%); display: grid; justify-items: center; gap: 8px; text-align: center; font-size: 11px; letter-spacing: .12em; color: #eef4e7; transition: color .25s ease, transform .25s ease; }
.scroll-cue:hover { color: var(--accent-hover); transform: translateX(-50%) translateY(-3px); }
.scroll-cue-mark { display: block; width: 30px; height: 30px; filter: drop-shadow(0 0 10px #b7f31355); animation: scroll-cue-pulse 1.8s ease-in-out infinite; }
.video-toggle { position: absolute; z-index: 2; bottom: 32px; right: clamp(20px, 4vw, 64px); padding: 10px 14px; border: 1px solid #ffffff50; background: #15171965; border-radius: 3px; color: #fff; font-size: 12px; }
.section, .games-section { padding: 104px max(5vw, calc((100% - var(--max)) / 2)); }
.section-heading { margin-bottom: 48px; text-align: center; }
.eyebrow, .section-kicker, .feature-index { margin-bottom: 18px; color: var(--accent); font-size: 13px; letter-spacing: .13em; }
h2 { font-size: clamp(32px, 3.5vw, 50px); font-weight: 500; letter-spacing: -.035em; line-height: 1.3; }
.section-description { margin-top: 22px; color: var(--muted); font-size: 15px; line-height: 1.9; }
/* Editorial game sections: restrained framing, large art, one clear reading order. */
.competitive-section, .games-section { position: relative; display: flex; flex-direction: column; justify-content: center; padding-top: clamp(36px, 5vh, 72px); padding-bottom: clamp(36px, 5vh, 72px); }
.chapter-line { display: flex; justify-content: space-between; gap: 20px; padding-bottom: 18px; margin-bottom: 32px; border-bottom: 1px solid #ffffff24; color: #a8aaa7; font-size: 10px; letter-spacing: .16em; }
.competitive-section .section-heading, .games-section .section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 36px; text-align: left; margin-bottom: 34px; }
.competitive-section h2, .games-section h2 { font-size: clamp(42px, 4.5vw, 68px); font-weight: 600; letter-spacing: -.045em; line-height: 1.15; }
.competitive-section .section-description, .games-section .section-description { max-width: 315px; margin: 0 0 4px; color: #acb0b2; font-size: 14px; }
.competitive-section .eyebrow, .games-section .section-kicker { margin-bottom: 12px; font-size: 12px; letter-spacing: .2em; }
.competitive-section {
  background: linear-gradient(180deg, #101214f2 0%, #101214dd 42%, #101214fa 100%),
    url('assets/dota-esports-tournaments.jpg') center 42% / cover no-repeat, var(--ink);
}
.competitive-games { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.competitive-game { position: relative; overflow: hidden; background: #191c1e; border: 1px solid #ffffff18; }
.competitive-art { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: contain; background: #0e1215; }
/* Source 2 restores the square loading texture to 16:9 using stretch. */
.competitive-game--dota .competitive-art { object-fit: fill; }
.competitive-game--im .competitive-art { filter: brightness(1.38); }
.competitive-copy { position: relative; display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; padding: 23px 28px 26px; background: linear-gradient(115deg, #252321, #171b1e); }
.competitive-game--im .competitive-copy { background: linear-gradient(115deg, #182c2c, #171b1e); }
.competitive-copy::before { content: ''; position: absolute; left: 28px; top: 0; width: 40px; height: 2px; background: #dba46b; }
.competitive-copy h3 { font-size: clamp(23px, 2.1vw, 32px); font-weight: 500; letter-spacing: -.02em; }
.competitive-copy > p { color: #bbc0c1; font-size: 12px; line-height: 1.8; text-align: right; }
.competitive-copy .game-overline { margin-bottom: 9px; color: #b5a58f; font-size: 9px; letter-spacing: .16em; }
.competitive-logo { position: absolute; top: 17%; left: 50%; transform: translateX(-50%); width: 46%; height: auto; filter: drop-shadow(0 4px 16px #0008); }
.competition-benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 32px; padding-top: 25px; border-top: 1px solid #ffffff24; }
.competition-benefits > div { display: flex; align-items: start; gap: 16px; }
.benefit-number { color: #a98a65; font-size: 12px; line-height: 24px; font-variant-numeric: tabular-nums; }
.competition-benefits h3 { font-size: 16px; font-weight: 500; margin-bottom: 8px; }
.competition-benefits p { color: var(--muted); font-size: 12px; line-height: 1.8; }
.competition-availability { margin-top: 22px; text-align: right; color: #9a9c9d; font-size: 11px; }
.games-section { background: radial-gradient(ellipse at 30% 70%, #29443e24, transparent 65%), #191d1e; }
.games-showcase { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr); gap: 22px; }
.featured-game { position: relative; isolation: isolate; min-height: min(var(--site-featured-min-height, 56vh), 560px); display: flex; align-items: flex-end; overflow: hidden; border: 1px solid #ffffff26; background: #101b1c; }
.featured-art { position: absolute; inset: 0; z-index: -2; background: var(--feature-art) center 20% / auto 100% no-repeat; filter: brightness(1.65); }
.featured-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, #081416 0%, #091416dc 18%, #09141616 75%); }
.featured-copy { position: relative; z-index: 1; width: 100%; padding: 34px; }
.feature-index { margin-bottom: 12px; color: #d6b68a; font-size: 11px; letter-spacing: .12em; }
.featured-copy h3 { font-size: clamp(40px, 4vw, 58px); font-weight: 500; letter-spacing: -.02em; }
.featured-copy h3 em { font-style: normal; }
.featured-copy > p:not(.feature-index) { max-width: 340px; color: #c3cbcb; font-size: 14px; line-height: 1.9; margin-top: 12px; }
.game-traits { display: flex; gap: 20px; margin-top: 22px; color: #9eafac; font-size: 11px; letter-spacing: .1em; }
.game-traits span + span { padding-left: 20px; border-left: 1px solid #ffffff30; }
.feature-brand { position: absolute; right: 28px; top: 28px; width: 30%; }
.feature-brand img { display: block; width: 100%; height: auto; object-fit: contain; }
.game-directory { display: grid; grid-template-rows: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; min-width: 0; }
.directory-card { position: relative; display: flex; flex-direction: column; justify-content: center; background: #111617; border: 1px solid #ffffff1c; overflow: hidden; }
.directory-card > img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: contain; background: #0e1215; }
.directory-card > div { padding: 15px 22px 18px; }
.directory-card h3 { font-size: 20px; font-weight: 500; letter-spacing: .02em; }
.directory-card p { color: #a5b1ad; margin-bottom: 7px; font-size: 10px; letter-spacing: .12em; }
.games-footnote { display: flex; justify-content: space-between; gap: 20px; margin-top: 24px; padding-top: 20px; border-top: 1px solid #ffffff24; color: #9fa8a6; font-size: 12px; }
.download-section { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding-top: 64px; padding-bottom: 64px; border-top: 1px solid var(--line); background: #191c1f; }
.download-section h2 { font-size: 30px; }
.download-section > div > p:not(.download-requirement) { font-size: 14px; margin-top: 18px; color: var(--muted); line-height: 1.8; }
.download-section > div:last-child { flex-shrink: 0; text-align: center; }
.site-footer { display: flex; align-items: center; justify-content: center; gap: 24px; border-top: 1px solid var(--line); padding: 34px max(28px, calc((100% - var(--max)) / 2)); color: var(--muted); font-size: 11px; line-height: 1.8; }
.site-footer img { width: 156px; height: auto; }.site-footer a { margin-left: 0; white-space: nowrap; }
.download-toast { position: fixed; right: 24px; bottom: 24px; z-index: 10; max-width: calc(100vw - 48px); padding: 15px 20px; border: 1px solid var(--line); background: #202528; color: #fff; font-size: 13px; opacity: 0; pointer-events: none; transition: opacity .2s; }
.download-toast.is-visible { opacity: 1; }
.site-header { position: fixed; inset: 0 0 auto; z-index: 8; display: flex; align-items: center; justify-content: space-between; padding: 18px clamp(24px, 4vw, 64px); min-height: 78px; pointer-events: none; background: linear-gradient(180deg, #10191bb8 0%, #10191b73 70%, transparent 100%); border-bottom: 1px solid #ffffff2c; box-shadow: 0 1px #0003; backdrop-filter: blur(16px) saturate(125%); -webkit-backdrop-filter: blur(16px) saturate(125%); }
.site-header > a { pointer-events: auto; }
.site-brand { display: block; line-height: 0; }
.site-brand img { width: 195px; height: auto; filter: drop-shadow(0 2px 8px #0008); }
.download-button--fixed { min-height: 42px; padding: 0 18px; gap: 16px; font-size: 13px; }
[data-reveal] { transition: opacity .7s ease, transform .7s ease; }
main > section { min-height: 100svh; }
@media (min-width: 701px) {
  .home-hero { min-height: 100svh; }
  .hero-copy { padding-top: 120px; padding-bottom: 100px; }
  .hero-title { width: min(760px, 80vw, 76svh); }
  .games-showcase { height: clamp(360px, calc(100svh - 400px), 570px); }
  .games-showcase .featured-game { min-height: 0; }
  .directory-card > img { flex: 1; min-height: 0; height: 0; }
  .directory-card > div { flex-shrink: 0; }
  .competitive-games { width: 100%; max-width: none; align-self: center; }
}
[data-reveal].is-visible { opacity: 1; transform: none; }
@media (min-width: 701px) and (max-height: 800px) {
  .competitive-section, .games-section { padding-top: 28px; padding-bottom: 28px; }
  .chapter-line { margin-bottom: 22px; padding-bottom: 12px; }
  .competitive-section .section-heading, .games-section .section-heading { margin-bottom: 24px; }
  .competitive-section h2, .games-section h2 { font-size: 46px; }
  .competitive-games { max-width: none; width: 100%; align-self: center; }
  .competitive-copy { padding: 16px 24px; }
  .competition-benefits { margin-top: 22px; padding-top: 20px; }
  .games-showcase { grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr); max-width: none; width: 100%; align-self: center; }
  .directory-card > div { padding: 10px 18px 12px; }
  .directory-card h3 { font-size: 18px; }
  .featured-game { min-height: 380px; }
}
@media (max-width: 900px) and (min-width: 701px) {
  .competitive-copy { padding: 18px; }.competitive-copy > p { display: none; }
  .featured-copy { padding: 24px; }.featured-copy > p:not(.feature-index) { font-size: 13px; }
  .directory-card > div { padding: 14px; }.directory-card h3 { font-size: 17px; }
}
@media (max-width: 700px) {
  .home-hero { min-height: max(680px, var(--site-hero-min-height, 100svh)); }.hero-logo { top: 26px; width: 164px; }.hero-copy { padding: 220px 20px 145px; }.hero-copy h1 span, .hero-copy h1 em { display: block; }.hero-slogan { font-size: 13px; margin: 18px 0 28px; }.video-toggle { bottom: 24px; right: 16px; font-size: 11px; }.scroll-cue { bottom: 26px; }
  .section, .games-section { padding: 52px 20px; }
  .chapter-line { font-size: 9px; margin-bottom: 28px; }.chapter-line > span:last-child { display: none; }
  .competitive-section .section-heading, .games-section .section-heading { display: block; margin-bottom: 28px; }
  .competitive-section .section-description, .games-section .section-description { margin-top: 18px; font-size: 13px; max-width: 350px; }
  .competitive-games { grid-template-columns: 1fr; gap: 22px; }.competitive-copy { padding: 22px; }.competitive-copy h3 { font-size: 25px; }
  .competition-benefits { grid-template-columns: 1fr; gap: 20px; margin-top: 28px; }.competition-benefits h3 { margin-bottom: 5px; }.competition-availability { text-align: left; }
  .games-showcase { grid-template-columns: 1fr; }
  .featured-game { min-height: 500px; }.featured-art { background-position: 55% center; }.featured-copy { padding: 26px; }.featured-copy h3 { font-size: 44px; }.feature-brand { top: 24px; right: 24px; width: 40%; }
  .game-directory { grid-template-columns: 1fr; gap: 22px; }.directory-card > div { padding: 20px 22px; }
  .games-footnote { flex-direction: column; gap: 10px; }
  .download-section { flex-direction: column; align-items: start; gap: 28px; }.download-section h2 { font-size: 27px; }.site-footer { flex-wrap: wrap; gap: 20px; padding: 30px 20px; }.site-footer p { width: auto; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }

/* Progressive enhancement: without JS the same content remains a normal document. */
html.screen-mode, .screen-mode body { height: 100%; overflow: hidden; scroll-behavior: auto; }
.screen-mode main { position: fixed; inset: 0; overflow: hidden; }
.screen-mode main > section {
  position: absolute; inset: 0; height: 100%; min-height: 0; max-height: 100%;
  overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain;
  visibility: hidden; pointer-events: none; scrollbar-width: thin;
}
.screen-mode main > .screen-current { visibility: visible; pointer-events: auto; z-index: 2; }
.screen-mode main > section:focus-visible { outline: none; }
.screen-mode main > .screen-leaving { visibility: visible; z-index: 1; }
.screen-mode.is-paging main > section { pointer-events: none; }
.screen-mode .competitive-section { justify-content: safe center; }
.screen-mode .competitive-section > * { flex-shrink: 0; }
.screen-mode .competitive-section, .screen-mode .games-section { padding-top: max(108px, 5vh); }
.screen-mode .games-section { display: flex; flex-direction: column; justify-content: safe center; }
.screen-mode .games-section > * { flex-shrink: 0; }
@media (min-width: 701px) {
  .screen-mode .games-showcase { height: max(360px, calc(100dvh - 338px)); }
  .screen-mode .featured-game { min-height: 0; }
  .screen-mode .game-directory { min-height: 0; grid-template-rows: minmax(0, 1fr) minmax(0, 1fr); }
  .screen-mode .directory-card { min-height: 0; }
  .screen-mode .directory-card > img { height: 0; min-height: 0; flex: 1; object-fit: contain; }
  .screen-mode .directory-card > div { position: absolute; inset: auto 0 0; padding-top: 36px; background: linear-gradient(transparent, #0b1013f2); }
}
@media (min-width: 701px) and (max-height: 950px) {
  .screen-mode .competitive-section, .screen-mode .games-section { padding-bottom: 20px; }
  .screen-mode .chapter-line { margin-bottom: 20px; padding-bottom: 12px; }
  .screen-mode .competitive-section .section-heading { margin-bottom: 24px; }
  .screen-mode .competition-benefits { margin-top: 20px; padding-top: 18px; }
  .screen-mode .competition-availability { margin-top: 16px; }
}
.screen-mode .download-section { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: 1fr auto; align-items: stretch; justify-content: stretch; padding: 0; gap: 0; }
/* Closing screen: game artwork and brand, download, then registration information. */
.download-section {
  display: block;
  background: linear-gradient(90deg, #101214d9, #101214e8 48%, #101214d9),
    url('assets/hero-poster.jpg') center / cover no-repeat, var(--ink);
}
html:not(.screen-mode) .download-layout { max-width: 1312px; margin-inline: auto; }
.screen-mode .download-content, .download-content { width: 100%; max-width: 1440px; margin: auto; padding: 124px 64px 48px; }
.download-layout { display: grid; grid-template-columns: minmax(260px, .85fr) minmax(360px, 1fr); align-items: center; gap: clamp(48px, 7vw, 120px); min-height: 390px; }
.download-brand { display: flex; min-height: 390px; flex-direction: column; align-items: center; justify-content: center; }
.download-brand-logo { width: min(82%, 360px); height: auto; }
.download-action { text-align: center; }
.download-slogan { width: min(100%, 560px); margin: 0 auto; line-height: 0; }
.download-slogan img { display: block; width: 100%; height: auto; }
.download-action .download-button--closing { min-height: 62px; width: min(100%, 340px); margin-top: 32px; padding: 0 24px; gap: 16px; background: #b7f313; border-color: #b7f313; color: #0c1511; font-size: 17px; box-shadow: 0 12px 30px #b7f31320; }
.download-button--closing:hover { background: #d2ff58; border-color: #d2ff58; color: #0c1511; }
.download-button--closing .button-arrow-icon { margin-left: auto; filter: brightness(0) saturate(100%); }
.download-button--closing:hover .button-arrow-icon { filter: brightness(0) saturate(100%); }
.download-action .download-requirement { width: min(100%, 340px); margin: 14px auto 0; color: #8e9699; font-size: 11px; line-height: 1.7; }
.screen-mode .download-section > .site-footer { padding: 24px; background: #0b0e10; }
.site-footer { flex-direction: column; gap: 10px; }
.site-registration { gap: 0; color: #687276; }
@media (min-width: 701px) and (max-height: 800px) {
  .screen-mode .download-content { padding-top: 104px; padding-bottom: 28px; }
  .download-layout, .download-brand { min-height: 320px; }
  .download-action h2 { font-size: 48px; }
}
@media (max-width: 900px) and (min-width: 701px) {
  .screen-mode .download-content { padding-left: 40px; padding-right: 40px; }
  .download-layout { gap: 40px; grid-template-columns: 1fr 1fr; }
}
@media (min-width: 901px) {
  /* Keep the closing composition compact on desktop so the logo, slogan and CTA read as one lockup. */
  .screen-mode .download-layout { width: min(calc(100% - 80px), 1180px); grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 80px; }
}
/* Shared motion score: opaque reveals replace loading-like fades across every screen. */
.screen-mode [data-screen-reveal] { transition: none; }
@media (prefers-reduced-motion: no-preference) {
  .screen-mode section:not(.screen-content-enter) [data-screen-reveal] { visibility: hidden; }
  .screen-content-enter [data-screen-reveal] {
    animation: screen-reveal 360ms cubic-bezier(.16,1,.3,1) var(--reveal-delay) both;
  }
  .screen-content-enter [data-screen-reveal="lead"] { animation-name: screen-title-reveal; }
  .screen-content-enter [data-screen-reveal="card"] { animation: screen-card-reveal 360ms cubic-bezier(.16,1,.3,1) var(--reveal-delay) backwards; }
}
@keyframes screen-reveal {
  from { clip-path: inset(0 0 100% 0); }
  to { clip-path: inset(0); }
}
@keyframes screen-title-reveal {
  from { clip-path: inset(0 100% 0 0); }
  to { clip-path: inset(0); }
}
@keyframes screen-card-reveal {
  from { clip-path: inset(0 0 100% 0); transform: var(--card-transform) translateY(24px) scale(.94); }
  to { clip-path: inset(0); transform: var(--card-transform); }
}

.download-button--hero { min-width: 240px; min-height: 58px; }
.competitive-game,
.featured-game,
.directory-card { transition: transform .45s cubic-bezier(.2,.78,.2,1), border-color .35s ease, box-shadow .35s ease; }
.competitive-game:hover,
.featured-game:hover,
.directory-card:hover { transform: translateY(-6px); border-color: #b7f31370; box-shadow: 0 20px 46px #0005, 0 0 0 1px #b7f31318; }
.competitive-art,
.featured-art,
.directory-card > img { transition: transform .8s cubic-bezier(.2,.78,.2,1), filter .45s ease; }
.competitive-game:hover .competitive-art,
.featured-game:hover .featured-art,
.directory-card:hover > img { transform: scale(1.035); }
.competitive-game--im:hover .competitive-art { filter: brightness(1.48) saturate(1.05); }
.directory-card > div { transition: color .3s ease, padding-left .3s ease; }
.directory-card:hover > div { padding-left: 27px; }
@keyframes scroll-cue-pulse { 0%, 100% { transform: translateY(0); opacity: .72; } 50% { transform: translateY(5px); opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  .scroll-cue-mark,
  .screen-content-enter.competitive-section .section-heading,
  .screen-content-enter.competitive-section .competitive-game,
  .screen-content-enter.competitive-section .competition-benefits,
  .screen-content-enter.competitive-section .competition-availability,
  .screen-content-enter.games-section .section-heading,
  .screen-content-enter.games-section .featured-game,
  .screen-content-enter.games-section .directory-card,
  .screen-content-enter .competitive-art,
  .screen-content-enter .featured-art { animation: none; }
  .competitive-game:hover,
  .featured-game:hover,
  .directory-card:hover { transform: none; }
}
@media (max-width: 700px) {
  .site-header { padding: 20px; }
  .site-brand img { width: 145px; }
  .download-button--fixed { padding: 0 12px; gap: 10px; min-height: 38px; font-size: 12px; }
  .screen-mode .hero-copy { padding-top: 100px; padding-bottom: 150px; }
  .screen-mode .hero-title { width: min(80vw, 90svh); }
  .screen-mode .download-content { padding: 100px 24px 32px; }
  .download-layout { grid-template-columns: 1fr; gap: 32px; min-height: 0; }
  .download-brand { min-height: 210px; }
  .download-brand-logo { width: 210px; }
  .download-action { text-align: center; }
  .download-slogan { width: min(100%, 520px); }
  .download-action .download-button--closing { margin-top: 24px; }
  .download-action .download-requirement { margin-inline: auto; }
}

/* Keep the game art dominant without narrowing the entire section on short displays. */
@media (min-width: 701px) {
  .competitive-games { gap: 28px; }
  .competitive-game { display: flex; flex-direction: column; align-items: center; background: #101416; }
  .competitive-art { width: 100%; height: auto; aspect-ratio: 16 / 9; }
  .competitive-copy { position: absolute; inset: auto 0 0; width: 100%; padding-top: 48px; background: linear-gradient(transparent, #0b1013ed); }
  .competitive-game--im .competitive-copy { background: linear-gradient(transparent, #0b1013ed); }
  .competitive-copy::before { display: none; }
  .competitive-logo { top: 14%; width: 42%; }
  .competition-benefits { margin-top: 24px; }
  .screen-mode .competitive-section, .screen-mode .games-section { padding-top: 112px; padding-bottom: 40px; }
  .screen-mode .games-section .section-heading { margin-bottom: 32px; }
}
.hero-slogan { color: #d4d6d5; font-size: 15px; letter-spacing: .12em; margin: 12px 0 24px; }
.download-button--hero { min-width: 240px; min-height: 58px; font-size: 17px; }
.site-footer { width: 100%; text-align: center; }
.site-registration { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; }
.registration-pending { color: #777e83; }
.section-title-art img { display: block; height: clamp(58px, 6vw, 96px); object-fit: cover; object-position: center; max-width: 100%; mask-mode: luminance; mask-size: cover; mask-position: center; mask-repeat: no-repeat; }
.section-title-art--competitive img { width: clamp(290px, 30vw, 480px); aspect-ratio: 5; mask-image: url('assets/competitive-title.png'); }
.section-title-art--games img { width: clamp(244px, 25.2vw, 403px); aspect-ratio: 4.2; mask-image: url('assets/games-title.png'); }
.competitive-section .section-description, .games-section .section-description { max-width: 360px; padding-bottom: 6px; line-height: 1.8; }
@media (max-width: 700px) {
  .section-title-art--competitive img { width: min(100%, 390px); height: auto; aspect-ratio: 5; }
  .section-title-art--games img { width: min(88%, 330px); height: auto; aspect-ratio: 4.2; }
}
@media (max-width: 700px) {
  .site-footer { flex-direction: column; gap: 10px; }
}

/* Page 3: the three platform picks stay in motion; the rest remain a quiet cover index. */
.games-section { background: var(--ink); background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 4%, var(--ink)), var(--ink) 80%); }
.screen-mode .games-section { justify-content: flex-start; }
.games-section .section-heading { margin-bottom: 28px; }
.cover-stage {
  --cover-side-offset: clamp(220px, 30vw, 430px);
  position: relative;
  height: clamp(390px, 54vh, 590px);
  overflow: hidden;
  isolation: isolate;
  border: 1px solid #ffffff20;
  background: #0a0c0e;
}
.cover-stage-cards { position: relative; width: 100%; height: 100%; }
.cover-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(260px, 31vw, 440px);
  aspect-ratio: 1;
  padding: 0;
  overflow: hidden;
  color: var(--paper);
  border: 1px solid #ffffff25;
  background: #060708;
  opacity: .28;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(.62);
  transition: transform .72s cubic-bezier(.2,.78,.2,1), opacity .72s ease, border-color .25s ease;
}
.cover-card.is-active,
.cover-card.is-prev,
.cover-card.is-next { pointer-events: auto; }
.cover-card.is-active {
  z-index: 3;
  opacity: 1;
  border-color: #f3f2eea0;
  transform: translate(-50%, -50%) scale(1);
}
.cover-card.is-prev {
  z-index: 2;
  opacity: .58;
  transform: translate(-50%, -50%) translateX(calc(-1 * var(--cover-side-offset))) scale(.7);
}
.cover-card.is-next {
  z-index: 2;
  opacity: .58;
  transform: translate(-50%, -50%) translateX(var(--cover-side-offset)) scale(.7);
}
.cover-card:hover { border-color: var(--accent); }
.cover-card-image { display: block; width: 100%; aspect-ratio: 1; background: #050607; }
.cover-card-image img { display: block; width: 100%; height: 100%; object-fit: contain; }
.cover-card-caption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px 15px;
  text-align: left;
  background: #080a0de8;
}
.cover-card-caption strong { font-size: clamp(16px, 1.6vw, 23px); font-weight: 500; }
.cover-card-caption small { color: #a8afb0; font-size: 10px; letter-spacing: .16em; }
.cover-stage-live { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
@media (min-width: 701px) {
  .screen-mode .games-section { padding-top: clamp(72px, 9vh, 98px); padding-bottom: clamp(20px, 3vh, 34px); }
  .screen-mode .games-section .section-heading { margin-bottom: clamp(18px, 2.5vh, 28px); }
  .screen-mode .cover-stage { height: max(290px, min(clamp(390px, 54vh, 590px), calc(100dvh - 510px))); }
}
@media (max-width: 700px) {
  .screen-mode .games-section { padding-top: 94px; padding-bottom: 32px; }
  .games-section .section-heading { margin-bottom: 20px; }
  .cover-stage { --cover-side-offset: clamp(148px, 43vw, 225px); height: min(410px, 100vw); }
  .cover-card { width: min(74vw, 310px); }
}
@media (prefers-reduced-motion: reduce) {
  .cover-card { transition: none; }
}

/* The remaining games are part of the scene, not a directory. */
.cover-scene {
  position: relative;
  height: clamp(430px, 63vh, 680px);
  overflow: hidden;
  isolation: isolate;
  border: 0;
  background: transparent;
}
.cover-scene .cover-stage {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  border: 0;
  background: transparent;
}
.cover-ambient { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; justify-content: space-between; padding: 20px 0; opacity: .85; pointer-events: none; }
.cover-stream { width: 100%; overflow: hidden; }
.cover-stream-line { display: flex; width: max-content; animation: cover-stream-left 42s linear infinite; }
.cover-stream--bottom .cover-stream-line { animation-name: cover-stream-right; animation-duration: 48s; }
.cover-stream-track { display: flex; gap: 14px; padding-right: 14px; }
.ambient-cover { flex: 0 0 clamp(92px, 9vw, 142px); aspect-ratio: 1; margin: 0; overflow: hidden; border: 1px solid #ffffff20; background: #050607; }
.ambient-cover img { display: block; width: 100%; height: 100%; object-fit: contain; }
.cover-ambient::after { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, #101214cc, #10121466 20%, #10121466 80%, #101214cc); pointer-events: none; }
.cover-ambient .cover-stream { position: relative; z-index: 0; }
.cover-scene .cover-stage-cards { height: 100%; }
@keyframes cover-stream-left { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes cover-stream-right { from { transform: translateX(-50%); } to { transform: translateX(0); } }
@media (min-width: 701px) {
  .screen-mode .cover-scene { height: max(390px, min(clamp(430px, 63vh, 680px), calc(100dvh - 250px))); }
}
@media (max-width: 700px) {
  .cover-scene { height: min(560px, 143vw); min-height: 480px; }
  .cover-ambient { padding: 14px 0; }
  .cover-stream-track { gap: 9px; padding-right: 9px; }
  .ambient-cover { flex-basis: clamp(72px, 21vw, 96px); }
  .cover-card { width: min(70vw, 286px); }
  .cover-scene .cover-card-caption { padding: 11px 12px 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .cover-stream-line, .cover-scene .cover-stage, .screen-content-enter.games-section .cover-scene { animation: none; transition: none; }
}

/* Page 2 visual system: a small esports information deck, not a game-cover grid. */
.competitive-section { overflow: hidden; }
.competitive-card-stage {
  position: relative;
  display: block;
  min-height: clamp(330px, 45vh, 470px);
  margin-top: -4px;
  perspective: 1400px;
  transform-style: preserve-3d;
  isolation: isolate;
}
.competitive-card {
  --card-transform: rotate(0deg) translateZ(0);
  position: absolute;
  inset: auto;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  width: clamp(220px, 24vw, 340px);
  min-height: 0;
  border: 1px solid #ffffff2b;
  border-radius: 2px;
  background: #171a1e;
  box-shadow: 0 24px 48px #0008, 0 2px 0 #ffffff12 inset;
  transform: var(--card-transform);
  transform-style: preserve-3d;
  transition: transform .45s cubic-bezier(.2,.78,.2,1), border-color .35s ease, box-shadow .35s ease;
}
.competitive-card--hero {
  left: 50%;
  top: 5%;
  z-index: 4;
  width: clamp(360px, 40vw, 620px);
  height: clamp(260px, 38vh, 410px);
  --card-transform: translateX(-50%) rotate(-2.5deg) translateZ(30px);
  border-color: #dba46b66;
}
.competitive-card--season {
  left: 6%;
  top: 14%;
  z-index: 2;
  width: clamp(220px, 25vw, 360px);
  height: clamp(250px, 32vh, 340px);
  --card-transform: rotate(-10deg) translateZ(-80px);
}
.competitive-card--match {
  right: 6%;
  top: 17%;
  z-index: 3;
  width: clamp(220px, 25vw, 360px);
  height: clamp(240px, 31vh, 330px);
  --card-transform: rotate(8deg) translateZ(-42px);
  border-color: #8392a55c;
}
.competitive-card--trophy {
  left: 24%;
  bottom: -5%;
  z-index: 5;
  width: clamp(250px, 27vw, 390px);
  height: clamp(190px, 25vh, 260px);
  --card-transform: rotate(5deg) translateZ(90px);
  background: #202226;
}
.competitive-card-media { position: relative; display: block; width: 100%; height: 100%; flex: 1 1 auto; min-height: 0; overflow: hidden; background: #0e1114; }
.competitive-card-media::after { content: ''; position: absolute; inset: 0; background: #080a0c0d; pointer-events: none; }
.competitive-card .competitive-art { display: block; width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; background: #0e1114; }
.competitive-card--season .competitive-art { object-position: center 46%; }
.competitive-card--trophy .competitive-art { object-position: center center; }
.competitive-card:hover { border-color: #dba46b9c; box-shadow: 0 30px 54px #000a, 0 2px 0 #ffffff18 inset; transform: var(--card-transform) translateY(-8px); }
.competitive-card--match:hover { border-color: #aab8c4a8; }
@media (prefers-reduced-motion: reduce) {
  .competitive-card,
  .competitive-card:hover,
  .screen-content-enter.competitive-section .competitive-card { animation: none; transform: var(--card-transform); transition: none; }
}
@media (max-width: 700px) {
  .competitive-section { overflow: visible; }
  .competitive-card-stage { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px; min-height: 0; margin-top: 0; perspective: none; }
  .competitive-card { position: relative; left: auto; right: auto; top: auto; bottom: auto; width: auto; min-height: 0; transform: rotate(0deg); }
  .competitive-card--hero { --card-transform: rotate(-1deg) translateZ(0); grid-column: 1 / -1; height: 290px; }
  .competitive-card--season { --card-transform: rotate(-2deg) translateZ(0); height: 250px; }
  .competitive-card--match { --card-transform: rotate(2deg) translateZ(0); height: 250px; }
  .competitive-card--trophy { --card-transform: rotate(-1deg) translateZ(0); grid-column: 1 / -1; height: 215px; }
  .competitive-card:hover { transform: var(--card-transform) translateY(-4px); }
}

/* Desktop screens allocate the remaining viewport to artwork, with separate text rows. */
@media (min-width: 701px) {
  .screen-mode .competitive-section,
  .screen-mode .games-section { padding-top: 112px; padding-bottom: 32px; }
  .screen-mode .competitive-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto minmax(300px, 1fr) auto auto;
    gap: 16px;
    align-content: stretch;
  }
  .screen-mode .competitive-section .section-heading,
  .screen-mode .games-section .section-heading { margin: 0 0 8px; }
  .screen-mode .competitive-card-stage { min-height: 0; height: 100%; align-self: stretch; margin: 0; }
  .screen-mode .competitive-card--hero { width: 44%; height: 76%; top: 6%; }
  .screen-mode .competitive-card--season { width: 25%; height: 65%; top: 15%; }
  .screen-mode .competitive-card--match { width: 25%; height: 65%; top: 17%; }
  .screen-mode .competitive-card--trophy { width: 28%; height: 45%; bottom: 12%; }
  .screen-mode .competition-benefits { margin: 0; padding-top: 20px; }
  .screen-mode .competition-availability { margin: 0; }
  .screen-mode .games-section { gap: 24px; }
  .screen-mode .games-section .cover-scene { flex: 1 0 390px; height: auto; min-height: 390px; }
}
