/* Client composition; scoped to this test page. Shared files are unchanged. */
      :root {
        --tg-live-h: 100dvh;
        --tg-stable-h: 100dvh;
        --tg-safe-top: env(safe-area-inset-top);
        --tg-safe-right: env(safe-area-inset-right);
        --tg-safe-bottom: env(safe-area-inset-bottom);
        --tg-safe-left: env(safe-area-inset-left);
        --tg-content-safe-top: var(--tg-safe-top);
        --tg-content-safe-right: var(--tg-safe-right);
        --tg-content-safe-bottom: var(--tg-safe-bottom);
        --tg-content-safe-left: var(--tg-safe-left);
        --app-live-h: var(--tg-live-h);
        --app-frame-h: var(--tg-stable-h);
        --app-content-top: var(--tg-content-safe-top);
        --app-content-right: var(--tg-content-safe-right);
        --app-content-bottom: var(--tg-content-safe-bottom);
        --app-content-left: var(--tg-content-safe-left);
        --app-height: var(--app-live-h);
        --app-stable-height: var(--app-frame-h);
        --safe-top: var(--app-content-top);
        --safe-right: var(--app-content-right);
        --safe-bottom: var(--app-content-bottom);
        --safe-left: var(--app-content-left);
      }

:root {
    --bg: #f3f5fb;
    --surface: #ffffff;
    --line: rgba(16, 24, 48, .08);
    --line-2: rgba(16, 24, 48, .14);
    --ink: #0c1222;
    --muted: #586176;
    --accent: #2457e6;
    --hot: #d92a4a;
    --radius: 20px;
    --display: "Unbounded", "Manrope", system-ui, sans-serif;
    --ease: cubic-bezier(.2, .8, .2, 1);
    --shadow: 0 1px 2px rgba(0,0,0,.05), 0 10px 26px -14px rgba(0,0,0,.22);
  }
body.home2 * { box-sizing: border-box; }
html.home2-root { -webkit-text-size-adjust: 100%; }
body.home2 {
    margin: 0;
    background: linear-gradient(180deg, #e8ecfd 0, #eef0fb 180px, var(--bg) 420px) no-repeat, var(--bg);
    color: var(--ink);
    font: 500 14px/1.4 "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
  }
body.home2 a { color: inherit; text-decoration: none; }
body.home2 img { display: block; max-width: 100%; }
body.home2 .wrap { max-width: 1280px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
body.home2 .hscroll { display: grid; grid-auto-flow: column; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 4px 16px 8px; scroll-snap-type: x proximity; scroll-padding: 0 16px; }
body.home2 .hscroll::-webkit-scrollbar { display: none; }
body.home2::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 21; background: #f3f5fb; }
body.home2 .head { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: rgba(243,245,251,.8); backdrop-filter: blur(16px) saturate(1.6); -webkit-backdrop-filter: blur(16px) saturate(1.6); border-bottom: 1px solid transparent; transition: border-color .3s, background .3s; }
body.home2 .head.scrolled { border-bottom-color: var(--line); background: rgba(255,255,255,.86); }
body.home2 .head-row { display: flex; align-items: center; gap: 8px; height: 58px; }
body.home2 .logo { display: none; align-items: center; gap: 8px; flex-shrink: 0; font: 800 15px/1 var(--display); letter-spacing: -.02em; }
body.home2 .glyphs { display: grid; grid-template-columns: repeat(2, 11px); gap: 1px; font: 900 11px/11px system-ui, sans-serif; }
body.home2 .glyphs b { display: block; text-align: center; animation: glyph 6s var(--ease) infinite; }
body.home2 .glyphs b:nth-child(1) { color: #12a86b; }
body.home2 .glyphs b:nth-child(2) { color: #e0304f; animation-delay: .25s; }
body.home2 .glyphs b:nth-child(3) { color: #2f6bff; animation-delay: .5s; }
body.home2 .glyphs b:nth-child(4) { color: #c13ab0; animation-delay: .75s; }
  @keyframes glyph { 0%, 80%, 100% { transform: none; } 86% { transform: translateY(-3px) scale(1.15); } }
body.home2 .logo-text { display: none; }
body.home2 .search { flex: 1; min-width: 0; height: 42px; display: flex; align-items: center; gap: 8px; padding: 0 12px; border-radius: 13px; background: var(--surface); box-shadow: 0 0 0 1px var(--line); color: var(--muted); font-size: 14px; transition: box-shadow .2s; }
body.home2 .search:hover { box-shadow: 0 0 0 1px rgba(36,87,230,.35), 0 0 0 4px rgba(36,87,230,.08); }
body.home2 .search span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.home2 .search kbd { display: none; margin-left: auto; padding: 3px 7px; border-radius: 6px; background: var(--bg); font: 700 11px/1 inherit; color: var(--muted); }
body.home2 .ibtn { width: 42px; height: 42px; flex-shrink: 0; border-radius: 13px; display: grid; place-items: center; background: var(--surface); box-shadow: 0 0 0 1px var(--line); color: var(--ink); transition: transform .2s var(--ease), box-shadow .2s; }
body.home2 .ibtn:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px var(--line-2), 0 8px 18px -10px rgba(0,0,0,.4); }
body.home2 .ticker { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 8px 0 0; padding: 4px; border-radius: 18px; background: var(--surface); box-shadow: 0 0 0 1px var(--line), 0 8px 22px -16px rgba(0,0,0,.25); }
body.home2 .tick { position: relative; display: flex; align-items: center; justify-content: center; gap: 5px; min-width: 0; padding: 6px 3px; border-radius: 14px; text-align: left; font-size: 11px; font-weight: 700; line-height: 1.15; transition: background .25s; }
body.home2 .tick + .tick::before { content: ""; position: absolute; left: 0; top: 22%; bottom: 22%; width: 1px; background: var(--line); }
body.home2 .tick .ti { flex-shrink: 0; width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; color: var(--c); background: var(--t); transition: transform .35s var(--ease); }
body.home2 .tick .ti svg { width: 13px; height: 13px; display: block; }
body.home2 .t-fast { --c: #128a4a; --t: #e4f6eb; }
body.home2 .t-safe { --c: #2457e6; --t: #e8efff; }
body.home2 .t-sale { --c: #d42a44; --t: #ffeaee; }
body.home2 .tick.bonus { color: #b4410b; background: linear-gradient(160deg, #fff6ec, #ffe9da); }
body.home2 .tick.bonus::before { display: none; }
body.home2 .tick.bonus .ti { color: #fff; background: linear-gradient(150deg, #ff9a2e, #e8452c); box-shadow: 0 6px 12px -6px rgba(0,0,0,.35); }
body.home2 .tick.bonus .ti svg { animation: flicker 1.8s ease-in-out infinite; transform-origin: 50% 90%; }
  @keyframes flicker { 0%, 100% { transform: scale(1) rotate(-4deg); } 50% { transform: scale(1.12) rotate(4deg); } }
  @media (hover: hover) {
body.home2 .tick:hover .ti { transform: translateY(-2px) rotate(-6deg); } }
  @media (min-width: 560px) {
body.home2 .tick { gap: 8px; padding: 7px 10px; font-size: 13px; }
body.home2 .tick .ti { width: 26px; height: 26px; border-radius: 8px; }
body.home2 .tick .ti svg { width: 15px; height: 15px; }
  }
body.home2 .heroes { display: grid; gap: 10px; margin-top: 8px; }
body.home2 .hero {
    container-type: inline-size;
    position: relative; isolation: isolate; overflow: hidden; display: block;
    min-height: 262px; padding: 18px; border-radius: 24px;
    background: linear-gradient(125deg, #f7f9ff 0%, #ebf1fe 52%, #dfe9fd 100%);
    box-shadow: inset 0 0 0 1px rgba(36,87,230,.1), var(--shadow);
    transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  }
body.home2 .hero:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px rgba(36,87,230,.18), 0 2px 4px rgba(0,0,0,.05), 0 24px 44px -22px rgba(0,0,0,.35); }
body.home2 .hero::before, body.home2 .hero::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; pointer-events: none; }
body.home2 .hero::before { width: 70%; aspect-ratio: 1; right: -18%; top: -40%; background: radial-gradient(closest-side, rgba(126,160,255,.45), rgba(126,160,255,0)); animation: blob 12s ease-in-out infinite alternate; }
body.home2 .hero::after { width: 55%; aspect-ratio: 1; left: -20%; bottom: -45%; background: radial-gradient(closest-side, rgba(180,150,255,.32), rgba(180,150,255,0)); animation: blob 14s ease-in-out -4s infinite alternate-reverse; }
  @keyframes blob { to { transform: translate(-14%, 12%) scale(1.15); } }
body.home2 .hero-text { position: relative; z-index: 3; width: 57%; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
body.home2 .hero-title { margin: 0; font: 800 20px/1.08 var(--display); letter-spacing: -.035em; }
body.home2 .hero-title .hl { color: var(--accent); background: linear-gradient(#cfdcff, #cfdcff) no-repeat 0 88% / 0% 34%; animation: mark .7s var(--ease) 1s forwards; }
  @keyframes mark { to { background-size: 100% 34%; } }
body.home2 .hero-sub { margin: 0; color: var(--muted); font-size: 12.5px; font-weight: 600; line-height: 1.3; }
body.home2 .hero-list { list-style: none; margin: 2px 0 0; padding: 0; display: grid; gap: 6px; }
body.home2 .hero-list li { display: flex; gap: 7px; align-items: flex-start; font-size: 12px; font-weight: 600; line-height: 1.25; }
body.home2 .check { flex-shrink: 0; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; background: #dce7ff; color: var(--accent); }
body.home2 .check svg { width: 11px; height: 11px; stroke-dasharray: 20; stroke-dashoffset: 20; animation: draw .5s var(--ease) forwards; animation-delay: calc(var(--i, 0) * 90ms + 700ms); }
  @keyframes draw { to { stroke-dashoffset: 0; } }
body.home2 .btn { position: relative; overflow: hidden; margin-top: 6px; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 12px; background: var(--accent); color: #fff; font-weight: 800; font-size: 13.5px; box-shadow: 0 8px 18px -8px rgba(0,0,0,.45); }
body.home2 .btn svg { transition: transform .25s var(--ease); }
body.home2 .hero:hover .btn svg { transform: translateX(4px); }
body.home2 .btn::after { content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%; background: linear-gradient(100deg, rgba(255,255,255,0), rgba(255,255,255,.45), rgba(255,255,255,0)); transform: skewX(-18deg); animation: shine 4.5s ease-in-out 1.6s infinite; }
  @keyframes shine { 0%, 70% { left: -60%; } 100% { left: 130%; } }
body.home2 .hero-art { position: absolute; z-index: 2; pointer-events: none; }
body.home2 .art-tilt { transition: transform .5s var(--ease); transform: translate3d(calc(var(--tx, 0) * 10px), calc(var(--ty, 0) * 8px), 0) rotate(calc(var(--tx, 0) * 1.2deg)); }
body.home2 .art-float { position: relative; animation: float 6s ease-in-out infinite; }
  @keyframes float { 50% { transform: translateY(-7px); } }
body.home2 .hero-art img { width: 100%; height: auto; -webkit-mask-image: radial-gradient(118% 96% at 62% 46%, #000 62%, transparent 100%); mask-image: radial-gradient(118% 96% at 62% 46%, #000 62%, transparent 100%); }
body.home2 .h-games .hero-art { right: 5%; bottom: 6%; width: 41%; }
body.home2 .h-acc .hero-art { right: 2%; bottom: 0; height: 76%; }
body.home2 .h-acc .hero-art .art-tilt, body.home2 .h-acc .hero-art .art-float { height: 100%; }
body.home2 .h-acc .hero-art img { height: 100%; width: auto; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 30%, #000 90%, transparent 100%), linear-gradient(180deg, transparent 0, #000 10%, #000 82%, transparent 100%); -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent 0, #000 30%, #000 90%, transparent 100%), linear-gradient(180deg, transparent 0, #000 10%, #000 82%, transparent 100%); mask-composite: intersect; }
body.home2 .deal { container-type: inline-size; position: absolute; left: 85%; top: 81%; width: max(26%, 60px); aspect-ratio: 1.42; transform: translate(-50%, -50%) rotate(-8deg); border-radius: 999px; display: grid; place-content: center; text-align: center; color: #fff; background: linear-gradient(140deg, #cc2340, #a8133a); box-shadow: 0 0 0 3px #fff, 0 10px 22px -8px rgba(0,0,0,.45); animation: pop .7s var(--ease) 1s both, wobble 3.2s ease-in-out 2s infinite; }
body.home2 .deal small { font-size: max(11px, 15cqi); font-weight: 700; line-height: 1; }
body.home2 .deal b { font: 800 25cqi/1 var(--display); letter-spacing: -.04em; white-space: nowrap; }
body.home2 .deal::after { content: ""; position: absolute; inset: -3px; border-radius: inherit; border: 2px solid #ff5a6e; animation: ring 2.4s ease-out 2s infinite; }
  @keyframes pop { from { transform: translate(-50%, -50%) rotate(-30deg) scale(0); } 70% { transform: translate(-50%, -50%) rotate(-4deg) scale(1.12); } }
  @keyframes wobble { 0%, 100% { transform: translate(-50%, -50%) rotate(-8deg); } 50% { transform: translate(-50%, -50%) rotate(-2deg) scale(1.05); } }
  @keyframes ring { from { transform: scale(1); opacity: .8; } to { transform: scale(1.35); opacity: 0; } }
body.home2 .shape { position: absolute; z-index: 1; width: var(--s, 22px); height: var(--s, 22px); color: var(--c, #4a7dff); opacity: .9; animation: drift var(--d, 7s) ease-in-out var(--dl, 0s) infinite; pointer-events: none; }
body.home2 .shape svg { width: 100%; height: 100%; display: block; }
  @keyframes drift { 0%, 100% { transform: translate(0, 0) rotate(var(--r, 0deg)); } 50% { transform: translate(5px, -10px) rotate(calc(var(--r, 0deg) + 24deg)); } }
.js body.home2 .hero .rise { opacity: 0; animation: rise .7s var(--ease) forwards; animation-delay: calc(var(--i, 0) * 80ms + 120ms); }
.js body.home2 .hero .hero-art { opacity: 0; animation: artIn 1s var(--ease) .25s forwards; }
.js body.home2 .hero.h-acc .rise { animation-delay: calc(var(--i, 0) * 80ms + 280ms); }
.js body.home2 .hero.h-acc .hero-art { animation-delay: .4s; }
  @keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
  @keyframes artIn { from { opacity: 0; transform: translateX(36px) scale(.95); } to { opacity: 1; transform: none; } }

  
  @container (min-width: 440px) {
body.home2 .hero-text { width: 49%; gap: 10px; padding: 8px 0 0 8px; }
body.home2 .hero-title { font-size: 30px; }
body.home2 .hero-sub { font-size: 15px; }
body.home2 .hero-list li { font-size: 14px; }
body.home2 .check { width: 22px; height: 22px; }
body.home2 .btn { height: 46px; padding: 0 20px; font-size: 15px; }
body.home2 .h-games .hero-art { right: 2%; bottom: 0; width: 44%; }
body.home2 .h-acc .hero-art { right: 0; top: 0; bottom: auto; height: 100%; }
body.home2 .h-acc .hero-art img { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22%, #000 90%, transparent 100%), linear-gradient(180deg, #000 82%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 22%, #000 90%, transparent 100%), linear-gradient(180deg, #000 82%, transparent 100%); }
  }
body.home2 section { margin-top: 28px; }
body.home2 .sh { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
body.home2 .sh h2 { margin: 0; display: flex; align-items: center; gap: 8px; font: 800 16px/1.15 var(--display); letter-spacing: -.02em; text-transform: uppercase; }
body.home2 .sh h2 .tag { font: 800 11px/1 "Manrope", sans-serif; letter-spacing: .06em; padding: 4px 7px; border-radius: 7px; background: var(--hot); color: #fff; animation: tag 2.4s ease-in-out infinite; }
  @keyframes tag { 0%, 100% { transform: rotate(-3deg); } 50% { transform: rotate(3deg) scale(1.06); } }
body.home2 .sh a { display: inline-flex; align-items: center; gap: 4px; color: var(--accent); font-size: 13px; font-weight: 800; white-space: nowrap; }
body.home2 .sh a svg { transition: transform .2s var(--ease); }
body.home2 .sh a:hover svg { transform: translateX(3px); }

  
  @supports (animation-timeline: view()) {
body.home2 .reveal > * { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 70%; }
  }
body.home2 .codes { grid-auto-columns: 158px; gap: 10px; }
body.home2 .code { --g1: #0a4fb4; --g2: #002c7a; scroll-snap-align: start; position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; justify-content: space-between; height: 100px; padding: 12px; border-radius: 16px; color: #fff; background: linear-gradient(135deg, var(--g1), var(--g2)); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14), 0 10px 20px -14px rgba(0,0,0,.6); transition: transform .35s var(--ease), box-shadow .35s var(--ease), opacity .6s var(--ease); }
body.home2 .code .ico { width: 34px; height: 34px; border-radius: 10px; box-shadow: 0 0 0 2px rgba(255,255,255,.35); transition: transform .4s var(--ease); }
body.home2 .code .wm { position: absolute; z-index: -1; right: -22px; bottom: -26px; width: 96px; height: 96px; border-radius: 26px; opacity: .22; transform: rotate(-14deg); transition: transform .5s var(--ease), opacity .5s; }
body.home2 .code::before { content: ""; position: absolute; z-index: -1; inset: 0; background: radial-gradient(120% 80% at 0% 0%, rgba(255,255,255,.22), rgba(255,255,255,0) 55%); }
body.home2 .code::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(105deg, rgba(255,255,255,0) 35%, rgba(255,255,255,.35) 50%, rgba(255,255,255,0) 65%); transform: translateX(-120%); animation: card-shine 1.3s ease-in-out calc(var(--i, 0) * .18s + 1.4s) both; }
  @keyframes card-shine { from { transform: translateX(-120%); } to { transform: translateX(120%); } }
  @keyframes card-shine-again { from { transform: translateX(-120%); } to { transform: translateX(120%); } }
body.home2 .code b { display: block; font-size: 14px; font-weight: 800; line-height: 1.15; }
body.home2 .code small { display: block; margin-top: 1px; color: rgba(255,255,255,.85); font-size: 12px; font-weight: 600; }
body.home2 .c-ps { --g1: #0b5ed7; --g2: #00296b; }
body.home2 .c-steam { --g1: #2a475e; --g2: #11161d; }
body.home2 .c-gp { --g1: #0b7f57; --g2: #164fb8; }
body.home2 .c-apple { --g1: #3a3a3e; --g2: #0d0d0f; }
body.home2 .c-nin { --g1: #d4111f; --g2: #85000d; }
body.home2 .c-vouch { --g1: #0b7d86; --g2: #064046; }
body.home2 .c-vouch .wm { border-radius: 26px; }
body.home2 .cfan { display: flex; height: 34px; align-items: center; }
body.home2 .cfan img { width: 28px; height: 28px; border-radius: 8px; margin-right: -9px; box-shadow: 0 0 0 2px rgba(255,255,255,.85); transition: transform .4s var(--ease), margin .4s var(--ease); }
body.home2 .cfan img:nth-child(1) { transform: rotate(-10deg); }
body.home2 .cfan img:nth-child(3) { transform: rotate(9deg); }
body.home2 .steam { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
body.home2 .tile { position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; min-height: 128px; padding: 12px; border-radius: var(--radius); color: #fff; transition: transform .3s var(--ease), box-shadow .3s var(--ease), opacity .6s var(--ease); box-shadow: 0 12px 24px -16px rgba(0,0,0,.4); }
body.home2 .tile::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(105deg, rgba(255,255,255,0) 30%, rgba(255,255,255,.22) 50%, rgba(255,255,255,0) 70%); transform: translateX(-110%); transition: transform .9s var(--ease); }
body.home2 .tile .k { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.82); }
body.home2 .tile h3 { margin: 3px 0 2px; font: 800 15px/1.15 var(--display); letter-spacing: -.02em; }
body.home2 .tile p { margin: 0; font-size: 12.5px; color: rgba(255,255,255,.88); }
body.home2 .tile .mark { position: static; flex-shrink: 0; margin-bottom: 8px; width: 28px; height: 28px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.22); transition: transform .4s var(--ease); }
body.home2 .tile .mark img { width: 16px; height: 16px; }
body.home2 .tile .bg-glyph { position: absolute; z-index: -1; right: -14px; top: -28px; font: 900 130px/1 system-ui, sans-serif; color: rgba(255,255,255,.1); pointer-events: none; animation: spin 26s linear infinite; }
  @keyframes spin { to { transform: rotate(360deg); } }
body.home2 .t-steam { grid-column: span 2; min-height: 0; padding: 14px; background: linear-gradient(115deg, #10213a 0%, #1b4479 55%, #2457e6 100%); }
body.home2 .t-steam h3 { font-size: 18px; }
body.home2 .t-steam p { font-size: 13.5px; max-width: 24ch; }
body.home2 .t-steam .cta { position: absolute; z-index: 2; right: 14px; bottom: 14px; height: 38px; padding: 0 15px; border-radius: 11px; display: inline-flex; align-items: center; gap: 6px; background: #fff; color: #0c1222; font-weight: 800; font-size: 13px; transition: transform .25s var(--ease); }
body.home2 .t-gift { grid-column: span 2; background: linear-gradient(150deg, #3b25a8 0%, #5a3be0 70%, #6a4ae8 100%); }
body.home2 .t-voucher { background: linear-gradient(150deg, #0a5a62 0%, #0b6f7a 75%, #0a6f7a 100%); }
body.home2 .fan { position: static; margin-bottom: 8px; display: flex; }
body.home2 .fan img { width: 26px; height: 26px; border-radius: 8px; margin-right: -8px; box-shadow: 0 0 0 2px #0b6a74; transition: transform .35s var(--ease), margin .35s var(--ease); }
body.home2 .fan img:nth-child(1) { transform: rotate(-10deg); }
body.home2 .fan img:nth-child(3) { transform: rotate(8deg); }
body.home2 .games { grid-auto-columns: 76px; gap: 10px; }
body.home2 .mg-home-tile { scroll-snap-align: start; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
body.home2 .mg-home-tile .mg-home-ico { border-radius: 21px; overflow: hidden; aspect-ratio: 1; background: var(--surface); box-shadow: 0 0 0 1px var(--line), 0 8px 16px -10px rgba(0,0,0,.4); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
body.home2 .mg-home-ico { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
body.home2 .mg-home-name { font-size: 11.5px; font-weight: 700; line-height: 1.2; text-align: center; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
body.home2 .community { display: grid; gap: 10px; }
body.home2 .reviews { position: relative; overflow: hidden; isolation: isolate; display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 22px; background: #10182b; color: #fff; transition: transform .3s var(--ease), box-shadow .3s var(--ease); box-shadow: 0 16px 30px -18px rgba(0,0,0,.55); }
body.home2 .reviews::before { content: ""; position: absolute; z-index: -1; width: 60%; aspect-ratio: 1; right: -18%; top: -70%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,196,64,.3), rgba(255,196,64,0)); animation: blob 10s ease-in-out infinite alternate; }
body.home2 .rv-stack { display: flex; flex-shrink: 0; }
body.home2 .rv-stack > span { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: #fff; box-shadow: 0 0 0 3px #10182b; transition: margin .35s var(--ease); }
body.home2 .rv-stack > span + span { margin-left: -10px; }
body.home2 .rv-stack > span:nth-child(3) { background: #2aabee; color: #fff; }
body.home2 .rv-stack svg { width: 22px; height: 22px; display: block; }
body.home2 .rv-stack > span:nth-child(2) svg { width: 36px; height: 36px; }
body.home2 .rv-stack svg { max-width: 100%; }
body.home2 .rv-stack > span:nth-child(3) svg { width: 19px; height: 19px; margin-left: -2px; }
body.home2 .rv-text { min-width: 0; }
body.home2 .rv-text b { display: block; font: 800 16px/1.15 var(--display); letter-spacing: -.02em; }
body.home2 .rv-text small { display: block; margin-top: 3px; color: rgba(255,255,255,.75); font-size: 12px; font-weight: 600; white-space: nowrap; }
body.home2 .rv-go { margin-left: auto; flex-shrink: 0; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: #ffc440; color: #10182b; transition: transform .3s var(--ease); }
body.home2 .social { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
body.home2 .soc { --brand: #0077ff; --tint: #eaf3ff; position: relative; display: flex; align-items: center; gap: 10px; min-width: 0; padding: 10px; border-radius: 16px; background: var(--surface); box-shadow: 0 0 0 1px var(--line), 0 8px 20px -16px rgba(0,0,0,.35); transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease); }
body.home2 .soc-ico { position: relative; flex-shrink: 0; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: #fff; background: var(--brand); box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 8px 16px -10px rgba(0,0,0,.5); transition: transform .35s var(--ease); }
body.home2 .soc-ico > svg { width: 21px; height: 21px; display: block; }
body.home2 .s-tg .soc-ico > svg, body.home2 .s-chat .soc-ico > svg { width: 18px; height: 18px; margin-left: -2px; }
body.home2 .s-max .soc-ico > svg { width: 19px; height: 19px; }
body.home2 .soc-ico .badge { position: absolute; right: -5px; bottom: -5px; width: 17px; height: 17px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: #1c8fd0; box-shadow: 0 0 0 2px var(--surface); }
body.home2 .soc-ico .badge svg { width: 9px; height: 9px; }
body.home2 .soc > span:nth-child(2) { min-width: 0; }
body.home2 .soc b { display: block; font-size: 13px; font-weight: 800; line-height: 1.2; }
body.home2 .soc small { display: none; margin-top: 1px; color: var(--muted); font-size: 11.5px; font-weight: 600; line-height: 1.25; }
body.home2 .soc-go { display: none; position: absolute; right: 14px; top: 14px; width: 30px; height: 30px; border-radius: 50%; place-items: center; background: var(--bg); color: var(--ink); transition: transform .3s var(--ease), background .3s, color .3s; }
body.home2 .soc-go svg { width: 14px; height: 14px; }
body.home2 .s-vk { --brand: #0077ff; --tint: #eaf3ff; }
body.home2 .s-tg { --brand: #2aabee; --tint: #e8f6fd; }
body.home2 .s-chat { --brand: #1c8fd0; --tint: #e6f3fb; }
body.home2 .s-max { --brand: conic-gradient(from 180deg, #4f46e5 0deg, #9333ea 180deg, #ec4899 360deg); --tint: #f4ecff; }
body.home2 .foot { margin: 28px 0 0; padding-bottom: 96px; text-align: center; color: var(--muted); font-size: 12px; }

  @media (hover: hover) {
body.home2 .code:hover { transform: translateY(-5px) rotate(-1.5deg); box-shadow: inset 0 0 0 1px rgba(255,255,255,.22), 0 22px 30px -16px rgba(0,0,0,.6); }
body.home2 .code:hover .ico { transform: scale(1.08) rotate(-6deg); }
body.home2 .code:hover .cfan img { margin-right: -3px; }
body.home2 .code:hover::after { animation: card-shine-again .9s ease-in-out both; }
body.home2 .code:hover .wm { transform: rotate(-4deg) scale(1.12); opacity: .3; }
body.home2 .tile:hover { transform: translateY(-4px); box-shadow: 0 22px 34px -18px rgba(0,0,0,.42); }
body.home2 .tile:hover::after { transform: translateX(110%); }
body.home2 .tile:hover .mark { transform: rotate(-10deg) scale(1.08); }
body.home2 .t-steam:hover .cta { transform: scale(1.05); }
body.home2 .t-voucher:hover .fan img { margin-right: -2px; }
body.home2 .mg-home-tile:hover .mg-home-ico { transform: translateY(-4px) rotate(-2deg); box-shadow: 0 0 0 1px var(--line), 0 16px 24px -12px rgba(0,0,0,.45); }
body.home2 .mg-home-tile:hover img { transform: translateY(-4px) rotate(-2deg) scale(1.08); }
body.home2 .reviews:hover { transform: translateY(-3px); box-shadow: 0 24px 38px -18px rgba(0,0,0,.6); }
body.home2 .reviews:hover .rv-stack > span + span { margin-left: -4px; }
body.home2 .reviews:hover .rv-go { transform: translateX(3px); }
body.home2 .soc:hover { transform: translateY(-3px); background: var(--tint); box-shadow: 0 0 0 1px var(--line-2), 0 16px 26px -16px rgba(0,0,0,.35); }
body.home2 .soc:hover .soc-ico { transform: rotate(-6deg) scale(1.06); }
body.home2 .soc:hover .soc-go { transform: translateX(2px); background: var(--ink); color: #fff; }

  }

  
  @media (min-width: 768px) {
body.home2 .wrap { padding-left: max(28px, env(safe-area-inset-left, 0px)); padding-right: max(28px, env(safe-area-inset-right, 0px)); }
body.home2 .hscroll { margin: 0; padding: 0; overflow: visible; }
body.home2 .head, body.home2 .head.scrolled { padding-top: 10px; background: none; border-bottom: 0; backdrop-filter: none; -webkit-backdrop-filter: none; }
body.home2 .head-row { width: min(1224px, calc(100% - 56px)); height: auto; gap: 10px; padding: 10px 16px; border-radius: 24px; background: rgba(240,244,248,.82); border: 1px solid rgba(226,232,240,.82); box-shadow: 0 10px 24px rgba(15,23,42,.04), 0 1px 3px rgba(15,23,42,.03); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
body.home2 .search { height: 40px; padding: 0 14px; border-radius: 12px; border: 1px solid rgba(15,23,42,.06); box-shadow: 0 2px 12px rgba(15,23,42,.05); font-size: 16px; }
body.home2 .spacer { display: none; }
body.home2 .ibtn { width: 34px; height: 34px; border-radius: 11px; background: rgba(255,255,255,.92); border: 1px solid rgba(226,232,240,.96); box-shadow: 0 4px 10px rgba(15,23,42,.04); color: #64748b; }
body.home2 .ibtn svg { width: 18px; height: 18px; }
body.home2 .ticker { margin-top: 12px; padding: 4px; }
body.home2 .tick { font-size: 14px; padding: 6px 12px; }
body.home2 .tick .ti { width: 28px; height: 28px; border-radius: 9px; }
body.home2 .tick .ti svg { width: 16px; height: 16px; }
body.home2 .heroes { grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 14px; }
body.home2 .hero { min-height: 300px; padding: 22px; }
body.home2 section { margin-top: 42px; }
body.home2 .sh { margin-bottom: 12px; }
body.home2 .sh h2 { font-size: 20px; }
body.home2 .codes { grid-auto-flow: row; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
body.home2 .code { height: 132px; padding: 16px; }
body.home2 .code .ico { width: 42px; height: 42px; border-radius: 12px; }
body.home2 .code .wm { width: 130px; height: 130px; right: -28px; bottom: -34px; border-radius: 34px; }
body.home2 .cfan { height: 42px; }
body.home2 .cfan img { width: 32px; height: 32px; border-radius: 9px; }
body.home2 .code b { font-size: 16px; }
body.home2 .code small { font-size: 13px; }
body.home2 .steam { grid-template-columns: 1.3fr 1fr; gap: 14px; }
body.home2 .t-gift { grid-column: auto; }
body.home2 .t-steam { grid-column: auto; min-height: 150px; padding: 16px 18px; }
body.home2 .t-steam h3 { font-size: 22px; }
body.home2 .tile { min-height: 150px; padding: 16px; }
body.home2 .tile h3 { font-size: 17px; }
body.home2 .tile .bg-glyph { font-size: 110px; top: -24px; }
body.home2 .tile .mark { position: absolute; top: 14px; left: 14px; margin: 0; width: 34px; height: 34px; }
body.home2 .tile .mark img { width: 18px; height: 18px; }
body.home2 .fan { position: absolute; top: 14px; left: 14px; margin: 0; }
body.home2 .fan img { width: 30px; height: 30px; border-radius: 9px; }
body.home2 .tile p { font-size: 13.5px; }
body.home2 .games { grid-auto-flow: row; grid-template-columns: repeat(8, minmax(0, 104px)); justify-content: space-between; gap: 14px; }
body.home2 .mg-home-name { font-size: 13px; }
body.home2 .community { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 14px; }
body.home2 .reviews { gap: 14px; padding: 20px 22px; }
body.home2 .rv-stack > span { width: 40px; height: 40px; }
body.home2 .rv-stack > span:nth-child(2) svg { width: 40px; height: 40px; }
body.home2 .rv-text small { font-size: 12.5px; }
body.home2 .social { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
body.home2 .soc { padding: 12px; }
body.home2 .soc small { display: block; }
body.home2 .foot { padding-bottom: 40px; }
  }

  @media (prefers-reduced-motion: reduce) {
body.home2 *, body.home2 *::before, body.home2 *::after { animation: none !important; transition: none !important; }
.js body.home2 .hero .rise, .js body.home2 .hero .hero-art { opacity: 1; transform: none; }
body.home2 .check svg { stroke-dashoffset: 0; }
  }

/* Live iframe and reviews contracts. */
      .vk-shell {
        display: none;
        width: 100%;
      }
      .vk-shell-notice {
        position: fixed; z-index: 10001; top: max(16px, env(safe-area-inset-top, 0px));
        left: 16px; right: 16px; max-width: 520px; margin: 0 auto; padding: 16px;
        border: 1px solid #cbd5e1; border-radius: 14px; background: #fff; color: #0f172a;
        font: 15px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      }
      .vk-shell-notice[hidden] { display: none; }
      .vk-shell-notice p { margin: 0 0 12px; }
      .vk-shell-notice button { min-height: 44px; margin: 0 8px 4px 0; padding: 8px 12px; }
      .vk-shell-frame {
        display: block;
        width: 100%;
        height: var(--app-frame-h, 100dvh);
        border: 0;
        background: #ffffff;
      }
      body.vk-shell-active {
        overflow: hidden;
      }
      body.vk-shell-active .container {
        width: 100%;
        max-width: none;
        padding: 0;
      }
      body.vk-shell-active #home-sections {
        display: none;
      }
      body.vk-shell-active .vk-shell {
        display: block;
      }
      body.vk-shell-navigating,
      body.vk-shell-navigating .vk-shell-frame {
        cursor: progress;
      }
      body.vk-shell-navigating .vk-shell-frame {
        opacity: 0.995;
      }
      .modal-overlay {
        position: fixed; top: 0; left: 0; right: 0; bottom: 0;
        background: rgba(15, 23, 42, 0.4); backdrop-filter: blur(4px);
        z-index: 1000; display: flex; align-items: center; justify-content: center;
        opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
        padding: 20px;
      }
      .modal-overlay.is-active { opacity: 1; pointer-events: auto; }
      .modal-content {
        background: #f8fafc; width: 100%; max-width: 440px;
        border-radius: 28px; padding: 24px;
        transform: translateY(20px) scale(0.95); transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
        max-height: 90vh; overflow-y: auto;
        box-shadow: 0 20px 40px rgba(0,0,0,0.1);
      }
      .modal-overlay.is-active .modal-content { transform: translateY(0) scale(1); }

      .modal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
      .modal-header h3 { font-size: 20px; font-weight: 800; color: #0f172a; margin: 0; line-height: 1.2; }
      .modal-close {
        width: 36px; height: 36px; border-radius: 18px; background: #e2e8f0;
        border: none; display: flex; align-items: center; justify-content: center;
        color: #64748b; font-size: 22px; cursor: pointer; transition: background 0.2s;
        padding: 0; flex-shrink: 0;
      }
      .modal-close:active { background: #cbd5e1; }

      .reviews-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
      .review-button {
        background: #ffffff; border-radius: 16px; padding: 18px 12px;
        text-align: center; text-decoration: none; display: flex; align-items: center; justify-content: center;
        gap: 8px;
        font-size: 16px; font-weight: 700; color: #0f172a;
        box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
        border: 1px solid rgba(15, 23, 42, 0.03);
        transition: transform 0.2s, background 0.2s;
        -webkit-tap-highlight-color: transparent;
      }
      .review-button svg { width: 22px; height: 22px; flex-shrink: 0; }
      .review-button:active { transform: scale(0.96); background: #f8fafc; }

/* Integration overrides: withstand shared CSS loading asynchronously. */
body.home2 { min-height: var(--app-frame-h, 100dvh); padding-top: var(--app-content-top, env(safe-area-inset-top, 0px)); }
body.home2 [hidden] { display: none !important; }
body.home2 a { color: inherit; }
body.home2 .sh a { color: var(--accent); }
body.home2 .wrap { padding-left: max(16px, var(--app-content-left, 0px)); padding-right: max(16px, var(--app-content-right, 0px)); }
body.home2::before { height: var(--app-content-top, env(safe-area-inset-top, 0px)); }
body.home2 .head { top: var(--app-content-top, env(safe-area-inset-top, 0px)); }
body.home2 .home2-search { position: relative; }
body.home2 .home2-search input { min-width: 0; flex: 1; width: 100%; height: 100%; margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; outline: none; color: var(--ink); font: inherit; caret-color: var(--accent); }
body.home2 .home2-search input::placeholder { color: var(--muted); opacity: 1; }
body.home2 .home2-search svg { position: static; flex-shrink: 0; transform: none; opacity: 1; }
body.home2 .home2-search:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }
body.home2 .ibtn { position: relative; }
body.home2 .home2-cart-badge { position: absolute; right: -5px; top: -5px; min-width: 18px; padding: 2px 5px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 10px; font-weight: 800; line-height: 1.4; text-align: center; font-variant-numeric: tabular-nums; }
body.home2 #home-bonus-balance { display: block; font-variant-numeric: tabular-nums; }
body.home2 #home-bonus-balance::first-letter { font-size: 0; }
body.home2 button.reviews, body.home2 button.soc { border: 0; font: inherit; text-align: left; cursor: pointer; }
body.home2 button.reviews { width: 100%; color: #fff; }
body.home2 button.soc { color: var(--ink); }
body.home2 .mg-home-ico { height: auto; width: 100%; aspect-ratio: 1; object-fit: cover; }
body.home2 .foot { padding-bottom: calc(96px + var(--app-content-bottom, env(safe-area-inset-bottom, 0px))); }
body.home2 :focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
body.home2 ::selection { background: #cfdcff; color: var(--ink); }
body.home2 .hero.is-pressed { transform: scale(.985); }
.vk-platform body.home2 #tg-group-card, .vk-platform body.home2 #tg-channel-card, .vk-platform body.home2 #review-telegram-card { display: none !important; }
body.home2 .modal-overlay:not(.is-active) { visibility: hidden; }
body.home2 .modal-overlay { padding-top: max(20px, var(--app-content-top, 0px)); padding-bottom: max(20px, var(--app-content-bottom, 0px)); }
@media (min-width: 768px) {
  body.home2 .wrap { padding-left: max(28px, var(--app-content-left, 0px)); padding-right: max(28px, var(--app-content-right, 0px)); }
  body.home2 .head-row { padding: 10px 16px; }
  body.home2 .foot { padding-bottom: calc(80px + var(--app-content-bottom, 0px)); }
}
/* Keep intermediate desktop rows inside their tracks. */
@media (min-width: 768px) and (max-width: 1100px) {
  body.home2 .social { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.home2 .community { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); }
  body.home2 .codes { grid-auto-columns: auto; gap: 8px; }
  body.home2 .code { padding: 12px; }
  body.home2 .code b { font-size: 14px; }
  body.home2 .code small { font-size: 11px; }
  body.home2 .games { grid-auto-columns: auto; }
  body.home2 .hero-title { font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  body.home2 *, body.home2 *::before, body.home2 *::after { animation: none !important; transition: none !important; }
  body.home2 .reveal > * { opacity: 1; transform: none; }
}
@media (min-width: 768px) and (max-width: 1100px) {
  body.home2 .community { grid-template-columns: minmax(0, 1fr); }
  body.home2 .rv-text small { white-space: normal; }
}

/* The shell owns the only support widget, its panel and click handling. */
body.home2 .deli-support-widget {
  --dsw-size: 56px;
  right: max(calc(16px + var(--app-content-right, env(safe-area-inset-right, 0px))), calc((100vw - 1280px) / 2 + 28px)) !important;
  bottom: calc(16px + var(--app-content-bottom, env(safe-area-inset-bottom, 0px))) !important;
}
body.home2 .deli-support-trigger {
  padding: 0;
  border: 0;
  border-radius: 50%;
  overflow: hidden;
  background: #2457e6;
  box-shadow: 0 0 0 3px #fff, 0 12px 26px -10px rgba(0,0,0,.45);
}
body.home2 .deli-support-trigger__icon {
  border-radius: 50%;
  object-fit: cover;
}
body.home2 .deli-support-trigger:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 5px;
}
body.home2 .deli-support-widget::before,
body.home2 .deli-support-widget::after {
  content: "";
  position: absolute;
  z-index: 1;
  top: 2px;
  right: 2px;
  width: 12px;
  height: 12px;
  box-sizing: border-box;
  border-radius: 50%;
  pointer-events: none;
}
body.home2 .deli-support-widget::before {
  background: radial-gradient(circle, rgba(52,199,89,.35), rgba(52,199,89,0));
  box-shadow: 0 0 0 3px rgba(52,199,89,.15);
}
body.home2 .deli-support-widget::after {
  background: #34c759;
  border: 2px solid #fff;
}
@media (prefers-reduced-motion: no-preference) {
  body.home2 .deli-support-widget::before {
    animation: home2-online-pulse 2.4s ease-in-out infinite;
  }
}
@keyframes home2-online-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.8); }
}
