:root{--background:#080a0f;--panel:#10131a;--panel-soft:#171b24;--text:#f5f7fa;--muted:#9299a8;--line:#252a35;--accent:#7c5cfc;--accent-strong:#9278ff;--success:#35d07f}*{box-sizing:border-box}html,body{min-height:100%}body{background:var(--background);color:var(--text);margin:0;font-family:Arial,Helvetica,sans-serif}a{color:inherit;text-decoration:none}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit}main{min-height:100vh}.page-shell{max-width:1600px;margin:0 auto;padding-inline:32px}.page-frame{background:var(--background);min-height:100vh;display:flex}.app-shell{background:var(--background);flex:0 1800px;align-items:flex-start;min-width:0;max-width:1800px;min-height:100vh;display:flex}.decor-panel{background:radial-gradient(circle at 30% 20%, #7c5cfc29, transparent 55%), radial-gradient(circle at 75% 85%, #7c5cfc1f, transparent 55%), var(--background);flex:1 1 0;min-width:0;position:relative;overflow:hidden}.decor-panel:before{content:"";background-image:repeating-linear-gradient(135deg,#ffffff06 0 2px,#0000 2px 26px);position:absolute;inset:0}.decor-panel:after{content:"S";color:#7c5cfc0f;-webkit-user-select:none;user-select:none;font-size:13rem;font-weight:900;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.sidebar{background:var(--panel);border-right:1px solid var(--line);scrollbar-width:thin;flex-direction:column;flex:0 0 240px;align-self:flex-start;gap:18px;width:240px;height:100vh;padding:20px 16px;display:flex;position:sticky;top:0;overflow-y:auto}.sidebar-brand{padding:0 6px}.sidebar-search{width:100%}.sidebar-nav{flex-direction:column;gap:2px;display:flex}.sidebar-nav-item{color:var(--muted);text-align:left;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:8px;align-items:center;gap:12px;padding:10px 12px;font-size:.9rem;font-weight:650;display:flex}.sidebar-nav-item svg{flex:none;width:18px;height:18px}.sidebar-nav-item:hover{color:var(--text);background:#ffffff0a}.sidebar-nav-item.active{color:var(--text);background:var(--panel-soft);border-color:var(--line)}.sidebar-nav-item.active svg{color:var(--accent-strong)}.app-main{--shelf-cols:7;--shelf-gap:20px;flex:auto;min-width:0}@media (max-width:1700px){.app-main{--shelf-cols:6}}@media (max-width:1400px){.app-main{--shelf-cols:5}}@media (max-width:1150px){.app-main{--shelf-cols:4}}.drawer-backdrop{z-index:55;background:#05060a99;position:fixed;inset:0}.mobile-drawer{z-index:60;background:var(--panel);border-right:1px solid var(--line);flex-direction:column;gap:18px;width:280px;max-width:82vw;padding:20px 16px;transition:transform .22s;display:flex;position:fixed;top:0;bottom:0;left:0;overflow-y:auto;transform:translate(-100%)}.mobile-drawer.open{transform:translate(0)}.drawer-close{border:1px solid var(--line);background:var(--panel-soft);width:34px;height:34px;color:var(--text);cursor:pointer;border-radius:8px;align-self:flex-end;place-items:center;display:grid}.mobile-tab-bar{z-index:40;padding:8px 6px calc(8px + env(safe-area-inset-bottom));-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);border-top:1px solid var(--line);background:#080a0ff0;justify-content:space-around;display:none;position:fixed;bottom:0;left:0;right:0}.mobile-tab{color:var(--muted);cursor:pointer;background:0 0;border:0;flex-direction:column;flex:1 1 0;align-items:center;gap:3px;padding:6px 4px;font-size:.66rem;font-weight:650;display:flex}.mobile-tab svg{width:20px;height:20px}.mobile-tab.active{color:var(--accent-strong)}.site-header{z-index:30;border-bottom:1px solid var(--line);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#080a0feb;align-items:center;gap:28px;min-height:64px;padding:0 32px;display:flex;position:sticky;top:0}.brand{letter-spacing:-.01em;flex:none;align-items:center;gap:10px;font-weight:800;display:flex}.brand-mark{background:var(--accent);color:#fff;border-radius:8px;place-items:center;width:30px;height:30px;font-weight:900;display:grid}.header-spacer{flex:auto}.header-actions{flex:none;align-items:center;gap:10px;display:flex}.balance-pill{background:var(--panel-soft);border:1px solid var(--line);border-radius:8px;align-items:center;gap:2px;padding:4px;display:flex}.balance-amount{white-space:nowrap;padding:0 10px;font-size:.92rem;font-weight:750}.balance-deposit{background:var(--success);color:#052012;cursor:pointer;white-space:nowrap;border:0;border-radius:6px;padding:7px 12px;font-size:.86rem;font-weight:750}.balance-deposit:hover{filter:brightness(1.08)}.user-menu{position:relative}.user-menu-trigger{border:1px solid var(--line);background:var(--panel-soft);width:38px;height:38px;color:var(--text);cursor:pointer;border-radius:8px;place-items:center;font-weight:800;display:grid}.user-menu-trigger:hover{border-color:var(--accent)}.user-menu-panel{background:var(--panel-soft);border:1px solid var(--line);z-index:40;border-radius:10px;min-width:180px;padding:6px;position:absolute;top:calc(100% + 8px);right:0;box-shadow:0 18px 40px #0006}.user-menu-name{color:var(--muted);text-transform:uppercase;letter-spacing:.04em;border-bottom:1px solid var(--line);margin-bottom:4px;padding:8px 10px 6px;font-size:.78rem;font-weight:700}.user-menu-item{text-align:left;width:100%;color:var(--text);cursor:pointer;background:0 0;border:0;border-radius:6px;padding:9px 10px;font-size:.9rem;font-weight:650;display:block}.user-menu-item:hover{background:#ffffff0f}.user-menu-item.danger{color:#ff8a95}.promo-carousel{margin:20px 32px 0;position:relative}.promo-track{scroll-snap-type:x mandatory;scrollbar-width:none;display:flex;overflow-x:auto}.promo-track::-webkit-scrollbar{display:none}.promo-page{scroll-snap-align:start;flex:0 0 100%;gap:16px;height:300px;display:flex}.promo-slot{flex:1;min-width:0;display:flex}.promo-slide{border:1px solid var(--line);border-radius:16px;flex:1;min-width:0;overflow:hidden}.promo-slide-placeholder{background:repeating-linear-gradient(135deg, var(--panel-soft), var(--panel-soft) 12px, var(--panel) 12px, var(--panel) 24px);color:var(--muted);flex-direction:column;justify-content:center;align-items:center;gap:10px;display:flex}.promo-placeholder-badge{border:1px solid var(--line);text-transform:uppercase;letter-spacing:.05em;background:#080a0f59;border-radius:6px;padding:3px 10px;font-size:10px;font-weight:800}.promo-placeholder-icon{opacity:.55}.promo-placeholder-icon svg{width:32px;height:32px}.promo-placeholder-label{text-align:center;color:#fff;max-width:220px;font-size:.9rem;font-weight:700}.promo-controls{justify-content:center;align-items:center;gap:14px;margin-top:14px;display:flex}.promo-dots{align-items:center;gap:8px;display:flex}.promo-dot{background:var(--line);cursor:pointer;border:none;border-radius:50%;width:8px;height:8px;padding:0;transition:background .15s,width .15s}.promo-dot:hover{background:var(--muted)}.promo-dot.active{background:var(--accent);border-radius:4px;width:22px}.promo-arrow,.shelf-arrow{background:var(--panel-soft);border:1px solid var(--line);color:#fff;cursor:pointer;border-radius:8px;flex:none;place-items:center;width:32px;height:32px;display:grid}.promo-arrow:hover:not(:disabled),.shelf-arrow:hover{border-color:var(--accent)}.promo-arrow:disabled{opacity:.35;cursor:default}.promo-arrow svg,.shelf-arrow svg{width:16px;height:16px}.shelf-arrow{z-index:5;background:#080a0fd1;position:absolute;top:42%;transform:translateY(-50%)}.shelf-arrow.prev{left:-6px}.shelf-arrow.next{right:-6px}.btn{cursor:pointer;border:1px solid #0000;border-radius:8px;justify-content:center;align-items:center;gap:6px;min-height:42px;padding:0 18px;font-size:.92rem;font-weight:750;display:inline-flex}.btn-primary{background:var(--accent);color:#fff}.btn-primary:hover{background:var(--accent-strong)}.btn-ghost{border-color:var(--line);color:var(--text);background:#ffffff0f}.btn-ghost:hover{background:#ffffff1f}.category-bar{z-index:20;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);border-bottom:1px solid var(--line);background:#080a0feb;align-items:center;gap:20px;padding:16px 32px;display:flex;position:sticky;top:64px}.search-field{border:1px solid var(--line);background:var(--panel-soft);width:100%;height:38px;color:var(--muted);border-radius:6px;align-items:center;gap:8px;padding:0 12px;display:flex}.search-field svg{opacity:.7;flex:none}.search-field input{min-width:0;color:var(--text);font:inherit;background:0 0;border:0;outline:none;flex:1;font-size:.88rem}.search-field input::placeholder{color:var(--muted)}.category-tabs{scrollbar-width:none;gap:4px;display:flex;overflow-x:auto}.category-tabs::-webkit-scrollbar{display:none}.category-tab{height:38px;color:var(--muted);cursor:pointer;background:0 0;border:1px solid #0000;border-bottom-width:2px;border-radius:6px;flex:none;padding:0 14px;font-size:.88rem;font-weight:650}.category-tab:hover{color:var(--text)}.category-tab.active{color:var(--text);background:var(--panel-soft);border-color:var(--line);border-bottom-color:var(--accent)}.game-shelf{padding:28px 32px 0}.shelf-header{justify-content:space-between;align-items:baseline;margin-bottom:14px;display:flex}.shelf-header h2{letter-spacing:-.01em;margin:0;font-size:1.1rem}.shelf-row-wrap{position:relative}.shelf-row{gap:var(--shelf-gap,20px);scroll-snap-type:x mandatory;scrollbar-width:none;display:flex;overflow-x:auto}.shelf-row::-webkit-scrollbar{display:none}.shelf-row .game-card{flex:0 0 calc((100% - (var(--shelf-cols,7) - 1) * var(--shelf-gap,20px)) / var(--shelf-cols,7));scroll-snap-align:start}.ghost-art{background:repeating-linear-gradient(135deg, var(--panel-soft), var(--panel-soft) 12px, var(--panel) 12px, var(--panel) 24px);place-items:center;display:grid}.ghost-art svg{opacity:.4;width:30px;height:30px}.ghost-label{color:var(--muted);font-size:.76rem}.game-section{padding:32px 32px 64px}.game-section-header-row{justify-content:space-between;align-items:baseline;gap:16px;margin:0 0 16px;display:flex}.game-section-header{letter-spacing:-.01em;margin:0;font-size:1.1rem}.game-grid{grid-template-columns:repeat(var(--shelf-cols,7), 1fr);gap:var(--shelf-gap,20px);display:grid}.grid-page-size{color:var(--muted);flex:none;align-items:center;gap:8px;font-size:.82rem;display:flex}.grid-page-size select{background:var(--panel-soft);border:1px solid var(--line);color:var(--text);border-radius:8px;padding:5px 8px;font-size:.82rem}.grid-pagination{justify-content:center;align-items:center;gap:14px;margin-top:28px;display:flex}.grid-pagination-label{color:var(--muted);font-size:.84rem}.game-card{flex-direction:column;gap:8px;display:flex}.game-art-wrap{position:relative}.game-art{aspect-ratio:3/4;background:var(--panel-soft);border:1px solid var(--line);border-radius:10px;display:block;position:relative;overflow:hidden}.game-art img{object-fit:cover;width:100%;height:100%;transition:transform .22s}.game-card:hover .game-art img{transform:scale(1.04)}.game-card:hover .game-art{border-color:#9278ff80}.game-placeholder{place-items:center;width:100%;height:100%;display:grid}.game-placeholder span{opacity:.7;color:#fff;font-size:3.4rem;font-weight:900}.placeholder-1{background:linear-gradient(135deg,#4a1d7c,#ef6c67)}.placeholder-2{background:linear-gradient(135deg,#083b66,#14a6a0)}.placeholder-3{background:linear-gradient(135deg,#6a320f,#e0a52f)}.placeholder-4{background:linear-gradient(135deg,#254a28,#80bd5a)}.play-overlay{color:#fff;opacity:0;background:#05060a99;place-items:center;gap:6px;font-size:.86rem;font-weight:800;transition:opacity .16s;display:grid;position:absolute;inset:0}.game-art:hover .play-overlay,.game-art:focus-visible .play-overlay{opacity:1}.play-overlay svg{width:30px;height:30px}.game-badges{z-index:2;pointer-events:none;flex-direction:column;gap:4px;display:flex;position:absolute;top:8px;left:8px}.badge{text-transform:uppercase;letter-spacing:.03em;border-radius:6px;padding:3px 8px;font-size:10px;font-weight:800}.badge-new{color:#241900;clip-path:polygon(0 0,100% 0,100% 100%,50% 76%,0 100%);filter:drop-shadow(0 0 1px #000000a6)drop-shadow(0 2px 3px #0006);background:linear-gradient(#fff3c4 0%,#ffcb3d 55%,#ffb703 100%);border-radius:3px 3px 0 0;padding:4px 9px 9px}.badge-test{color:#1a1200;background:#fbbf24}.favorite-btn{z-index:2;color:#fff;cursor:pointer;background:#05060a8c;border:1px solid #ffffff24;border-radius:6px;place-items:center;width:28px;height:28px;display:grid;position:absolute;top:8px;right:8px}.favorite-btn svg{width:15px;height:15px}.favorite-btn:hover{background:#05060acc}.favorite-btn.active{color:#ff5d7a;border-color:#ff5d7a80}.favorite-btn.active svg{fill:#ff5d7a}.game-card-meta{padding:0 1px}.game-card-meta h3{white-space:nowrap;text-overflow:ellipsis;margin:0 0 2px;font-size:.92rem;font-weight:700;overflow:hidden}.game-card-category{color:var(--muted);font-size:.78rem}.empty-state,.not-found{background:var(--panel);border:1px dashed var(--line);border-radius:14px;margin:0 32px;padding:44px}.not-found{place-items:start;gap:10px;max-width:600px;margin-top:10vh;display:grid}.not-found h1,.not-found p{margin:0}.not-found p{color:var(--muted)}.account-section{max-width:860px;margin:0 auto;padding:28px 32px 64px}.account-back{color:var(--muted);align-items:center;gap:6px;margin-bottom:18px;font-size:.86rem;font-weight:600;text-decoration:none;display:inline-flex}.account-back:hover{color:var(--text)}.account-back svg{width:16px;height:16px}.account-title{letter-spacing:-.02em;margin:0 0 4px;font-size:1.6rem}.account-section .login-sub{margin:0 0 24px}.account-cards{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px;margin-bottom:32px;display:grid}.account-card{background:var(--panel);border:1px solid var(--line);border-radius:14px;flex-direction:column;align-items:flex-start;gap:10px;padding:20px;display:flex}.account-balance{font-size:1.7rem}.account-withdraw-input{border:1px solid var(--line);background:var(--panel-soft);width:100%;color:var(--text);font:inherit;border-radius:8px;padding:11px 13px}.account-card .deposit-status{width:100%;min-height:34px}.account-history-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px;display:flex}.account-history-header h2{letter-spacing:-.01em;margin:0;font-size:1.1rem}.account-filter-tabs{gap:6px;display:flex}.account-filter-tab{border:1px solid var(--line);background:var(--panel-soft);color:var(--muted);cursor:pointer;border-radius:8px;padding:6px 12px;font-size:.82rem;font-weight:600}.account-filter-tab:hover{color:var(--text)}.account-filter-tab.active{background:var(--accent);color:#fff;border-color:#0000}.account-empty{margin:0}.account-table-wrap{background:var(--panel);border:1px solid var(--line);border-radius:14px;overflow:hidden}.account-table{border-collapse:collapse;width:100%;font-size:.88rem}.account-table th{text-align:left;color:var(--muted);text-transform:uppercase;letter-spacing:.06em;border-bottom:1px solid var(--line);padding:12px 16px;font-size:.76rem}.account-table td{border-bottom:1px solid var(--line);padding:12px 16px}.account-table tr:last-child td{border-bottom:none}.account-type{font-weight:600}.account-amount-in{color:#6be3a6;font-weight:700}.account-amount-out{color:#ff9f7a;font-weight:700}.account-status{text-transform:uppercase;letter-spacing:.04em;border-radius:6px;padding:3px 9px;font-size:.74rem;font-weight:700;display:inline-block}.account-status.done{color:#6be3a6;background:#6be3a626}.account-status.pending{color:#ffb703;background:#ffb70326}@media (max-width:900px){.account-section{padding:20px 16px 48px}.account-table{font-size:.8rem}.account-table th,.account-table td{padding:10px}}.site-footer{border:1px solid var(--line);background:#0a0b10;border-radius:14px;margin:0 32px 40px;padding:36px 32px 0;overflow:hidden}.footer-grid{grid-template-columns:1.4fr 1fr 1fr 1fr;gap:28px;padding-bottom:32px;display:grid}.footer-col h4{text-transform:uppercase;letter-spacing:.06em;color:var(--text);margin:0 0 14px;font-size:.85rem;font-weight:800}.footer-brand{letter-spacing:-.01em;align-items:center;gap:10px;margin-bottom:12px;font-size:1.05rem;font-weight:800;display:flex}.footer-note{color:var(--muted);margin:0;font-size:.83rem;line-height:1.6}.footer-strong{color:var(--text);font-weight:700}.footer-18plus{border:1px solid var(--line);width:34px;height:34px;color:var(--muted);border-radius:50%;place-items:center;margin-top:16px;font-size:.72rem;font-weight:800;display:inline-grid}.footer-links{gap:9px;margin:0;padding:0;list-style:none;display:grid}.footer-links a,.footer-links button{color:var(--muted);font:inherit;text-align:left;cursor:pointer;background:0 0;border:none;padding:0;font-size:.85rem;text-decoration:none}.footer-links a:hover,.footer-links button:hover{color:var(--accent-strong)}.footer-bottom{border-top:1px solid var(--line);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:6px 20px;padding:16px 0;display:flex}.footer-bottom p{color:var(--muted);margin:0;font-size:.76rem}@media (max-width:900px){.site-footer{margin:0 16px 32px;padding:28px 20px 0}.footer-grid{grid-template-columns:repeat(2,1fr);gap:26px}}@media (max-width:560px){.footer-grid{grid-template-columns:1fr}.footer-bottom{flex-direction:column;align-items:flex-start}}.game-page{background:#050609;flex-direction:column;flex:0 1800px;min-width:0;max-width:1800px;height:100dvh;display:flex;overflow:hidden}.game-toolbar{border-bottom:1px solid var(--line);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#080a0feb;grid-template-columns:auto 1fr auto;align-items:center;gap:16px;min-height:64px;padding:0 20px;display:grid}.game-toolbar .back-button{justify-self:start;min-height:40px}.game-toolbar .back-button svg{width:16px;height:16px}.game-toolbar>strong{justify-self:center;font-size:.95rem}.game-toolbar .header-actions{justify-self:end}.frame-shell{flex:1;width:100%;min-width:0;height:100%;min-height:0;position:relative;overflow:hidden}.game-frame{background:#000;border:0;width:100%;height:100%;display:block;overflow:hidden}.frame-loading{z-index:2;background:#090a0f;place-content:center;justify-items:center;gap:14px;display:grid;position:absolute;inset:0}.frame-loading p{color:var(--muted)}.spinner{border:3px solid #ffffff1f;border-top-color:var(--accent-strong);border-radius:50%;width:38px;height:38px;animation:.8s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.wallet{background:var(--panel-soft);border:1px solid var(--line);border-radius:8px;align-items:center;gap:12px;padding:9px 14px;display:flex}.wallet-label{color:var(--muted);text-transform:uppercase;letter-spacing:.08em;font-size:.78rem}.wallet-value{gap:1px;display:grid}.wallet-value+.wallet-value{border-left:1px solid var(--line);padding-left:12px}.coins-value strong{color:#f4c85b}.wallet-compact{justify-self:end;padding:7px 11px}.header-button,.back-button,.play-button{border:1px solid var(--line);min-height:42px;color:var(--text);background:var(--panel-soft);font:inherit;cursor:pointer;border-radius:8px;flex:none;justify-content:center;align-items:center;gap:6px;padding:0 17px;font-weight:750;transition:background .16s,transform .16s;display:inline-flex}.header-button:hover,.back-button:hover{background:#1b1e29;border-color:#9278ff80}.deposit-button,.play-button{background:var(--accent);border-color:#0000}.deposit-button:hover,.play-button:hover{background:var(--accent-strong);transform:translateY(-1px)}@media (max-width:900px){.sidebar{display:none}.mobile-tab-bar{display:flex}.app-main{--shelf-cols:5;padding-bottom:76px}.site-header{gap:14px;padding:0 16px}.promo-carousel{margin:16px 16px 0}.promo-page{gap:10px;height:220px}.game-shelf{padding:22px 16px 0}.game-section{padding:24px 16px 48px}.balance-amount{display:none}}@media (max-width:700px){.app-main{--shelf-cols:3}}@media (max-width:480px){.app-main{--shelf-cols:2}}@media (min-width:901px){.mobile-drawer,.drawer-backdrop{display:none}}@media (max-width:640px){.site-header{min-height:60px}.brand>span:last-child{display:none}.app-main{--shelf-gap:12px}.game-toolbar{gap:10px;padding:0 12px}.game-toolbar>strong{white-space:nowrap;text-overflow:ellipsis;text-align:center;max-width:30vw;overflow:hidden}.game-toolbar .back-button span{display:none}}.header-username{color:var(--muted);padding:0 2px;font-size:.85rem;font-weight:700}.login-page{justify-content:center;align-items:center;min-height:100vh;padding:24px;display:flex}.login-card,.deposit-card{background:var(--panel);border:1px solid var(--line);border-radius:14px;width:100%;max-width:380px;padding:28px;box-shadow:0 18px 50px #00000059}.login-card h1,.deposit-card h1{letter-spacing:-.02em;margin:0 0 6px;font-size:1.4rem}.login-sub{color:var(--muted);margin:0 0 20px;font-size:.9rem}.login-fields{gap:14px;display:grid}.login-field label{color:var(--muted);margin-bottom:6px;font-size:.8rem;font-weight:700;display:block}.login-field input{border:1px solid var(--line);background:var(--panel-soft);width:100%;color:var(--text);font:inherit;border-radius:8px;padding:11px 13px}.login-submit{justify-content:center;width:100%}.login-error{color:#ff7a90;font-size:.85rem}.login-success{color:#6be3a6;margin-top:14px;font-size:.85rem}.login-demo-hint{border-top:1px solid var(--line);color:var(--muted);margin-top:22px;padding-top:16px;font-size:.82rem}.login-demo-hint ul{margin:8px 0 0;padding-left:18px}.login-demo-hint li{margin-bottom:3px}.deposit-balance{background:var(--panel-soft);border:1px solid var(--line);border-radius:10px;flex-direction:column;gap:2px;margin-bottom:18px;padding:14px 16px;display:flex}.deposit-balance strong{font-size:1.6rem}.deposit-status{min-height:20px;margin-top:14px;font-size:.85rem;line-height:1.4}.deposit-status .status-error{color:#ff7a90}.deposit-status .status-success{color:#6be3a6}
