/* =========================================================
   GameWorld – trang chủ
   ========================================================= */

:root {
  --bg: #0b0d12;
  --bg-2: #11141c;
  --surface: #161a24;
  --surface-2: #1d2230;
  --line: rgba(255, 255, 255, 0.08);
  --text: #e9e6df;
  --muted: #9a9fae;
  --gold: #e6b450;
  --gold-2: #b8862b;
  --live: #3ccf7a;
  --soon: #e6b450;
  --hot: #ff5d5d;

  --font-body: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Playfair Display", Georgia, serif;
  --font-glyph: "Ma Shan Zheng", "STKaiti", "KaiTi", serif;

  --radius: 14px;
  --header-h: 72px;
  --container: 1200px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent, var(--gold));
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
  transition: transform .2s, box-shadow .2s, background .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-sm { padding: 8px 18px; font-size: 0.875rem; }

.btn-gold {
  background: linear-gradient(135deg, #f3cf7a, var(--gold) 45%, var(--gold-2));
  color: #1a1206;
  box-shadow: 0 6px 24px -8px rgba(230, 180, 80, .7);
}
.btn-gold:hover { box-shadow: 0 10px 30px -8px rgba(230, 180, 80, .9); }

.btn-ghost {
  border-color: rgba(255, 255, 255, .22);
  background: rgba(255, 255, 255, .04);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

.btn-accent {
  background: var(--accent);
  color: #0b0d12;
}
.btn-accent:hover { box-shadow: 0 8px 22px -8px var(--accent); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header-h);
  transition: background .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(11, 13, 18, .86);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--line);
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: .02em;
}
.logo b { color: var(--gold); font-weight: 800; }

.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav > a {
  position: relative;
  font-weight: 500;
  font-size: .95rem;
  color: var(--muted);
  transition: color .2s;
}
.main-nav > a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform .25s;
}
.main-nav > a:hover { color: var(--text); }
.main-nav > a:hover::after { transform: scaleX(1); }
.nav-actions { display: flex; gap: 10px; margin-left: 8px; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  padding: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav-toggle span {
  width: 20px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: clamp(640px, 100vh, 960px);
  min-height: clamp(640px, 100svh, 960px);
  overflow: hidden;
  isolation: isolate;
}
.embers {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}
.hero-slides { position: relative; height: 100%; min-height: inherit; }

.slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .9s ease, visibility 0s linear .9s;
  background:
    radial-gradient(ellipse 60% 70% at 72% 45%, color-mix(in srgb, var(--accent) 38%, transparent), transparent 70%),
    radial-gradient(ellipse 80% 60% at 20% 110%, color-mix(in srgb, var(--accent-2) 80%, transparent), transparent 70%),
    linear-gradient(180deg, #07080c 0%, var(--bg) 100%);
}
.slide::before {
  /* hoạ tiết mây/đường kẻ mờ */
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(115deg, transparent 0 38px, rgba(255,255,255,.018) 38px 39px),
    radial-gradient(circle at 70% 45%, transparent 30%, rgba(0,0,0,.5) 80%);
  pointer-events: none;
}
.slide::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 30%;
  background: linear-gradient(transparent, var(--bg));
  pointer-events: none;
}
.slide.is-active {
  opacity: 1;
  visibility: visible;
  transition: opacity .9s ease;
  z-index: 1;
}

.slide-inner {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: 40px;
  padding-top: var(--header-h);
  padding-bottom: 90px;
}
.slide-inner > * { min-width: 0; }
.slide-text > * { opacity: 0; transform: translateY(24px); transition: opacity .7s, transform .7s; }
.slide.is-active .slide-text > * { opacity: 1; transform: none; }
.slide.is-active .slide-text > *:nth-child(2) { transition-delay: .1s; }
.slide.is-active .slide-text > *:nth-child(3) { transition-delay: .2s; }
.slide.is-active .slide-text > *:nth-child(4) { transition-delay: .3s; }
.slide.is-active .slide-text > *:nth-child(5) { transition-delay: .4s; }

.slide h1 {
  margin: 14px 0 18px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.6rem, 6.5vw, 5.2rem);
  letter-spacing: -.01em;
  background: linear-gradient(180deg, #fff 30%, color-mix(in srgb, var(--accent) 55%, #fff));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 60px color-mix(in srgb, var(--accent) 35%, transparent);
}
.tagline { max-width: 540px; font-size: 1.1rem; color: #c9c6c0; }
.slide-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

.slide-art { display: flex; justify-content: center; }
.glyph {
  font-family: var(--font-glyph);
  font-weight: 400;
  line-height: 1;
  user-select: none;
}
.slide-art .glyph {
  font-size: clamp(12rem, 28vw, 24rem);
  color: transparent;
  -webkit-text-stroke: 2px color-mix(in srgb, var(--accent) 70%, #fff);
  background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 50%, transparent), transparent 85%);
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 0 40px color-mix(in srgb, var(--accent) 50%, transparent));
  animation: float 7s ease-in-out infinite;
}
.glyph-latin {
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: -.04em;
}
.slide-art .glyph-latin { font-size: clamp(9rem, 22vw, 19rem); }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-18px); }
}

.countdown { display: flex; gap: 12px; margin-top: 24px; }
.countdown div {
  min-width: 72px;
  padding: 10px 8px;
  text-align: center;
  border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent);
  border-radius: 12px;
  background: rgba(0, 0, 0, .35);
}
.countdown b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.countdown small { font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }

.hero-controls {
  position: absolute;
  left: 0; right: 0; bottom: 36px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 18px;
}
.hero-arrow {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .2);
  background: rgba(0, 0, 0, .3);
  font-size: 1.5rem;
  line-height: 1;
  transition: border-color .2s, color .2s;
}
.hero-arrow:hover { border-color: var(--gold); color: var(--gold); }
.hero-dots { display: flex; gap: 10px; }
.hero-dots button {
  width: 34px; height: 4px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: rgba(255, 255, 255, .25);
  transition: background .3s, width .3s;
}
.hero-dots button[aria-selected="true"] { width: 58px; background: var(--gold); }

/* ---------- Stats ---------- */
.stats {
  position: relative;
  z-index: 3;
  margin-top: -1px;
  border-block: 1px solid var(--line);
  background: linear-gradient(90deg, transparent, rgba(230, 180, 80, .06), transparent);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat {
  padding: 30px 12px;
  text-align: center;
  border-left: 1px solid var(--line);
}
.stat:first-child { border-left: 0; }
.stat b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}
.stat span { color: var(--muted); font-size: .9rem; }

/* ---------- Sections ---------- */
.section { padding: 110px 0; }
.section-alt {
  background:
    radial-gradient(ellipse 50% 40% at 50% 0%, rgba(230, 180, 80, .07), transparent 70%),
    var(--bg-2);
}
.section-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section-head h2 {
  margin: 10px 0 14px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
}
.section-head p { color: var(--muted); }
.section-head h2::after {
  content: "";
  display: block;
  width: 70px; height: 3px;
  margin: 18px auto 0;
  border-radius: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

/* ---------- Game cards ---------- */
.games-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.game-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  transition: transform .35s, border-color .35s, box-shadow .35s;
}
.game-card:hover {
  transform: translateY(-8px);
  border-color: color-mix(in srgb, var(--accent) 60%, transparent);
  box-shadow: 0 24px 50px -20px color-mix(in srgb, var(--accent) 60%, transparent);
}
.game-art {
  position: relative;
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 60%, color-mix(in srgb, var(--accent) 55%, transparent), transparent 65%),
    linear-gradient(160deg, var(--accent-2), #07080c);
}
.game-art::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(45deg, transparent 0 14px, rgba(255,255,255,.03) 14px 15px);
}
.game-art .glyph {
  position: relative;
  font-size: 8.5rem;
  color: rgba(255, 255, 255, .92);
  text-shadow: 0 0 30px var(--accent), 0 6px 0 rgba(0,0,0,.35);
  transition: transform .5s;
}
.game-art .glyph-latin { font-size: 6.5rem; }
.game-card:hover .game-art .glyph { transform: scale(1.1) rotate(-4deg); }

.badge {
  position: absolute;
  top: 14px; left: 14px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 600;
  background: rgba(0, 0, 0, .55);
  backdrop-filter: blur(4px);
}
.badge-live { color: var(--live); }
.badge-soon { color: var(--soon); }

.game-body { display: flex; flex-direction: column; flex: 1; gap: 10px; padding: 22px; }
.game-body h3 { font-family: var(--font-display); font-size: 1.4rem; }
.game-body > p { color: var(--muted); font-size: .92rem; }
.game-body .genre { color: var(--accent); font-weight: 600; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.tags li {
  padding: 3px 10px;
  border-radius: 6px;
  font-size: .75rem;
  background: var(--surface-2);
  color: #c7c4bd;
}
.game-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.players { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; color: var(--muted); }
.players i {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--live);
  box-shadow: 0 0 0 0 rgba(60, 207, 122, .6);
  animation: pulse 2s infinite;
}
.players.soon i { background: var(--soon); animation: none; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(60, 207, 122, .6); }
  70% { box-shadow: 0 0 0 8px rgba(60, 207, 122, 0); }
  100% { box-shadow: 0 0 0 0 rgba(60, 207, 122, 0); }
}

/* ---------- News ---------- */
.tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 40px;
}
.tab {
  padding: 9px 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  font-weight: 500;
  font-size: .9rem;
  transition: all .2s;
}
.tab:hover { color: var(--text); border-color: rgba(255,255,255,.2); }
.tab.is-active { background: var(--gold); border-color: var(--gold); color: #1a1206; }

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.news-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 26px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform .3s, border-color .3s;
}
.news-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(.15);
  transform-origin: left;
  transition: transform .4s;
}
.news-card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--accent) 40%, transparent); }
.news-card:hover::before { transform: scaleX(1); }
.news-card.is-hidden { display: none; }
.news-tag { font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.news-card h3 { font-size: 1.12rem; font-weight: 700; }
.news-card p { color: var(--muted); font-size: .92rem; }
.news-card time { margin-top: auto; font-size: .8rem; color: #6f7484; }
.news-empty { text-align: center; color: var(--muted); }

/* ---------- Servers ---------- */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
}
.server-table { width: 100%; border-collapse: collapse; min-width: 620px; }
.server-table th,
.server-table td { padding: 18px 22px; text-align: left; }
.server-table th {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--surface-2);
}
.server-table tbody tr { border-top: 1px solid var(--line); transition: background .2s; }
.server-table tbody tr:hover { background: rgba(255, 255, 255, .025); }
.server-table td:first-child { font-weight: 600; }
.server-table td:nth-child(3) { font-variant-numeric: tabular-nums; color: #c7c4bd; }
.dot {
  display: inline-block;
  width: 10px; height: 10px;
  margin-right: 10px;
  border-radius: 3px;
  background: var(--accent);
  vertical-align: 0;
}
.status {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 600;
}
.status-live { color: var(--live); background: rgba(60, 207, 122, .12); }
.status-soon { color: var(--soon); background: rgba(230, 180, 80, .12); }
.status-hot  { color: var(--hot);  background: rgba(255, 93, 93, .12); }

/* ---------- Download ---------- */
.download { padding-top: 40px; }
.download-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 40px;
  padding: 56px;
  border-radius: 22px;
  border: 1px solid rgba(230, 180, 80, .25);
  background:
    radial-gradient(ellipse 60% 120% at 100% 50%, rgba(230, 180, 80, .16), transparent 70%),
    radial-gradient(ellipse 50% 100% at 0% 100%, rgba(139, 124, 246, .12), transparent 70%),
    var(--surface);
}
.download-inner h2 {
  margin: 10px 0 12px;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
}
.download-inner p { color: var(--muted); max-width: 520px; }
.dl-notes { display: grid; gap: 6px; margin-top: 18px; font-size: .85rem; color: #c7c4bd; }
.dl-notes li::before { content: "◆"; margin-right: 8px; font-size: .6rem; color: var(--gold); vertical-align: 2px; }
.download-buttons { display: flex; flex-wrap: wrap; gap: 14px; max-width: 380px; }
.download-buttons .dl-btn { flex: 1 1 170px; }
.dl-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 170px;
  padding: 12px 20px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(0, 0, 0, .35);
  transition: border-color .2s, transform .2s;
}
.dl-btn:hover { border-color: var(--gold); transform: translateY(-2px); }
.dl-btn svg { width: 28px; height: 28px; fill: currentColor; flex: none; }
.dl-btn span { display: flex; flex-direction: column; line-height: 1.25; font-weight: 600; }
.dl-btn small { font-size: .72rem; font-weight: 400; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer {
  margin-top: 110px;
  padding-top: 64px;
  border-top: 1px solid var(--line);
  background: #080a0e;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer-brand p { margin: 16px 0 20px; color: var(--muted); max-width: 300px; font-size: .92rem; }
.site-footer h4 {
  margin-bottom: 16px;
  font-size: .85rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
}
.site-footer ul { display: grid; gap: 10px; font-size: .92rem; color: var(--muted); }
.site-footer ul a:hover { color: var(--text); }
.contact a { color: var(--text); }
.socials { display: flex; gap: 10px; }
.socials a {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--surface);
  transition: border-color .2s, color .2s;
}
.socials a:hover { border-color: var(--gold); color: var(--gold); }
.socials svg { width: 18px; height: 18px; fill: currentColor; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  padding-block: 22px;
  border-top: 1px solid var(--line);
  font-size: .82rem;
  color: #6f7484;
}

.to-top {
  position: fixed;
  right: 20px; bottom: 20px;
  z-index: 40;
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--gold);
  color: #1a1206;
  font-weight: 700;
  font-size: 1.2rem;
  box-shadow: 0 8px 24px -8px rgba(230, 180, 80, .8);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity .3s, transform .3s;
}
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1080px) {
  .games-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .download-inner { grid-template-columns: 1fr; padding: 40px; }
}

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 24px 24px;
    background: rgba(11, 13, 18, .97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s, transform .25s, visibility 0s linear .25s;
  }
  .main-nav.is-open {
    opacity: 1;
    transform: none;
    visibility: visible;
    transition: opacity .25s, transform .25s;
  }
  .main-nav > a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .main-nav > a::after { display: none; }
  .nav-actions { margin: 18px 0 0; }
  .nav-actions .btn { flex: 1; }
  .site-header.menu-open { background: rgba(11, 13, 18, .97); }

  .slide-inner { grid-template-columns: 1fr; text-align: center; gap: 0; padding-bottom: 110px; }
  .slide-art { order: -1; margin-bottom: 8px; }
  .slide-art .glyph { font-size: clamp(8rem, 38vw, 12rem); }
  .slide-art .glyph-latin { font-size: clamp(6rem, 30vw, 9rem); }
  .tagline { margin-inline: auto; font-size: 1rem; }
  .slide-cta, .countdown { justify-content: center; }
  .hero-controls { justify-content: center; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }

  .section { padding: 80px 0; }
}

@media (max-width: 560px) {
  .container { padding: 0 16px; }
  .games-grid, .news-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .download-inner { padding: 28px 20px; }
  .dl-btn { flex: 1 1 100%; }
  .countdown { gap: 8px; }
  .countdown div { min-width: 62px; }
  .countdown b { font-size: 1.4rem; }
  .section-head { margin-bottom: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  html { scroll-behavior: auto; }
}
