@font-face { font-family: Inter; font-weight: 400; font-display: swap; src: url(/fonts/inter-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: Inter; font-weight: 500; font-display: swap; src: url(/fonts/inter-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: Inter; font-weight: 700; font-display: swap; src: url(/fonts/inter-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: Inter; font-weight: 800; font-display: swap; src: url(/fonts/inter-latin-800-normal.woff2) format("woff2"); }

:root {
  --ink: #131313;
  --ink-soft: #4a4a4a;
  --muted: #777;
  --bg: #fff;
  --grey: #f5f5f5;
  --line: #e4e4e4;
  --dark: #131313;
  --navy: #111727;
  --accent: #ff9200;
  --accent-dark: #e07f00;
  --radius: 10px;
  --wrap: 1180px;
  --narrow: 760px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 500 17px/1.65 Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img, video, iframe { max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { font-weight: 800; line-height: 1.2; margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.wrap-narrow { width: 100%; max-width: var(--narrow); margin: 0 auto; padding: 0 20px; }
.center { text-align: center; }

.button {
  display: inline-block;
  padding: .7em 1.6em;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: .9rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background .2s;
}
.button:hover, .button:focus-visible { background: var(--accent-dark); }
.button-light { background: #fff; color: var(--ink); }
.button-light:hover, .button-light:focus-visible { background: #ffe1b8; }
.button-small { padding: .55em 1.3em; font-size: .8rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(10, 10, 10, .92); color: #fff; backdrop-filter: blur(8px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; text-decoration: none; font-size: 1.05rem; }
.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.nav-button { display: none; cursor: pointer; padding: 10px; }
.nav-button span { display: block; width: 24px; height: 2px; margin: 5px 0; background: #fff; }
.nav ul { list-style: none; margin: 0; padding: 0; }
.nav > ul { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 18px; font-size: .88rem; }
.nav a { text-decoration: none; opacity: .85; }
.nav a:hover, .nav a:focus-visible { opacity: 1; color: var(--accent); }
.nav .more { position: relative; }
.nav .more button { background: none; border: 0; color: inherit; font: inherit; cursor: pointer; opacity: .85; padding: 0; }
.nav .more ul {
  display: none; position: absolute; right: 0; top: 100%; min-width: 210px; padding: 10px 0;
  background: #1c1c1c; border-radius: var(--radius); box-shadow: 0 10px 30px rgba(0, 0, 0, .3);
}
.nav .more:hover ul, .nav .more:focus-within ul { display: block; }
.nav .more li a { display: block; padding: 8px 18px; }

@media (max-width: 1080px) {
  .nav-button { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #0a0a0a; padding: 10px 20px 24px; }
  .nav-toggle:checked ~ .nav { display: block; }
  .nav > ul { flex-direction: column; align-items: stretch; gap: 0; font-size: 1rem; }
  .nav li a { display: block; padding: 10px 0; border-bottom: 1px solid #222; }
  .nav .more button { display: none; }
  .nav .more ul { display: block; position: static; background: none; box-shadow: none; padding: 0; }
  .nav .more li a { padding: 10px 0; }
}

/* Hero */
.hero { position: relative; display: flex; align-items: center; justify-content: center; text-align: center; color: #fff; background: var(--dark); overflow: hidden; }
.hero-full { min-height: calc(100vh - 68px); }
.hero-large { min-height: 560px; }
.hero-medium { min-height: 420px; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero.overlay::after { content: ""; position: absolute; inset: 0; background: rgba(5, 15, 30, .62); }
.hero-content { position: relative; z-index: 1; padding-top: 60px; padding-bottom: 60px; max-width: 720px; }
.hero-content p { font-size: 1.2rem; }
.home-logo { width: 140px; display: block; margin: 0 auto 10px; }
.home-wordmark { width: 260px; display: block; margin: 0 auto 26px; }

/* Sections */
.section { padding: 80px 0; }
.section-grey { background: var(--grey); }
.section-title { text-align: center; margin-bottom: 40px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.split img { display: block; margin: 0 auto; max-height: 420px; width: auto; }
@media (max-width: 800px) { .split { grid-template-columns: 1fr; } }

.feature { color: #fff; overflow: hidden; }
.feature-dark { background: var(--dark); }
.feature-navy { background: var(--navy); }
.feature-inner { display: grid; grid-template-columns: 5fr 7fr; gap: 40px; align-items: center; min-height: 600px; }
.feature-inner.reverse { grid-template-columns: 7fr 5fr; }
.feature-inner.reverse .feature-text { order: 2; }
.feature-inner img { width: 100%; max-width: 540px; justify-self: center; }
.feature-text h2 { font-size: clamp(2rem, 5vw, 3rem); }
@media (max-width: 800px) {
  .feature-inner, .feature-inner.reverse { grid-template-columns: 1fr; text-align: center; padding-top: 60px; min-height: 0; }
  .feature-inner.reverse .feature-text { order: 0; }
  .feature-inner img { max-width: 320px; }
}

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px; }
.card a { display: block; height: 100%; text-decoration: none; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 2px 14px rgba(0, 0, 0, .08); transition: transform .2s, box-shadow .2s; }
.card a:hover, .card a:focus-visible { transform: translateY(-4px); box-shadow: 0 10px 28px rgba(0, 0, 0, .14); }
.card-image { aspect-ratio: 16 / 9; background: var(--grey); }
.card-image img, .card-placeholder { width: 100%; height: 100%; object-fit: cover; display: block; }
.card-body { padding: 18px 20px 22px; }
.card-body h3 { font-size: 1.05rem; margin-bottom: .5em; }
.card-cat { color: var(--accent-dark); font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; margin-bottom: .4em; }
.card-date { color: var(--muted); font-size: .85rem; margin: 0; }
.pagination { display: flex; justify-content: center; align-items: center; gap: 24px; margin-top: 50px; font-weight: 700; }

/* Post + pages */
.post-header { padding-top: 60px; text-align: center; }
.post-meta { color: var(--muted); font-size: .9rem; }
.post-meta span + span::before { content: ", "; }
.post-image { display: block; width: 100%; max-width: 1000px; margin: 10px auto 40px; border-radius: var(--radius); }
.page-header { background: var(--dark); color: #fff; padding: 80px 0 50px; }
.page-header p { color: #bbb; }
.page-body { padding-top: 50px; padding-bottom: 80px; }

.prose { padding-bottom: 60px; overflow-wrap: break-word; }
.prose h1, .prose h2, .prose h3, .prose h4 { margin-top: 1.6em; }
.prose h1 { font-size: 1.9rem; }
.prose h2 { font-size: 1.6rem; }
.prose img { display: block; margin: 1.5em auto; border-radius: 6px; }
.prose a { color: var(--accent-dark); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .35em; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.5em auto; width: 40%; }
.prose blockquote { margin: 1.5em 0; padding: .5em 1.2em; border-left: 4px solid var(--accent); background: var(--grey); }
.prose table { border-collapse: collapse; width: 100%; }
.prose td, .prose th { border: 1px solid var(--line); padding: 6px 10px; }
.prose figure { margin: 1.5em 0; text-align: center; }
.prose figcaption { color: var(--muted); font-size: .9rem; }
.prose details { border: 1px solid var(--line); border-radius: 8px; padding: 0 16px; margin: 0 0 10px; }
.prose summary { cursor: pointer; font-weight: 700; padding: 12px 0; }
.prose details[open] { padding-bottom: 8px; }
.prose .video { display: block; width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: 8px; margin: 1.5em 0; }
.prose .steam-widget { display: block; width: 100%; max-width: 646px; height: 190px; border: 0; margin: 1em 0; }
.gallery { display: grid; gap: 10px; margin: 1.5em 0; grid-template-columns: repeat(var(--cols, 3), 1fr); }
.gallery.cols-2 { --cols: 2; }
.gallery.cols-4 { --cols: 4; }
.gallery img { margin: 0; width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
@media (max-width: 600px) { .gallery, .gallery.cols-4 { --cols: 2; } }

/* Games, contact */
.games { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 380px)); justify-content: center; gap: 30px; }
.game { border-radius: var(--radius); overflow: hidden; box-shadow: 0 2px 14px rgba(0, 0, 0, .08); }
.game img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.game-body { padding: 20px 22px 10px; }
.game-body p { margin-bottom: .4em; color: var(--ink-soft); }
.game-body a { color: var(--accent-dark); font-weight: 700; }
.panel { background: #fff; border-radius: var(--radius); padding: 32px; box-shadow: 0 2px 14px rgba(0, 0, 0, .06); }
.panel img { margin-top: 30px; max-height: 260px; }
.panel a:not(.button) { color: var(--accent-dark); font-weight: 700; }
.company { color: var(--ink-soft); font-size: .95rem; }

/* Footer */
.site-footer { background: #000; color: #ddd; padding: 50px 0 40px; font-size: .9rem; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; padding-bottom: 24px; border-bottom: 1px solid #343434; }
.social { display: flex; gap: 16px; margin-top: 8px; flex-wrap: wrap; }
.social a, .footer-nav a { text-decoration: none; }
.social a:hover, .footer-nav a:hover { color: var(--accent); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 24px 0 18px; font-weight: 700; }
.address { color: #777; margin: 0; }
