body[data-page="home"] { background:#080a0e; color:#f5f6f4; }
body[data-page="home"] .app-wrap { width:min(100%,650px); max-width:650px; padding-inline:clamp(12px,3.2vw,24px); }
body[data-page="home"] .ambient { opacity:.15; }
body[data-page="home"] #games-view .section-heading:not(.compact) { padding:30px 0 16px; margin-bottom:0; align-items:center; }
body[data-page="home"] #games-view .section-heading h1 { font-size:clamp(41px,8vw,58px); line-height:1.08; letter-spacing:-.05em; font-weight:800; }
body[data-page="home"] #games-view .section-heading .eyebrow { font-size:12px; font-weight:600; color:#a8adaf; letter-spacing:.025em; margin-bottom:9px; }
body[data-page="home"] #games-view .section-heading .title-dot { color:#e2ead7; }
body[data-page="home"] #games-view .small-pill { flex:none; min-width:72px; justify-content:center; min-height:42px; padding:10px 14px; background:#10141b; border:1px solid #ffffff13; border-radius:15px; font-size:15px; box-shadow:0 8px 22px #0004; }
body[data-page="home"] #games-view .small-pill svg { width:19px;height:19px; }
body[data-page="home"] .home-featured { position:relative; display:grid; grid-template-columns:minmax(0,1.1fr) minmax(0,.94fr); gap:6px; overflow:hidden; isolation:isolate; min-height:clamp(192px,43vw,288px); margin:12px 0 22px; border:1px solid #c6f3a522; border-radius:27px; background:radial-gradient(ellipse at 78% 26%,#286c47aa,transparent 58%),linear-gradient(145deg,#112d21,#0b2117 56%,#071612); box-shadow:inset 0 1px #ffffff2c,0 16px 45px #0006; }
body[data-page="home"] .home-feature-copy { position:relative; z-index:2; align-self:center; padding:20px 0 23px clamp(16px,4.7vw,30px); }
body[data-page="home"] .home-feature-overline { display:block; color:#bed8c4; font-size:clamp(10px,2.5vw,13px); font-weight:650; margin-bottom:12px; }
body[data-page="home"] .home-feature-copy h2 { margin:0 0 11px; font-size:clamp(20px,5.2vw,33px); color:#fff; font-weight:750; line-height:1.4; letter-spacing:-.015em; }
body[data-page="home"] .home-feature-copy p { margin:0 0 18px; color:#bdd0c3; font-size:clamp(10px,2.2vw,13px); line-height:1.85; }
body[data-page="home"] .home-feature-button { min-height:44px; max-width:100%; padding:10px 16px; border:0; border-radius:13px; background:linear-gradient(135deg,#f6ffe0,#d7ecc0); color:#213527; font-size:12px; font-weight:750; box-shadow:0 5px 10px #0003; }
body[data-page="home"] .home-feature-button span { padding-left:8px; }
body[data-page="home"] .home-feature-art { position:relative; z-index:1; align-self:center; justify-self:end; width:100%; height:calc(100% - 32px); max-height:252px; margin-right:11px; border-radius:19px; object-fit:cover; object-position:center; box-shadow:0 5px 18px #0006; }
body[data-page="home"] .home-feature-page { position:absolute; z-index:3; left:calc(50% - 13px); bottom:7px; font-size:10px; color:#f4ffe6; letter-spacing:7px; opacity:.65; }
body[data-page="home"] .game-category-switch { display:grid; grid-template-columns:1fr 1fr; gap:5px; width:100%; margin:0 0 18px; border:1px solid #ffffff16; border-radius:22px; background:#11141a; padding:6px; min-height:61px; box-shadow:0 10px 23px #0004; }
body[data-page="home"] .game-category-switch button { display:flex; gap:9px; justify-content:center; align-items:center; min-height:47px; border-radius:16px; font-size:clamp(12px,3.15vw,16px); font-weight:700; background:transparent; color:#aeb6c0; border:1px solid transparent; box-shadow:none; }
body[data-page="home"] .game-category-switch button[aria-selected="true"] { background:linear-gradient(110deg,#e4f6d7,#c3e3da); color:#202f2e; border-color:#d5ffda; box-shadow:0 5px 13px #0006; }
body[data-page="home"] .game-category-switch svg { height:20px; width:20px; }
body[data-page="home"] .game-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:clamp(10px,2.8vw,18px); align-items:stretch; padding-bottom:120px; }
body[data-page="home"] .game-grid .game-card { position:relative; isolation:isolate; overflow:hidden; min-width:0; display:flex; flex-direction:column; align-items:stretch; justify-content:flex-start; min-height:clamp(226px,56vw,325px); padding:0 0 15px; border:1px solid #ffffff24; border-radius:26px; background:linear-gradient(180deg,#192229,#101218 73%,#0b0c12); color:#f4f4f3; text-align:left; box-shadow:inset 0 1px #ffffff28,0 7px 18px #0005; transform:none; transition:border-color .16s,transform .16s; }
body[data-page="home"] .game-grid .game-card:active { transform:scale(.985); }
body[data-page="home"] .game-grid .game-card:focus-visible { outline:2px solid #d4e9c9; outline-offset:3px; }
body[data-page="home"] .game-grid .game-card > .tile-label { position:relative; z-index:3; order:0; display:inline-block; margin:10px 12px 0; font-weight:700; font-size:clamp(8px,2.3vw,11px); letter-spacing:.04em; color:#e3e5e6; text-shadow:0 1px 4px #000a; }
body[data-page="home"] .game-grid .game-card > .tile-art { position:relative; z-index:2; order:1; width:100%; height:clamp(113px,29vw,187px); min-height:0; margin:0; padding:9px 10px; display:flex; align-items:center; justify-content:center; border:0; border-radius:0; background:transparent; box-shadow:none; }
body[data-page="home"] .game-grid .game-card > .tile-art img { max-width:90%; max-height:96%; object-fit:contain; }
body[data-page="home"] .game-grid .game-card > h2 { position:relative; z-index:3; order:2; width:100%; margin:0; padding:0 13px; font-size:clamp(15px,3.65vw,21px); line-height:1.6; color:#fff; text-shadow:0 1px 5px #000a; }
body[data-page="home"] .game-grid .game-card > p { position:relative; z-index:3; order:3; min-height:0; margin:3px 0 0; padding:0 13px; font-size:clamp(10px,2.7vw,13px); color:#b8bdc7; line-height:1.7; }
body[data-page="home"] .game-grid .game-card > .tile-meta { position:relative; z-index:3; order:4; margin-top:auto; padding:9px 13px 0; color:#9da5b0; font-size:clamp(9px,2.45vw,11px); }
body[data-page="home"] .game-grid .game-card .tile-lock { z-index:4; }
body[data-page="home"] .game-grid .game-card[data-game-permission="lottery"], body[data-page="home"] .game-grid .game-card[data-game-permission="claw"], body[data-page="home"] .game-grid .game-card[data-game-permission="slot"], body[data-page="home"] .game-grid .game-card[data-game-permission="promo"] { background:linear-gradient(180deg,#1e222d,#111219 73%,#101117); }
body[data-page="home"] .game-grid .game-card[data-game-permission="lottery"]::before, body[data-page="home"] .game-grid .game-card[data-game-permission="claw"]::before, body[data-page="home"] .game-grid .game-card[data-game-permission="slot"]::before, body[data-page="home"] .game-grid .game-card[data-game-permission="promo"]::before { content:""; position:absolute; z-index:1; top:0; left:0; width:100%; height:75%; background-repeat:no-repeat; background-position:center top; background-size:cover; -webkit-mask-image:linear-gradient(#000 0%,#000 64%,transparent 100%); mask-image:linear-gradient(#000 0%,#000 64%,transparent 100%); pointer-events:none; }
body[data-page="home"] .game-grid .game-card[data-game-permission="lottery"]::before { background-image:url('home-lottery-v132.webp'); }
body[data-page="home"] .game-grid .game-card[data-game-permission="claw"]::before { background-image:url('home-claw-v132.webp'); }
body[data-page="home"] .game-grid .game-card[data-game-permission="slot"]::before { background-image:url('home-slot-v132.webp'); }
body[data-page="home"] .game-grid .game-card[data-game-permission="promo"]::before { background-image:url('home-promo-v132.webp'); }
body[data-page="home"] .game-grid .game-card[data-game-permission="lottery"] > .tile-art,body[data-page="home"] .game-grid .game-card[data-game-permission="claw"] > .tile-art,body[data-page="home"] .game-grid .game-card[data-game-permission="slot"] > .tile-art,body[data-page="home"] .game-grid .game-card[data-game-permission="promo"] > .tile-art { opacity:0; }
body[data-page="home"] .bottom-nav { backdrop-filter:blur(10px); -webkit-backdrop-filter:blur(10px); }
@media(max-width:390px){body[data-page="home"] .app-wrap{padding-inline:12px}body[data-page="home"] .game-grid{gap:10px}body[data-page="home"] .home-featured{min-height:194px}body[data-page="home"] .home-feature-copy{padding-left:15px}body[data-page="home"] .home-feature-copy p{margin-bottom:11px}body[data-page="home"] .home-feature-art{margin-right:9px}}
@media(prefers-reduced-motion:reduce){body[data-page="home"] .game-grid .game-card{transition:none}}
@media(prefers-reduced-data:reduce){body[data-page="home"] .game-grid .game-card{box-shadow:none}}
