:root {
  --ink: #f8f8ff;
  --muted: #aeb3d2;
  --surface: #191d3b;
  --surface-2: #222748;
  --line: rgba(255,255,255,.1);
  --page: #0e1127;
  --page-soft: #131733;
  --shadow: 0 24px 65px rgba(2, 4, 18, .32);
  --radius: 24px;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; color: var(--ink); background: var(--page); font-family: var(--font); line-height: 1.55; overflow-x: hidden; }
body::before { content: ""; position: fixed; z-index: -2; inset: 0; background: radial-gradient(circle at 8% 4%, rgba(115,87,255,.18), transparent 30%), radial-gradient(circle at 93% 13%, rgba(255,98,180,.1), transparent 24%), linear-gradient(180deg, #121630 0, #0e1127 48%, #10142d 100%); }
body::after { content: ""; position: fixed; z-index: -1; inset: 0; opacity: .22; pointer-events: none; background-image: radial-gradient(rgba(255,255,255,.16) .7px, transparent .7px); background-size: 26px 26px; mask-image: linear-gradient(to bottom, #000, transparent 55%); }
a { color: inherit; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }
svg { display: block; }
.portal-shell { width: min(1440px, calc(100% - 48px)); margin-inline: auto; }
.narrow-shell { max-width: 900px; }
.visually-hidden { position: absolute!important; width: 1px!important; height: 1px!important; padding: 0!important; margin: -1px!important; overflow: hidden!important; clip: rect(0,0,0,0)!important; white-space: nowrap!important; border: 0!important; }
.skip-link { position: fixed; z-index: 200; top: 8px; left: 8px; transform: translateY(-160%); padding: 10px 16px; border-radius: 10px; color: #11142b; background: #fff; font-weight: 800; }
.skip-link:focus { transform: none; }
.eyebrow { color: #bcb1ff; font-size: 11px; font-weight: 900; letter-spacing: .18em; }

.site-header { position: sticky; z-index: 80; top: 0; border-bottom: 1px solid rgba(255,255,255,.07); background: rgba(14,17,39,.88); backdrop-filter: blur(18px); }
.header-inner { min-height: 78px; display: flex; align-items: center; gap: 34px; }
.portal-logo { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; flex: 0 0 auto; }
.portal-logo > svg { width: 45px; height: 45px; padding: 7px; border-radius: 14px; color: white; fill: var(--brand-primary); filter: drop-shadow(0 8px 14px rgba(115,87,255,.28)); }
.portal-logo > svg circle { fill: var(--brand-accent); }
.portal-logo > svg path:last-child { fill: none; stroke: white; stroke-width: 2.5; stroke-linecap: round; }
.portal-logo > span { display: grid; line-height: 1.05; }
.portal-logo strong { font-size: 18px; letter-spacing: -.03em; }
.portal-logo small { margin-top: 5px; color: #858cab; font-size: 7px; font-weight: 900; letter-spacing: .15em; }
.desktop-nav { display: flex; align-items: center; gap: 7px; margin-left: auto; }
.desktop-nav a { padding: 9px 11px; border-radius: 10px; color: #c7cae0; font-size: 13px; font-weight: 750; text-decoration: none; transition: color .18s, background .18s; }
.desktop-nav a:hover, .desktop-nav a[aria-current="page"] { color: white; background: rgba(255,255,255,.07); }
.header-tools { display: flex; align-items: center; gap: 8px; }
.header-icon, .favorites-link { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 13px; color: #dce0f7; background: rgba(255,255,255,.045); cursor: pointer; }
.header-icon svg, .favorites-link svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.header-icon:hover, .favorites-link:hover { border-color: rgba(255,255,255,.22); background: rgba(255,255,255,.1); }
.menu-toggle { display: none; }
.mobile-menu { display: none; padding: 4px 24px 18px; }
.mobile-menu a { display: block; padding: 12px 10px; border-bottom: 1px solid var(--line); color: #d6d9ec; font-weight: 750; text-decoration: none; }

.search-dialog[hidden] { display: none; }
.search-dialog { position: fixed; z-index: 150; inset: 0; display: grid; place-items: start center; padding: 110px 24px 24px; }
.search-backdrop { position: absolute; inset: 0; border: 0; background: rgba(4,6,20,.78); backdrop-filter: blur(10px); }
.search-panel { position: relative; width: min(760px, 100%); padding: 34px; border: 1px solid rgba(255,255,255,.13); border-radius: 26px; background: #191d3b; box-shadow: var(--shadow); }
.search-panel h2 { margin: 5px 0 24px; font-size: clamp(26px, 4vw, 40px); letter-spacing: -.04em; }
.dialog-close { position: absolute; top: 19px; right: 19px; width: 40px; height: 40px; border: 0; border-radius: 50%; color: #fff; background: rgba(255,255,255,.08); font-size: 26px; cursor: pointer; }
.search-panel form, .hero-search { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 8px 8px 8px 18px; border: 1px solid rgba(255,255,255,.13); border-radius: 18px; background: rgba(255,255,255,.07); }
.search-panel form svg, .hero-search svg { width: 22px; height: 22px; fill: none; stroke: #9aa0be; stroke-width: 2; stroke-linecap: round; }
.search-panel input, .hero-search input { width: 100%; min-width: 0; border: 0; outline: none; color: #fff; background: transparent; font-size: 15px; }
.search-panel input::placeholder, .hero-search input::placeholder { color: #9399b7; }
.search-panel form button, .hero-search button { min-height: 48px; padding: 0 22px; border: 0; border-radius: 13px; color: white; background: var(--brand-primary); font-weight: 850; cursor: pointer; box-shadow: 0 10px 24px rgba(115,87,255,.3); }
.dialog-open { overflow: hidden; }

.home-hero { position: relative; padding: 72px 0 70px; overflow: hidden; }
.home-hero::before { content: ""; position: absolute; top: 20px; left: 52%; width: 560px; height: 560px; border: 1px solid rgba(255,255,255,.06); border-radius: 50%; box-shadow: 0 0 0 80px rgba(255,255,255,.018), 0 0 0 160px rgba(255,255,255,.012); }
.hero-layout { position: relative; display: grid; grid-template-columns: minmax(0, .86fr) minmax(520px, 1.14fr); gap: clamp(38px, 6vw, 92px); align-items: center; }
.hero-copy h1 { max-width: 740px; margin: 15px 0 19px; font-size: clamp(46px, 5.5vw, 84px); line-height: .98; letter-spacing: -.065em; }
.hero-copy h1 em, .page-hero h1 em { color: var(--brand-accent); font-style: normal; }
.hero-copy > p { max-width: 600px; margin: 0 0 29px; color: var(--muted); font-size: clamp(16px, 1.5vw, 19px); }
.hero-copy .eyebrow i { display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: #3ddca9; box-shadow: 0 0 0 5px rgba(61,220,169,.12); }
.hero-search { max-width: 610px; background: rgba(255,255,255,.085); box-shadow: 0 18px 50px rgba(3,5,18,.22); }
.hero-trust { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 18px; color: #8f96b7; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.hero-trust span::before { content: "✓"; margin-right: 6px; color: #3ddca9; }
.featured-spotlight { position: relative; min-height: 520px; overflow: hidden; display: flex; align-items: end; border: 1px solid rgba(255,255,255,.12); border-radius: 34px; background: #55282c; box-shadow: 0 35px 100px rgba(3,4,18,.48); isolation: isolate; }
.featured-spotlight > img { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.featured-spotlight::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(180deg, rgba(7,8,24,.02) 8%, rgba(12,11,30,.22) 35%, rgba(10,10,28,.94) 100%); }
.spotlight-glow { position: absolute; z-index: -1; top: -130px; right: -100px; width: 320px; height: 320px; border-radius: 50%; background: rgba(255,213,74,.24); filter: blur(30px); }
.spotlight-content { width: 100%; padding: clamp(28px, 4vw, 46px); }
.spotlight-content h2 { margin: 8px 0 8px; font-size: clamp(38px, 4vw, 58px); line-height: 1; letter-spacing: -.05em; }
.spotlight-content p { max-width: 560px; margin: 0 0 24px; color: #c7cae1; font-size: 14px; }
.spotlight-badges, .detail-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 17px; }
.spotlight-badges span, .detail-badges span { padding: 6px 10px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; color: white; background: rgba(10,12,30,.38); font-size: 10px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; backdrop-filter: blur(8px); }
.spotlight-actions, .detail-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.primary-action, .secondary-action { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 11px; padding: 0 20px; border-radius: 14px; font-size: 13px; font-weight: 900; text-decoration: none; transition: transform .18s, box-shadow .18s, background .18s; }
.primary-action { color: #15162a; background: var(--brand-accent); box-shadow: 0 12px 28px rgba(255,213,74,.21); }
.secondary-action { border: 1px solid rgba(255,255,255,.18); color: white; background: rgba(255,255,255,.07); }
.primary-action:hover, .secondary-action:hover { transform: translateY(-2px); }
.primary-action:hover { box-shadow: 0 16px 36px rgba(255,213,74,.3); }
.catalog-error { padding: 40px; border: 1px solid var(--line); border-radius: 24px; background: var(--surface); }

.category-section, .games-section, .catalog-section, .detail-content, .info-section, .legal-section { padding: 70px 0; }
.category-section { border-block: 1px solid rgba(255,255,255,.06); background: rgba(255,255,255,.018); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 27px; }
.section-heading h2 { margin: 5px 0 0; font-size: clamp(27px, 3vw, 40px); line-height: 1.1; letter-spacing: -.045em; }
.section-heading p { margin: 8px 0 0; color: var(--muted); font-size: 13px; }
.section-heading > a { color: #c7cbe1; font-size: 12px; font-weight: 850; text-decoration: none; white-space: nowrap; }
.section-heading > a span { margin-left: 5px; color: var(--brand-accent); }
.category-rail { display: grid; grid-template-columns: repeat(10, minmax(145px, 1fr)); gap: 13px; overflow-x: auto; padding: 6px 1px 13px; scroll-snap-type: x proximity; scrollbar-width: thin; }
.category-card { min-height: 176px; display: flex; flex-direction: column; align-items: flex-start; padding: 19px; border: 1px solid var(--line); border-radius: 20px; color: white; background: linear-gradient(150deg, color-mix(in srgb, var(--category-color) 18%, var(--surface)), var(--surface) 62%); text-decoration: none; scroll-snap-align: start; transition: transform .2s, border-color .2s; }
.category-card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--category-color) 58%, transparent); }
.category-icon { width: 43px; height: 43px; display: grid; place-items: center; margin-bottom: auto; border-radius: 13px; color: var(--category-color); background: color-mix(in srgb, var(--category-color) 14%, transparent); }
.category-icon svg { width: 23px; height: 23px; }
.category-card strong { margin-top: 19px; font-size: 14px; }
.category-card small { display: block; margin-top: 4px; color: #969dbc; font-size: 10px; line-height: 1.4; }

.games-section:nth-of-type(even) { background: rgba(255,255,255,.012); }
.games-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(218px, 1fr)); gap: 21px; }
.home-grid { grid-template-columns: repeat(auto-fill, minmax(235px, 1fr)); }
.home-grid .game-card { max-width: 340px; }
.game-card { position: relative; min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 21px; background: linear-gradient(180deg, #202545, #191d39); box-shadow: 0 14px 34px rgba(2,3,15,.2); transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease; }
.game-card:hover { transform: translateY(-6px); border-color: rgba(255,255,255,.19); box-shadow: 0 25px 48px rgba(2,3,15,.34); }
.game-card-cover { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #272b4c; }
.game-card-cover > a { display: block; height: 100%; }
.game-card-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.game-card:hover .game-card-cover img { transform: scale(1.045); }
.card-badges { position: absolute; top: 12px; left: 12px; display: flex; flex-wrap: wrap; gap: 6px; pointer-events: none; }
.card-badges span { padding: 5px 8px; border-radius: 7px; color: #18182a; background: var(--brand-accent); font-size: 8px; font-weight: 950; text-transform: uppercase; letter-spacing: .06em; box-shadow: 0 4px 12px rgba(0,0,0,.18); }
.card-badges span:nth-child(2) { color: #fff; background: var(--brand-primary); }
.favorite-button { position: absolute; top: 10px; right: 10px; width: 37px; height: 37px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; color: white; background: rgba(9,11,29,.55); backdrop-filter: blur(8px); cursor: pointer; }
.favorite-button svg, .detail-favorite svg { width: 18px; height: 18px; fill: transparent; stroke: currentColor; stroke-width: 1.9; transition: fill .18s; }
.favorite-button.active, .detail-favorite.active { color: #ff6b9e; }
.favorite-button.active svg, .detail-favorite.active svg { fill: currentColor; }
.game-card-body { padding: 17px 17px 19px; }
.game-card-meta { display: flex; justify-content: space-between; gap: 10px; color: #8f96b6; font-size: 9px; font-weight: 850; text-transform: uppercase; letter-spacing: .06em; }
.game-card h3 { margin: 8px 0 6px; font-size: 20px; line-height: 1.15; letter-spacing: -.035em; }
.game-card p { min-height: 40px; margin: 0 0 15px; color: #aeb3cd; font-size: 12px; line-height: 1.55; }
.card-play { width: 100%; min-height: 39px; display: inline-flex; align-items: center; justify-content: space-between; padding: 0 13px; border: 1px solid rgba(255,255,255,.09); border-radius: 11px; color: white; background: rgba(255,255,255,.05); font-size: 11px; font-weight: 850; text-decoration: none; cursor: pointer; }
.card-play:hover { background: rgba(255,255,255,.1); }
.coming-button { justify-content: center; color: #9da3c0; }
.coming-section { background: linear-gradient(180deg, rgba(115,87,255,.04), transparent); }
.coming-section .game-card-cover img { filter: saturate(.72); }
.recent-card-holder { display: contents; }
.recent-card-holder[hidden] { display: none; }
.empty-state { padding: 60px 24px; border: 1px dashed rgba(255,255,255,.15); border-radius: 24px; text-align: center; background: rgba(255,255,255,.025); }
.empty-state[hidden], .is-hidden { display: none!important; }
.empty-state > span { width: 54px; height: 54px; display: grid; place-items: center; margin: 0 auto 13px; border-radius: 50%; color: var(--brand-accent); background: rgba(255,213,74,.08); font-size: 27px; }
.empty-state h2, .empty-state h3 { margin: 0 0 7px; font-size: 21px; }
.empty-state p { margin: 0 0 18px; color: var(--muted); font-size: 13px; }
.empty-state a { color: var(--brand-accent); font-size: 12px; font-weight: 900; }

.page-hero { position: relative; overflow: hidden; padding: 92px 0 75px; border-bottom: 1px solid var(--line); background: linear-gradient(135deg, rgba(115,87,255,.12), rgba(255,98,180,.035)); }
.page-hero::after { content: ""; position: absolute; top: -130px; right: 6%; width: 390px; height: 390px; border: 1px solid rgba(255,255,255,.07); border-radius: 50%; box-shadow: 0 0 0 65px rgba(255,255,255,.018), 0 0 0 130px rgba(255,255,255,.012); }
.page-hero h1 { position: relative; z-index: 1; margin: 10px 0 12px; font-size: clamp(42px, 6vw, 74px); line-height: 1; letter-spacing: -.06em; }
.page-hero p { position: relative; z-index: 1; max-width: 650px; margin: 0; color: var(--muted); font-size: 16px; }
.compact-hero { padding-block: 75px; }
.catalog-section { min-height: 500px; }
.catalog-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 30px; }
.filter-chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; }
.filter-chips a { min-height: 38px; display: inline-flex; align-items: center; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; color: #aeb4cf; background: rgba(255,255,255,.035); font-size: 11px; font-weight: 850; text-decoration: none; white-space: nowrap; }
.filter-chips a.active, .filter-chips a:hover { border-color: var(--brand-primary); color: white; background: rgba(115,87,255,.15); }
.category-select { display: flex; align-items: center; gap: 9px; color: #8f96b6; font-size: 10px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.category-select select { min-height: 40px; padding: 0 34px 0 12px; border: 1px solid var(--line); border-radius: 11px; color: white; background: #1b203e; outline: none; }
.catalog-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.category-hero { --category-color: var(--brand-primary); background: linear-gradient(135deg, color-mix(in srgb, var(--category-color) 19%, #11142b), #11142b 68%); }
.large-category-icon { width: 62px; height: 62px; display: grid; place-items: center; margin-bottom: 20px; border-radius: 18px; color: var(--category-color); background: color-mix(in srgb, var(--category-color) 15%, transparent); }
.large-category-icon svg { width: 33px; height: 33px; }
.standalone-search { max-width: 760px; margin-top: 28px; }

.game-detail-hero { padding: 76px 0; background: radial-gradient(circle at 13% 30%, rgba(115,87,255,.12), transparent 31%); }
.game-detail-grid { display: grid; grid-template-columns: minmax(420px, .9fr) minmax(0, 1.1fr); align-items: center; gap: clamp(45px, 7vw, 100px); }
.detail-cover { position: relative; }
.detail-cover img { position: relative; z-index: 1; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border: 1px solid rgba(255,255,255,.15); border-radius: 30px; box-shadow: var(--shadow); }
.detail-cover-decoration { position: absolute; inset: 18px -16px -18px 16px; border-radius: 30px; background: linear-gradient(135deg, var(--brand-primary), #ff5e9d); transform: rotate(2deg); opacity: .55; }
.back-link { display: inline-block; margin-bottom: 25px; color: #9fa6c4; font-size: 12px; font-weight: 800; text-decoration: none; }
.detail-copy h1 { margin: 10px 0 16px; font-size: clamp(50px, 6vw, 84px); line-height: .95; letter-spacing: -.065em; }
.detail-copy > p { max-width: 670px; margin: 0 0 25px; color: #b9bed5; font-size: 16px; }
.game-facts { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 27px; }
.game-facts > div { min-width: 135px; padding: 12px 15px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.035); }
.game-facts small { display: block; margin-bottom: 2px; color: #888fad; font-size: 8px; font-weight: 900; text-transform: uppercase; letter-spacing: .12em; }
.game-facts strong { font-size: 12px; }
.large-action { min-height: 56px; padding-inline: 28px; font-size: 14px; }
.detail-favorite { min-height: 56px; display: inline-flex; align-items: center; gap: 9px; padding: 0 18px; border: 1px solid var(--line); border-radius: 14px; color: white; background: rgba(255,255,255,.04); font-size: 12px; font-weight: 850; cursor: pointer; }
.coming-notice { display: grid; gap: 4px; padding: 18px; border: 1px solid rgba(255,213,74,.2); border-radius: 15px; background: rgba(255,213,74,.07); }
.coming-notice span { color: var(--muted); font-size: 12px; }
.detail-columns { display: grid; grid-template-columns: 1.3fr .7fr; gap: 24px; }
.content-panel { padding: clamp(26px, 4vw, 42px); border: 1px solid var(--line); border-radius: 25px; background: linear-gradient(145deg, rgba(255,255,255,.055), rgba(255,255,255,.025)); }
.content-panel h2 { margin: 6px 0 25px; font-size: 29px; letter-spacing: -.04em; }
.how-to-list { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.how-to-list li { display: flex; align-items: center; gap: 15px; padding: 13px; border-radius: 14px; background: rgba(255,255,255,.035); }
.how-to-list li > span { width: 36px; height: 36px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 11px; color: #15162a; background: var(--brand-accent); font-size: 12px; font-weight: 950; }
.how-to-list p { margin: 0; color: #c4c8db; font-size: 13px; }
.feature-panel ul { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.feature-panel li { display: flex; align-items: center; gap: 12px; color: #ced1e2; font-size: 13px; }
.feature-panel svg { width: 23px; height: 23px; padding: 4px; border-radius: 50%; color: #3ddca9; background: rgba(61,220,169,.1); fill: none; stroke: currentColor; stroke-width: 2.5; }

.story-hero { padding-block: 110px; text-align: center; }
.story-hero p { margin-inline: auto; }
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.info-grid article { padding: 30px; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); }
.info-grid article > span { color: var(--brand-accent); font-size: 11px; font-weight: 950; }
.info-grid h2 { margin: 14px 0 7px; font-size: 21px; }
.info-grid p { margin: 0; color: var(--muted); font-size: 13px; }
.legal-card { max-width: 860px; padding: clamp(28px, 5vw, 55px); border: 1px solid var(--line); border-radius: 26px; background: var(--surface); }
.legal-card h2 { margin: 32px 0 7px; font-size: 21px; }
.legal-card h2:first-child { margin-top: 0; }
.legal-card p { color: #b9bed3; }
.legal-card a { color: var(--brand-accent); }
.not-found { min-height: 680px; display: grid; place-items: center; padding: 80px 0; text-align: center; }
.not-found .portal-shell { max-width: 760px; }
.error-orbit { width: 150px; height: 150px; display: grid; place-items: center; margin: 0 auto 30px; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; color: var(--brand-accent); background: radial-gradient(circle, rgba(115,87,255,.22), transparent 68%); box-shadow: 0 0 0 22px rgba(255,255,255,.018), 0 0 0 44px rgba(255,255,255,.012); font-size: 38px; font-weight: 950; }
.not-found h1 { margin: 8px 0 10px; font-size: clamp(38px, 6vw, 68px); line-height: 1; letter-spacing: -.055em; }
.not-found p { margin: 0 auto 26px; color: var(--muted); }
.not-found .spotlight-actions { justify-content: center; }

.site-footer { padding-top: 58px; border-top: 1px solid var(--line); background: #0a0d20; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 60px; padding-bottom: 50px; }
.footer-logo-mark { width: 43px; height: 43px; display: grid; place-items: center; border-radius: 14px; color: white; background: var(--brand-primary); font-size: 13px; font-weight: 950; }
.footer-brand p { max-width: 390px; margin: 19px 0 12px; color: #9298b6; font-size: 13px; }
.browser-note { color: #686f90; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; }
.footer-grid h2 { margin: 4px 0 17px; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; }
.footer-grid > div:not(:first-child) { display: flex; flex-direction: column; gap: 10px; }
.footer-grid > div:not(:first-child) a { color: #969cba; font-size: 12px; text-decoration: none; }
.footer-grid a:hover { color: white; }
.footer-bottom { min-height: 70px; display: flex; justify-content: space-between; align-items: center; gap: 20px; border-top: 1px solid var(--line); color: #656c8c; font-size: 10px; }
.portal-toast { position: fixed; z-index: 180; left: 50%; bottom: 28px; max-width: min(430px, calc(100% - 32px)); padding: 13px 18px; border: 1px solid rgba(255,255,255,.14); border-radius: 13px; color: white; background: #242949; box-shadow: var(--shadow); font-size: 12px; font-weight: 800; opacity: 0; transform: translate(-50%, 18px); pointer-events: none; transition: opacity .2s, transform .2s; }
.portal-toast.visible { opacity: 1; transform: translate(-50%, 0); }

@media (min-width: 1500px) {
  .catalog-grid { grid-template-columns: repeat(6, 1fr); }
}
@media (max-width: 1100px) {
  .desktop-nav a:nth-last-child(-n+2) { display: none; }
  .hero-layout { grid-template-columns: 1fr; }
  .featured-spotlight { min-height: 500px; }
  .game-detail-grid { grid-template-columns: 1fr 1fr; gap: 45px; }
  .detail-columns { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .portal-shell { width: min(100% - 32px, 1440px); }
  .desktop-nav, .favorites-link { display: none; }
  .header-inner { min-height: 68px; }
  .header-tools { margin-left: auto; }
  .menu-toggle { display: grid; }
  .mobile-menu.open { display: block; }
  .home-hero { padding-top: 48px; }
  .hero-copy h1 { font-size: clamp(45px, 10vw, 72px); }
  .category-section, .games-section, .catalog-section, .detail-content, .info-section, .legal-section { padding-block: 55px; }
  .category-rail { grid-template-columns: repeat(10, 150px); }
  .games-grid, .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
  .home-grid .game-card { max-width: none; }
  .catalog-toolbar { align-items: stretch; flex-direction: column; }
  .category-select { justify-content: space-between; }
  .game-detail-grid { grid-template-columns: 1fr; }
  .detail-cover { max-width: 680px; }
  .detail-columns, .info-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; gap: 26px; }
}
@media (max-width: 560px) {
  .portal-shell { width: min(100% - 24px, 1440px); }
  .portal-logo strong { font-size: 16px; }
  .portal-logo > svg { width: 40px; height: 40px; }
  .home-hero { padding: 38px 0 48px; }
  .home-hero::before { left: 30%; width: 400px; height: 400px; }
  .hero-copy h1 { font-size: 44px; }
  .hero-copy > p { font-size: 15px; }
  .hero-search, .search-panel form { grid-template-columns: auto 1fr; padding: 13px 15px; }
  .hero-search button, .search-panel form button { grid-column: 1 / -1; width: 100%; }
  .featured-spotlight { min-height: 480px; border-radius: 25px; }
  .spotlight-content { padding: 25px; }
  .spotlight-actions > a { width: 100%; }
  .section-heading { align-items: start; }
  .section-heading > a { display: none; }
  .games-grid, .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
  .game-card { border-radius: 16px; }
  .game-card-body { padding: 13px; }
  .game-card h3 { font-size: 16px; }
  .game-card p { min-height: 50px; font-size: 10px; }
  .game-card-meta { display: grid; gap: 2px; font-size: 8px; }
  .card-badges { top: 7px; left: 7px; }
  .card-badges span:nth-child(2) { display: none; }
  .favorite-button { top: 7px; right: 7px; width: 34px; height: 34px; }
  .page-hero { padding: 62px 0 52px; }
  .page-hero h1 { font-size: 42px; }
  .game-detail-hero { padding: 45px 0; }
  .detail-cover img, .detail-cover-decoration { border-radius: 21px; }
  .detail-copy h1 { font-size: 52px; }
  .detail-actions > * { width: 100%; justify-content: center; }
  .game-facts > div { flex: 1 1 120px; }
  .search-dialog { padding: 82px 12px 12px; }
  .search-panel { padding: 26px 18px; border-radius: 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { align-items: flex-start; flex-direction: column; justify-content: center; padding-block: 17px; }
}
@media (max-width: 370px) {
  .games-grid, .catalog-grid { grid-template-columns: 1fr; }
  .game-card p { min-height: auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto!important; animation-duration: .01ms!important; transition-duration: .01ms!important; }
}
