:root {
  --ink: #10131d;
  --ink-muted: #5b6170;
  --surface: #f6f3ec;
  --paper: #fffdfa;
  --acid: #d7ff39;
  --violet: #7056e5;
  --violet-dark: #31266c;
  --line: #d9d5cc;
  --max: 1440px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--surface); color: var(--ink); font-family: Arial, Helvetica, sans-serif; font-size: 16px; line-height: 1.55; }
body.menu-is-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
.site-shell { overflow: clip; }
.screen-reader-text, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.skip-link:focus { z-index: 100; top: 12px; left: 12px; width: auto; height: auto; margin: 0; clip: auto; background: var(--acid); color: var(--ink); padding: .5rem .75rem; font-weight: 700; }

.site-header { position: relative; z-index: 10; background: var(--ink); color: #fff; }
.site-header__inner { width: min(calc(100% - 48px), var(--max)); min-height: 80px; margin: 0 auto; display: flex; align-items: center; gap: 42px; }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; gap: 11px; letter-spacing: -.07em; }
.brand__mark { width: 30px; height: 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 3px; transform: rotate(45deg); }
.brand__mark i { display: block; background: var(--acid); }
.brand__mark i:nth-child(2), .brand__mark i:nth-child(3) { background: #fff; }
.brand__copy { display: flex; align-items: baseline; font-size: 22px; font-weight: 900; line-height: 1; }
.brand__copy strong { font-style: normal; color: #fff; }
.brand__copy em { font-style: normal; color: var(--acid); }
.site-nav { flex: 1; }
.site-nav__list, .footer-nav ul { margin: 0; padding: 0; list-style: none; display: flex; gap: 28px; }
.site-nav a { display: block; padding: 30px 0 27px; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; border-bottom: 3px solid transparent; transition: color .2s, border-color .2s; }
.site-nav .current-menu-item a, .site-nav a:hover { color: var(--acid); border-color: var(--acid); }
.language-switcher { flex-shrink: 0; }
.language-switcher ul { display: flex; flex-direction: row; align-items: center; gap: 6px; margin: 0; padding: 0; list-style: none; }
.language-switcher li { display: flex; margin: 0; }
.language-switcher a { display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-width: 48px; padding: 7px 6px 6px; border: 1px solid rgba(255,255,255,.35); color: rgba(255,255,255,.76); font-size: 10px; font-weight: 900; line-height: 1; letter-spacing: .08em; text-align: center; text-transform: uppercase; white-space: nowrap; transition: background .2s, border-color .2s, color .2s; }
.language-switcher img { width: 16px; height: 11px; object-fit: cover; }
.language-switcher a:hover, .language-switcher .current-lang a { border-color: var(--acid); background: var(--acid); color: var(--ink); }
.header-search { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; transition: background .2s, color .2s; }
.header-search:hover { background: var(--acid); color: var(--ink); }
.header-search svg { width: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.menu-toggle { display: none; }

.hero { position: relative; color: #fff; background: #111934 url('../classic-games-hero.png') center center / cover no-repeat; }
.hero:before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,16,38,.94) 0%, rgba(15,19,48,.74) 36%, rgba(15,17,43,.12) 69%, rgba(15,17,43,.25) 100%); }
.hero__grid { position: relative; z-index: 1; width: min(calc(100% - 48px), var(--max)); min-height: 565px; margin: 0 auto; padding: 72px 0 64px; display: grid; grid-template-columns: minmax(0, 560px) 1fr; align-items: center; gap: clamp(36px, 7vw, 130px); }
.hero__intro { padding: 0 0 18px; }
.eyebrow { display: flex; align-items: center; gap: 9px; margin: 0 0 15px; font-size: 11px; line-height: 1.1; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow span { width: 16px; height: 16px; display: inline-block; background: var(--acid); transform: rotate(45deg); }
.hero h1 { max-width: 650px; margin: 0; font-size: clamp(3.1rem, 5.4vw, 5.6rem); line-height: .93; letter-spacing: -.07em; }
.hero__intro > p:not(.eyebrow) { max-width: 430px; margin: 25px 0 32px; color: rgba(255,255,255,.82); font-size: 18px; }
.button { display: inline-flex; align-items: center; gap: 24px; padding: 14px 18px; font-size: 12px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; transition: transform .2s; }
.button:hover { transform: translate(3px, -3px); }
.button--lime { background: var(--acid); color: var(--ink); box-shadow: 5px 5px 0 var(--ink); }
.button span { font-size: 21px; line-height: .6; }
.hero-card { position: relative; align-self: end; width: min(100%, 340px); min-height: 0; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; background: rgba(16,19,29,.9); border: 1px solid rgba(255,255,255,.3); box-shadow: 10px 10px 0 rgba(16, 19, 29, .34); backdrop-filter: blur(9px); }
.hero-card__image { position: absolute; inset: 0; background: linear-gradient(145deg, #d7ff39, #9e56ea 45%, #10131d 46%, #10131d); }
.hero-card__image:after, .stream-card__image:after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(16,19,29,.88), transparent 70%); }
.hero-card__image img, .stream-card__image img { width: 100%; height: 100%; object-fit: cover; }
.hero-card__image--fallback:before, .stream-card__image--fallback:before { content: "01"; position: absolute; z-index: 1; right: 5%; bottom: -16%; color: rgba(255,255,255,.17); font-size: 15rem; font-weight: 900; letter-spacing: -.14em; }
.scanlines { position: absolute; z-index: 2; inset: 0; pointer-events: none; opacity: .18; background: repeating-linear-gradient(0deg, transparent 0 3px, #000 3px 4px); mix-blend-mode: multiply; }
.hero .hero-card__image { display: none; }
.hero-card__body { position: relative; z-index: 3; padding: 24px; }
.hero-card .eyebrow { color: var(--acid); }
.hero-card h2 { max-width: 510px; margin: 0; font-size: clamp(1.8rem, 3vw, 3rem); line-height: .98; letter-spacing: -.055em; }
.hero-card h2 a:hover, .stream-card h3 a:hover { text-decoration: underline; text-decoration-color: var(--acid); text-decoration-thickness: 3px; text-underline-offset: 5px; }
.hero-card__body > p:not(.eyebrow) { margin: 12px 0; color: rgba(255,255,255,.76); font-size: 14px; }
.meta { display: flex; gap: 12px; color: var(--ink-muted); font-size: 12px; font-weight: 800; letter-spacing: .03em; }
.hero-card .meta { color: rgba(255,255,255,.64); }
.ticker { min-height: 56px; display: flex; align-items: center; justify-content: space-around; gap: 22px; overflow: hidden; padding: 0 max(24px, calc((100vw - var(--max))/2)); color: var(--ink); background: var(--acid); font-size: 12px; font-weight: 900; letter-spacing: .12em; white-space: nowrap; }
.ticker i { font-style: normal; color: var(--violet); font-size: 16px; }

.stream-section, .listing-page { width: min(calc(100% - 48px), var(--max)); margin: 0 auto; padding: 100px 0; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 38px; }
.section-heading .eyebrow { color: var(--violet-dark); }
.section-heading h1, .section-heading h2 { margin: 0; font-size: clamp(2.5rem, 4vw, 4.35rem); line-height: .92; letter-spacing: -.07em; }
.section-heading > a { padding-bottom: 7px; border-bottom: 2px solid var(--ink); font-size: 12px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.section-heading > a span { margin-left: 9px; color: var(--violet); font-size: 19px; }
.post-stream { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.stream-card { min-width: 0; background: var(--paper); border: 1px solid var(--line); transition: transform .2s, box-shadow .2s; }
.stream-card:hover { transform: translateY(-5px); box-shadow: 7px 8px 0 var(--violet); }
.stream-card__image { position: relative; display: block; aspect-ratio: 1.38; overflow: hidden; background: linear-gradient(140deg, var(--violet) 0 48%, var(--acid) 48% 53%, var(--ink) 53%); }
.stream-card__image:after { opacity: .45; }
.stream-card__body { padding: 22px 22px 19px; }
.stream-card .eyebrow { margin-bottom: 10px; color: var(--violet-dark); font-size: 10px; }
.stream-card .eyebrow::before { content: ''; width: 8px; height: 8px; background: var(--acid); transform: rotate(45deg); }
.stream-card h3 { margin: 0; font-size: clamp(1.35rem, 2vw, 1.75rem); line-height: 1.02; letter-spacing: -.05em; }
.stream-card__body > p:not(.eyebrow) { min-height: 48px; margin: 13px 0 18px; color: var(--ink-muted); font-size: 14px; }
.stream-card .meta { justify-content: space-between; padding-top: 14px; border-top: 1px solid var(--line); }
.empty-state { grid-column: 1 / -1; padding: 55px; background: var(--paper); border: 2px dashed var(--line); text-align: center; }
.empty-state .eyebrow { justify-content: center; color: var(--violet-dark); }
.empty-state h3 { margin: 0 0 8px; font-size: 28px; letter-spacing: -.05em; }
.empty-state p:last-child { max-width: 430px; margin: 0 auto; color: var(--ink-muted); }
.category-callout { width: min(calc(100% - 48px), var(--max)); margin: 0 auto 104px; padding: 48px; display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; color: #fff; background: var(--ink); }
.category-callout .eyebrow { color: var(--acid); }
.category-callout h2 { max-width: 620px; margin: 0; font-size: clamp(2.4rem, 4vw, 4.35rem); line-height: .93; letter-spacing: -.07em; }
.category-callout > p { max-width: 340px; align-self: end; margin: 0; color: rgba(255,255,255,.65); }

.listing-page { min-height: 60vh; }
.listing-page .section-heading { align-items: flex-start; }
.listing-page .section-heading h1 { font-size: clamp(3.2rem, 6vw, 6rem); }
.navigation.pagination { margin-top: 45px; font-weight: 700; }
.nav-links { display: flex; gap: 8px; }
.page-numbers { padding: 6px 11px; background: var(--paper); border: 1px solid var(--line); }
.page-numbers.current { background: var(--acid); border-color: var(--acid); }

.single-page { width: min(calc(100% - 48px), 920px); margin: 0 auto; padding: 96px 0 112px; }
.article__header { max-width: 800px; margin: 0 auto 46px; text-align: center; }
.article__header .eyebrow { justify-content: center; color: var(--violet-dark); }
.article__header h1 { margin: 0; font-size: clamp(3rem, 6vw, 6.4rem); line-height: .9; letter-spacing: -.075em; }
.article__meta { display: flex; justify-content: center; gap: 10px; margin-top: 24px; color: var(--ink-muted); font-size: 13px; font-weight: 700; }
.article__cover { margin: 0 0 48px; }
.article__cover img { width: 100%; max-height: 620px; object-fit: cover; }
.article__content { width: min(100%, 700px); margin: 0 auto; font-size: 18px; }
.article__content > :first-child { margin-top: 0; }
.article__content h2, .article__content h3 { margin: 2em 0 .55em; line-height: 1; letter-spacing: -.05em; }
.article__content h2 { font-size: 2.1rem; }.article__content h3 { font-size: 1.55rem; }
.article__content a { color: var(--violet-dark); text-decoration: underline; text-decoration-color: var(--acid); text-decoration-thickness: 3px; }
.article__content blockquote { margin: 2rem 0; padding: 20px 24px; border-left: 5px solid var(--acid); background: var(--paper); font-size: 1.25rem; font-weight: 700; }

.site-footer { padding: 70px 0 30px; color: #fff; background: var(--ink); }
.site-footer__inner { width: min(calc(100% - 48px), var(--max)); margin: 0 auto; display: grid; grid-template-columns: 1.15fr .85fr; gap: 72px; }
.footer-brand > p { max-width: 320px; margin: 18px 0 0; color: rgba(255,255,255,.56); font-size: 14px; }
.footer-nav ul { flex-wrap: wrap; justify-content: flex-end; gap: 13px 24px; }
.footer-nav a { color: rgba(255,255,255,.72); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.footer-nav a:hover { color: var(--acid); }
.footer-meta { grid-column: 1 / -1; display: flex; justify-content: space-between; margin-top: 16px; padding-top: 21px; border-top: 1px solid rgba(255,255,255,.18); color: rgba(255,255,255,.45); font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.footer-meta__links { display: inline-flex; gap: 16px; }.footer-meta a:hover { color: var(--acid); }

@media (max-width: 800px) {
  .site-header__inner { width: min(calc(100% - 32px), var(--max)); min-height: 65px; gap: 15px; }
  .brand__copy { font-size: 18px; }.brand__mark { width: 25px; height: 25px; }
  .menu-toggle { display: grid; order: 3; width: 36px; height: 36px; padding: 8px; margin-left: auto; gap: 4px; background: transparent; border: 1px solid rgba(255,255,255,.35); color: #fff; cursor: pointer; }
  .menu-toggle span:not(.screen-reader-text) { display: block; width: 100%; height: 2px; background: currentColor; }
  .language-switcher { order: 2; margin-left: auto; }
  .header-search { order: 2; margin-left: 0; }
  .menu-toggle + .site-nav { order: 4; }
  .site-nav { position: fixed; inset: 65px 0 0; display: none; padding: 25px 24px; background: var(--ink); overflow-y: auto; }
  .site-nav.is-open { display: block; }.site-nav__list { display: block; }.site-nav a { padding: 18px 0; font-size: 18px; border-bottom: 1px solid rgba(255,255,255,.16); }
  .hero__grid, .category-callout { width: min(calc(100% - 32px), var(--max)); }
  .hero:before { background: linear-gradient(90deg, rgba(10,16,38,.93), rgba(15,17,43,.5)); }.hero__grid { min-height: 0; padding: 56px 0 62px; grid-template-columns: 1fr; gap: 38px; }
  .hero h1 { font-size: clamp(3rem, 14vw, 4.5rem); }.hero__intro > p:not(.eyebrow) { font-size: 16px; }
  .hero-card { width: min(100%, 390px); }.hero-card__body { padding: 24px; }
  .ticker { justify-content: flex-start; padding: 0 16px; }.ticker span:nth-of-type(n+4), .ticker i:nth-of-type(n+4) { display: none; }
  .stream-section, .listing-page { width: min(calc(100% - 32px), var(--max)); padding: 72px 0; }.section-heading { align-items: flex-start; margin-bottom: 28px; }.section-heading > a { flex-shrink: 0; }
  .post-stream { grid-template-columns: 1fr; gap: 16px; }.stream-card { display: grid; grid-template-columns: 42% 58%; }.stream-card__image { aspect-ratio: auto; min-height: 190px; }.stream-card__body { padding: 18px; }.stream-card__body > p:not(.eyebrow) { display: none; }
  .category-callout { grid-template-columns: 1fr; gap: 24px; margin-bottom: 72px; padding: 32px 25px; }.category-callout > p { font-size: 14px; }
  .single-page { width: min(calc(100% - 32px), 920px); padding: 64px 0 76px; }.article__header { text-align: left; }.article__header .eyebrow, .article__meta { justify-content: flex-start; }.article__header h1 { font-size: clamp(2.8rem, 13vw, 4.5rem); }.article__content { font-size: 17px; }
  .site-footer { padding-top: 50px; }.site-footer__inner { width: min(calc(100% - 32px), var(--max)); grid-template-columns: 1fr; gap: 38px; }.footer-nav ul { justify-content: flex-start; }.footer-meta { flex-direction: column; gap: 8px; }
}

@media (max-width: 420px) {
  .hero-card { min-height: 350px; }.hero-card h2 { font-size: 1.8rem; }.section-heading h2 { font-size: 2.55rem; }.section-heading > a { font-size: 10px; }
  .stream-card { display: block; }.stream-card__image { min-height: 210px; }.stream-card__body > p:not(.eyebrow) { display: block; min-height: 0; }
}
