:root{--bg:#090c29;--cyan:#49e6ff;--pink:#ff5cb7;--gold:#ffc85c;--white:#f4f7ff;--dim:#b7c7e9}*{box-sizing:border-box}html,body{margin:0;min-height:100%;background:var(--bg);color:var(--white);font-family:Tahoma,"Segoe UI",sans-serif}body{overflow:hidden}button{font:inherit;cursor:pointer}button:focus-visible{outline:3px solid var(--gold);outline-offset:3px}button:disabled{opacity:.45;cursor:not-allowed}.hide{display:none!important}#app{min-height:100dvh}.menu{position:fixed;inset:0;background:radial-gradient(ellipse at 15% 22%,#38266c 0,transparent 44%),radial-gradient(ellipse at 82% 78%,#123970 0,transparent 40%),#070b23;padding:3.1vh 3.4vw 4.8vh;overflow-y:auto}.menu::before{content:"";pointer-events:none;position:fixed;inset:0;background-image:linear-gradient(#fff1 1px,transparent 1px),linear-gradient(90deg,#fff1 1px,transparent 1px);background-size:52px 52px;opacity:.16}.menu-grid{position:relative;max-width:1550px;margin:auto;min-height:89vh;display:grid;grid-template-columns:minmax(400px,1.25fr) minmax(390px,.9fr);gap:28px;direction:ltr}.hero{background:linear-gradient(90deg,#0b124be0,#120d35c9),url('../assets/arcade-cover.jpg') center /cover;border:1px solid #83d6ff66;border-radius:28px;box-shadow:0 22px 70px #0008,0 0 55px #4494ff1a;display:flex;flex-direction:column;justify-content:space-between;overflow:hidden;position:relative;direction:rtl}.hero::after{content:"";position:absolute;inset:0;box-shadow:inset 0 0 100px #080f3dc9;pointer-events:none}.logo-row{display:flex;align-items:center;gap:18px;padding:25px;direction:ltr;z-index:1;color:#b7d6ff;font-size:12px;font-weight:900;letter-spacing:2px}.logo-row img{width:76px;height:76px;border-radius:50%;object-fit:contain;background:#fff;box-shadow:0 0 23px #ffd06c7a}.hero-body{position:relative;z-index:1;padding:36px 42px 70px}.eyebrow{color:var(--cyan);font-size:12px;font-weight:900;letter-spacing:2px;direction:ltr}.hero h1{direction:ltr;text-align:left;font-size:clamp(55px,6.7vw,118px);line-height:.97;font-weight:1000;margin:14px 0 8px;letter-spacing:-5px;text-shadow:0 8px 25px #000,0 0 35px #23adff7c}.hero h1 span{display:block;color:var(--gold);text-shadow:0 0 30px #edb14c86}.hero h2{font-size:clamp(22px,2.45vw,34px);color:white;margin:15px 0}.hero p{font-size:17px;max-width:570px;color:#e7eefd;line-height:1.9}.hero-tags{display:flex;flex-wrap:wrap;gap:9px;direction:ltr;justify-content:flex-end;margin-top:28px}.hero-tags b{background:#122b54a6;border:1px solid #5dddffa3;border-radius:30px;padding:9px 12px;color:#c9f8ff;font-size:11px}.hero-bottom{z-index:1;padding:15px 40px;background:#0007;font-size:12px;color:#cbd8f7}.games-list{direction:rtl;align-self:center}.choose-heading{display:flex;justify-content:space-between;align-items:center;margin:4px 10px 16px}.choose-heading h3{font-size:29px;margin:0}.choose-heading span{font-size:11px;color:var(--cyan);font-weight:bold;letter-spacing:1px}.game-card{position:relative;display:flex;text-align:right;align-items:center;gap:15px;width:100%;padding:19px 14px;margin:14px 0;border-radius:20px;background:linear-gradient(105deg,#122856e8,#192047e8);border:1px solid #4bd7ff70;color:var(--white);box-shadow:0 16px 35px #02030d9c;transition:transform .19s,border-color .19s,background .19s;min-height:137px;overflow:hidden}.game-card:hover{transform:translateX(-5px) scale(1.012);border-color:var(--gold);background:#1e315e}.game-card .number{position:absolute;top:12px;left:15px;font-size:11px;color:#aac4e5}.glyph{display:grid;place-items:center;min-width:92px;height:90px;font-size:68px;font-weight:bold;filter:drop-shadow(0 0 19px currentColor);border-radius:20px}.portal-glyph{color:#4df8ff}.race-glyph{color:#ffd55c}.arena-glyph{color:#ff72d8}.card-copy{flex:1;display:grid;gap:9px}.card-copy b{font-size:11px;letter-spacing:2px;color:var(--cyan);direction:ltr;text-align:right}.card-copy strong{font-size:22px}.card-copy small{font-size:12px;color:#b9cbec;direction:ltr;text-align:right}.arrow{color:var(--gold)}.controls-intro{display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px;margin:22px 2px;color:#d8e4fa;font-size:13px}.controls-intro span{display:flex;gap:4px;align-items:center}.controls-intro kbd,.modal-controls kbd{direction:ltr;border:1px solid #6c9acc;border-radius:6px;background:#172b54;padding:6px;font-size:12px;color:white;font-family:Consolas,monospace}.global-footer{position:absolute;bottom:9px;left:0;right:0;text-align:center;z-index:40;pointer-events:none;font-size:9px;color:#7999cb;font-weight:700;letter-spacing:1.5px}#play{position:fixed;inset:0;background:linear-gradient(#101736,#080e27)}#webgl{position:absolute;inset:0;display:block;width:100%;height:100%;touch-action:none}#topHud{position:absolute;left:23px;right:23px;top:18px;display:flex;align-items:center;justify-content:space-between;direction:ltr;z-index:2;pointer-events:none}.hud-title,.hud-right{pointer-events:auto;display:flex;align-items:center;gap:8px}.hud-title{padding:11px 17px;background:#07112cdc;border:1px solid #55e8ff99;backdrop-filter:blur(12px);border-radius:15px;flex-direction:column;align-items:flex-start}.hud-title b{color:#ffdf81;font-size:19px;letter-spacing:2px}.hud-title small{font-size:10px;color:#91dce8}.hud-right>button,.hud-right>span{display:grid;place-items:center;min-width:45px;height:44px;border:1px solid #53bfe897;border-radius:11px;background:#091831d9;color:#f5f9ff;font-size:22px;backdrop-filter:blur(10px)}#timer{font-family:Consolas,monospace;font-size:21px!important;color:#ffeb94!important;min-width:85px}.playerhud{position:absolute;z-index:2;top:105px;display:flex;gap:11px;align-items:center;min-width:225px;padding:6px 12px;border-radius:16px;border:1px solid #47effc8c;background:#06172fe0;direction:ltr}.playerhud.p1{left:25px}.playerhud.p2{right:25px;border-color:#ff81d0a6}.playerhud img{width:60px;height:62px;object-fit:contain}.playerhud div{display:flex;flex-direction:column;gap:3px}.playerhud b{font-size:11px;white-space:nowrap;color:#d8f9ff}.playerhud strong{font-size:24px;color:var(--gold)}#mission{position:absolute;z-index:2;bottom:28px;left:50%;transform:translateX(-50%);display:flex;flex-direction:column;gap:3px;align-items:center;background:#09182feb;border:1px solid #55e8ff80;border-radius:16px;padding:9px 23px;text-align:center;min-width:300px;max-width:75vw}#mission-text{font-size:18px;font-weight:700}#extra-text{font-size:12px;color:#a0c5ec}#split-labels{position:absolute;z-index:2;top:55%;left:0;right:0;display:flex;justify-content:space-around;pointer-events:none}#split-labels span{background:#071a37bb;border:1px solid #62e9ff88;border-radius:20px;padding:6px 15px;color:#fff;font-size:13px;font-weight:bold}.covermodal{position:absolute;inset:0;z-index:8;display:grid;place-items:center;background:#060c22b8;backdrop-filter:blur(10px);padding:20px}.modal-content{width:min(620px,96vw);text-align:center;background:linear-gradient(145deg,#14294e,#090c29);border:2px solid #50dfff9a;box-shadow:0 20px 75px #000b,0 0 50px #5be7ff24;border-radius:26px;padding:37px;max-height:92vh;overflow:auto}.modal-emblem{display:inline-block;color:#0a1936;background:linear-gradient(135deg,#ffdc73,#ff9b30);font-weight:bold;font-size:11px;letter-spacing:3px;padding:10px 17px;border-radius:30px;direction:ltr}.modal-content h2{font-size:clamp(28px,4vw,44px);margin:17px 0}.modal-content p{font-size:17px;color:#e2ecff;line-height:1.8}.modal-controls{display:flex;direction:ltr;justify-content:space-evenly;gap:14px;margin:24px 0}.modal-controls span{display:flex;align-items:center;flex-direction:column;gap:7px}.modal-controls b{font-size:12px;color:var(--cyan)}.main-btn{background:linear-gradient(135deg,#ffe082,#ed8322);padding:16px 30px;border:0;border-radius:14px;font-size:20px;font-weight:bold;color:#1f1646;box-shadow:0 8px 24px #ff9c4166;margin-top:4px;display:inline-block}.main-btn:hover{filter:brightness(1.11)}.text-btn{display:block;border:0;color:#b9d6f6;background:transparent;font-size:14px;margin:17px auto 0}.loading{position:absolute;inset:0;z-index:15;display:grid;place-content:center;gap:14px;text-align:center;background:#070d26;justify-items:center}.loader{width:67px;height:67px;border:5px solid #283258;border-top-color:#3eefff;border-right-color:#fcbc57;border-radius:50%;animation:spin .7s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.loading b{font-size:25px}.loading small{color:#b9c8de}@media(max-width:900px){body{overflow:auto}.menu-grid{display:flex;flex-direction:column}.hero{min-height:360px}.hero h1{font-size:62px}.hero-body{padding:20px}.game-card{min-height:100px}.glyph{min-width:60px;height:65px;font-size:45px}.card-copy strong{font-size:17px}.playerhud{min-width:140px;padding:3px 5px}.playerhud img{display:none}.playerhud b{font-size:10px}.playerhud strong{font-size:18px}.hud-title b{font-size:12px}.hud-right>button{min-width:32px;height:35px;font-size:17px}.hud-right>span{min-width:65px;height:35px;font-size:14px!important}.playerhud{top:84px}.hud-title{padding:5px 10px}#mission{padding:8px;bottom:16px;min-width:240px}#mission-text{font-size:14px}}@media(prefers-reduced-motion:reduce){*,*::after,*::before{animation:none!important;transition:none!important}}

.portal-home{color:#9af2ff;text-decoration:underline}.device-note{font-size:13px;line-height:1.7;color:#c1d6f2}.playerhud img{border-radius:10px}.hero-bottom{line-height:1.8}
