:root{--p-bg: #070b18;--p-bg-2: #0d142a;--p-nav-bg: rgba(7, 11, 24, .88);--p-card: rgba(17, 25, 48, .88);--p-card-hover: rgba(24, 35, 66, .98);--p-surface: rgba(15, 23, 42, .86);--p-border: rgba(255, 255, 255, .11);--p-border-hi: rgba(255, 255, 255, .25);--p-text: #f8fafc;--p-heading: #ffffff;--p-subcopy: #cbd5e1;--p-muted: #94a3b8;--p-accent: #6366f1;--p-accent-2: #22d3ee;--p-gold: #fbbf24;--p-rose: #f43f5e;--p-shadow: 0 22px 48px rgba(0, 0, 0, .45);--p-hero-grad-from: #0d142a;--p-font: "Plus Jakarta Sans", "Inter", "Tajawal", "Segoe UI", system-ui, -apple-system, sans-serif}html[data-theme=light]{--p-bg: #f1f5f9;--p-bg-2: #ffffff;--p-nav-bg: rgba(248, 250, 252, .92);--p-card: rgba(255, 255, 255, .96);--p-card-hover: #ffffff;--p-surface: #ffffff;--p-border: rgba(15, 23, 42, .11);--p-border-hi: rgba(99, 102, 241, .35);--p-text: #0f172a;--p-heading: #0f172a;--p-subcopy: #334155;--p-muted: #475569;--p-gold: #d97706;--p-shadow: 0 18px 38px rgba(15, 23, 42, .1);--p-hero-grad-from: #ffffff}*,*:before,*:after{box-sizing:border-box}html,body{margin:0;padding:0;width:100%;max-width:100%;overflow-x:clip;min-height:100%;background:var(--p-bg);color:var(--p-text);font-family:var(--p-font);-webkit-font-smoothing:antialiased}body{background:radial-gradient(circle at 12% 0%,rgba(99,102,241,.18),transparent 36%),radial-gradient(circle at 88% 8%,rgba(34,211,238,.14),transparent 34%),radial-gradient(circle at 50% 95%,rgba(236,72,153,.08),transparent 42%),var(--p-bg);background-attachment:fixed}.portal-shell{width:100%;max-width:1320px;margin:0 auto;padding:0 20px 64px}.portal-nav{position:sticky;top:0;z-index:40;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:14px;padding:14px 0;margin-bottom:20px;backdrop-filter:blur(18px);background:var(--p-nav-bg);border-bottom:1px solid var(--p-border)}.portal-brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:var(--p-heading);min-width:0}.portal-brand-text{min-width:0}.portal-logo{width:44px;height:44px;border-radius:14px;background:linear-gradient(135deg,#4f46e5,#06b6d4);display:flex;align-items:center;justify-content:center;overflow:hidden;box-shadow:0 10px 24px #6366f159;flex-shrink:0}.portal-logo img{width:100%;height:100%;display:block}.portal-brand-title{margin:0;font-size:20px;font-weight:900;letter-spacing:-.02em;color:var(--p-heading)}.portal-brand-sub{margin:2px 0 0;font-size:12px;color:var(--p-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:44ch}.portal-controls{display:flex;align-items:center;gap:10px;flex:1;min-width:0;max-width:640px;justify-content:flex-end}.portal-toolbar-group{display:flex;align-items:center;gap:8px;flex-shrink:0}.portal-wallet-pill{display:inline-flex;align-items:center;gap:6px;padding:9px 12px;border-radius:13px;border:1px solid var(--p-border);background:var(--p-surface);font-size:13px;color:var(--p-gold);white-space:nowrap}.portal-theme-btn{width:40px;height:40px;border-radius:13px;border:1px solid var(--p-border);background:var(--p-surface);color:var(--p-heading);font-size:17px;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;transition:border-color .16s ease,transform .14s ease}.portal-theme-btn:hover{border-color:var(--p-border-hi);transform:translateY(-1px)}.portal-search-wrap{position:relative;flex:1;min-width:140px}.portal-search-icon{position:absolute;inset-inline-start:12px;top:50%;transform:translateY(-50%);color:var(--p-muted);pointer-events:none;font-size:14px}.portal-search{width:100%;padding:10px 12px;padding-inline-start:36px;border-radius:13px;border:1px solid var(--p-border);background:var(--p-surface);color:var(--p-heading);font-family:inherit;font-size:14px;outline:none;transition:border-color .18s ease,box-shadow .18s ease}.portal-search:focus{border-color:var(--p-accent-2);box-shadow:0 0 0 3px #22d3ee2e}.portal-lang-select{padding:10px;max-width:165px;border-radius:13px;border:1px solid var(--p-border);background:var(--p-surface);color:var(--p-heading);font-family:inherit;font-size:13px;font-weight:700;cursor:pointer}.portal-hero{position:relative;border-radius:26px;overflow:hidden;border:1px solid var(--p-border);background:var(--p-bg-2);display:grid;grid-template-columns:1.15fr 1fr;min-height:290px;margin-bottom:28px;box-shadow:var(--p-shadow)}.portal-hero-copy{position:relative;z-index:2;padding:30px;display:flex;flex-direction:column;justify-content:center;gap:12px;min-width:0}.portal-hero-pills{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.portal-hero-pill{display:inline-flex;align-items:center;gap:6px;padding:5px 12px;border-radius:999px;font-size:11px;font-weight:800;letter-spacing:.05em;background:#6366f124;border:1px solid rgba(99,102,241,.35);color:var(--p-accent)}html:not([data-theme=light]) .portal-hero-pill{color:#67e8f9;background:#22d3ee24;border-color:#22d3ee59}.portal-hero-title{margin:0;font-size:clamp(25px,3.5vw,38px);font-weight:900;line-height:1.12;letter-spacing:-.025em;color:var(--p-heading)}.portal-hero-desc{margin:0;color:var(--p-subcopy);font-size:15px;line-height:1.55;max-width:48ch}.portal-hero-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:4px}.portal-hero-cta{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:12px 22px;border-radius:14px;text-decoration:none;font-weight:800;font-size:15px;color:#fff;background:linear-gradient(135deg,var(--p-accent),var(--p-accent-2));box-shadow:0 10px 26px #6366f161;transition:transform .16s ease,filter .16s ease}.portal-hero-cta:hover{transform:translateY(-2px);filter:brightness(1.07)}.portal-secondary-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:11px 16px;border-radius:14px;border:1px solid var(--p-border);background:var(--p-surface);color:var(--p-heading);font-family:inherit;font-weight:800;font-size:14px;cursor:pointer;transition:border-color .16s ease,transform .15s ease}.portal-secondary-btn:hover{border-color:var(--p-border-hi);transform:translateY(-1px)}.portal-secondary-btn.is-fav{color:#f43f5e;border-color:#f43f5e73}.portal-hero-dots{display:flex;gap:6px;align-items:center;margin-inline-start:4px}.portal-hero-dot{width:9px;height:9px;border-radius:999px;border:none;background:#94a3b866;cursor:pointer;padding:0;transition:width .2s ease,background .2s ease}.portal-hero-dot.is-active{width:26px;background:var(--p-accent)}.portal-hero-media{position:relative;min-height:220px;overflow:hidden;display:block}.portal-hero-media img{width:100%;height:100%;object-fit:cover;display:block}.portal-hero-media:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,var(--p-hero-grad-from) 0%,transparent 30%);z-index:1}[dir=rtl] .portal-hero-media:before{background:linear-gradient(270deg,var(--p-hero-grad-from) 0%,transparent 30%)}.portal-section{margin-bottom:30px}.portal-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.portal-section-title{margin:0;font-size:19px;font-weight:800;color:var(--p-heading);display:flex;flex-wrap:wrap;align-items:center;gap:8px}.portal-count-badge{padding:3px 10px;border-radius:999px;background:#6366f11f;color:var(--p-muted);font-size:12px;font-weight:700}.portal-filters{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:20px}.portal-chip{display:inline-flex;align-items:center;gap:6px;padding:8px 14px;border-radius:999px;border:1px solid var(--p-border);background:var(--p-surface);color:var(--p-subcopy);font-family:inherit;font-size:13px;font-weight:700;cursor:pointer;transition:all .16s ease}.portal-chip:hover{border-color:var(--p-border-hi);color:var(--p-heading)}.portal-chip.is-active{background:linear-gradient(135deg,#6366f1,#06b6d4);border-color:transparent;color:#fff;box-shadow:0 8px 20px #6366f14d}.portal-recent-strip{display:flex;gap:12px;overflow-x:auto;padding-bottom:6px;scrollbar-width:thin}.portal-recent-pill{flex:0 0 auto;display:flex;align-items:center;gap:12px;padding:10px 14px;border-radius:16px;text-decoration:none;color:var(--p-heading);background:var(--p-card);border:1px solid var(--p-border);min-width:215px;max-width:260px;transition:transform .16s ease,border-color .16s ease}.portal-recent-pill:hover{transform:translateY(-2px);border-color:var(--p-accent-2)}.portal-recent-pill img{width:46px;height:46px;border-radius:12px;object-fit:cover;flex-shrink:0}.portal-recent-copy{min-width:0}.portal-recent-name{font-weight:800;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.portal-recent-meta{font-size:12px;color:var(--p-muted)}.portal-recent-meta strong{color:var(--p-gold)}.portal-shelf-strip{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(272px,296px);gap:18px;overflow-x:auto;padding-bottom:8px;scrollbar-width:thin}.portal-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(275px,1fr));gap:20px}.portal-grid-compact{grid-template-columns:repeat(auto-fill,minmax(265px,1fr))}.game-card{position:relative;display:flex;flex-direction:column;min-width:0;border-radius:22px;overflow:hidden;background:var(--p-card);border:1px solid var(--p-border);transition:transform .2s cubic-bezier(.2,.8,.2,1),border-color .2s ease,box-shadow .2s ease}.game-card:hover{transform:translateY(-4px);border-color:var(--p-border-hi);box-shadow:var(--p-shadow);background:var(--p-card-hover)}.game-thumb-wrap{position:relative;width:100%;aspect-ratio:16 / 9;overflow:hidden;background:#0b1022}.game-thumb-link{display:block;width:100%;height:100%}.game-thumb-wrap img.game-thumb{width:100%;height:100%;object-fit:cover;display:block;transition:transform .35s ease}.game-card:hover .game-thumb-wrap img.game-thumb{transform:scale(1.05)}.game-thumb-wrap:after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg,#070b1814 45%,#070b18d1)}.game-top-badges{position:absolute;top:10px;inset-inline-start:10px;z-index:2;display:flex;flex-wrap:wrap;gap:6px;pointer-events:none}.game-cat-tag,.game-new-tag,.game-pick-tag{padding:4px 9px;border-radius:999px;font-size:10.5px;font-weight:800;letter-spacing:.04em;text-transform:uppercase}.game-cat-tag{background:#070b18c2;backdrop-filter:blur(8px);border:1px solid rgba(255,255,255,.2);color:#f1f5f9}.game-new-tag{background:linear-gradient(135deg,#10b981,#06b6d4);color:#fff;box-shadow:0 4px 12px #10b98166}.game-pick-tag{background:#f59e0beb;color:#0f172a}.game-top-actions{position:absolute;top:10px;inset-inline-end:10px;z-index:3;display:flex;gap:6px}.game-icon-btn{width:34px;height:34px;border-radius:10px;border:1px solid rgba(255,255,255,.22);background:#070b18bd;backdrop-filter:blur(8px);color:#e2e8f0;font-size:15px;font-weight:800;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:transform .14s ease,background .16s ease}.game-icon-btn:hover{transform:scale(1.07);background:#0f172af2}.game-fav-btn.is-fav{color:#fb7185;border-color:#f43f5e8c;background:#881337a6}.game-icon-float{position:absolute;bottom:10px;inset-inline-start:12px;z-index:2;width:46px;height:46px;border-radius:12px;object-fit:cover;border:2px solid rgba(255,255,255,.75);box-shadow:0 8px 18px #00000080;pointer-events:none}.game-card-body{padding:14px 16px 16px;display:flex;flex-direction:column;flex:1;gap:7px;min-width:0}.game-card-title{margin:0;font-size:17.5px;font-weight:800;color:var(--p-heading)}.game-card-desc{margin:0;font-size:13px;line-height:1.48;color:var(--p-muted);flex:1}.game-card-foot{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:6px;padding-top:10px;border-top:1px solid var(--p-border)}.game-score-meta{font-size:12px;color:var(--p-subcopy);font-weight:700;min-width:0}.game-score-meta strong{color:var(--p-gold)}.game-stars{color:var(--p-gold);margin-inline-start:5px}.game-play-btn{display:inline-flex;align-items:center;gap:5px;padding:9px 15px;border-radius:12px;text-decoration:none;font-size:13px;font-weight:800;color:#fff;white-space:nowrap;background:linear-gradient(135deg,var(--card-accent, #6366f1),var(--card-accent-2, #22d3ee));box-shadow:0 6px 16px #00000038;transition:filter .15s ease,transform .15s ease}.game-play-btn:hover{filter:brightness(1.1);transform:scale(1.03)}.portal-modal-backdrop{position:fixed;inset:0;z-index:90;background:#020617c2;backdrop-filter:blur(8px);display:flex;align-items:center;justify-content:center;padding:16px;overflow-y:auto}.portal-modal-card{position:relative;width:100%;max-width:640px;max-height:90vh;overflow-y:auto;border-radius:24px;background:var(--p-bg-2);border:1px solid var(--p-border-hi);box-shadow:0 28px 70px #0009}.portal-modal-close{position:absolute;top:12px;inset-inline-end:12px;z-index:5;width:38px;height:38px;border-radius:12px;border:1px solid rgba(255,255,255,.25);background:#070b18c7;color:#fff;font-size:16px;cursor:pointer}.portal-modal-banner{position:relative;min-height:210px;display:flex;align-items:flex-end;padding:20px;overflow:hidden}.portal-modal-thumb{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.portal-modal-banner-grad{position:absolute;inset:0;background:linear-gradient(180deg,#070b1833,#070b18eb)}.portal-modal-head{position:relative;z-index:2;display:flex;align-items:center;gap:14px;color:#fff}.portal-modal-icon{width:68px;height:68px;border-radius:16px;object-fit:cover;border:2px solid rgba(255,255,255,.8);flex-shrink:0}.portal-modal-tags{display:flex;gap:6px;margin-bottom:5px}.portal-modal-title{margin:0;font-size:24px;font-weight:900;color:#fff}.portal-modal-tagline{margin:3px 0 0;font-size:13.5px;color:#e2e8f0}.portal-modal-body{padding:20px;display:flex;flex-direction:column;gap:18px}.portal-modal-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.portal-stat-box{padding:10px;border-radius:14px;background:var(--p-surface);border:1px solid var(--p-border);text-align:center;display:flex;flex-direction:column;gap:3px}.portal-stat-box span{font-size:11px;color:var(--p-muted);font-weight:700}.portal-stat-box strong{font-size:16px;color:var(--p-heading)}.portal-modal-section h3{margin:0 0 6px;font-size:15px;color:var(--p-heading)}.portal-modal-section p{margin:0;font-size:14px;line-height:1.55;color:var(--p-subcopy)}.modal-ctrl-row{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}.modal-ctrl-chip{padding:5px 11px;border-radius:999px;font-size:12px;font-weight:700;background:var(--p-surface);border:1px solid var(--p-border);color:var(--p-heading)}.portal-modal-cta-row{display:flex;flex-wrap:wrap;gap:10px}.portal-modal-play{flex:1;min-width:180px}.portal-related-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px}.portal-related-item{display:flex;align-items:center;gap:10px;padding:8px 10px;border-radius:12px;border:1px solid var(--p-border);background:var(--p-surface);color:var(--p-heading);font-family:inherit;font-size:13px;font-weight:700;cursor:pointer;text-align:start}.portal-related-item img{width:36px;height:36px;border-radius:9px;object-fit:cover;flex-shrink:0}.portal-empty{text-align:center;padding:48px 20px;border-radius:22px;background:var(--p-card);border:1px dashed var(--p-border-hi)}.portal-empty-text{margin:0 0 14px;color:var(--p-muted);font-size:15px}.portal-footer{margin-top:48px;padding-top:22px;border-top:1px solid var(--p-border);text-align:center;color:var(--p-muted);font-size:13px}.portal-footer-links{margin-top:10px;display:flex;flex-wrap:wrap;justify-content:center;gap:18px}.portal-footer-links a,.portal-footer-link-btn{color:var(--p-muted);text-decoration:underline;text-underline-offset:3px;background:none;border:none;padding:0;font-family:inherit;font-size:12.5px;cursor:pointer}.portal-footer-links a:hover,.portal-footer-link-btn:hover{color:var(--p-heading)}@media(max-width:860px){.portal-hero{grid-template-columns:1fr}.portal-hero-media{order:-1;aspect-ratio:16 / 9}.portal-hero-media:before{background:linear-gradient(0deg,var(--p-hero-grad-from) 0%,transparent 38%)}.portal-hero-copy{padding:20px}.portal-brand{flex:1 1 100%}.portal-controls{flex:1 1 100%;width:100%;max-width:none;flex-wrap:wrap;justify-content:space-between}}@media(max-width:560px){.portal-shell{padding:0 12px 44px}.portal-brand-sub{max-width:28ch}.portal-search-wrap{width:100%;flex:1 1 100%}.portal-toolbar-group{width:100%;justify-content:space-between}.portal-lang-select{flex:1;max-width:none}.portal-grid{grid-template-columns:1fr}.portal-shelf-strip{grid-auto-columns:minmax(248px,84vw)}.portal-modal-stats{grid-template-columns:repeat(2,1fr)}}
