:root {
  color-scheme: dark;
  --bg: #101725;
  --panel: #182235;
  --panel-2: #202d42;
  --text: #f5f6f8;
  --muted: #b2bdce;
  --red: #ed403b;
  --blue: #234f9b;
  --border: rgb(255 255 255 / 14%);
  --flag: linear-gradient(90deg, #f4f5f7 0 33.33%, #2460b4 33.33% 66.66%, #ed403b 66.66%);
  font-family: Barlow, "Arial", sans-serif;
  background: var(--bg);
  color: var(--text);
  scroll-behavior: smooth;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background-color: var(--bg);
  background-image: radial-gradient(circle at 1px 1px, rgb(255 255 255 / 5%) 1px, transparent 0);
  background-size: 22px 22px;
  color: var(--text);
  line-height: 1.65;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, .brand, .ticker, .hero-subtitle, .game-card figcaption {
  font-family: "Bebas Neue", Impact, "Arial Narrow", sans-serif;
  font-weight: 400;
  letter-spacing: .025em;
  line-height: .98;
}
h1 { margin: 1.1rem 0 0; font-size: clamp(3.7rem, 9vw, 7.5rem); }
h2 { margin: .25rem 0 1.25rem; font-size: clamp(2.5rem, 5.6vw, 4.4rem); }
h3 { margin: 0; font-size: 1.8rem; }
p { color: var(--muted); margin: 0 0 1.1rem; }
strong { color: var(--text); }
.red { color: var(--red); }
.muted { color: var(--muted); }
.relative { position: relative; }
.wrap { width: min(100% - 3rem, 80rem); margin-inline: auto; }
.narrow { width: min(100% - 3rem, 56rem); margin-inline: auto; }
.flag-stripe { background: var(--flag); }

.site-header { position: fixed; z-index: 10; inset: 0 0 auto; background: rgb(16 23 37 / 88%); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.header-stripe { height: 4px; }
.header-inner { width: min(100% - 3rem, 80rem); min-height: 76px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; font-size: 1.65rem; white-space: nowrap; }
.brand img { width: 44px; height: 44px; object-fit: contain; }
.main-nav { display: flex; align-items: center; gap: clamp(.7rem, 1.7vw, 1.6rem); }
.main-nav a, .site-footer nav a { color: var(--muted); text-decoration: none; text-transform: uppercase; font-size: .78rem; font-weight: 700; letter-spacing: .12em; transition: color .2s; }
.main-nav a:hover, .site-footer nav a:hover { color: var(--red); }
.mobile-page-link { display: none; }
.menu-toggle { display: none; background: transparent; border: 1px solid var(--border); color: var(--text); padding: .6rem .8rem; font: inherit; text-transform: uppercase; font-weight: 700; }

.hero { position: relative; min-height: 760px; min-height: 100svh; display: flex; align-items: end; overflow: hidden; clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%); }
.hero-image, .page-hero > img, .conclusion > img, .section-background { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-image { object-position: center; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(0deg, var(--bg) 0%, rgb(16 23 37 / 76%) 50%, rgb(16 23 37 / 18%) 100%); }
.hero-content { z-index: 1; padding-top: 10rem; padding-bottom: 9rem; }
.kicker { display: inline-flex; align-items: center; gap: .55rem; background: var(--red); padding: .35rem .7rem; color: #fff; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; }
.live { box-shadow: 0 0 28px rgb(237 64 59 / 38%); }
.live-dot { width: .55rem; height: .55rem; border-radius: 50%; background: #fff; animation: pulse 1.4s ease-in-out infinite; }
.hero-subtitle { margin: .4rem 0 1.4rem; color: var(--red); text-transform: uppercase; font-size: clamp(2rem, 5vw, 4rem); }
.hero-lead { max-width: 44rem; color: #f1f3f6; font-size: 1.25rem; }

.ticker { position: relative; z-index: 2; overflow: hidden; margin-top: -2rem; padding: 1rem 0; background: var(--blue); transform: rotate(-1deg); box-shadow: 0 0 35px rgb(35 79 155 / 45%); font-size: 1.8rem; white-space: nowrap; }
.ticker-track { display: flex; width: max-content; animation: marquee 34s linear infinite; }
.ticker-track > span { padding-right: 2rem; }
.ticker i { color: var(--red); font-style: normal; padding: 0 .7rem; }

.section { padding-block: 5.5rem; scroll-margin-top: 5rem; }
.split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(2rem, 5vw, 4rem); }
.section-copy > p { font-size: 1.08rem; }
.eyebrow { display: flex; align-items: center; gap: .75rem; margin-bottom: .6rem; color: var(--red); font-size: .8rem; font-weight: 700; letter-spacing: .25em; text-transform: uppercase; }
.eyebrow::before { width: 2.5rem; height: 4px; content: ""; background: var(--flag); }
.framed-image { position: relative; margin: 0; padding: .35rem; background: var(--flag); transform: rotate(1deg); }
.framed-image img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transform: rotate(-1deg); }
.game-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: .8rem; padding-bottom: 1.5rem; }
.game-card { position: relative; aspect-ratio: 3 / 4; margin: 0; overflow: hidden; border: 1px solid var(--border); }
.game-card::after { position: absolute; inset: 0; content: ""; background: linear-gradient(0deg, rgb(9 14 24 / 90%), transparent 70%); }
.game-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.game-card:hover img { transform: scale(1.08); }
.game-card figcaption { position: absolute; z-index: 1; left: 1rem; bottom: 1rem; font-size: clamp(1.3rem, 2.5vw, 2rem); }
.game-live { position: absolute; z-index: 1; top: .8rem; left: .8rem; padding: .15rem .5rem; background: var(--red); font-size: .72rem; font-weight: 700; text-transform: uppercase; }
.feature-list, .article-list { margin: 1.2rem 0; padding: 0; list-style: none; }
.feature-list li { margin: .5rem 0; padding: .65rem .8rem; border-left: 4px solid var(--red); background: var(--panel); }
.feature-list li::before { content: "♠"; color: var(--red); margin-right: .7rem; }

.criteria-section { padding-block: 5.5rem; background: var(--panel); scroll-margin-top: 5rem; }
.table-scroll { overflow-x: auto; margin-top: 2rem; border: 1px solid var(--border); }
table { width: 100%; min-width: 650px; border-collapse: collapse; text-align: left; }
thead { background: var(--blue); font: 1.5rem "Bebas Neue", Impact, sans-serif; letter-spacing: .04em; }
th, td { padding: 1rem; border-bottom: 1px solid var(--border); vertical-align: top; }
tbody tr:hover { background: var(--panel-2); }
tbody th { width: 24%; border-left: 4px solid var(--red); text-align: left; }
.two-columns { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem 2rem; }
.steps-section { position: relative; overflow: hidden; padding-block: 6rem; scroll-margin-top: 5rem; }
.section-background { opacity: .22; }
.section-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, var(--bg), rgb(16 23 37 / 82%), var(--bg)); }
.step-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 2rem 0; padding: 0; list-style: none; }
.step-grid li { position: relative; padding: 1.5rem; border: 1px solid var(--border); background: rgb(24 34 53 / 90%); }
.step-grid li > span { display: block; margin-bottom: .8rem; color: var(--blue); font: 4rem/.9 "Bebas Neue", Impact, sans-serif; }
.step-grid li p { margin: .8rem 0 0; }
.callout { padding-left: 1rem; border-left: 4px solid var(--blue); color: var(--text); font-weight: 700; }
.mistakes-section { padding-block: 6rem; background: var(--blue); scroll-margin-top: 5rem; }
.mistakes-section > .wrap > p { color: rgb(255 255 255 / 86%); }
.mistake-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 2rem 0; }
.mistake-grid article { padding: 1.5rem; background: #111827; box-shadow: 0 12px 28px rgb(0 0 0 / 22%); }
.mistake-grid article > span { color: var(--red); font: 2.8rem "Bebas Neue", Impact, sans-serif; }
.mistake-grid h3 { margin: .5rem 0; font-size: 1.6rem; }

.conclusion { position: relative; overflow: hidden; padding-block: 6rem; }
.conclusion > img { opacity: .3; }
.conclusion-shade { position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg), rgb(16 23 37 / 92%), rgb(16 23 37 / 40%)); }
.conclusion h2 { max-width: 58rem; }
.faq-section { padding-block: 6rem; scroll-margin-top: 5rem; }
.faq-section details { margin-top: .8rem; border: 1px solid var(--border); background: var(--panel); }
.faq-section details[open] { border-color: var(--red); }
.faq-section summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.2rem; cursor: pointer; font-size: 1.12rem; font-weight: 700; list-style: none; }
.faq-section summary::-webkit-details-marker { display: none; }
.faq-section summary::after { content: "+"; color: var(--red); font: 2rem "Bebas Neue", Impact, sans-serif; }
.faq-section details[open] summary::after { content: "−"; }
.faq-section details p { padding: 0 1.2rem 1.2rem; margin: 0; }

.page-hero { position: relative; display: flex; align-items: end; min-height: 410px; overflow: hidden; padding: 9rem 0 4rem; clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%); }
.page-hero > img { opacity: .36; }
.page-hero-shade { position: absolute; inset: 0; background: linear-gradient(0deg, var(--bg), rgb(16 23 37 / 65%), rgb(16 23 37 / 15%)); }
.page-hero h1 { font-size: clamp(3rem, 7vw, 6rem); }
.article { padding-block: 4.5rem 6rem; }
.article p, .article li { font-size: 1.08rem; }
.article h2 { margin-top: 2.8rem; font-size: clamp(2rem, 4vw, 3.2rem); }
.article a { color: var(--text); text-decoration-color: var(--red); text-underline-offset: .2em; }
.article-list li { position: relative; margin: .65rem 0; padding-left: 1.4rem; color: var(--muted); }
.article-list li::before { position: absolute; left: 0; color: var(--red); content: "•"; }
.contact-card { margin: 2rem 0; border: 1px solid var(--border); background: var(--panel); }
.contact-card > div { display: grid; grid-template-columns: 12rem 1fr; gap: 1rem; padding: 1.25rem; border-bottom: 1px solid var(--border); }
.contact-card > div:last-child { border-bottom: 0; }
.contact-card strong { color: var(--red); font-size: .8rem; letter-spacing: .15em; text-transform: uppercase; }
.contact-card a, .contact-card span { color: var(--text); font-size: 1.15rem; font-weight: 700; text-decoration: none; }
.site-footer { border-top: 1px solid var(--border); }
.footer-stripe { height: 8px; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: 2.5rem; }
.footer-brand { font-size: 1.35rem; }
.footer-brand img { width: 36px; height: 36px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 1rem 1.8rem; }
.copyright { flex-basis: 100%; padding-top: 1.2rem; border-top: 1px solid var(--border); color: var(--muted); font-size: .9rem; }

@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes pulse { 50% { opacity: .4; transform: scale(.7); } }

@media (max-width: 950px) {
  .main-nav { gap: .8rem; }
  .main-nav a { font-size: .68rem; letter-spacing: .08em; }
}
@media (max-width: 760px) {
  .wrap, .narrow, .header-inner { width: min(100% - 2rem, 80rem); }
  .header-inner { min-height: 68px; }
  .brand { font-size: 1.35rem; }
  .brand img { width: 38px; height: 38px; }
  .menu-toggle { display: block; }
  .main-nav { position: absolute; inset: 72px 0 auto; display: none; align-items: stretch; flex-direction: column; gap: 0; padding: .5rem 1rem 1rem; background: var(--bg); border-bottom: 1px solid var(--border); }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: .8rem .5rem; font-size: .8rem; }
  .mobile-page-link { display: block; }
  .hero { min-height: 680px; min-height: 100svh; }
  .hero-content { padding-bottom: 7rem; }
  .hero-lead { font-size: 1.08rem; }
  .split { grid-template-columns: 1fr; gap: 2rem; }
  .framed-image { max-width: 40rem; }
  .game-grid { grid-template-columns: repeat(2, 1fr); }
  .game-card:last-child { grid-column: 1 / -1; aspect-ratio: 2 / 1; }
  .step-grid, .mistake-grid { grid-template-columns: repeat(2, 1fr); }
  .two-columns { grid-template-columns: 1fr; gap: 0; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
  .contact-card > div { grid-template-columns: 1fr; gap: .4rem; }
}
@media (max-width: 480px) {
  .wrap, .narrow, .header-inner { width: min(100% - 1.5rem, 80rem); }
  .brand { gap: .45rem; font-size: 1.18rem; }
  .brand img { width: 34px; height: 34px; }
  .hero { min-height: 640px; }
  .hero-content { padding-bottom: 5.5rem; }
  .kicker { font-size: .68rem; }
  .ticker { font-size: 1.35rem; }
  .section, .criteria-section { padding-block: 4rem; }
  .game-grid { gap: .55rem; }
  .game-card figcaption { left: .65rem; bottom: .65rem; font-size: 1.3rem; }
  .game-live { top: .5rem; left: .5rem; }
  .step-grid, .mistake-grid { grid-template-columns: 1fr; }
  .page-hero { min-height: 340px; }
  .article { padding-block: 3rem 4rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
