/* Общий стиль всех страниц. Заменяет assets/styles.css целиком. */
/* Белый / голубой / синий: крупная игровая витрина и мягкие карточки. */
:root {
  --ink: #12213c;
  --muted: #65758e;
  --blue: #1458d5;
  --blue2: #367af2;
  --sky: #e8f3ff;
  --line: #dce7f3;
  --paper: #ffffff;
  --canvas: #f4f8fd;
  --ice: #f6fbff;
  --shadow: 0 12px 32px rgba(36, 80, 138, .08);
  --r: 20px;
  --font: Manrope, Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; background: var(--canvas); color: var(--ink); font: 400 15px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { color: inherit; cursor: pointer; }
img { max-width: 100%; }
::selection { background: #c5e0ff; color: #12213c; }
:where(a, button, input, textarea, select, summary):focus-visible { outline: 3px solid #367af2; outline-offset: 4px; }
.shell { min-height: 100vh; }

/* Шапка и навигация */
.topbar { position: sticky; top: 0; z-index: 30; min-height: 80px; padding: 12px clamp(20px, 4vw, 64px); display: flex; align-items: center; justify-content: space-between; gap: 24px; background: rgba(255,255,255,.95); border-bottom: 1px solid var(--line); box-shadow: 0 4px 24px #12213c05; backdrop-filter: blur(16px); }
.brand { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand-mark { display: grid; place-items: center; width: 43px; height: 43px; border-radius: 14px; background: linear-gradient(135deg, var(--blue2), var(--blue)); color: white; font-size: 15px; font-weight: 900; box-shadow: 0 6px 15px #1458d530; }
.brand-name { font-size: 21px; font-weight: 900; line-height: 1; letter-spacing: -.05em; }
.brand-sub { display: block; margin-top: 5px; color: var(--muted); font-size: 9px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.topnav { display: flex; align-items: center; gap: 5px; }
.topnav a { padding: 10px 14px; border-radius: 10px; color: #51637d; font-size: 13px; font-weight: 700; transition: color .2s, background .2s; }
.topnav a:hover, .topnav a.active { background: var(--sky); color: var(--blue); }
.top-right { display: flex; align-items: center; gap: 10px; }
.prototype-tag { display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 20px; font-size: 10px; font-weight: 700; color: var(--muted); white-space: nowrap; }
.prototype-tag::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--blue2); }
.menu-button { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: var(--sky); color: var(--blue); font-size: 22px; }

/* Каркас страницы */
.layout { display: grid; grid-template-columns: 208px minmax(0,1fr); gap: 28px; max-width: 1600px; margin: auto; padding: 28px clamp(20px,4vw,64px) 60px; }
.rail { position: sticky; top: 108px; align-self: start; max-height: calc(100vh - 128px); overflow: auto; padding: 16px 10px; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); scrollbar-width: thin; }
.rail-label { margin: 0 12px 12px; color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.rail a { display: flex; align-items: center; gap: 10px; margin: 3px 0; padding: 11px 12px; border-radius: 11px; color: #51637d; font-size: 12px; font-weight: 700; transition: background .2s, color .2s; }
.rail a:hover { background: var(--sky); color: var(--blue); }
.rail a.active { background: var(--blue); color: white; box-shadow: 0 5px 14px #1458d525; }
.rail-num { width: 19px; flex-shrink: 0; opacity: .65; font-size: 11px; font-variant-numeric: tabular-nums; }
.main { min-width: 0; }
.crumb { display: flex; gap: 9px; margin: 2px 0 18px; font-size: 12px; color: var(--muted); }
.crumb b { font-weight: 600; }
.breadcrumb-mobile { display: none; }

/* Большой первый экран */
.hero { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 30px; min-height: 390px; padding: clamp(28px,4vw,54px); border: 1px solid #d4e5fa; border-radius: 28px; background: linear-gradient(120deg,#fff 15%,#f6fbff 52%,#dcecff 100%); box-shadow: var(--shadow); }
.hero::before { content: ''; position: absolute; z-index: -1; width: 550px; height: 550px; right: -180px; top: -210px; border-radius: 50%; background: radial-gradient(circle,#a7d2ff80,transparent 70%); }
.hero-copy { position: relative; z-index: 2; max-width: 590px; min-width: 0; }
.eyebrow { display: flex; align-items: center; gap: 9px; margin-bottom: 16px; color: var(--blue); font-size: 10px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow-line { width: 24px; height: 3px; border-radius: 3px; background: var(--blue2); }
.hero h1, .page-head h1 { margin: 0; color: var(--ink); font-size: clamp(35px,3.7vw,60px); font-weight: 900; line-height: 1.08; letter-spacing: -.05em; overflow-wrap: break-word; }
.hero h1 span, .page-head h1 span { color: var(--blue); }
.hero-desc { max-width: 510px; margin: 20px 0 27px; color: var(--muted); font-size: 15px; line-height: 1.75; }
.button-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 49px; padding: 13px 22px; border: 1px solid transparent; border-radius: 12px; font-size: 13px; font-weight: 800; cursor: pointer; transition: transform .2s, background .2s, box-shadow .2s; }
.button-primary { background: linear-gradient(110deg,var(--blue2),var(--blue)); color: white; box-shadow: 0 7px 18px #1458d530; }
.button-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 24px #1458d545; }
.button-quiet { border-color: #c9dbf2; background: #ffffffd9; color: var(--blue); }
.button-quiet:hover { background: var(--sky); transform: translateY(-2px); }
.button:active { transform: translateY(0); }
.hero-art { position: relative; height: 280px; min-width: 0; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; border-radius: 20px; box-shadow: 0 18px 40px #1458d525; }
.art-glass { position: absolute; left: -15px; bottom: 16px; display: flex; align-items: center; gap: 11px; padding: 13px 16px; border: 1px solid #ffffffc0; border-radius: 14px; background: #fffffff0; color: #344b6d; font-size: 12px; font-weight: 800; box-shadow: 0 8px 25px #12213c12; }
.art-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; color: var(--blue); background: var(--sky); }
.art-glass small { display: block; margin-top: 2px; color: var(--muted); font-size: 10px; font-weight: 500; }

/* Витрина: отдельные постеры и кнопки */
.game-gallery { margin: 36px 0 44px; scroll-margin-top: 100px; }
.section-title { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin: 34px 0 17px; }
.section-title h2 { margin: 0; font-size: 23px; font-weight: 850; line-height: 1.25; letter-spacing: -.035em; }
.section-title p { margin: 0; color: var(--muted); font-size: 12px; }
.game-gallery-title { margin: 0 0 24px; }
.game-gallery-title .eyebrow { margin-bottom: 7px; }
.game-gallery-title h2 { font-size: 30px; }
.game-gallery-title > p { max-width: 250px; text-align: right; }
.game-row { margin: 26px 0 32px; }
.game-row-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.game-row-heading h3 { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 18px; line-height: 1.25; font-weight: 800; letter-spacing: -.025em; }
.game-category-icon { display: grid; place-items: center; flex-shrink: 0; width: 34px; height: 34px; border-radius: 11px; background: var(--sky); color: var(--blue); font-size: 18px; }
.game-row-controls { display: flex; gap: 7px; flex-shrink: 0; }
.game-row-controls button { display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 1px solid #ccdef5; border-radius: 11px; background: white; color: var(--blue); font-size: 24px; line-height: 1; transition: color .2s, background .2s; }
.game-row-controls button:hover { background: var(--blue); color: white; }
.game-track { display: flex; gap: 14px; overflow-x: auto; padding: 6px 3px 16px; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: #b7d3f4 transparent; }
.game-track::-webkit-scrollbar { height: 5px; }
.game-track::-webkit-scrollbar-thumb { background: #b7d3f4; border-radius: 8px; }
.game-card { flex: 0 0 calc((100% - 56px) / 5); min-width: 145px; overflow: hidden; scroll-snap-align: start; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); box-shadow: 0 5px 16px #12213c07; transition: transform .25s, box-shadow .25s, border-color .25s; }
.game-card:hover { transform: translateY(-4px); border-color: #87b7fa; box-shadow: 0 12px 26px #1458d520; }
.game-poster { position: relative; aspect-ratio: 168 / 231; overflow: hidden; background: var(--sky); }
.game-poster img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.game-card:hover .game-poster img { transform: scale(1.045); }
.poster-index { position: absolute; right: 9px; bottom: 9px; padding: 4px 8px; border: 1px solid #ffffff30; border-radius: 8px; background: #12213cb8; color: white; font-size: 9px; font-weight: 800; backdrop-filter: blur(8px); }
.game-card-meta { padding: 11px; }
.game-card-meta h4 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 34px; margin: 0 0 10px; color: var(--ink); font-size: 12px; font-weight: 750; line-height: 1.4; }
.play-button { position: relative; isolation: isolate; display: block; width: 100%; min-height: 39px; overflow: hidden; padding: 8px 12px; border: 0; border-radius: 10px; background: linear-gradient(110deg,var(--blue2),var(--blue)); color: white; font-size: 12px; font-weight: 850; letter-spacing: .01em; text-align: center; line-height: 23px; animation: play-glow 3.5s ease-in-out infinite; transition: transform .2s, filter .2s; }
.play-button::before { content: ''; position: absolute; z-index: -1; inset: 0; background: linear-gradient(110deg,transparent 25%,#ffffff35 48%,transparent 72%); transform: translateX(-120%); transition: transform .65s ease; }
.play-button:hover { transform: translateY(-1px); filter: brightness(1.08); color: white; }
.play-button:hover::before { transform: translateX(120%); }
.play-button:active { transform: scale(.97); }
@keyframes play-glow { 0%,100% { box-shadow: 0 4px 10px #1458d520; } 50% { box-shadow: 0 5px 16px #1458d542; } }

/* Посадочные страницы и общие карточки */
.page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; padding: 28px 0 32px; }
.page-head > div:first-child { min-width: 0; }
.page-head h1 { font-size: clamp(34px,3.4vw,52px); }
.page-head .hero-desc { max-width: 680px; margin-bottom: 0; }
.page-index { display: grid; place-items: center; flex-shrink: 0; width: 84px; height: 84px; border: 1px solid #cddff6; border-radius: 23px; background: linear-gradient(135deg,#fff,var(--sky)); color: var(--blue); font-size: 26px; font-weight: 850; }
.stat-strip { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; margin-top: 20px; }
.stat { padding: 17px 19px; border: 1px solid var(--line); border-radius: 15px; background: white; }
.stat b { display: block; font-size: 14px; font-weight: 800; }
.stat span { display: block; margin-top: 3px; color: var(--muted); font-size: 12px; }
.tile-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.tile { position: relative; overflow: hidden; min-height: 157px; padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: white; transition: transform .2s, box-shadow .2s, border-color .2s; }
.tile:hover { transform: translateY(-3px); border-color: #9cc5f8; box-shadow: var(--shadow); }
.tile-icon, .list-icon, .device-symbol { display: grid; place-items: center; flex-shrink: 0; width: 39px; height: 39px; border-radius: 12px; background: var(--sky); color: var(--blue); }
.tile-icon { margin-bottom: 15px; }
.tile h3 { margin: 0; font-size: 15px; font-weight: 800; line-height: 1.35; }
.tile p { margin: 8px 0 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.tile-arrow { position: absolute; top: 22px; right: 20px; color: var(--blue2); font-size: 18px; }
.content-grid { display: grid; grid-template-columns: minmax(0,1.3fr) minmax(250px,.7fr); gap: 18px; }
.panel { min-width: 0; padding: 26px; border: 1px solid var(--line); border-radius: 20px; background: white; box-shadow: 0 5px 20px #12213c04; }
.panel + .panel { margin-top: 18px; }
.panel h2 { margin: 0 0 7px; font-size: 20px; font-weight: 800; line-height: 1.3; letter-spacing: -.025em; }
.panel-lead { margin: 0 0 20px; color: var(--muted); font-size: 12px; }
.quick-note { display: flex; align-items: flex-start; gap: 14px; margin-top: 22px; padding: 19px 22px; border: 1px solid #cddff6; border-radius: 16px; background: var(--sky); color: #51637d; font-size: 12px; line-height: 1.7; }
.note-mark { display: grid; place-items: center; flex-shrink: 0; width: 30px; height: 30px; border-radius: 9px; background: white; color: var(--blue); font-weight: 800; }
.steps { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; margin: 26px 0; }
.step { position: relative; padding-top: 29px; }
.step::before { content: ''; position: absolute; left: 0; right: -10px; top: 8px; height: 2px; background: #cee2fb; }
.step:last-child::before { right: 50%; }
.step i { position: absolute; top: 0; z-index: 1; width: 18px; height: 18px; border: 4px solid #d6e8ff; border-radius: 50%; background: var(--blue); }
.step b { display: block; font-size: 12px; }
.step small { display: block; margin-top: 5px; color: var(--muted); font-size: 10px; }
.mini-fields, .split-cards { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.field-demo { padding: 13px 15px; border: 1px solid var(--line); border-radius: 12px; background: var(--ice); }
.field-demo small { display: block; margin-bottom: 4px; color: var(--muted); font-size: 10px; }
.field-demo b { font-size: 12px; }
.notice { padding: 18px; border: 1px solid #d4e5fa; border-radius: 15px; background: linear-gradient(135deg,var(--sky),var(--ice)); color: #51637d; font-size: 12px; line-height: 1.7; }
.notice strong { display: block; margin-bottom: 6px; color: var(--blue); font-size: 13px; }
.metric-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 13px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.metric-row b { color: var(--ink); font-size: 12px; text-align: right; }
.list-card { display: flex; align-items: center; gap: 12px; margin: 10px 0; padding: 15px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); }
.list-card > div { min-width: 0; }
.list-card strong { display: block; font-size: 13px; }
.list-card small { display: block; margin-top: 4px; color: var(--muted); font-size: 11px; }
.list-tail { margin-left: auto; color: var(--blue); font-size: 11px; }
.badge { display: inline-block; padding: 5px 10px; border-radius: 8px; background: var(--sky); color: var(--blue); font-size: 10px; font-weight: 800; }
.badge-soft { background: #eef3f9; color: var(--muted); }
.device-card { padding: 20px; border: 1px solid var(--line); border-radius: 17px; background: linear-gradient(135deg,#fff,var(--ice)); }
.device-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.device-top strong { font-size: 14px; }
.device-card p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.device-card .badge { margin-top: 15px; }
.faq details { margin: 10px 0; padding: 0 18px; border: 1px solid var(--line); border-radius: 14px; background: white; }
.faq details[open] { border-color: #b4d3fa; background: #fbfdff; }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 17px 0; font-size: 13px; font-weight: 750; line-height: 1.4; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex-shrink: 0; color: var(--blue); font-size: 22px; }
.faq details[open] summary::after { content: '−'; }
.faq details p { margin: 0; padding-bottom: 17px; color: var(--muted); font-size: 12px; line-height: 1.8; }
.wide-panel { grid-column: 1 / -1; }
.source-row { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.source-card { padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--ice); }
.source-card small { color: var(--blue); font-size: 10px; }
.source-card strong { display: block; margin: 7px 0 5px; font-size: 13px; }
.source-card p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.65; }

/* Простой футер (для 404 и юридических, если понадобится) */
.footer { display: flex; justify-content: space-between; gap: 20px; margin-top: 40px; padding-top: 23px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.footer strong { color: #51637d; }

/* Расширенный футер: 3 колонки + нижняя строка (для всех основных страниц) */
.footer-promo { display: block; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); }
.footer-promo .footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 26px; margin-bottom: 22px; }
.footer-promo .footer-grid > div { min-width: 0; font-size: 12px; line-height: 1.65; }
.footer-promo strong { display: block; margin-bottom: 9px; color: var(--ink); font-size: 13px; font-weight: 800; }
.footer-promo p { margin: 0 0 8px; }
.footer-promo a { display: block; padding: 3px 0; color: var(--muted); font-size: 12px; transition: color .2s; }
.footer-promo a:hover { color: var(--blue); }
.footer-promo .disclaimer-line { margin-top: 12px; color: #94a4b9; font-size: 11px; line-height: 1.55; }
.footer-promo .footer-bottom { padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; text-align: center; }

/* Загрузочный экран */
.boot { display: grid; place-content: center; justify-items: center; gap: 12px; min-height: 100vh; color: var(--muted); font-size: 13px; }
.boot-mark { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--blue); color: white; font-weight: 800; }

/* Все темы сохраняют одну палитру. */
:is(.theme-indigo,.theme-cyan,.theme-blue) .page-index { background: linear-gradient(135deg,#fff,var(--sky)); color: var(--blue); }

/* Адаптив */
@media (min-width: 1450px) {
  .game-card { flex-basis: calc((100% - 70px) / 6); }
}
@media (max-width: 1150px) {
  .layout { grid-template-columns: 190px minmax(0,1fr); gap: 20px; padding-inline: 24px; }
  .topbar { padding-inline: 24px; gap: 16px; }
  .topnav a { padding: 9px 10px; font-size: 12px; }
  .hero { gap: 22px; padding: 30px; }
  .hero-art { height: 240px; }
  .game-card { flex-basis: calc((100% - 42px) / 4); }
  .tile-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .content-grid { grid-template-columns: minmax(0,1.1fr) minmax(230px,.9fr); }
  .footer-promo .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; gap: 20px; }
}
@media (max-width: 900px) {
  .topnav { display: none; }
  .menu-button { display: grid; place-items: center; }
  .hero { grid-template-columns: 1fr; }
  .hero-art { height: 230px; }
  .hero-art img { object-position: center; }
  .art-glass { left: 12px; bottom: 12px; }
  .content-grid { grid-template-columns: 1fr; }
  .game-card { flex-basis: calc((100% - 28px) / 3); }
  .source-row { grid-template-columns: 1fr; }
  .footer-promo .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 82px; }
  .topbar { min-height: 68px; padding: 10px 16px; gap: 10px; }
  .brand-mark { width: 38px; height: 38px; border-radius: 12px; font-size: 13px; }
  .brand-name { font-size: 18px; }
  .brand-sub { font-size: 8px; }
  .top-right { margin-left: auto; gap: 8px; }
  .prototype-tag { padding: 6px 9px; font-size: 9px; }
  .menu-button { display: grid; place-items: center; width: 40px; height: 40px; }
  .layout { display: block; padding: 18px 16px 40px; }
  .rail { display: none; position: fixed; top: 68px; left: 12px; right: 12px; z-index: 40; max-height: calc(100dvh - 84px); padding: 16px; box-shadow: 0 16px 45px #12213c22; }
  .rail.open { display: block; }
  .rail a { padding: 12px; font-size: 13px; }
  .crumb { display: none; }
  .breadcrumb-mobile { display: block; margin: 0 0 14px; color: var(--muted); font-size: 11px; }
  .hero { min-height: auto; padding: 27px 23px 23px; gap: 24px; border-radius: 22px; }
  .hero h1, .page-head h1 { font-size: clamp(32px,8vw,46px); }
  .hero-desc { margin: 17px 0 22px; font-size: 14px; }
  .hero-art { height: 205px; }
  .hero-art img { border-radius: 15px; }
  .button { min-height: 47px; padding: 12px 18px; font-size: 12px; }
  .art-glass { padding: 10px 12px; font-size: 11px; }
  .game-gallery { margin: 28px 0 36px; scroll-margin-top: 84px; }
  .game-gallery-title { flex-direction: column; align-items: flex-start; gap: 8px; }
  .game-gallery-title h2 { font-size: 26px; }
  .game-gallery-title > p { max-width: none; text-align: left; }
  .game-row { margin: 24px 0 28px; }
  .game-row-heading h3 { font-size: 17px; }
  .game-track { gap: 11px; }
  .game-card { flex-basis: 153px; min-width: 0; border-radius: 16px; }
  .game-card-meta { padding: 10px; }
  .play-button { min-height: 40px; line-height: 24px; }
  .section-title { align-items: flex-start; margin-top: 28px; }
  .section-title h2 { font-size: 21px; }
  .section-title p { font-size: 11px; }
  .page-head { padding: 20px 0 25px; align-items: flex-start; gap: 14px; }
  .page-index { width: 58px; height: 58px; border-radius: 17px; font-size: 19px; }
  .page-head .hero-desc { font-size: 13px; margin-top: 14px; }
  .stat-strip { grid-template-columns: 1fr; gap: 9px; }
  .stat { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 13px 16px; }
  .stat b { font-size: 13px; }
  .stat span { margin: 0; font-size: 11px; text-align: right; }
  .tile-grid { gap: 10px; }
  .tile { min-height: 155px; padding: 17px; border-radius: 16px; }
  .tile h3 { font-size: 13px; }
  .tile p { font-size: 11px; }
  .tile-arrow { right: 15px; top: 16px; }
  .tile-icon { width: 34px; height: 34px; margin-bottom: 13px; }
  .panel { padding: 20px; border-radius: 18px; }
  .panel h2 { font-size: 18px; }
  .content-grid { gap: 12px; }
  .wide-panel { grid-column: auto; }
  .split-cards { gap: 10px; }
  .device-card { padding: 16px; }
  .device-top { gap: 8px; }
  .device-top strong { font-size: 13px; }
  .device-symbol { width: 31px; height: 31px; }
  .list-card { padding: 13px; gap: 10px; }
  .list-tail { font-size: 10px; }
  .quick-note { padding: 16px; gap: 11px; }
  .steps { gap: 8px; }
  .step b { font-size: 11px; }
  .step small { font-size: 9px; }
  .footer { flex-direction: column; gap: 8px; font-size: 10px; }
  .footer-promo .footer-grid { grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 420px) {
  .prototype-tag { display: none; }
  .layout { padding-inline: 12px; }
  .hero { padding: 24px 19px 19px; }
  .hero-art { height: 180px; }
  .page-index { display: none; }
  .button-row { gap: 9px; }
  .button { flex: 1 1 auto; padding-inline: 14px; }
  .section-title:not(.game-gallery-title) { flex-direction: column; gap: 7px; }
  .tile-grid, .mini-fields, .split-cards { grid-template-columns: 1fr; }
  .tile { min-height: auto; }
  .game-card { flex-basis: 144px; }
  .game-row-heading h3 { font-size: 15px; }
  .steps { grid-template-columns: repeat(2,minmax(0,1fr)); row-gap: 18px; }
  .step:nth-child(2)::before { right: 50%; }
  .step:last-child::before { right: 50%; }
  .list-tail { max-width: 70px; overflow-wrap: anywhere; text-align: right; }
}
@media (hover: none) {
  .tile:hover, .game-card:hover, .button:hover { transform: none; }
  .game-card:hover .game-poster img { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
/* Visual review edition — offline, responsive and consistent. */
:root{--ink:#102c4c;--blue:#0879ce;--blue2:#159ee9;--muted:#536c84;--canvas:#f0f5fa;--line:#d9e5ef;--font:Arial,"Segoe UI",sans-serif}
body{padding-top:84px}
.topbar{position:fixed;inset:0 0 auto;min-height:84px;background:#fff;box-shadow:0 4px 24px #103f6510;padding-inline:max(28px,calc((100vw - 1440px)/2));border-bottom:3px solid #0879ce}
.brand-name{font-style:italic;font-size:25px}.brand-mark{background:#0879ce;border-radius:10px}.brand-sub{letter-spacing:.1em}
.topnav{gap:8px}.topnav a{border:1px solid var(--line);border-radius:8px;padding:10px 22px;background:#f7fafc;color:#244766;font-size:13px}.topnav a:hover,.topnav a.active{background:#0879ce;color:white;border-color:#0879ce}
.layout{max-width:1500px;padding:28px 28px 50px;gap:26px;grid-template-columns:185px minmax(0,1fr)}
.rail{top:112px;background:#fff;border-radius:12px;padding:18px 9px;box-shadow:0 4px 18px #103f6506}.rail a{border-radius:7px;padding:12px 10px;font-size:12px}.rail a.active{background:#0879ce}.rail-label{font-size:11px}
.hero{padding:0;gap:0;grid-template-columns:1fr 1fr;min-height:435px;border-radius:16px;background:#fff;border:1px solid #d5e4ef;box-shadow:0 12px 40px #1b4e7810}.hero::before{display:none}.hero-copy{padding:36px}.hero h1{font-size:clamp(36px,3.7vw,56px);letter-spacing:-.045em}.hero-desc{font-size:15px;line-height:1.8}.hero-art{height:100%;min-height:435px;background:#09233c}.hero-art img{border-radius:0;object-fit:cover;object-position:65% center;box-shadow:none}.art-glass{left:22px;bottom:24px;border-radius:9px}.eyebrow{font-size:11px;letter-spacing:.11em}.button{border-radius:8px;min-height:48px}.button-primary,.play-button{background:#0879ce}.button-primary:hover{background:#0666b0}.stat-strip{gap:14px;margin-top:27px}.stat{background:none;border:0;border-top:1px solid #dce7f3;border-radius:0;padding:14px 0 0}.stat b{font-size:24px;line-height:1.3}.stat span{font-size:10px}
.game-gallery{padding:28px;background:white;border:1px solid var(--line);border-radius:16px;margin:24px 0 36px}.game-gallery-title h2{font-size:30px}.game-gallery-title>p{font-size:12px}.game-row{margin:28px 0}.game-row-heading{padding-bottom:12px;border-bottom:1px solid #e7eef5}.game-category-icon{background:#e7f4fd;border-radius:8px}.game-track{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;overflow:visible;padding:4px 0}.game-card{min-width:0;border-radius:11px;box-shadow:none}.game-poster{aspect-ratio:168/231}.game-card-meta{padding:10px}.game-card-meta h4{font-size:11px;min-height:32px}.play-button{animation:none;border-radius:6px;min-height:36px;padding:6px;font-size:11px}.game-card:hover{box-shadow:0 8px 22px #0879ce25;transform:translateY(-4px)}
.main>section:not(.hero):not(.game-gallery):not(.page-head){margin-top:36px!important}.main>section:not(.hero):not(.game-gallery):not(.page-head)>p{max-width:900px;line-height:1.85!important}.section-title h2{font-size:26px}.tile-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.tile{min-height:150px;border-radius:12px;padding:21px;background:linear-gradient(140deg,#fff,#f6fbff)}.tile h3{font-size:17px}.tile p{font-size:13px}.tile-icon{border-radius:9px}.tile:hover{border-color:#0879ce}.tile-arrow{border-radius:50%;background:#eef7ff;width:28px;height:28px;text-align:center}
.page-head{padding:0;display:grid;grid-template-columns:1.15fr .85fr;gap:30px;align-items:center;background:white;border:1px solid var(--line);border-radius:16px;overflow:hidden;min-height:290px;margin-bottom:24px}.page-head>div:first-child{padding:32px}.page-head h1{font-size:clamp(30px,3vw,45px);line-height:1.14}.page-head .hero-desc{font-size:15px}.page-visual{height:100%;min-height:290px;background:#09233c}.page-visual img{width:100%;height:100%;display:block;object-fit:cover}.page-head:not(:has(.page-visual)){display:block;min-height:0;background:linear-gradient(110deg,#fff,#e3f2ff)}
.panel{border-radius:12px;padding:28px;border-left:3px solid #168fda;box-shadow:none;margin-top:20px}.panel h2{font-size:23px}.panel-lead{font-size:14px;margin:10px 0 20px}.metric-row,.metric-row b{font-size:14px}.list-card{border-radius:9px}.list-card strong{font-size:14px}.list-card small{font-size:12px}.faq details{border-radius:10px;padding-inline:22px}.faq summary{padding:20px 0;font-size:15px}.faq details p{font-size:14px}.quick-note{border-radius:10px;font-size:13px}.footer-promo{background:#102e4b;color:#bfd0df;border:0;border-radius:14px;padding:30px;margin-top:40px}.footer-promo strong{color:#fff;font-size:15px}.footer-promo a,.footer-promo .footer-bottom{color:#bfd0df}.footer-promo a:hover{color:#fff}.footer-promo .footer-bottom{border-color:#ffffff20}.footer-promo .disclaimer-line{color:#9cb5ca}
@media(max-width:1200px){.game-track{grid-template-columns:repeat(4,minmax(0,1fr))}.hero-copy{padding:27px}.hero h1{font-size:40px}.layout{grid-template-columns:170px minmax(0,1fr);padding-inline:20px;gap:20px}.topnav a{padding-inline:15px}.page-head{grid-template-columns:1.2fr .8fr}.page-head>div:first-child{padding:25px}}
@media(max-width:960px){.hero{grid-template-columns:1fr}.hero-art{height:270px;min-height:0}.hero-art img{object-position:center 40%}.hero h1{font-size:46px}.topnav{display:flex}.page-head{grid-template-columns:1fr}.page-visual{height:240px;min-height:0}.page-visual img{object-position:center}.tile-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.game-track{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){body{padding-top:122px}.topbar{min-height:122px;display:grid;grid-template-columns:1fr auto;gap:8px;padding:10px 16px}.brand-mark{width:35px;height:35px}.brand-name{font-size:22px}.top-right{grid-column:2;grid-row:1}.topnav{grid-column:1/-1;grid-row:2;display:flex;overflow-x:auto;gap:6px;padding-bottom:2px;width:100%}.topnav a{white-space:nowrap;padding:7px 13px;font-size:12px;flex:none}.layout{display:block;padding:16px 14px 30px}.rail{display:flex;position:relative;top:auto;left:auto;right:auto;max-height:none;overflow-x:auto;gap:5px;padding:8px;margin-bottom:16px;border-radius:10px;box-shadow:none}.rail-label{display:none}.rail a{flex:none;padding:9px 11px;margin:0;font-size:12px}.rail-num{display:none}.hero{border-radius:13px}.hero-copy{padding:26px 22px}.hero h1{font-size:40px}.hero-desc{font-size:14px}.hero-art{height:220px}.art-glass{left:14px;bottom:14px}.stat-strip{grid-template-columns:repeat(3,minmax(0,1fr))}.stat{display:block;padding:12px 0 0}.stat b{font-size:23px}.stat span{display:block;text-align:left;margin-top:5px;font-size:10px}.game-gallery{padding:18px 12px;border-radius:13px}.game-gallery-title h2{font-size:26px}.game-track{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.game-card-meta{padding:8px}.game-card-meta h4{font-size:10px}.game-poster{aspect-ratio:168/231}.game-row-heading h3{font-size:18px}.page-head>div:first-child{padding:25px 22px}.page-head h1{font-size:34px}.page-visual{height:210px}.section-title h2{font-size:23px}.panel{padding:22px 18px}.panel h2{font-size:21px}.tile-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.tile{padding:17px;min-height:150px}.tile h3{font-size:15px}.tile p{font-size:12px}.footer-promo{padding:25px 21px}.crumb{display:flex}.faq summary{font-size:14px}html{scroll-padding-top:140px}.game-gallery{scroll-margin-top:140px}}
@media(max-width:420px){.game-track{grid-template-columns:repeat(2,minmax(0,1fr))}.hero h1{font-size:36px}.prototype-tag{display:inline-flex}.mini-fields,.split-cards{grid-template-columns:1fr}.tile-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.tile h3{font-size:14px}.tile-arrow{width:24px;height:24px;right:12px}.button-row{align-items:stretch}.button-row .button{flex:1 1 100%}.page-head h1{font-size:30px}}

/* Refined visual system */
:root{--ink:#112c4b;--muted:#62758b;--blue:#1663d6;--blue2:#3393ed;--line:#e0e9f3;--canvas:#f3f7fc;--font:"Segoe UI",Arial,sans-serif;--shadow:0 16px 44px #214f8110}
body{background:radial-gradient(ellipse at 85% 0,#dceeff 0,transparent 45%),var(--canvas)}
.topbar{border-bottom:1px solid #dfebf5;background:#ffffffed;backdrop-filter:blur(20px);box-shadow:0 3px 24px #16396306}
.brand-mark{border-radius:14px;background:linear-gradient(140deg,#49b6f5,#1763d5);box-shadow:0 7px 18px #236fdc28}
.topnav a{border:0;background:transparent;border-radius:100px;color:#53677f;padding:10px 19px}.topnav a:hover{background:#edf5ff;color:var(--blue)}.topnav a.active{background:#e5f0ff;color:var(--blue)}
.rail{border-radius:20px;border-color:#e2ebf5;padding:20px 10px;box-shadow:0 10px 35px #173d6c06}.rail a{border-radius:12px}.rail a.active{background:linear-gradient(100deg,#1663d6,#3087e6);box-shadow:0 5px 16px #1663d61b}
.hero{border-radius:28px;min-height:450px;background:linear-gradient(115deg,#fff 45%,#e4f2ff);border:1px solid #dce9f7;box-shadow:0 20px 60px #214f8110;grid-template-columns:1.08fr .92fr;gap:0}
.hero-copy{padding:clamp(26px,3vw,46px)}.hero h1{font-weight:800;letter-spacing:-.055em;font-size:clamp(36px,3.65vw,58px);line-height:1.07}.hero h1 span{color:#1768d5}.hero-desc{line-height:1.75;color:#61758c}
.hero-art{height:calc(100% - 44px);min-height:360px;margin:22px 22px 22px 0;border-radius:23px;overflow:hidden;box-shadow:0 16px 34px #103b7020}.hero-art img{border-radius:23px;object-position:center}.art-glass{left:16px;right:16px;bottom:16px;border-radius:15px;background:#ffffffec;backdrop-filter:blur(12px);padding:14px}
.button{border-radius:12px;min-height:50px;padding:14px 22px;font-weight:700}.button-primary{background:linear-gradient(110deg,#1765d8,#258cea);box-shadow:0 7px 19px #1663d62a}.button-primary:hover{background:linear-gradient(110deg,#1156c4,#1a7fdf)}.button-primary::after{content:'↗';margin-left:12px;font-size:16px}.button-quiet{border-color:#d8e5f4;background:#fff}
.stat-strip{gap:12px}.stat{border-top-color:#dce6f1}.stat b{font-size:23px;line-height:1.2;color:#153d69}.stat span{font-size:11px}
.game-gallery{background:transparent;border:0;padding:0;margin-top:42px;box-shadow:none}.game-gallery-title h2{font-size:30px;letter-spacing:-.04em}.game-row{padding:23px;background:#fff;border:1px solid var(--line);border-radius:23px;margin:18px 0;box-shadow:0 8px 28px #214f8105}.game-row-heading{margin-bottom:20px}.game-category-icon{border-radius:11px;background:#edf5ff;color:var(--blue)}
.game-track{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:14px;overflow:visible}.game-card{background:#f8faff;border:1px solid #e7eef7;border-radius:16px;overflow:hidden;box-shadow:none;transition:transform .22s,box-shadow .22s,border-color .22s}.game-card:hover{transform:translateY(-5px);box-shadow:0 14px 26px #173d6c18;border-color:#b6d6fa}.game-poster{border-radius:0;aspect-ratio:168/231}.game-poster img{width:100%;height:100%;object-fit:cover}.game-card-meta{padding:12px 10px;display:flex;flex-direction:column;gap:10px}.game-card-meta h4{font-size:12px;line-height:1.4;min-height:34px;margin:0;color:#233d5b}.play-button{width:100%;display:flex;align-items:center;justify-content:center;border-radius:9px;min-height:38px;background:linear-gradient(110deg,#1663d6,#258cea);animation:none;box-shadow:0 4px 9px #1663d612;font-size:12px}.play-button::after{content:'↗';margin-left:9px}
.page-head{border-radius:25px;border-color:#dce9f7;box-shadow:var(--shadow);margin-bottom:26px;overflow:hidden}.page-head>div:first-child{padding:34px}.page-head h1{font-weight:800;letter-spacing:-.045em}.page-visual{border-radius:0}.panel{border:1px solid var(--line);border-radius:20px;padding:28px;box-shadow:0 8px 28px #214f8105}.panel h2{font-size:22px;letter-spacing:-.025em}.tile{border-radius:19px;border-color:var(--line);box-shadow:0 8px 25px #214f8104}.tile-icon{border-radius:12px}.faq details{border-radius:15px}.quick-note{border-radius:16px}.footer-promo{border-radius:24px;background:linear-gradient(125deg,#102b4a,#153d68);padding:34px}
@media(max-width:1250px){.game-track{grid-template-columns:repeat(4,minmax(0,1fr))}.game-row{padding:20px}.hero h1{font-size:43px}}
@media(max-width:960px){.hero{grid-template-columns:1fr}.hero-art{height:270px;min-height:0;margin:0 24px 24px}.hero-copy{padding:32px}.game-track{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.topbar{padding:10px 16px}.topnav a{padding:8px 14px}.layout{padding:16px 14px 32px}.rail{padding:8px;border-radius:14px}.rail a{border-radius:9px}.hero{border-radius:22px}.hero-copy{padding:28px 23px}.hero h1{font-size:40px}.hero-art{height:220px;margin:0 16px 16px;border-radius:17px}.hero-art img{border-radius:17px}.art-glass{left:10px;right:10px;bottom:10px;padding:11px}.stat b{font-size:22px}.game-gallery{margin-top:30px}.game-row{padding:16px 12px;border-radius:19px}.game-track{gap:10px}.game-gallery-title h2{font-size:26px}.game-card{border-radius:12px}.game-card-meta{padding:10px 8px;gap:8px}.game-card-meta h4{font-size:11px;min-height:32px}.play-button{min-height:40px}.page-head{border-radius:20px}.page-head>div:first-child{padding:25px 22px}.page-head h1{font-size:33px}.panel{padding:22px 19px}.footer-promo{border-radius:20px;padding:27px 22px}}
@media(max-width:480px){.game-track{grid-template-columns:repeat(2,minmax(0,1fr))}.hero h1{font-size:35px}.game-row-heading h3{font-size:17px}.tile-grid{grid-template-columns:1fr}.tile{min-height:0}.stat-strip{gap:9px}.stat span{font-size:10px}.game-card-meta h4{font-size:12px}.page-head h1{font-size:30px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;animation:none!important}}

.editorial-content{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.editorial-content .panel p{font-size:15px;line-height:1.8;color:var(--muted);margin:16px 0 0}@media(max-width:960px){.editorial-content{grid-template-columns:1fr}}

/* Header actions — shared across all pages */
.top-right{flex-shrink:0;gap:9px}.header-cta{white-space:nowrap;min-height:44px;padding:11px 17px;border-radius:11px;color:#fff;font-size:13px;font-weight:750;box-shadow:0 5px 14px #1763d61b}.header-register{background:linear-gradient(110deg,#1395da,#20adee)}.header-login{background:linear-gradient(110deg,#1554c7,#216bdd)}.header-register:hover{background:#0b8acb}.header-login:hover{background:#124cba}.header-cta:hover{color:#fff;transform:translateY(-2px)}
@media(min-width:761px) and (max-width:1100px){.topbar{gap:12px;padding-inline:20px}.topnav{gap:2px}.topnav a{padding:9px 10px;font-size:12px}.header-cta{padding:10px 12px}.top-right .prototype-tag{display:none}}
@media(max-width:760px){.top-right{gap:6px}.top-right .prototype-tag{display:none}.header-cta{padding:10px 13px;min-height:42px;font-size:12px}.topbar{column-gap:8px}.topnav{justify-content:flex-start}}
@media(max-width:380px){.brand{gap:6px}.brand-mark{width:30px;height:30px;font-size:12px}.brand-name{font-size:19px}.brand-sub{font-size:8px}.header-cta{padding:10px;font-size:11px}.topbar{padding-inline:12px}}
