:root {
  --bg: #090b16;
  --surface: #111526;
  --surface-2: #171c30;
  --line: rgba(255,255,255,.105);
  --text: #f6f7ff;
  --muted: #9ca6c3;
  --primary: #8a63ff;
  --primary-2: #5ee1d2;
  --pink: #ff6da8;
  --gold: #ffc95c;
  --green: #5ce69b;
  --danger: #ff7789;
  --shadow: 0 24px 70px rgba(0,0,0,.36);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; color-scheme: dark; }
body { margin: 0; min-width: 320px; min-height: 100vh; overflow-x: hidden; background: var(--bg); color: var(--text); font: 15px/1.55 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }

.ambient { position: fixed; z-index: -1; width: 560px; height: 560px; border-radius: 50%; filter: blur(110px); opacity: .1; pointer-events: none; }
.ambient-one { left: -280px; top: 28vh; background: var(--primary); }
.ambient-two { right: -260px; top: 75vh; background: #10dfbc; }
.shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.section-space { padding-block: 88px; }

.update-bar { position: relative; z-index: 60; padding: 10px 20px; text-align: center; background: var(--gold); color: #22170a; font-weight: 800; }
.update-bar a { margin-left: 12px; }
.topbar { position: absolute; z-index: 50; inset: 0 0 auto; height: 82px; display: flex; align-items: center; gap: 34px; padding: 0 max(22px, calc((100vw - 1180px) / 2)); border-bottom: 1px solid rgba(255,255,255,.09); background: rgba(6,8,18,.96); backdrop-filter: blur(18px); }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-size: 20px; font-weight: 720; letter-spacing: -.4px; white-space: nowrap; }
.brand strong { color: #a98cff; }
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.2); border-radius: 13px; background: rgba(255,255,255,.09); box-shadow: inset 0 1px rgba(255,255,255,.15); }
.brand-mark svg { width: 26px; fill: none; stroke: #e7ddff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.desktop-nav { display: flex; align-items: center; gap: 28px; margin-left: 20px; }
.desktop-nav a { color: #c2c8db; text-decoration: none; font-size: 14px; font-weight: 650; transition: .2s; }
.desktop-nav a:hover { color: white; }
.top-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.language-picker { position: relative; }
.language-button { height: 42px; display: flex; align-items: center; gap: 6px; padding: 0 11px; border: 1px solid rgba(255,255,255,.16); border-radius: 14px; color: #e5e8f3; background: rgba(10,13,25,.56); cursor: pointer; font-size: 12px; font-weight: 800; }
.language-button b { color: #7f89a4; font-size: 10px; transition: transform .2s; }
.language-button[aria-expanded="true"] b { transform: rotate(180deg); }
.language-menu { position: absolute; z-index: 70; top: calc(100% + 9px); right: 0; width: 158px; overflow: hidden; padding: 6px; border: 1px solid rgba(255,255,255,.15); border-radius: 15px; background: rgba(15,19,34,.98); box-shadow: 0 18px 45px #0009; backdrop-filter: blur(18px); }
.language-menu button { width: 100%; padding: 9px 10px; border: 0; border-radius: 10px; color: #cbd1e2; background: transparent; text-align: left; cursor: pointer; font-size: 12px; }
.language-menu button:hover,.language-menu button[aria-selected="true"] { color: white; background: rgba(139,99,255,.18); }
.icon-button, .account-button { border: 1px solid rgba(255,255,255,.16); color: white; background: rgba(10,13,25,.56); backdrop-filter: blur(15px); cursor: pointer; transition: .2s; }
.icon-button:hover, .account-button:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.3); }
.icon-button { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 14px; }
.icon-button svg, .search-box svg { width: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.account-button { height: 46px; display: flex; align-items: center; gap: 9px; padding: 4px 15px 4px 5px; border-radius: 16px; font-weight: 750; }
.account-avatar { width: 36px; height: 36px; display: grid; place-items: center; overflow: hidden; border-radius: 12px; background: linear-gradient(145deg, #a67dff, #5c3ed6); }
.account-avatar img { width: 100%; height: 100%; object-fit: cover; }

.hero { position: relative; min-height: 760px; overflow: hidden; background: #0b0e19; }
.hero-media, .hero-shade { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; transform: scale(1.018); transition: opacity .35s, transform 8s ease-out; }
.hero:hover .hero-media img { transform: scale(1.055); }
.hero-shade { background: linear-gradient(90deg, rgba(7,9,19,.98) 0%, rgba(7,9,19,.87) 39%, rgba(7,9,19,.24) 75%), linear-gradient(0deg, #090b16 0%, transparent 30%, rgba(8,10,20,.2) 100%); }
.hero-content { position: relative; z-index: 2; padding-top: 176px; }
.live-pill { width: fit-content; display: flex; align-items: center; gap: 8px; padding: 7px 12px; border: 1px solid rgba(255,255,255,.15); border-radius: 99px; background: rgba(15,19,34,.55); color: #d8dced; font-size: 12px; font-weight: 750; backdrop-filter: blur(12px); }
.live-pill i, .server-foot i, .status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 15px rgba(92,230,155,.8); }
.eyebrow { margin: 24px 0 9px; color: #a98cff; text-transform: uppercase; letter-spacing: 1.8px; font-size: 11px; font-weight: 900; }
.hero h1 { max-width: 760px; margin: 0; font-size: clamp(45px, 6vw, 78px); line-height: .99; letter-spacing: -4px; }
.hero h1 span { color: transparent; background: linear-gradient(95deg, #ac91ff, #72eadb); background-clip: text; -webkit-background-clip: text; }
.hero-content > p:not(.eyebrow) { max-width: 600px; margin: 24px 0 0; color: #c1c7d8; font-size: clamp(16px, 2vw, 19px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 31px; }
.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 0 22px; border: 1px solid transparent; border-radius: 15px; text-decoration: none; font-weight: 850; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: white; background: linear-gradient(135deg, #8f68ff, #6b47e8); box-shadow: 0 12px 30px rgba(115,74,234,.3); }
.button-primary:hover { box-shadow: 0 16px 36px rgba(115,74,234,.43); }
.button-glass { border-color: rgba(255,255,255,.2); color: white; background: rgba(255,255,255,.08); backdrop-filter: blur(14px); }
.button-light { color: #18142a; background: white; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 19px; margin-top: 28px; color: #aab2ca; font-size: 12px; font-weight: 650; }
.hero-rail { position: absolute; z-index: 4; right: 0; bottom: 42px; left: 0; display: flex; justify-content: flex-end; gap: 8px; pointer-events: none; }
.hero-choice { width: 58px; height: 58px; overflow: hidden; padding: 0; border: 2px solid transparent; border-radius: 17px; background: #161a29; opacity: .72; cursor: pointer; pointer-events: auto; transition: .2s; }
.hero-choice img { width: 100%; height: 100%; object-fit: cover; }
.hero-choice:hover, .hero-choice.active { opacity: 1; transform: translateY(-3px); border-color: white; box-shadow: 0 8px 24px #0008; }

.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 22px; margin-bottom: 27px; }
.section-heading .eyebrow { margin: 0 0 5px; }
.section-heading h2, .platform-copy h2 { margin: 0; font-size: clamp(30px, 4vw, 45px); line-height: 1.08; letter-spacing: -1.6px; }
.text-button { border: 0; color: #b9a9ff; background: transparent; font-weight: 800; cursor: pointer; }
.panel { border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(145deg, rgba(24,29,50,.9), rgba(14,17,31,.93)); box-shadow: var(--shadow); }
.guest-hub { display: flex; align-items: center; justify-content: space-between; gap: 26px; padding: 28px 31px; }
.guest-copy { display: flex; align-items: center; gap: 18px; }
.guest-icon { width: 55px; height: 55px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 18px; background: linear-gradient(145deg, rgba(142,99,255,.25), rgba(94,225,210,.14)); color: #d5c7ff; font-size: 24px; }
.guest-copy h3 { margin: 0 0 3px; font-size: 19px; }
.guest-copy p { margin: 0; color: var(--muted); }
.player-hub { display: grid; gap: 34px; }
.profile-panel { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 17px; padding: 23px; }
.profile-avatar { width: 62px; height: 62px; display: grid; place-items: center; overflow: hidden; border-radius: 20px; background: linear-gradient(145deg, #9c76ff, #4ccfbd); font-size: 25px; font-weight: 900; }
.profile-avatar img { width: 100%; height: 100%; object-fit: cover; }
.profile-copy span, .profile-copy p { color: var(--muted); font-size: 12px; }
.profile-copy h3 { margin: 1px 0; font-size: 22px; }
.profile-copy p { margin: 0; }
.small-button { padding: 8px 14px; border: 1px solid var(--line); border-radius: 12px; color: #cbd0df; background: rgba(255,255,255,.04); cursor: pointer; }
.subheading { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 13px; }
.subheading h3 { margin: 0; font-size: 18px; }
.subheading span { color: var(--muted); font-size: 12px; }
.wallet-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; }
.wallet-card { min-height: 146px; position: relative; overflow: hidden; padding: 20px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.wallet-card::after { content: ""; position: absolute; width: 130px; height: 130px; right: -60px; bottom: -70px; border-radius: 50%; background: var(--wallet-color, var(--primary)); opacity: .15; filter: blur(3px); }
.wallet-top { display: flex; align-items: center; gap: 10px; color: #c6ccdc; font-size: 12px; font-weight: 760; }
.wallet-top img { width: 28px; height: 28px; object-fit: contain; border-radius: 9px; }
.wallet-value { margin-top: 14px; font-size: 27px; font-weight: 900; letter-spacing: -.8px; }
.wallet-value small { color: var(--muted); font-size: 11px; font-weight: 700; }
.wallet-card a, .wallet-card button { position: relative; z-index: 1; display: inline-block; margin-top: 10px; padding: 0; border: 0; background: none; color: #c2afff; font: inherit; font-size: 12px; font-weight: 800; text-decoration: none; cursor: pointer; }
.character-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; }
.character-card { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 13px; min-width: 0; padding: 15px; border: 1px solid var(--line); border-radius: 19px; background: var(--surface); }
.char-avatar { width: 53px; height: 53px; display: grid; place-items: center; overflow: hidden; border-radius: 17px; background: linear-gradient(145deg, rgba(141,100,255,.28), rgba(64,207,189,.18)); font-size: 21px; font-weight: 900; }
.char-avatar img { width: 100%; height: 100%; object-fit: contain; }
.char-copy { min-width: 0; }
.char-copy strong, .char-copy span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.char-copy span { color: var(--muted); font-size: 11px; }
.char-play { width: 34px; height: 34px; display: grid; place-items: center; border: 0; border-radius: 11px; color: white; background: rgba(255,255,255,.08); text-decoration: none; }
.hub-loading { grid-column: 1 / -1; padding: 22px; color: var(--muted); text-align: center; border: 1px dashed var(--line); border-radius: 18px; }

.catalog-section { background: linear-gradient(180deg, rgba(16,20,37,.42), rgba(9,11,22,0)); }
.catalog-heading { align-items: center; }
.search-box { width: min(330px, 100%); height: 48px; display: flex; align-items: center; gap: 10px; padding: 0 15px; border: 1px solid var(--line); border-radius: 15px; color: #818ba7; background: rgba(255,255,255,.045); }
.search-box input { width: 100%; border: 0; outline: 0; color: white; background: transparent; }
.search-box input::placeholder { color: #7e879e; }
.filter-row { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 7px; scrollbar-width: none; }
.filter-row::-webkit-scrollbar { display: none; }
.filter { flex: 0 0 auto; padding: 9px 15px; border: 1px solid var(--line); border-radius: 99px; color: #aeb5c9; background: transparent; cursor: pointer; font-size: 12px; font-weight: 750; }
.filter:hover, .filter.active { border-color: rgba(174,145,255,.5); color: white; background: rgba(139,99,255,.17); }
.game-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 17px; margin-top: 20px; }
.game-card { grid-column: span 4; min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 23px; background: #111525; box-shadow: 0 14px 45px rgba(0,0,0,.2); transition: transform .25s, border-color .25s; }
.game-card:first-child, .game-card:nth-child(2) { grid-column: span 6; }
.game-card:hover { transform: translateY(-6px); border-color: rgba(255,255,255,.25); }
.game-cover { height: 220px; position: relative; overflow: hidden; background: #171c30; }
.game-card:first-child .game-cover, .game-card:nth-child(2) .game-cover { height: 260px; }
.game-cover > img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.game-card:hover .game-cover > img { transform: scale(1.045); }
.game-cover::after { content: ""; position: absolute; inset: 35% 0 0; background: linear-gradient(transparent, #111525); }
.game-badges { position: absolute; z-index: 2; top: 13px; right: 13px; display: flex; gap: 6px; }
.game-badge { padding: 5px 8px; border: 1px solid rgba(255,255,255,.19); border-radius: 9px; color: white; background: rgba(7,9,16,.64); backdrop-filter: blur(10px); font-size: 9px; font-weight: 850; text-transform: uppercase; letter-spacing: .6px; }
.game-badge.live { color: #bfffd9; }
.game-icon { position: absolute; z-index: 3; left: 17px; bottom: -1px; width: 58px; height: 58px; display: grid; place-items: center; padding: 8px; border: 1px solid rgba(255,255,255,.2); border-radius: 18px; background: #151a2c; box-shadow: 0 8px 24px #0008; }
.game-icon img { width: 100%; height: 100%; object-fit: contain; }
.game-body { padding: 17px; }
.game-tag { color: var(--accent, #a78aff); font-size: 10px; font-weight: 900; text-transform: uppercase; letter-spacing: 1.1px; }
.game-title-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.game-title-row h3 { margin: 3px 0 0; font-size: 20px; letter-spacing: -.4px; }
.game-title-row span { color: var(--green); font-size: 10px; font-weight: 800; }
.game-body > p { min-height: 44px; margin: 8px 0 15px; color: var(--muted); font-size: 12px; }
.platform-pills { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 15px; }
.platform-pill { padding: 4px 7px; border-radius: 7px; color: #aeb6cc; background: rgba(255,255,255,.05); font-size: 9px; font-weight: 800; text-transform: uppercase; }
.card-actions { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.card-actions a, .card-actions button { min-height: 42px; display: flex; align-items: center; justify-content: center; gap: 7px; border: 1px solid var(--line); border-radius: 12px; color: white; text-decoration: none; background: rgba(255,255,255,.045); cursor: pointer; font-size: 12px; font-weight: 850; }
.card-actions .play-card { border-color: transparent; background: var(--accent, #7955ed); color: #fff; }
.card-actions .install-card { width: 43px; font-size: 17px; }
.empty-state { padding: 50px; color: var(--muted); text-align: center; }

.studio-section { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 70px; overflow: hidden; margin-top: 22px; padding-inline: 54px; border: 1px solid var(--line); border-radius: 32px; background: radial-gradient(circle at 80% 30%,rgba(94,225,210,.13),transparent 38%),linear-gradient(145deg,#151a2e,#0e1120); box-shadow: var(--shadow); }
.studio-section::before { content:""; position:absolute; width:250px;height:250px;right:-110px;bottom:-125px;border-radius:50%;background:#8a63ff;opacity:.16;filter:blur(30px); }
.studio-copy { position: relative; z-index: 1; padding-block: 70px; }
.studio-copy .eyebrow { margin-top: 0; }
.studio-copy h2 { max-width: 690px; margin: 0; font-size: clamp(31px,4vw,49px); line-height: 1.06; letter-spacing: -1.8px; }
.studio-copy>p:not(.eyebrow) { max-width: 680px; margin: 20px 0 28px; color: #b2bad0; }
.studio-facts { position: relative; z-index: 1; display: grid; gap: 11px; }
.studio-facts article { display:flex;align-items:center;justify-content:space-between;gap:18px;padding:20px 22px;border:1px solid rgba(255,255,255,.1);border-radius:20px;background:rgba(255,255,255,.045); }
.studio-facts strong { color:#f3efff;font-size:22px;letter-spacing:-.5px; }
.studio-facts span { color:#9fa9c3;font-size:12px;text-align:right; }

.platform-section { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 70px; min-height: 530px; }
.platform-copy .eyebrow { margin-top: 0; }
.platform-copy > p:not(.eyebrow) { max-width: 520px; margin: 18px 0 26px; color: var(--muted); }
.device-stage { min-height: 410px; position: relative; }
.device { position: absolute; padding: 9px; border: 1px solid rgba(255,255,255,.22); background: #252a3b; box-shadow: var(--shadow); }
.device > div { height: 100%; overflow: hidden; background: #090b15; }
.device img { width: 100%; height: 100%; object-fit: cover; }
.device.desktop { width: 90%; height: 305px; top: 14px; right: 0; border-radius: 21px; }
.device.desktop > div { border-radius: 13px; }
.device.phone { width: 155px; height: 302px; left: 0; bottom: 0; border-radius: 28px; transform: rotate(-4deg); }
.device.phone > div { border-radius: 20px; }
.device.phone img { object-position: center; }
.sync-badge { position: absolute; right: 12%; bottom: 34px; padding: 11px 15px; border: 1px solid rgba(255,255,255,.17); border-radius: 13px; background: rgba(18,23,41,.87); box-shadow: 0 10px 32px #0006; font-size: 12px; font-weight: 800; backdrop-filter: blur(12px); }

.footer { border-top: 1px solid var(--line); background: #080a13; }
.footer-inner { min-height: 230px; display: grid; grid-template-columns: 1.2fr auto auto; align-items: center; gap: 30px 48px; padding-block: 40px; }
.footer-brand { font-size: 18px; font-weight: 900; }
.footer p { margin: 4px 0 0; color: var(--muted); font-size: 12px; }
.footer-about small { display:block;margin-top:7px;color:#68728c;font-size:10px; }
.footer-links { display: flex; gap: 22px; }
.footer-links a { color: #aeb6ca; text-decoration: none; font-size: 12px; }
.footer-links a:hover { color:#fff; }
.footer-brands { display:flex;align-items:center;justify-content:flex-end;gap:10px; }
.footer-brands a { width:116px;height:54px;display:grid;place-items:center;padding:8px 10px;border:1px solid rgba(255,255,255,.11);border-radius:15px;background:rgba(255,255,255,.045); }
.footer-brands img { max-width:100%;max-height:38px;object-fit:contain; }
.footer-legal { grid-column:1 / 3;display:flex;flex-wrap:wrap;gap:7px 16px;color:#717a91;font-size:10px; }
.server-foot { display: flex; align-items: center; gap: 8px; color: #aeb6ca; font-size: 11px; }

.modal { position: fixed; z-index: 100; inset: 0; display: grid; place-items: center; padding: 20px; }
.modal-backdrop { position: absolute; inset: 0; border: 0; background: rgba(3,5,12,.77); backdrop-filter: blur(12px); }
.modal-card { position: relative; z-index: 1; width: min(440px, 100%); max-height: min(820px, calc(100vh - 30px)); overflow: auto; border: 1px solid rgba(255,255,255,.16); border-radius: 27px; background: #15192a; box-shadow: 0 30px 100px #000a; animation: modalIn .25s ease-out; }
@keyframes modalIn { from { opacity: 0; transform: translateY(14px) scale(.98); } }
.modal-close { position: absolute; z-index: 3; top: 13px; right: 13px; width: 37px; height: 37px; border: 1px solid var(--line); border-radius: 12px; color: white; background: rgba(8,10,19,.68); cursor: pointer; font-size: 23px; line-height: 1; }
.auth-card { padding: 36px; text-align: center; }
.modal-mark { width: 56px; height: 56px; display: grid; place-items: center; margin: 0 auto; border-radius: 18px; color: #dfd3ff; background: linear-gradient(145deg, #8d63ff, #3eb9aa); font-size: 24px; }
.auth-card .eyebrow { margin-top: 18px; }
.auth-card h2 { margin: 0; font-size: 29px; line-height: 1.1; }
.modal-intro { margin: 11px auto 24px; color: var(--muted); }
.google-slot { min-height: 44px; display: flex; justify-content: center; margin: 8px 0; }
.social-button { width: 100%; min-height: 44px; display: flex; align-items: center; justify-content: center; gap: 12px; border: 0; border-radius: 8px; color: white; cursor: pointer; font-weight: 750; }
.social-button.facebook { background: #1877f2; }
.social-button b { font: 900 23px Arial; }
.auth-card small { display: block; margin-top: 20px; color: #747f99; font-size: 10px; }
.form-error { min-height: 20px; margin: 12px 0 0; color: #ff9bab; font-size: 12px; }
.game-modal-card { width: min(760px, 100%); }
.shop-modal-card { width: min(620px, 100%); padding: 28px; }
.shop-modal-card h2 { margin: 3px 40px 6px 0; font-size: clamp(25px, 4vw, 34px); }
.shop-character { display: grid; gap: 7px; margin: 20px 0 4px; color: var(--muted); font-size: 12px; font-weight: 750; }
.shop-character select { width: 100%; min-height: 48px; padding: 0 14px; border: 1px solid var(--line); border-radius: 13px; background: #0d1020; color: var(--text); font: inherit; }
.shop-packs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 20px; }
.shop-pack { position: relative; min-height: 112px; display: grid; align-content: center; gap: 5px; padding: 17px; border: 1px solid var(--line); border-radius: 17px; background: rgba(255,255,255,.045); color: var(--text); text-align: left; cursor: pointer; transition: transform .18s ease, border-color .18s ease, background .18s ease; }
.shop-pack:hover { transform: translateY(-2px); border-color: rgba(164,132,255,.7); background: rgba(130,96,244,.12); }
.shop-pack:disabled { opacity: .55; cursor: wait; transform: none; }
.shop-pack strong { font-size: 17px; }
.shop-pack span { color: var(--muted); font-size: 13px; }
.shop-pack em { position: absolute; top: 9px; right: 9px; padding: 3px 7px; border-radius: 99px; background: #ffd76a; color: #302409; font-size: 9px; font-style: normal; font-weight: 900; }
.shop-loading { grid-column: 1 / -1; min-height: 130px; display: grid; place-items: center; color: var(--muted); }
.shop-footer { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.shop-footer small { color: var(--muted); line-height: 1.4; }
.shop-footer a { flex: 0 0 auto; text-decoration: none; }
.detail-cover { height: 300px; overflow: hidden; border-radius: 26px 26px 0 0; }
.detail-cover img { width: 100%; height: 100%; object-fit: cover; }
.detail-body { position: relative; padding: 28px; }
.detail-icon { position: absolute; top: -40px; left: 28px; width: 76px; height: 76px; display: grid; place-items: center; padding: 10px; border: 6px solid #15192a; border-radius: 22px; background: #20263a; }
.detail-icon img { width: 100%; height: 100%; object-fit: contain; }
.detail-body .eyebrow { margin: 14px 0 5px 94px; }
.detail-body h2 { margin: 0 0 9px 94px; font-size: 30px; }
.detail-body > p:not(.eyebrow) { color: var(--muted); }
.detail-features { display: flex; flex-wrap: wrap; gap: 7px; margin: 19px 0; }
.detail-features span { padding: 7px 10px; border: 1px solid var(--line); border-radius: 10px; color: #c8cede; font-size: 11px; }
.detail-actions { display: flex; gap: 9px; }
.detail-actions .button { flex: 1; }

.toast { position: fixed; z-index: 130; left: 50%; bottom: 24px; max-width: min(420px, calc(100% - 30px)); padding: 12px 17px; border: 1px solid rgba(255,255,255,.16); border-radius: 14px; color: white; background: rgba(23,28,47,.94); box-shadow: 0 14px 40px #0008; opacity: 0; pointer-events: none; transform: translate(-50%, 20px); transition: .25s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 900px) {
  .desktop-nav { display: none; }
  .hero { min-height: 720px; }
  .hero-shade { background: linear-gradient(90deg, rgba(7,9,19,.95), rgba(7,9,19,.46)), linear-gradient(0deg,#090b16,transparent 50%); }
  .hero h1 { max-width: 680px; }
  .wallet-grid, .character-grid { grid-template-columns: repeat(2, 1fr); }
  .game-card, .game-card:first-child, .game-card:nth-child(2) { grid-column: span 6; }
  .game-cover, .game-card:first-child .game-cover, .game-card:nth-child(2) .game-cover { height: 220px; }
  .studio-section { grid-template-columns:1fr;padding-inline:36px;gap:0; }
  .studio-copy { padding:55px 0 35px; }
  .studio-facts { padding-bottom:50px; }
  .platform-section { grid-template-columns: 1fr; gap: 20px; }
  .footer-inner { grid-template-columns: 1fr auto; padding-block: 32px; }
  .footer-brands { grid-column:2;grid-row:1 / 3;flex-direction:column; }
  .footer-legal,.server-foot { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .shell { width: min(100% - 24px, 1180px); }
  .section-space { padding-block: 58px; }
  .topbar { height: 68px; padding-inline: 12px; }
  .brand { font-size: 17px; }
  .brand-mark { width: 35px; height: 35px; border-radius: 12px; }
  .top-actions { gap:6px; }
  .language-button { width:42px;padding:0;justify-content:center;font-size:15px; }
  .language-button span,.language-button b { display:none; }
  .icon-button { display: none; }
  .account-button { height: 42px; padding-right: 9px; }
  .account-avatar { width: 32px; height: 32px; }
  .hero { min-height: auto; }
  .hero-media { inset: 0 0 235px; }
  .hero-media img { object-position: center top; }
  .hero-shade { background: linear-gradient(0deg, #090b16 2%, rgba(9,11,22,.97) 38%, rgba(9,11,22,.16) 78%), linear-gradient(90deg, rgba(7,9,19,.65), transparent); }
  .hero-content { padding-top: 315px; }
  .hero h1 { font-size: 43px; letter-spacing: -2.6px; }
  .hero-content > p:not(.eyebrow) { font-size: 15px; }
  .hero-actions .button { flex: 1; min-width: 145px; padding-inline: 13px; }
  .hero-meta { gap: 8px 13px; }
  .hero-rail {
    position: relative;
    inset: auto;
    width: min(100% - 24px, 1180px);
    justify-content: flex-start;
    margin-top: 18px;
    padding-bottom: 24px;
    overflow-x: auto;
    pointer-events: auto;
    scrollbar-width: none;
  }
  .hero-rail::-webkit-scrollbar { display: none; }
  .hero-choice { width: 50px; height: 50px; flex: 0 0 auto; }
  .section-heading, .catalog-heading { display: block; }
  .section-heading h2, .platform-copy h2 { font-size: 32px; }
  .section-heading .text-button { margin-top: 8px; }
  .guest-hub { display: block; padding: 21px; }
  .guest-copy { align-items: flex-start; }
  .guest-hub .button { width: 100%; margin-top: 18px; }
  .profile-panel { grid-template-columns: auto 1fr; }
  .profile-panel .small-button { grid-column: 1 / -1; }
  .wallet-grid { grid-template-columns: 1fr; }
  .character-grid { grid-template-columns: 1fr; }
  .subheading { align-items: end; }
  .catalog-heading .search-box { width: 100%; margin-top: 18px; }
  .game-grid { display: block; }
  .game-card { margin-bottom: 14px; }
  .game-cover, .game-card:first-child .game-cover, .game-card:nth-child(2) .game-cover { height: 210px; }
  .studio-section { width:min(100% - 24px,1180px);padding-inline:22px;border-radius:24px; }
  .studio-copy { padding:42px 0 28px; }
  .studio-copy h2 { font-size:31px; }
  .studio-facts { padding-bottom:35px; }
  .studio-facts article { padding:16px; }
  .studio-facts strong { font-size:18px; }
  .platform-section { min-height: auto; }
  .device-stage { min-height: 330px; margin-top: 18px; }
  .device.desktop { height: 230px; }
  .device.phone { width: 125px; height: 244px; }
  .sync-badge { right: 4%; bottom: 18px; }
  .footer-inner { grid-template-columns: 1fr; gap: 22px; }
  .footer-links { flex-wrap: wrap; gap: 12px 19px; }
  .footer-brands { grid-column:auto;grid-row:auto;flex-direction:row;justify-content:flex-start; }
  .footer-legal,.server-foot { grid-column: auto; }
  .auth-card { padding: 31px 20px 25px; }
  .shop-modal-card { padding: 23px 18px; }
  .shop-packs { grid-template-columns: 1fr; max-height: 47vh; overflow: auto; padding-right: 3px; }
  .shop-pack { min-height: 86px; }
  .shop-footer { align-items: flex-start; flex-direction: column; }
  .detail-cover { height: 210px; }
  .detail-body { padding: 22px 18px; }
  .detail-icon { left: 18px; width: 65px; height: 65px; }
  .detail-body .eyebrow, .detail-body h2 { margin-left: 76px; }
  .detail-body h2 { font-size: 25px; }
  .detail-actions { display: grid; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
