/* =====================================================================
   Seekstead Gaming — site stylesheet
   Visual spec: docs/08_Approved_Website_Design.png
   ===================================================================== */

/* ---------- Fonts (self-hosted, SIL OFL — see assets/fonts/OFL-*.txt) ---------- */
@font-face { font-family: 'Exo 2'; font-style: italic; font-weight: 700; font-display: swap; src: url('../fonts/exo-2-latin-700-italic.woff2') format('woff2'); }
@font-face { font-family: 'Exo 2'; font-style: italic; font-weight: 800; font-display: swap; src: url('../fonts/exo-2-latin-800-italic.woff2') format('woff2'); }
@font-face { font-family: 'Exo 2'; font-style: italic; font-weight: 900; font-display: swap; src: url('../fonts/exo-2-latin-900-italic.woff2') format('woff2'); }
@font-face { font-family: 'Exo 2'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/exo-2-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/montserrat-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/montserrat-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/montserrat-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/montserrat-latin-700-normal.woff2') format('woff2'); }

/* ---------- Tokens ---------- */
:root {
  --carbon: #0B0B0D;
  --gunmetal: #24262B;
  --silver: #C4C7CC;
  --orange: #FF7800;
  --orange-hot: #FFA040;
  --panel: #121317;
  --panel-2: #17181c;
  --text: #E9EAEC;
  --muted: #9EA2A8;
  --line: rgba(196, 199, 204, .22);
  --glow: 0 0 6px rgba(255, 120, 0, .9), 0 0 18px rgba(255, 120, 0, .45);
  --font-display: 'Exo 2', 'Arial Black', Impact, sans-serif;
  --font-body: 'Montserrat', 'Segoe UI', Arial, sans-serif;
  --container: 1240px;
  --header-h: 96px;
  --radius: 12px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background-color: var(--carbon);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
/* Dark texture backdrop */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background: radial-gradient(ellipse at 50% 30%, rgba(11, 11, 13, .2), rgba(11, 11, 13, .85) 80%),
    url('../img/ui/dark-texture.webp') center / cover no-repeat, var(--carbon);
  opacity: .9;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange-hot); text-underline-offset: 3px; }
a:hover { color: #fff; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--orange); color: #000; padding: 10px 16px; font-weight: 700; border-radius: 4px; }
.skip-link:focus { top: 12px; }
#main:focus { outline: none; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 860px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.fine-print { color: var(--muted); font-size: .85rem; margin-top: 20px; }
.icon { width: 1em; height: 1em; flex: none; }

/* Metallic silver text */
.metal-text {
  background: linear-gradient(180deg, #ffffff 0%, #e9ebee 28%, #a9adb3 48%, #6f747b 52%, #d7dade 72%, #f4f5f7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

/* ---------- Glow lines ---------- */
.glow-divider {
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 120, 0, .25) 15%, var(--orange) 45%, #ffd2a0 50%, var(--orange) 55%, rgba(255, 120, 0, .25) 85%, transparent 100%);
  box-shadow: 0 0 10px rgba(255, 120, 0, .55), 0 0 26px rgba(255, 120, 0, .25);
}
.glow-divider--strong { height: 2px; }

/* Section title with tapered orange rules either side */
.section-title {
  display: flex; align-items: center; justify-content: center; gap: 28px;
  margin: 0 auto 30px;
}
.section-title h2, .section-title h1 {
  margin: 0;
  font-family: var(--font-display);
  font-style: italic; font-weight: 800;
  font-size: clamp(1.6rem, 2.6vw, 2.3rem);
  letter-spacing: .16em;
  text-transform: uppercase;
  white-space: nowrap;
  filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .8));
  padding-right: .1em;
}
.section-title .rule {
  flex: 0 1 180px; height: 4px; min-width: 30px;
  background: linear-gradient(90deg, transparent, var(--orange));
  clip-path: polygon(0 45%, 100% 0, 100% 100%, 0 55%);
  filter: drop-shadow(0 0 6px var(--orange));
}
.section-title .rule--r { transform: scaleX(-1); }

/* ---------- Buttons (angular) ---------- */
.btn {
  --cut: 10px;
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 44px; padding: 8px 28px;
  color: #fff; text-decoration: none;
  font-family: var(--font-body); font-weight: 700; font-size: .95rem;
  letter-spacing: .08em; text-transform: uppercase;
  filter: drop-shadow(0 0 7px rgba(255, 120, 0, .55));
  transition: filter .25s var(--ease), transform .25s var(--ease);
}
.btn::before, .btn::after {
  content: ''; position: absolute; z-index: -1;
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
}
.btn::before { inset: 0; background: linear-gradient(180deg, #ffb066, var(--orange) 45%, #c24d00); }
.btn::after { inset: 2px; --cut: 9px; background: linear-gradient(180deg, #2a1a10, #120c08 60%, #1c120b); transition: background .25s var(--ease); }
.btn .icon { width: 1.05em; height: 1.05em; transition: transform .25s var(--ease); }
.btn:hover, .btn:focus-visible { color: #fff; filter: drop-shadow(0 0 12px rgba(255, 120, 0, .85)); transform: translateY(-1px); }
.btn:hover::after, .btn:focus-visible::after { background: linear-gradient(180deg, #4a2610, #2a1408 60%, #3a1d0c); }
.btn:hover .icon { transform: translateX(3px); }
.btn:focus-visible { outline: none; }
.btn:focus-visible::before { background: #fff; }
.btn--ghost { filter: drop-shadow(0 0 4px rgba(255, 120, 0, .35)); }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; margin-top: 24px; }

/* ---------- Badges / notices ---------- */
.badge {
  display: inline-block; vertical-align: middle;
  padding: 3px 10px 3px 12px;
  font: 700 .68rem/1.4 var(--font-body); letter-spacing: .12em; text-transform: uppercase;
  color: #fff; background: rgba(11, 11, 13, .78);
  border: 1px solid var(--orange);
  clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%);
  box-shadow: inset 0 0 8px rgba(255, 120, 0, .35);
}
.badge--draft { border-color: #e6c200; color: #ffe066; box-shadow: none; }
.notice {
  border: 1px solid rgba(255, 120, 0, .5); border-left: 4px solid var(--orange);
  background: rgba(255, 120, 0, .07); padding: 14px 18px; margin: 0 0 28px; border-radius: 4px;
}
.notice--warn { border-color: rgba(230, 194, 0, .55); border-left-color: #e6c200; background: rgba(230, 194, 0, .07); }
.notice p:last-child { margin: 0; }
.preview-bar {
  background: #3a3000; color: #ffe98a; text-align: center; font-size: .8rem; padding: 4px 12px; position: relative; z-index: 60;
}

/* =====================================================================
   Header
   ===================================================================== */
.site-header {
  position: relative; z-index: 50;
  background: linear-gradient(180deg, #050506 0%, #0d0e11 100%);
  height: var(--header-h);
}
.site-header__inner {
  max-width: 1840px; height: 100%; margin: 0 auto; padding: 0 clamp(16px, 3.5vw, 60px);
  display: flex; align-items: center; justify-content: space-between;
}
/* Logo sits on an angular plate that hangs below the header bar */
.brand {
  position: relative; align-self: flex-start;
  display: block; width: clamp(180px, 19vw, 250px);
  margin-top: 4px; padding: 0 14px 10px;
  z-index: 2;
}
.brand::before {
  content: ''; position: absolute; inset: -4px -22px -16px; z-index: -1;
  background: linear-gradient(180deg, #050506 0%, #0f1013 100%);
  clip-path: polygon(0 0, 100% 0, 100% 72%, calc(100% - 26px) 100%, 26px 100%, 0 72%);
}
.brand img { width: 100%; filter: drop-shadow(0 3px 6px rgba(0, 0, 0, .7)); transition: filter .3s var(--ease); }
.brand:hover img { filter: drop-shadow(0 0 10px rgba(255, 120, 0, .45)); }

.site-header__line {
  position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; z-index: 1;
  background: linear-gradient(90deg, rgba(255, 120, 0, .35) 0%, var(--orange) 22%, var(--orange) 45%, #ffd2a0 50%, var(--orange) 55%, var(--orange) 85%, rgba(255, 120, 0, .5) 100%);
  box-shadow: 0 0 8px rgba(255, 120, 0, .8), 0 0 22px rgba(255, 120, 0, .35);
}

.nav { display: flex; align-items: center; gap: 22px; }
.nav__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: clamp(14px, 2.4vw, 42px); }
.nav__item { position: relative; display: flex; align-items: center; }
.nav__link {
  position: relative; display: block; padding: 10px 0;
  color: #f2f2f3; text-decoration: none;
  font-weight: 500; font-size: 1rem; letter-spacing: .01em;
  transition: color .2s var(--ease);
}
.nav__link::after {
  content: ''; position: absolute; left: 50%; bottom: -2px; width: 0; height: 3px; transform: translateX(-50%);
  background: radial-gradient(ellipse at center, #ffd2a0 0%, var(--orange) 40%, transparent 75%);
  transition: width .25s var(--ease);
}
.nav__link:hover { color: #fff; }
.nav__link:hover::after { width: 70%; }
.nav__item.is-current > .nav__link::after { width: 150%; }
.nav__subtoggle {
  background: none; border: 0; color: #fff; padding: 6px 2px 6px 6px; cursor: pointer; display: flex; font-size: 14px;
}
.nav__subtoggle .icon { transition: transform .2s var(--ease); }
.nav__subtoggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.nav__sub {
  list-style: none; margin: 0; padding: 8px 0;
  position: absolute; top: 100%; left: -16px; min-width: 240px;
  background: rgba(14, 15, 18, .97);
  border: 1px solid rgba(255, 120, 0, .55); border-radius: 6px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .6), 0 0 14px rgba(255, 120, 0, .2);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
.nav__item--has-sub.is-open .nav__sub { opacity: 1; visibility: visible; transform: none; }
@media (hover: hover) and (min-width: 961px) {
  .nav__item--has-sub:hover .nav__sub { opacity: 1; visibility: visible; transform: none; }
}
.nav__sub a { display: block; padding: 9px 18px; color: #eee; text-decoration: none; font-size: .95rem; }
.nav__sub a:hover, .nav__sub a[aria-current="page"] { background: rgba(255, 120, 0, .14); color: #fff; }
.nav__sep { width: 2px; height: 40px; background: linear-gradient(180deg, transparent, var(--orange), transparent); box-shadow: 0 0 6px var(--orange); }

.social { list-style: none; display: flex; gap: 14px; margin: 0; padding: 0; }
.social a { display: block; width: 34px; height: 34px; transition: transform .2s var(--ease), filter .2s; }
.social a:hover { transform: translateY(-2px); filter: drop-shadow(0 0 6px rgba(255, 255, 255, .35)); }
.social svg { width: 100%; height: 100%; }

.nav-toggle {
  display: none; background: none; border: 1px solid rgba(255, 120, 0, .6); color: #fff;
  width: 46px; height: 46px; border-radius: 6px; cursor: pointer; font-size: 24px;
  align-items: center; justify-content: center;
}
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: flex; }
.nav-toggle__open, .nav-toggle__close { display: flex; }
.nav-toggle[aria-expanded="false"] .nav-toggle__close { display: none; }

/* =====================================================================
   Home hero
   ===================================================================== */
.hero {
  position: relative; overflow: hidden;
  height: clamp(400px, 29vw, 580px);
  display: flex; align-items: center; justify-content: flex-end;
  background: #1b0f06;
}
.hero__bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 30% 50%;
}
.hero__shade {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 45% 70% at 73% 50%, rgba(0, 0, 0, .38), transparent 70%),
    linear-gradient(180deg, rgba(0, 0, 0, .35) 0%, transparent 25%, transparent 70%, rgba(0, 0, 0, .55) 100%);
}
.hero__content {
  position: relative; z-index: 1;
  width: min(46%, 640px); margin-right: max(5vw, calc((100% - 1700px) / 2));
  text-align: center;
  display: flex; flex-direction: column; align-items: center;
}
.hero__title {
  margin: 0 0 .28em;
  font-family: var(--font-display); font-style: italic; font-weight: 900;
  font-size: clamp(2.6rem, 5.9vw, 6.6rem);
  line-height: .95; letter-spacing: .01em; text-transform: uppercase;
  filter: drop-shadow(0 3px 0 rgba(0, 0, 0, .6)) drop-shadow(0 6px 14px rgba(0, 0, 0, .75));
}
.hero__title span { display: block; padding: 0 .12em; }
.hero__sub {
  display: flex; align-items: center; gap: 18px; width: 100%; justify-content: center;
  margin: 0 0 .9em;
  font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: #fff;
  font-size: clamp(.95rem, 1.45vw, 1.65rem); line-height: 1.3;
  text-shadow: 0 2px 6px rgba(0, 0, 0, .9);
}
.hero__sub-rule { flex: 1 1 60px; max-width: 110px; height: 3px; background: linear-gradient(90deg, transparent, var(--orange)); box-shadow: 0 0 8px rgba(255, 120, 0, .7); }
.hero__sub-rule:last-child { transform: scaleX(-1); }
.hero__divider {
  display: block; width: 86%; height: 2px; margin: 0 0 1.1em;
  background: linear-gradient(90deg, transparent, var(--orange) 30%, #ffe0b8 50%, var(--orange) 70%, transparent);
  box-shadow: 0 0 10px rgba(255, 120, 0, .9);
}
.hero__lead {
  margin: 0; color: #fff; text-transform: uppercase; letter-spacing: .14em; font-weight: 500;
  font-size: clamp(.8rem, 1.15vw, 1.3rem); line-height: 1.5;
  text-shadow: 0 2px 6px rgba(0, 0, 0, .95);
}
.hero__line {
  position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: linear-gradient(90deg, rgba(255, 120, 0, .5), var(--orange) 20%, #ffb36b 50%, var(--orange) 80%, rgba(255, 120, 0, .5));
  box-shadow: 0 0 12px rgba(255, 120, 0, .9), 0 0 30px rgba(255, 120, 0, .4);
}

/* =====================================================================
   Sections
   ===================================================================== */
.section { padding: 34px 0 40px; }
.section--tight { padding: 10px 0 40px; }
.page-home .section--games { padding-top: 30px; }
.page-home .section--news { padding-top: 30px; padding-bottom: 46px; }

/* ---------- Game cards ---------- */
.games-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
.game-card {
  container-type: inline-size;
  position: relative; overflow: hidden;
  aspect-ratio: 551 / 328;
  border-radius: var(--radius);
  border: 2px solid var(--orange);
  background: #0c0c0e;
  box-shadow: 0 0 14px rgba(255, 120, 0, .55), 0 0 34px rgba(255, 120, 0, .18), inset 0 0 18px rgba(255, 120, 0, .35);
  transition: box-shadow .35s var(--ease), transform .35s var(--ease);
}
.game-card:hover, .game-card:focus-within {
  transform: translateY(-3px);
  box-shadow: 0 0 20px rgba(255, 120, 0, .8), 0 0 48px rgba(255, 120, 0, .3), inset 0 0 22px rgba(255, 120, 0, .45);
}
.game-card__art {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s var(--ease);
}
.game-card:hover .game-card__art { transform: scale(1.035); }
.game-card__shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, .35) 0%, transparent 32%, transparent 52%, rgba(6, 6, 8, .72) 72%, rgba(6, 6, 8, .96) 100%);
}
.game-card__status { position: absolute; top: 14px; left: 14px; z-index: 2; }
.game-card__top { position: absolute; z-index: 1; top: max(12%, 44px); left: 0; right: 0; text-align: center; padding: 0 5%; }
.game-card--billion-board-shredder:not(.game-card--has-logo) .game-card__top { text-align: right; top: max(6%, 44px); padding: 0 5% 0 30%; }
/* Official logo artwork on cards: same width for both games, natural aspect ratio */
.game-card--has-logo .game-card__top { top: max(9%, 42px); }
.game-card .game-title--logo { width: 60%; margin: 0 auto; }
/* BBS logo carries a wide shredder graphic, so it needs more width for equal lettering size */
.game-card--billion-board-shredder .game-title--logo { width: 70%; }
.game-card--has-logo .game-card__shade {
  background:
    radial-gradient(ellipse 55% 38% at 50% 24%, rgba(0, 0, 0, .5), transparent 75%),
    linear-gradient(180deg, rgba(0, 0, 0, .35) 0%, transparent 32%, transparent 52%, rgba(6, 6, 8, .72) 72%, rgba(6, 6, 8, .96) 100%);
}
.game-card__bottom {
  position: absolute; z-index: 1; left: 0; right: 0; bottom: 5.5%;
  display: flex; flex-direction: column; align-items: center; gap: clamp(10px, 3cqw, 18px);
}
.game-card .tagline { font-size: clamp(.78rem, 3.2cqw, 1.2rem); }
.game-card .btn { min-width: 172px; }

.game-title { margin: 0; font-family: var(--font-display); font-style: italic; font-weight: 900; text-transform: uppercase; line-height: .9; }
.game-title--logo { line-height: 0; }
.game-title--logo img { display: block; width: 100%; height: auto; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .75)); }
.game-card .game-title { font-size: 12.5cqw; }
.game-card .game-title--silver { font-size: 7.4cqw; line-height: .92; }
.game-title .line { display: block; white-space: nowrap; }
.game-title--gold {
  background: linear-gradient(180deg, #fff6c9 0%, #ffd66b 30%, #e89a1b 52%, #a45f08 60%, #f6c24e 80%, #fff0b0 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 0 #3a1c00) drop-shadow(0 4px 10px rgba(0, 0, 0, .85));
  letter-spacing: .02em; padding: 0 .1em;
}
.game-title--silver {
  background: linear-gradient(180deg, #ffffff 0%, #eceef1 35%, #9aa0a8 50%, #5d636b 54%, #d8dbdf 78%, #ffffff 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 0 #111) drop-shadow(0 4px 10px rgba(0, 0, 0, .9));
  padding: 0 .1em;
}
.tagline {
  margin: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .3em .9em;
  color: #fff; font-weight: 600; text-transform: uppercase; letter-spacing: .06em;
  font-size: clamp(.85rem, 1.45vw, 1.2rem);
  text-shadow: 0 2px 4px rgba(0, 0, 0, .95);
}
.tagline .dot { color: var(--orange); font-size: .8em; text-shadow: 0 0 6px var(--orange); }

/* ---------- Values strip ---------- */
.values { background: linear-gradient(180deg, rgba(23, 24, 28, .85), rgba(14, 15, 18, .85)); margin: 4px 0 0; }
.values__list {
  max-width: 1260px;
  list-style: none; margin: 0 auto; padding-top: 24px; padding-bottom: 24px;
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.value { display: flex; align-items: flex-start; gap: 16px; padding: 4px clamp(10px, 1.6vw, 26px); position: relative; }
.value + .value::before {
  content: ''; position: absolute; left: 0; top: 8%; bottom: 8%; width: 1px;
  background: linear-gradient(180deg, transparent, rgba(196, 199, 204, .45), transparent);
}
.value__icon { flex: none; width: 48px; height: 48px; color: var(--orange); filter: drop-shadow(0 0 6px rgba(255, 120, 0, .45)); }
.value__icon svg { width: 100%; height: 100%; }
.value__icon [fill="currentColor"] { fill: url(#sg-orange); }
.value__icon [stroke="currentColor"] { stroke: url(#sg-orange); }
.value__title { font-size: .92rem; font-weight: 600; text-transform: uppercase; letter-spacing: .02em; white-space: nowrap; color: #fff; margin: 2px 0 4px; }
.value__text { font-size: .85rem; line-height: 1.45; color: #d2d4d8; margin: 0; }

/* ---------- News cards ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.news-card { position: relative; }
.news-card__link {
  display: grid; grid-template-columns: 34% 1fr; min-height: 112px; height: 100%;
  color: #fff; text-decoration: none;
  background: linear-gradient(180deg, rgba(26, 27, 31, .92), rgba(12, 12, 14, .95));
  border: 1px solid rgba(196, 199, 204, .55); border-radius: 7px; overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 4px 14px rgba(0, 0, 0, .5);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease);
}
.news-card__link:hover, .news-card__link:focus-visible {
  color: #fff; border-color: var(--orange); transform: translateY(-2px);
  box-shadow: 0 0 14px rgba(255, 120, 0, .45), 0 6px 18px rgba(0, 0, 0, .55);
}
.news-card__thumb { width: 100%; height: 100%; object-fit: cover; }
.news-card__body { padding: 14px 14px 14px 16px; display: flex; flex-direction: column; justify-content: space-between; gap: 8px; }
.news-card__title { font-size: .98rem; font-weight: 600; line-height: 1.3; margin: 0; }
.news-card__meta { margin: 0; padding-right: 40px; font-size: .85rem; color: #d6d8db; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.news-card__go {
  position: absolute; right: 12px; bottom: 12px; width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  color: var(--orange); border: 2px solid var(--orange); border-radius: 2px; font-size: 18px;
  box-shadow: 0 0 8px rgba(255, 120, 0, .45), inset 0 0 6px rgba(255, 120, 0, .3);
  transition: background .2s var(--ease), color .2s;
}
.news-card__link:hover .news-card__go { background: var(--orange); color: #111; }
.news-card.is-draft .news-card__link { border-style: dashed; }

/* ---------- Panels / generic ---------- */
.panel {
  background: linear-gradient(180deg, rgba(26, 27, 31, .9), rgba(14, 15, 18, .92));
  border: 1px solid var(--line); border-radius: 8px; padding: 22px 24px;
}
.panel--center { text-align: center; color: var(--muted); }
.panel--center p { margin: 0; }

/* =====================================================================
   Inner pages
   ===================================================================== */
.page-hero { position: relative; overflow: hidden; padding: 64px 0 50px; text-align: center; border-bottom: 2px solid var(--orange); box-shadow: 0 2px 14px rgba(255, 120, 0, .45); }
.page-hero__bg {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8, 8, 10, .55), rgba(8, 8, 10, .82)), url('../img/ui/hero-landscape.webp') center 40% / cover no-repeat;
}
.page-hero__inner { position: relative; }
.page-hero__title {
  font-family: var(--font-display); font-style: italic; font-weight: 900; text-transform: uppercase;
  font-size: clamp(2.2rem, 5vw, 3.8rem); letter-spacing: .04em; margin: 0 0 .25em;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, .9)); padding: 0 .1em;
}
.page-hero__sub { margin: 0; text-transform: uppercase; letter-spacing: .14em; font-weight: 600; font-size: clamp(.8rem, 1.3vw, 1rem); text-shadow: 0 2px 6px #000; }

.h-sub {
  font-family: var(--font-display); font-style: italic; font-weight: 800; text-transform: uppercase;
  letter-spacing: .08em; color: var(--silver); font-size: 1.45rem; margin: 1.6em 0 .6em;
}
.h-sub:first-child { margin-top: 0; }
.h-sub--sm { font-size: 1rem; letter-spacing: .1em; margin: 1.4em 0 .5em; color: var(--orange-hot); }
.prose { font-size: 1.02rem; color: #dcdee1; }
.prose h2 { font-family: var(--font-display); font-style: italic; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--silver); font-size: 1.3rem; margin: 1.8em 0 .6em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.legal h2:first-of-type { margin-top: 1em; }

.tick-list { list-style: none; padding: 0 !important; margin: 0 0 1.2em; }
.tick-list li { position: relative; padding-left: 26px; margin-bottom: .55em; }
.tick-list li::before {
  content: ''; position: absolute; left: 2px; top: .5em; width: 10px; height: 10px; background: var(--orange);
  clip-path: polygon(30% 0, 100% 0, 70% 100%, 0 100%); box-shadow: 0 0 6px var(--orange);
}

.split { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center; }
.business-details { font-size: .9rem; color: var(--muted); }
.emblem-img { width: min(100%, 380px); margin: 0 auto; filter: drop-shadow(0 0 26px rgba(255, 120, 0, .3)); }

/* Game page */
.game-hero { position: relative; overflow: hidden; min-height: clamp(320px, 34vw, 520px); display: flex; align-items: flex-end; }
.game-hero__art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.game-hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .25) 0%, rgba(0, 0, 0, .15) 40%, rgba(8, 8, 10, .92) 100%); }
.game-hero__inner { position: relative; z-index: 1; padding-top: 60px; padding-bottom: 40px; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.game-hero__inner .tagline { justify-content: flex-start; }
.game-title--xl { font-size: clamp(2.6rem, 7vw, 5.6rem); }
.game-title--xl.game-title--logo { width: clamp(260px, 44vw, 600px); }
.page-game--billion-board-shredder .game-title--xl.game-title--logo { width: clamp(290px, 50vw, 680px); }
.page-game--billion-board-shredder .game-title--xl { font-size: clamp(2.1rem, 5.4vw, 4.4rem); }
.game-hero__credit { position: absolute; right: 14px; bottom: 10px; margin: 0; z-index: 1; font-size: .72rem; color: rgba(255, 255, 255, .7); letter-spacing: .06em; text-transform: uppercase; }
.game-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; align-items: start; }
.game-layout__main p { color: #dcdee1; }
.game-layout__side .h-sub--sm:first-child { margin-top: 0; }
.availability { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; color: #d6d8db; font-size: .92rem; }
.platforms { list-style: none; padding: 0; margin: 0 0 8px; }
.platforms li { display: grid; grid-template-columns: auto 1fr; gap: 0 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.platforms li strong { color: #fff; }
.platforms li span { color: var(--muted); font-size: .9rem; }
.platforms li em { grid-column: 1 / -1; font-style: normal; color: var(--orange-hot); font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.video { position: relative; aspect-ratio: 16 / 9; margin-bottom: 20px; border: 1px solid var(--line); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.shots { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.shots figure { margin: 0; }
.shots figcaption { font-size: .75rem; color: var(--muted); margin-top: 4px; }

/* Article */
.article__head { position: relative; padding: 56px 0 36px; overflow: hidden; }
.article__media { position: absolute; inset: 0; }
.article__media img { width: 100%; height: 100%; object-fit: cover; filter: blur(2px) brightness(.4); transform: scale(1.05); }
.article__head .container { position: relative; }
.article__title { font-family: var(--font-display); font-style: italic; font-weight: 900; text-transform: uppercase; font-size: clamp(1.9rem, 4.4vw, 3.4rem); letter-spacing: .02em; max-width: 900px; filter: drop-shadow(0 3px 6px #000); padding-right: .1em; margin: 0; }
.article__meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; color: #e5e5e5; margin-bottom: 12px; font-size: .92rem; }
.article__body { padding-top: 36px; padding-bottom: 50px; }
.article__back { margin-top: 2em; }

/* FAQ */
.faq details { border: 1px solid var(--line); border-radius: 6px; margin-bottom: 10px; background: rgba(18, 19, 23, .85); }
.faq summary { cursor: pointer; padding: 14px 18px; font-weight: 600; color: #fff; list-style-position: inside; }
.faq summary::marker { color: var(--orange); }
.faq details p { padding: 0 18px 14px; margin: 0; }
.support-game { margin-bottom: 16px; }
.support-game h3 { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 1.15rem; color: #fff; }
.support-game p:last-child { margin: 0; }
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-bottom: 26px; }
.contact-grid .h-sub--sm { margin-top: 0; }
.contact-grid p { margin: 0; }

/* 404 */
.notfound { padding: 90px 0 110px; }
.notfound__code { font-family: var(--font-display); font-style: italic; font-weight: 900; font-size: clamp(5rem, 16vw, 10rem); line-height: 1; margin: 0 0 .1em; filter: drop-shadow(0 0 18px rgba(255, 120, 0, .35)); }

/* =====================================================================
   Footer
   ===================================================================== */
.site-footer { margin-top: 10px; background: linear-gradient(180deg, rgba(10, 10, 12, .9), #060607); }
.site-footer__inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 30px; padding-top: 26px; padding-bottom: 14px; }
.site-footer__brand { display: block; width: 190px; }
.site-footer__tag { margin: 0; text-align: center; font-size: 1.05rem; color: #e8e9eb; letter-spacing: .01em; }
.site-footer__email { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 22px; font-size: .85rem; color: var(--muted); }
.site-footer__email a { color: #e8e9eb; text-decoration: none; }
.site-footer__email a:hover { color: var(--orange-hot); text-decoration: underline; }
.site-footer__legal, .site-footer__nav { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; }
.site-footer__legal li + li::before, .site-footer__nav li + li::before { content: '|'; color: rgba(255, 255, 255, .45); margin: 0 14px; }
.site-footer__legal a, .site-footer__nav a { color: #e8e9eb; text-decoration: none; font-size: .9rem; }
.site-footer__legal a:hover, .site-footer__nav a:hover { color: var(--orange-hot); text-decoration: underline; }
.site-footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 14px; padding-bottom: 24px; border-top: 1px solid rgba(255, 255, 255, .07); }
.site-footer__nav a { color: var(--muted); font-size: .82rem; }
.site-footer__copy { margin: 0; color: var(--muted); font-size: .8rem; }

/* =====================================================================
   Responsive
   ===================================================================== */
@media (max-width: 1100px) {
  .values__list { grid-template-columns: repeat(2, 1fr); row-gap: 22px; }
  .value:nth-child(3)::before { display: none; }
  .news-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  :root { --header-h: 74px; }
  .brand { width: 168px; margin-top: 2px; padding-bottom: 6px; }
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(10, 10, 12, .98); border-bottom: 2px solid var(--orange);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .7);
    padding: 14px 24px 22px;
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__item { flex-wrap: wrap; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .nav__link { flex: 1; padding: 14px 4px; font-size: 1.05rem; }
  .nav__link::after { display: none; }
  .nav__item.is-current > .nav__link { color: var(--orange-hot); }
  .nav__subtoggle { padding: 12px; font-size: 18px; }
  .nav__sub { position: static; width: 100%; min-width: 0; border: 0; box-shadow: none; background: none; padding: 0 0 8px 16px; display: none; opacity: 1; visibility: visible; transform: none; }
  .nav__item--has-sub.is-open .nav__sub { display: block; }
  .nav__sep { display: none; }
  .social--header { padding-top: 16px; justify-content: center; }

  .hero { height: auto; min-height: 460px; justify-content: center; padding: 50px 0 46px; }
  .hero__bg { object-position: 22% 50%; }
  .hero__shade { background: linear-gradient(180deg, rgba(0, 0, 0, .45), rgba(0, 0, 0, .35) 50%, rgba(0, 0, 0, .65)); }
  .hero__content { width: 100%; max-width: 620px; margin: 0; padding: 0 20px; }
  .hero__title { font-size: clamp(2.6rem, 11vw, 4.6rem); }
  .hero__sub { font-size: clamp(.9rem, 3.6vw, 1.2rem); }
  .hero__lead { font-size: clamp(.78rem, 3vw, 1rem); }

  .split, .game-layout { grid-template-columns: 1fr; }
  .split__media { order: -1; }
  .emblem-img { width: 220px; }
  .site-footer__inner { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 16px; }
  .site-footer__bottom { justify-content: center; text-align: center; }
  .site-footer__nav, .site-footer__legal { justify-content: center; }
}

@media (max-width: 820px) {
  .games-grid { grid-template-columns: 1fr; gap: 22px; }
  .game-card .game-title { font-size: clamp(2.4rem, 11vw, 4.6rem); }
  .game-card .game-title--silver { font-size: clamp(1.6rem, 7.2vw, 3.1rem); }
  .news-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .container { padding: 0 16px; }
  .section-title { gap: 12px; }
  .section-title .rule { flex-basis: 28px; min-width: 18px; }
  .section-title h2, .section-title h1 { white-space: normal; text-align: center; letter-spacing: .1em; }
  .hero__sub-rule { display: none; }
  .value__title { white-space: normal; }
  .values__list { grid-template-columns: 1fr; }
  .value::before { display: none; }
  .value + .value { border-top: 1px solid rgba(255, 255, 255, .08); padding-top: 18px; }
  .game-card { aspect-ratio: 4 / 3; }
  .game-card__bottom { gap: 12px; }
  .tagline { font-size: .82rem; gap: .2em .6em; }
  .game-hero__credit { top: 10px; bottom: auto; }
  .site-footer__nav { gap: 6px 18px; }
  .site-footer__nav li + li::before { display: none; }
  .site-footer__legal li + li::before { margin: 0 8px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
