/* Lollygag Studios – site styles. Colors and fonts follow brand kit v1 (Ink, Off-white, Grey, one Magenta accent; Outfit + Inter). */
:root {
  --bg: #0E0F13;          /* Ink */
  --bg-2: #121318;
  --card: #17181E;
  --chip: #22232B;
  --line: #1F2027;
  --line-card: #272830;
  --line-strong: #2E2F38;
  --line-input: #363741;
  --line-btn: #44454F;
  --text: #F4F2EE;        /* Off-white */
  --text-2: #DCDAD5;
  --text-3: #C9C7C2;
  --muted: #8A8C96;       /* Grey */
  --accent: #FF2E88;      /* Lollygag Magenta: buttons, links, highlights, small labels only — never long text */
  --accent-hover: #FF5CA3;
  --accent-dim: rgba(255, 46, 136, .2);
  --on-accent: #0E0F13;
  --display: 'Outfit', system-ui, sans-serif;
  --body: 'Inter', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}
a { color: var(--accent); }
a:hover { color: var(--accent-hover); }
input, select, textarea, button { font: inherit; }
img { max-width: 100%; }
[id] { scroll-margin-top: 88px; } /* clears the sticky header */
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
[hidden] { display: none !important; }
.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: 30; background: var(--accent); color: var(--on-accent); padding: 10px 16px; border-radius: 8px; font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; color: var(--on-accent); }

.wrap { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }

/* ---------- Buttons ---------- */
.btn { display: inline-block; text-decoration: none; font-weight: 600; border-radius: 12px; padding: 15px 26px; text-align: center; }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-hover); color: var(--on-accent); }
.btn-ghost { border: 1.5px solid var(--line-btn); color: var(--text); padding: 14px 26px; }
.btn-ghost:hover { border-color: var(--accent); color: var(--text); }
.btn-sm { border-radius: 10px; padding: 12px 22px; }

/* ---------- Header / main menu ---------- */
.site-header { border-bottom: 1px solid var(--line); background: rgba(14, 15, 19, .94); position: sticky; top: 0; z-index: 20; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.nav { padding-top: 14px; padding-bottom: 14px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.logo { display: flex; align-items: center; text-decoration: none; }
.logo-img { display: block; width: 168px; height: auto; }
.nav-links { display: flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15px; }
.nav-links a { color: var(--text-2); text-decoration: none; padding: 10px 12px; border-radius: 8px; }
.nav-links a:hover { color: var(--text); }
.nav-links a[aria-current="page"] { color: var(--accent); box-shadow: inset 0 -2px 0 var(--accent); border-radius: 0; }
.nav-links a.nav-cta { background: var(--accent); color: var(--on-accent); padding: 11px 20px; border-radius: 999px; font-weight: 600; margin-left: 14px; }
.nav-links a.nav-cta:hover { background: var(--accent-hover); }
.menu-toggle { display: none; }

.nav-item { position: relative; display: flex; align-items: center; }
.sub-toggle { background: none; border: 0; color: var(--text-2); width: 28px; height: 40px; margin-left: -8px; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; border-radius: 6px; }
.sub-toggle:hover { color: var(--text); }
.sub-toggle svg { transition: transform .15s; }
.has-sub.open .sub-toggle svg { transform: rotate(180deg); }
.sub { display: none; position: absolute; top: 100%; left: 0; min-width: 180px; padding: 8px; margin-top: 6px; background: var(--card); border: 1px solid var(--line-strong); border-radius: 12px; box-shadow: 0 18px 40px rgba(0, 0, 0, .45); flex-direction: column; }
.sub::before { content: ""; position: absolute; left: 0; right: 0; top: -8px; height: 8px; } /* keeps hover alive across the gap */
.sub a { padding: 11px 14px; border-radius: 8px; }
.sub a:hover { background: var(--chip); color: var(--accent); }
.has-sub.open .sub { display: flex; }
@media (hover: hover) and (min-width: 961px) { .has-sub:hover .sub { display: flex; } }

/* ---------- Shared section bits ---------- */
.eyebrow { font-weight: 600; font-size: 13px; letter-spacing: 3px; text-transform: uppercase; color: var(--accent); }
.section { padding-top: 88px; padding-bottom: 88px; display: flex; flex-direction: column; gap: 40px; }
.section-tight { padding-top: 8px; }
.section-head { display: flex; flex-direction: column; gap: 10px; max-width: 680px; }
.section-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; }
.more-link { font-weight: 600; text-decoration: none; padding: 10px 0; }
.h2 { margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(28px, 3.4vw, 42px); line-height: 1.12; letter-spacing: -1px; }
.band { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.card { background: var(--card); border: 1px solid var(--line-card); border-radius: 16px; padding: 26px; display: flex; flex-direction: column; gap: 12px; }
.card h3 { margin: 0; font-size: 19px; font-weight: 600; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }

/* page title block (games, about, news, contact) */
.page-head { padding-top: 72px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 14px; }
.page-head h1 { margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(36px, 5vw, 60px); line-height: 1.05; letter-spacing: -1.5px; }
.page-head p { margin: 0; color: var(--text-3); font-size: 19px; max-width: 640px; }

/* ---------- Home: hero banner ---------- */
.hero-banner { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); min-height: min(640px, 82vh); display: flex; align-items: center; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 75% 60%; }
.hero-banner::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(14, 15, 19, .97) 0%, rgba(14, 15, 19, .88) 34%, rgba(14, 15, 19, .25) 68%, rgba(14, 15, 19, .1) 100%),
  linear-gradient(0deg, var(--bg) 0%, rgba(14, 15, 19, 0) 30%); }
.hero-inner { position: relative; z-index: 1; width: 100%; padding-top: 96px; padding-bottom: 96px; display: flex; flex-direction: column; gap: 22px; }
.hero-inner > * { max-width: 600px; }
.hero-banner h1 { margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(36px, 5vw, 62px); line-height: 1.05; letter-spacing: -1.5px; }
.hero-lead { margin: 0; color: var(--text-2); font-size: 19px; max-width: 520px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }
.hero-actions .btn-ghost { background: rgba(14, 15, 19, .5); }

/* ---------- Game cards ---------- */
.game-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 28px; }
.game-card { background: var(--card); border: 1px solid var(--line-card); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; transition: border-color .2s, transform .2s; }
.game-card:hover { border-color: var(--accent-dim); }
.game-art { display: block; overflow: hidden; }
.game-art img { width: 100%; height: auto; aspect-ratio: 575 / 335; object-fit: cover; display: block; background: var(--bg-2); transition: transform .4s; }
.game-card:hover .game-art img { transform: scale(1.03); }
.game-body { padding: 26px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { background: var(--chip); color: var(--text-2); font-size: 12px; font-weight: 600; letter-spacing: 1px; padding: 5px 10px; border-radius: 6px; }
.tag-accent { background: var(--accent-dim); color: var(--accent-hover); }
.game-card h3 { margin: 0; font-family: var(--display); font-weight: 700; font-size: 26px; }
.game-card p { margin: 0; color: var(--text-3); }
.specs { margin: 0; display: grid; grid-template-columns: repeat(4, auto); justify-content: space-between; gap: 12px 20px; border-top: 1px solid var(--line-card); padding-top: 16px; }
.specs dt { font-size: 12px; color: var(--muted); }
.specs dd { margin: 0; font-weight: 600; }
.specs dd.yes { color: var(--accent); }
.specs-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); justify-content: stretch; }
.spec-note { font-size: 14px; color: var(--muted) !important; margin-top: -6px !important; }
.game-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: auto; padding-top: 8px; }

/* ---------- Games page: tabs and categories ---------- */
.tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: none; min-height: 48px; padding: 10px 22px; border-radius: 999px; border: 1.5px solid var(--line-btn); background: none; color: var(--text-2); font-weight: 600; cursor: pointer; }
.tab:hover { border-color: var(--accent); color: var(--text); }
.tab[aria-selected="true"] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.catalog { padding-top: 40px; padding-bottom: 96px; display: flex; flex-direction: column; gap: 56px; }
.cat-section { display: flex; flex-direction: column; gap: 24px; }
.cat-title { margin: 0; font-family: var(--display); font-weight: 700; font-size: 26px; }
.catalog.filtered .cat-title { display: none; }

/* "Coming soon" block: name, label and a slowly moving magenta line */
.soon-block { position: relative; overflow: hidden; border: 1px solid var(--line-strong); border-radius: 24px; padding: clamp(56px, 9vw, 104px) 24px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px;
  background: radial-gradient(ellipse at 50% 0%, rgba(255, 46, 136, .12), transparent 60%), var(--card); }
.soon-name { margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(44px, 8vw, 88px); line-height: 1; letter-spacing: -2px; }
.soon-text { margin: 0; font-weight: 600; font-size: 15px; letter-spacing: 4px; text-transform: uppercase; color: var(--accent); }
.soon-line { display: block; width: min(240px, 60%); height: 2px; margin-top: 10px; border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent) 0 0 / 50% 100% no-repeat, var(--accent-dim);
  animation: soon-sweep 3.2s ease-in-out infinite; }
@keyframes soon-sweep { 0% { background-position: -100% 0, 0 0; } 100% { background-position: 200% 0, 0 0; } }
.soon-block-sm { padding: 48px 24px; }
.soon-block-sm .soon-name { font-size: clamp(32px, 5vw, 48px); }

/* ---------- Game details window ---------- */
.game-dialog { width: min(680px, calc(100% - 32px)); max-height: calc(100% - 32px); padding: 0; border: 1px solid var(--line-strong); border-radius: 20px; background: var(--card); color: var(--text); overflow: auto; overscroll-behavior: contain; }
.game-dialog::backdrop { background: rgba(5, 6, 9, .78); backdrop-filter: blur(3px); }
.game-dialog img { display: block; width: 100%; height: auto; aspect-ratio: 800 / 400; object-fit: cover; }
.dialog-body { padding: 26px 28px 30px; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.dialog-body h2 { margin: 0; font-family: var(--display); font-weight: 700; font-size: 30px; line-height: 1.1; }
.dialog-body p { margin: 0; color: var(--text-3); }
.specs-wide { width: 100%; grid-template-columns: repeat(3, minmax(0, 1fr)); justify-content: stretch; gap: 16px; }
.dialog-close { position: absolute; top: 12px; right: 12px; width: 48px; height: 48px; border-radius: 999px; border: 1px solid var(--line-strong); background: rgba(14, 15, 19, .8); color: var(--text); font-size: 28px; line-height: 1; cursor: pointer; }
.dialog-close:hover { border-color: var(--accent); }

/* ---------- Home: why, categories, news, partner call-to-action ---------- */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 20px; }

.cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 20px; }
.cat-tile { position: relative; overflow: hidden; min-height: 240px; border-radius: 20px; border: 1px solid var(--line-strong); background: var(--card); padding: 26px; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; text-decoration: none; color: var(--text); transition: border-color .2s; }
.cat-tile:hover { border-color: var(--accent); color: var(--text); }
.cat-tile picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.cat-tile:hover picture img { transform: scale(1.04); }
.cat-crash::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(14, 15, 19, .95) 10%, rgba(14, 15, 19, .1) 70%); }
.cat-name, .cat-meta { position: relative; z-index: 1; }
.cat-name { font-family: var(--display); font-weight: 700; font-size: 34px; line-height: 1.1; }
.cat-meta { color: var(--accent); font-weight: 600; }
.cat-soon { justify-content: center; align-items: center; text-align: center; background: radial-gradient(ellipse at 50% 0%, rgba(255, 46, 136, .1), transparent 65%), var(--card); }
.soon-label { font-weight: 600; font-size: 13px; letter-spacing: 3px; text-transform: uppercase; color: var(--accent); }

.news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 20px; }
.news-card h3 { font-size: 20px; }
.news-kicker { font-weight: 600; font-size: 12px; color: var(--accent); letter-spacing: 1px; }

.cta-box { background: radial-gradient(ellipse at 100% 0%, rgba(255, 46, 136, .14), transparent 55%), var(--card); border: 1px solid var(--line-strong); border-radius: 24px; padding: clamp(28px, 5vw, 56px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 48px; }
.cta-copy { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.cta-copy p { margin: 0; color: var(--text-3); max-width: 560px; }
.cta-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.cta-mail { color: var(--muted); font-size: 15px; overflow-wrap: anywhere; }

/* ---------- About ---------- */
.split { flex-direction: row; flex-wrap: wrap; gap: 32px 64px; }
.split > * { flex: 1 1 420px; min-width: 0; }
.prose { display: flex; flex-direction: column; gap: 18px; color: var(--text-3); }
.prose p { margin: 0; }
.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 28px; }
.values > div { border-top: 2px solid var(--accent); padding-top: 18px; }
.values h3 { margin: 0 0 8px; font-size: 19px; }
.values p { margin: 0; color: var(--muted); font-size: 15px; }
.company { margin: 0; display: grid; gap: 0; }
.company > div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 24px; padding: 14px 0; border-bottom: 1px solid var(--line-card); }
.company dt { color: var(--muted); }
.company dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.company dd.tba { color: var(--muted); font-weight: 400; font-style: italic; }

/* ---------- Partners (contact page) ---------- */
.partners { padding-bottom: 96px; }
.partners-box { background: var(--card); border: 1px solid var(--line-strong); border-radius: 24px; padding: clamp(28px, 4vw, 56px); display: flex; flex-wrap: wrap; gap: 48px; }
.partners-intro { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.partners-intro h2 { font-size: clamp(26px, 3vw, 36px); }
.partners-intro p { margin: 0; color: var(--text-3); }
.partners-intro .partners-mail { color: var(--muted); font-size: 15px; overflow-wrap: anywhere; }
.partner-form { flex: 1 1 440px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 16px; align-content: start; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; color: var(--text-2); }
.field-wide, .partner-form .full { grid-column: 1 / -1; }
.field input, .field select, .field textarea { background: var(--bg); border: 1px solid var(--line-input); border-radius: 10px; padding: 13px 14px; color: var(--text); font-size: 16px; min-height: 48px; width: 100%; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.form-submit { background: var(--accent); color: var(--on-accent); border: 0; border-radius: 12px; padding: 16px; font-weight: 600; font-size: 16px; cursor: pointer; }
.form-submit:hover { background: var(--accent-hover); }
.form-submit:disabled { opacity: .6; cursor: wait; }
.form-error { margin: 0; color: #F28B82; font-size: 15px; }
.hp { display: none; }
.form-thanks { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: 8px 0; }
.form-thanks h3 { margin: 0; font-family: var(--display); font-weight: 700; font-size: 28px; color: var(--accent); }
.form-thanks p { margin: 0; color: var(--text-3); overflow-wrap: anywhere; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-2); font-size: 14px; color: var(--muted); }
.footer-inner { padding-top: 48px; padding-bottom: 32px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px 48px; }
.footer-brand { display: flex; flex-direction: column; gap: 12px; flex: 1 1 260px; }
.footer-brand p { margin: 0; max-width: 280px; }
.footer-logo { display: block; width: 152px; height: auto; }
.footer-nav, .footer-legal { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 22px; }
.footer-nav a, .footer-legal a { color: var(--text-2); text-decoration: none; padding: 8px 0; }
.footer-nav a:hover, .footer-legal a:hover { color: var(--accent); }
.footer-legal a { color: var(--muted); }
.age { border: 1.5px solid var(--muted); border-radius: 999px; padding: 2px 9px; font-weight: 600; color: var(--text); }
.footer-bottom { padding-top: 20px; padding-bottom: 28px; border-top: 1px solid var(--line); }

/* ---------- Simple text pages (privacy, terms, responsible gaming, 404) ---------- */
.page { max-width: 760px; padding-top: 72px; padding-bottom: 96px; }
.page h1 { margin: 10px 0 12px; font-family: var(--display); font-weight: 700; font-size: clamp(30px, 4.4vw, 48px); line-height: 1.1; letter-spacing: -1px; }
.page h2 { margin: 40px 0 10px; font-family: var(--display); font-weight: 700; font-size: 22px; letter-spacing: -0.3px; }
.page p, .page li { color: var(--text-3); }
.page ul { padding-left: 22px; }
.page li { margin-bottom: 8px; }
.page .updated { color: var(--muted); font-size: 15px; margin: 0; }
.help-list { list-style: none; padding: 0 !important; display: grid; gap: 12px; }
.help-list li { background: var(--card); border: 1px solid var(--line-card); border-radius: 12px; padding: 16px 18px; margin: 0; }
.help-list strong { color: var(--text); display: block; }
.not-found { min-height: 60vh; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 20px; }
.not-found .code { font-family: var(--display); font-weight: 700; font-size: clamp(80px, 16vw, 160px); line-height: 1; color: var(--accent); letter-spacing: -4px; }
.not-found p { margin: 0; color: var(--text-3); max-width: 520px; }

/* ---------- Tablets & phones: hamburger menu ---------- */
@media (max-width: 960px) {
  .js .menu-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 48px; height: 48px; margin-right: -4px;
    background: none; border: 1px solid var(--line-strong); border-radius: 12px; color: var(--text); cursor: pointer;
  }
  .menu-toggle .bars, .menu-toggle .bars::before, .menu-toggle .bars::after {
    display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .2s, background .2s;
  }
  .menu-toggle .bars::before, .menu-toggle .bars::after { content: ""; position: absolute; left: 0; }
  .menu-toggle .bars::before { top: -6px; }
  .menu-toggle .bars::after { top: 6px; }
  .menu-open .menu-toggle .bars { background: transparent; }
  .menu-open .menu-toggle .bars::before { transform: translateY(6px) rotate(45deg); }
  .menu-open .menu-toggle .bars::after { transform: translateY(-6px) rotate(-45deg); }

  .js .nav-links { display: none; }
  .nav-links { flex-wrap: wrap; }
  .js .menu-open .nav-links {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    flex-basis: 100%; padding: 6px 0 10px; font-size: 17px; max-height: calc(100vh - 80px); overflow-y: auto;
  }
  .js .menu-open .nav-links a { display: flex; align-items: center; min-height: 52px; padding: 12px 4px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .js .menu-open .nav-links a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--accent); padding-left: 14px; }
  .nav-item { flex-direction: column; align-items: stretch; }
  .sub-toggle { display: none; }
  .sub { display: flex; position: static; margin: 0; padding: 0 0 0 18px; background: none; border: 0; box-shadow: none; min-width: 0; }
  .sub::before { content: none; }
  .js .menu-open .sub a { min-height: 48px; color: var(--muted); font-size: 16px; }
  .js .menu-open .nav-links a.nav-cta { margin: 14px 0 0; justify-content: center; padding: 14px 20px; border-bottom: 0; border-radius: 999px; }
}

@media (max-width: 600px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .nav { padding-top: 10px; padding-bottom: 10px; }
  .logo-img { width: 48px; height: 48px; }
  .section { padding-top: 56px; padding-bottom: 56px; gap: 28px; }
  .section-tight { padding-top: 0; }
  .page-head { padding-top: 44px; padding-bottom: 28px; }
  .page-head p, .hero-lead { font-size: 17px; }

  /* phones: the art sits on top as a picture, the text below it */
  .hero-banner { display: block; min-height: 0; }
  .hero-banner::after { content: none; }
  .hero-bg { position: relative; display: block; }
  .hero-bg img { position: static; height: auto; aspect-ratio: 4 / 3; object-position: 78% 70%; }
  .hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--bg) 0%, rgba(14, 15, 19, 0) 45%); }
  .hero-inner { margin-top: -36px; padding-top: 0; padding-bottom: 48px; gap: 18px; }
  .hero-actions .btn { flex: 1 1 100%; }

  .game-body { padding: 20px; }
  .game-card h3 { font-size: 22px; }
  .game-actions .btn { flex: 1 1 auto; }
  .specs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .specs-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .specs dd { font-size: 14px; }
  .specs-wide { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .catalog { padding-top: 28px; padding-bottom: 64px; gap: 40px; }
  .tab { padding: 10px 18px; }
  .soon-block { border-radius: 20px; }

  .game-dialog { width: calc(100% - 24px); max-height: calc(100% - 24px); }
  .dialog-body { padding: 20px 18px 24px; }
  .dialog-body h2 { font-size: 24px; }
  .dialog-body .btn { width: 100%; }

  .cat-tile { min-height: 180px; padding: 22px; }
  .cat-name { font-size: 28px; }
  .cta-box { padding: 26px 18px; border-radius: 20px; }
  .cta-actions, .cta-actions .btn { width: 100%; }

  .partners { padding-bottom: 64px; }
  .partners-box { padding: 24px 18px; gap: 32px; border-radius: 20px; }
  .partners-intro, .partner-form, .form-thanks { flex-basis: 100%; }
  .footer-inner { padding-top: 36px; }
  .page { padding-top: 48px; padding-bottom: 64px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
