/* NOVION STUDIO — midnight violet visual system */
:root{color-scheme:dark;--bg:#080914;--panel:#101223;--text:#f5f3ff;--muted:#9999b5;--purple:#9a78ff;--line:rgba(185,167,255,.16)}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;min-height:100vh;background:radial-gradient(ellipse at 50% -25%,#24204b 0%,#0b0c1a 42%,var(--bg) 76%);color:var(--text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;overflow-x:hidden}
.ambient{position:fixed;z-index:-1;pointer-events:none;border-radius:50%;filter:blur(100px);opacity:.16}
.ambient-one{width:380px;height:380px;background:#6c42ff;top:15%;left:-240px}.ambient-two{width:360px;height:360px;background:#263eaa;right:-250px;top:55%}
.topbar{height:82px;width:min(1200px,calc(100% - 48px));margin:auto;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}
.brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:var(--text)}.brand img{width:44px;height:44px;object-fit:cover;border-radius:50%;box-shadow:0 0 24px #8c67ff45}
.brand strong{display:block;font-size:15px;letter-spacing:.18em}.brand small{display:block;margin-top:4px;color:#8987a8;font-size:9px;letter-spacing:.2em}
.top-link,.footer-brand,footer>a:last-child{color:#c8c3e5;text-decoration:none;font-size:10px;letter-spacing:.16em;font-weight:700}.top-link span{color:var(--purple);font-size:16px;margin-left:9px}
main{width:min(1200px,calc(100% - 48px));margin:auto}
.hero{min-height:560px;position:relative;display:grid;grid-template-columns:1.1fr .9fr;align-items:center;padding:60px 4.5% 72px;border-bottom:1px solid var(--line)}
.eyebrow{font-size:10px;letter-spacing:.24em;color:#b6a7ff;font-weight:750}.eyebrow i{display:inline-block;width:6px;height:6px;border-radius:50%;background:#a98cff;box-shadow:0 0 12px #a98cff;margin-right:9px;vertical-align:1px}
.hero h1{font-size:clamp(48px,7vw,86px);line-height:.99;letter-spacing:-.065em;margin:25px 0 22px;font-weight:760}.hero h1 span{color:#a995ff;text-shadow:0 0 45px #8767ff35}
.hero-copy>p{max-width:470px;color:#aaa9c2;line-height:1.85;font-size:14px}
.hero-button{display:inline-flex;align-items:center;gap:36px;margin-top:25px;padding:15px 19px;border:1px solid #9b81ff70;border-radius:4px;color:#f6f2ff;background:linear-gradient(110deg,#6e4cce55,#17152d);text-decoration:none;font-size:12px;font-weight:700;letter-spacing:.04em;transition:.2s}
.hero-button:hover{transform:translateY(-2px);border-color:#bcaaff;box-shadow:0 10px 36px #6846ce30}.hero-button span{font-size:18px;color:#b9a6ff}
.hero-art{height:390px;position:relative;display:grid;place-items:center}.hero-art img{position:relative;z-index:2;width:min(300px,70%);border-radius:50%;filter:drop-shadow(0 0 50px #704bff66)}
.moon-glow{position:absolute;width:270px;height:270px;border-radius:50%;background:#7250ff;filter:blur(95px);opacity:.3}
.orbit{position:absolute;border:1px solid #b8a5ff24;border-radius:50%;transform:rotate(-25deg)}.orbit-a{width:390px;height:180px}.orbit-b{width:450px;height:235px;transform:rotate(42deg);border-color:#8d77ed20}
.art-caption{position:absolute;bottom:4px;right:2%;font-size:9px;line-height:1.7;letter-spacing:.24em;color:#777494;text-align:right}
.hero-index{position:absolute;bottom:24px;left:4.5%;font-size:10px;letter-spacing:.2em;color:#bdb5e5}.hero-index span{color:#625d7b;margin:0 8px}
.library{padding:82px 4.5% 100px}.section-head{display:flex;align-items:end;justify-content:space-between;margin-bottom:30px}.section-head h2{font-size:clamp(32px,4vw,48px);letter-spacing:-.05em;margin:10px 0 0}.section-head h2 span{color:#a995ff}.section-head>p{text-align:right;color:#85839f;font-size:11px;line-height:1.8}.section-head>p b{color:#c9c3e6;font-weight:600}
.library-frame{padding:22px;border:1px solid var(--line);background:linear-gradient(145deg,#14152a99,#0c0d1b99);box-shadow:0 25px 80px #0003}
#cloud-apk-catalog{width:100%;margin:0;color:inherit;font-family:inherit}#cloud-apk-catalog .apk-catalog-title{margin:0 0 20px;font-size:12px;letter-spacing:.12em;text-transform:uppercase;color:#c7baff}
#cloud-apk-catalog .apk-catalog-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:14px}
#cloud-apk-catalog .apk-game-card{min-width:0;position:relative;border:1px solid #8e7bd52b;border-radius:5px;padding:22px;background:linear-gradient(145deg,#1a1b33,#111221);color:#f3f0ff;transition:.2s}
#cloud-apk-catalog .apk-game-card:before{content:"";position:absolute;left:0;top:0;width:34px;height:2px;background:#a78cff}
#cloud-apk-catalog .apk-game-card:hover{transform:translateY(-3px);border-color:#a58cff70}
#cloud-apk-catalog .apk-game-card h3{margin:0 0 9px;font-size:17px;letter-spacing:-.02em}
#cloud-apk-catalog .apk-game-card p{margin:12px 0;color:#aaa8c1;font-size:12px;line-height:1.7;overflow-wrap:anywhere}
#cloud-apk-catalog .apk-game-meta{color:#8581a6;font-size:10px;letter-spacing:.06em}
#cloud-apk-catalog .apk-download{display:inline-flex;align-items:center;justify-content:center;margin-top:17px;border:1px solid #9b83ff77;border-radius:3px;padding:11px 16px;color:#f4f0ff;background:#7656d2;text-decoration:none;font-size:11px;font-weight:750;letter-spacing:.07em}
#cloud-apk-catalog .apk-download:hover{background:#9275f0}
#cloud-apk-catalog .apk-empty{margin:0;padding:35px 15px;text-align:center;color:#9996b5;font-size:13px;line-height:1.8}
footer{min-height:82px;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:18px max(24px,calc((100% - 1100px)/2));gap:18px;color:#77748f;font-size:9px;letter-spacing:.12em}
.footer-brand{display:flex;align-items:center;gap:9px}.footer-brand img{width:25px;height:25px;border-radius:50%}
#apk-secret-trigger{position:fixed;right:0;bottom:0;z-index:99990;width:34px;height:34px;padding:0;border:0;border-radius:10px 0 0 0;background:transparent;opacity:.015;cursor:pointer}
#apk-admin-launcher{position:fixed;right:18px;top:18px;z-index:99991;border:1px solid #a68cff66;border-radius:4px;padding:12px 17px;color:#fff;background:#34265f;box-shadow:0 8px 28px #0006;font:650 13px system-ui,sans-serif;cursor:pointer}
#apk-store-modal{position:fixed;inset:0;z-index:99999;display:none;align-items:center;justify-content:center;padding:18px;background:#050510d9;backdrop-filter:blur(12px);font-family:system-ui,sans-serif}
#apk-store-modal.apk-open{display:flex}#apk-store-modal .apk-dialog{width:min(100%,480px);max-height:min(92vh,760px);overflow:auto;border:1px solid #a78cff44;border-radius:12px;padding:24px;color:#f5f3ff;background:#111224;box-shadow:0 25px 90px #000a}
#apk-store-modal .apk-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:18px}#apk-store-modal h2{margin:0;font-size:21px}#apk-store-modal .apk-sub{margin:6px 0 0;color:#a5a1c0;font-size:13px}
#apk-store-modal .apk-close{width:36px;height:36px;border:0;border-radius:7px;color:#eee8ff;background:#292641;font-size:20px;cursor:pointer}
#apk-store-modal .apk-field{display:block;margin:14px 0;color:#c8c1e5;font-size:13px}
#apk-store-modal .apk-field input,#apk-store-modal .apk-field textarea{display:block;width:100%;box-sizing:border-box;margin-top:7px;border:1px solid #403a62;border-radius:7px;padding:12px 13px;color:#f5f3ff;background:#0b0c19;font:14px system-ui,sans-serif;outline:none}
#apk-store-modal .apk-field textarea{min-height:82px;resize:vertical}#apk-store-modal .apk-field input:focus,#apk-store-modal .apk-field textarea:focus{border-color:#a995ff}
#apk-store-modal .apk-primary,#apk-store-modal .apk-secondary{border:0;border-radius:7px;padding:12px 16px;font:650 14px system-ui,sans-serif;cursor:pointer}
#apk-store-modal .apk-primary{width:100%;color:white;background:#7656d2}#apk-store-modal .apk-secondary{color:#eee8ff;background:#302b4b}
#apk-store-modal button:disabled{opacity:.55;cursor:wait}#apk-store-modal .apk-status{min-height:20px;margin:12px 0 0;color:#bdb6d8;font-size:13px;line-height:1.5}
#apk-store-modal .apk-progress{display:none;width:100%;height:8px;margin-top:12px;overflow:hidden;border-radius:20px;accent-color:#a995ff}#apk-store-modal .apk-progress.apk-visible{display:block}
#apk-store-modal .apk-actions{display:flex;gap:9px;margin-top:18px}#apk-store-modal .apk-actions>*{flex:1}
@media(max-width:720px){.topbar,main{width:calc(100% - 32px)}.hero{grid-template-columns:1fr;min-height:auto;padding:62px 4% 60px}.hero-art{height:270px;grid-row:1}.hero-art img{width:205px}.orbit-a{width:290px;height:135px}.orbit-b{width:320px;height:170px}.hero-copy{padding-top:8px}.hero h1{font-size:clamp(48px,13vw,70px)}.hero-index{left:4%;bottom:18px}.library{padding:62px 1% 70px}.library-frame{padding:14px}.section-head{align-items:start;gap:12px}.section-head>p{font-size:10px}footer{flex-wrap:wrap;justify-content:center;text-align:center;padding:20px 16px}footer>span{width:100%;order:3}}
@media(max-width:420px){.top-link{font-size:9px}.brand strong{font-size:13px}.section-head>p{max-width:110px}}
