:root {
    --bg: #060912;
    --bg-soft: #0b1120;
    --panel: rgba(13, 21, 39, .88);
    --panel-solid: #0e1729;
    --line: rgba(148, 163, 184, .16);
    --text: #f4f7fb;
    --muted: #9aa8bd;
    --primary: #f97316;
    --primary-light: #fb923c;
    --accent: #38bdf8;
    --success: #34d399;
    --danger: #fb7185;
    --radius: 20px;
    --shadow: 0 24px 70px rgba(0, 0, 0, .32);
    --container: 1240px;
    --content-gutter: clamp(24px, 4vw, 76px);
    --sitebar-height: 70px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; color-scheme: dark; }
body { margin: 0; min-width: 320px; overflow-x: hidden; background: var(--bg); color: var(--text); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.6; }
body::before { content: ""; position: fixed; inset: 0; z-index: -2; background: radial-gradient(circle at 12% 8%, rgba(249, 115, 22, .08), transparent 30%), radial-gradient(circle at 85% 35%, rgba(56, 189, 248, .06), transparent 34%), linear-gradient(180deg, #080d19, var(--bg) 45%); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select { font: inherit; }
button { color: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.12; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -60px; left: 20px; z-index: 999; padding: 10px 16px; background: var(--text); color: var(--bg); border-radius: 8px; }
.skip-link:focus { top: 10px; }
.portal-container { width: 100%; margin-inline: auto; padding-inline: var(--content-gutter); }
.portal-container.narrow { width: min(100%, 1180px); }
.muted { color: var(--muted); }
.is-hidden { display: none !important; }

.site-header {
    --sitebar-hue: 22;
    --sitebar-secondary-hue: 198;
    position: fixed;
    inset: 0 0 auto;
    z-index: 100;
    height: var(--sitebar-height);
    overflow: visible;
    isolation: isolate;
    border-bottom: 1px solid hsl(var(--sitebar-hue) 78% 72% / .24);
    background:
        radial-gradient(circle at 16% -80%, rgba(249, 115, 22, .22), transparent 48%),
        radial-gradient(circle at 82% -110%, rgba(56, 189, 248, .16), transparent 44%),
        linear-gradient(180deg, rgba(16, 24, 43, .70), rgba(6, 9, 18, .52));
    box-shadow: inset 0 1px rgba(255, 255, 255, .11), 0 14px 42px rgba(0, 0, 0, .28);
    -webkit-backdrop-filter: blur(24px) saturate(155%);
    backdrop-filter: blur(24px) saturate(155%);
}
.site-header::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: linear-gradient(105deg, transparent 5%, rgba(255,255,255,.075) 30%, transparent 52%);
}
.site-header::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    height: 2px;
    pointer-events: none;
    opacity: .78;
    background: linear-gradient(90deg,transparent 0 9%,hsl(var(--sitebar-hue) 76% 58% / .14) 24%,hsl(var(--sitebar-hue) 88% 64% / .78) 38%,hsl(var(--sitebar-secondary-hue) 88% 66% / .32) 48%,transparent 63% 100%);
}
.header-inner { position: relative; z-index: 1; width: 100%; min-height: var(--sitebar-height); display: flex; align-items: center; gap: clamp(24px,3vw,48px); padding-inline: 22px; }
.brand { position: relative; min-width: 112px; display: grid; flex: 0 0 auto; gap: 4px; color: #f8f2e9; text-transform: uppercase; }
.brand strong { font: 800 24px/1 Georgia,"Times New Roman",serif; letter-spacing: -.035em; }
.brand strong span { color: #f1603b; text-shadow: 0 0 18px rgba(241,96,59,.45); }
.brand small { margin: 0; color: #b8aaa0; font-size: 10px; font-weight: 850; letter-spacing: .2em; }
.brand::after { content: ""; position: absolute; right: -18px; top: 2px; width: 1px; height: 35px; background: linear-gradient(transparent,rgba(242,105,55,.55),transparent); }
.main-nav { min-width: 0; display: flex; align-items: center; gap: 5px; margin-right: auto; }
.main-nav a { position: relative; min-height: 44px; display: inline-flex; align-items: center; padding: 0 12px; border: 1px solid transparent; border-radius: 7px; color: rgba(239,234,227,.69); font-size: 13px; font-weight: 820; letter-spacing: .045em; text-transform: uppercase; white-space: nowrap; transition: color .2s ease,background .2s ease,border-color .2s ease,transform .2s ease,text-shadow .2s ease; }
.main-nav a::before { content: ""; width: 4px; height: 4px; margin-right: 0; border-radius: 50%; opacity: 0; background: hsl(var(--sitebar-hue) 90% 68%); box-shadow: 0 0 10px hsl(var(--sitebar-hue) 90% 60%); transform: scale(.5); transition: opacity .2s ease,transform .2s ease,margin-right .2s ease; }
.main-nav a::after { content: ""; position: absolute; right: 9px; bottom: 4px; left: 9px; height: 2px; border-radius: 4px; background: linear-gradient(90deg,hsl(var(--sitebar-hue) 78% 55%),hsl(var(--sitebar-secondary-hue) 84% 68%)); box-shadow: 0 0 12px hsl(var(--sitebar-hue) 82% 58% / .52); transform: scaleX(0); transform-origin: left; transition: transform .24s ease; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: #fff; border-color: hsl(var(--sitebar-hue) 80% 66% / .18); background: linear-gradient(90deg,transparent,hsl(var(--sitebar-hue) 80% 58% / .075),transparent); text-shadow: 0 0 16px hsl(var(--sitebar-hue) 78% 66% / .38); }
.main-nav a:hover::before, .main-nav a[aria-current="page"]::before { margin-right: 7px; opacity: 1; transform: scale(1); }
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); }
.header-tools { min-width: 0; display: flex; align-items: center; gap: 12px; margin-left: auto; }
.online-pill { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-size: 13px; white-space: nowrap; }
.online-pill i, .status-orb i { width: 8px; height: 8px; border-radius: 99px; background: var(--success); box-shadow: 0 0 14px var(--success); }
.online-pill b { color: white; }
.account-chip { display: flex; align-items: center; gap: 9px; max-width: 190px; padding: 7px 10px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.035); }
.account-chip img { width: 28px; height: 28px; object-fit: cover; border-radius: 50%; }
.account-chip span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
.menu-toggle { display: none; width: 42px; height: 42px; margin-left: auto; border: 1px solid var(--line); background: rgba(255,255,255,.04); border-radius: 10px; align-items: center; justify-content: center; flex-direction: column; gap: 4px; }
.menu-toggle > span:not(.sr-only) { width: 18px; height: 2px; background: white; border-radius: 2px; }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 18px; border: 1px solid transparent; border-radius: 12px; cursor: pointer; font-weight: 800; transition: transform .18s ease, background .18s ease, border-color .18s ease, opacity .18s ease; }
.button:hover { transform: translateY(-2px); }
.button:disabled { cursor: not-allowed; opacity: .52; transform: none; }
.button-primary { color: #150a02; background: linear-gradient(135deg, var(--primary-light), var(--primary)); box-shadow: 0 12px 30px rgba(249,115,22,.2); }
.button-ghost { border-color: var(--line); background: rgba(255,255,255,.035); color: white; }
.button-discord { background: #5865f2; color: white; }
.header-tools .button-discord { border-color: rgba(255,118,68,.55); border-radius: 8px; background: linear-gradient(135deg,#e84a2d,#f26b39); box-shadow: 0 8px 22px rgba(224,68,35,.2); font-size: 12px; letter-spacing: .035em; text-transform: uppercase; }
.button-large { min-height: 52px; padding-inline: 26px; }
.button-small { min-height: 36px; padding: 7px 12px; }
.button-full { width: 100%; margin-top: 10px; }
.text-button { padding: 0; border: 0; background: transparent; color: inherit; cursor: pointer; text-decoration: underline; }

.site-content { min-height: calc(100vh - 300px); padding-top: var(--sitebar-height); }
.eyebrow { display: inline-block; margin-bottom: 12px; color: var(--primary-light); font-size: 12px; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; }
.hero { position: relative; min-height: min(900px, calc(100vh - var(--sitebar-height))); display: flex; align-items: center; overflow: hidden; }
.hero-art { position: absolute; inset: 0; background: url("../background.png") center 20% / cover no-repeat; opacity: .58; transform: scale(1.02); }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3,6,13,.96) 3%, rgba(3,6,13,.72) 45%, rgba(3,6,13,.2) 75%), linear-gradient(0deg, var(--bg), transparent 35%); }
.hero-content { position: relative; padding-block: 90px 120px; }
.hero h1 { max-width: 770px; margin-bottom: 24px; font-size: clamp(48px, 7.5vw, 100px); letter-spacing: -.06em; text-transform: uppercase; }
.hero h1 em { display: block; color: var(--primary); font-style: normal; }
.hero-content > p { max-width: 640px; margin-bottom: 30px; color: #c5cede; font-size: clamp(17px, 2vw, 21px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 36px; margin-top: 64px; }
.hero-stats div { display: grid; }
.hero-stats b { font-size: 26px; }
.hero-stats span { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }

.section { padding-block: 84px; }
.section-tinted { border-block: 1px solid var(--line); background: rgba(255,255,255,.018); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 34px; }
.section-heading h2 { margin: 0; font-size: clamp(30px, 4vw, 48px); letter-spacing: -.04em; }
.section-heading > a, .panel-heading > a { color: var(--primary-light); font-weight: 700; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feature-card, .info-card, .panel, .pack-card { border: 1px solid var(--line); background: linear-gradient(145deg, rgba(18,29,52,.88), rgba(8,14,27,.9)); border-radius: var(--radius); box-shadow: var(--shadow); }
.feature-card { min-height: 230px; padding: 26px; transition: .22s ease; }
.feature-card:hover { transform: translateY(-6px); border-color: rgba(249,115,22,.4); }
.feature-icon { display: grid; place-items: center; width: 50px; height: 50px; margin-bottom: 40px; border: 1px solid rgba(249,115,22,.3); background: rgba(249,115,22,.08); color: var(--primary-light); border-radius: 14px; font-size: 22px; font-weight: 900; }
.feature-card h3 { margin-bottom: 10px; }
.feature-card p { margin: 0; color: var(--muted); }

.creator-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.creator-card { position: relative; min-height: 210px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel-solid); }
.creator-card img { width: 100%; height: 210px; object-fit: cover; transition: transform .35s ease; }
.creator-card:hover img { transform: scale(1.04); }
.creator-card::after { content: ""; position: absolute; inset: 35% 0 0; background: linear-gradient(transparent, rgba(0,0,0,.88)); }
.creator-card span { position: absolute; z-index: 1; left: 18px; bottom: 14px; font-weight: 800; }

.page-hero { position: relative; padding-block: 110px; overflow: hidden; border-bottom: 1px solid var(--line); background: radial-gradient(circle at 80% 30%, rgba(249,115,22,.13), transparent 33%), linear-gradient(135deg, #101a30, #060912 60%); }
.page-hero::after { content: ""; position: absolute; inset: 0; opacity: .13; background-image: linear-gradient(rgba(255,255,255,.1) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.1) 1px, transparent 1px); background-size: 50px 50px; mask-image: linear-gradient(to right, transparent, black); }
.page-hero.compact { padding-block: 75px; }
.page-hero .portal-container { position: relative; z-index: 1; }
.page-hero h1 { max-width: 850px; margin-bottom: 16px; font-size: clamp(42px, 6vw, 76px); letter-spacing: -.055em; }
.page-hero p { max-width: 680px; margin-bottom: 0; color: #b7c2d3; font-size: 18px; }
.split-hero { display: grid; grid-template-columns: 1fr 300px; align-items: center; gap: 50px; }
.split-hero .button { margin-top: 24px; }
.download-orb { display: grid; place-items: center; width: 230px; height: 230px; justify-self: end; border: 1px solid rgba(249,115,22,.3); border-radius: 50%; background: radial-gradient(circle, rgba(249,115,22,.2), rgba(249,115,22,.02) 65%); color: var(--primary-light); font-size: 80px; box-shadow: 0 0 80px rgba(249,115,22,.12); }

.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.news-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); box-shadow: var(--shadow); }
.news-cover { display: grid; place-items: center; height: 220px; overflow: hidden; background: radial-gradient(circle, rgba(249,115,22,.22), #0d1629); color: rgba(255,255,255,.18); font-size: 42px; font-weight: 900; text-transform: uppercase; }
.news-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.news-card:hover .news-cover img { transform: scale(1.04); }
.news-card-body { padding: 22px; }
.news-card-body h2, .news-card-body h3 { margin: 10px 0; font-size: 22px; }
.news-card-body p { display: -webkit-box; overflow: hidden; color: var(--muted); -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.news-card-body time { color: #718096; font-size: 13px; }
.tag { display: inline-flex; padding: 5px 9px; border: 1px solid rgba(249,115,22,.25); border-radius: 999px; background: rgba(249,115,22,.08); color: var(--primary-light); font-size: 11px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.filter-bar a { padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); }
.filter-bar a[aria-current="page"], .filter-bar a:hover { border-color: var(--primary); background: rgba(249,115,22,.1); color: white; }
.pagination { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 38px; color: var(--muted); }
.pagination a { color: var(--primary-light); }

.article-hero { position: relative; min-height: 620px; display: flex; align-items: flex-end; overflow: hidden; }
.article-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.article-hero.no-cover { background: radial-gradient(circle at 70% 20%, rgba(249,115,22,.18), transparent 35%), #0c1425; }
.article-shade { position: absolute; inset: 0; background: linear-gradient(0deg, var(--bg) 3%, rgba(6,9,18,.7) 55%, rgba(6,9,18,.3)); }
.article-heading { position: relative; padding-block: 110px 70px; }
.article-heading > a { color: #d1d8e4; }
.article-heading .tag { margin-left: 18px; }
.article-heading h1 { max-width: 920px; margin: 24px 0 16px; font-size: clamp(42px, 6vw, 74px); letter-spacing: -.05em; }
.article-heading > p { max-width: 760px; color: #c4ccda; font-size: 20px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 20px; color: var(--muted); font-size: 14px; }
.article-body { max-width: 820px; padding-block: 65px 100px; font-size: 18px; color: #cdd5e1; }
.article-body p { margin-bottom: 1.5em; }
.back-link { display: inline-block; margin-top: 30px; color: var(--primary-light); font-weight: 800; }

.info-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.info-card { position: relative; padding: 28px; }
.info-card > span { display: block; margin-bottom: 32px; color: rgba(249,115,22,.46); font-size: 28px; font-weight: 900; }
.info-card h2 { font-size: 21px; }
.info-card p { margin: 0; color: var(--muted); }
.center-action { margin-top: 35px; text-align: center; }

.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.steps-grid article { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.steps-grid b { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 28px; border-radius: 12px; background: rgba(249,115,22,.12); color: var(--primary-light); }
.steps-grid p { margin: 0; color: var(--muted); }
.notice { margin-top: 24px; padding: 20px 24px; border: 1px solid rgba(56,189,248,.2); border-radius: 16px; background: rgba(56,189,248,.06); }
.notice p { margin: 6px 0 0; color: var(--muted); }
.payment-notice { margin: 0 0 24px; border-color: rgba(52,211,153,.25); background: rgba(52,211,153,.08); color: #a7f3d0; }

.empty-state { padding: 70px 28px; border: 1px dashed rgba(148,163,184,.24); border-radius: var(--radius); background: rgba(255,255,255,.02); text-align: center; }
.empty-state p { max-width: 580px; margin-inline: auto; color: var(--muted); }
.empty-state .button { margin-top: 15px; }
.empty-icon { display: block; margin-bottom: 20px; color: var(--primary-light); font-size: 48px; font-weight: 900; }
.status-panel { display: grid; grid-template-columns: 70px 1fr auto; grid-template-rows: auto auto; align-items: center; gap: 4px 18px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.status-orb { grid-row: 1 / 3; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: rgba(52,211,153,.08); }
.status-orb i { width: 14px; height: 14px; }
.status-panel div:nth-child(2) span, .status-panel small { color: var(--muted); }
.status-panel h2, .status-panel p { margin: 0; }
.status-panel > strong { align-self: end; color: var(--success); font-size: 34px; text-align: right; }
.status-panel > small { align-self: start; text-align: right; }

.shop-layout { display: grid; grid-template-columns: minmax(0, 1fr) 350px; gap: 24px; align-items: start; }
.shop-toolbar { display: grid; grid-template-columns: 1fr 230px; gap: 12px; margin-bottom: 20px; }
input, select { width: 100%; min-height: 46px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 12px; outline: none; background: rgba(255,255,255,.035); color: white; }
input:focus, select:focus { border-color: rgba(249,115,22,.7); box-shadow: 0 0 0 3px rgba(249,115,22,.1); }
select option { background: var(--panel-solid); }
.loading-block { padding: 60px 20px; color: var(--muted); text-align: center; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.product-card { display: flex; flex-direction: column; min-height: 350px; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--panel); }
.product-image { display: grid; place-items: center; height: 170px; overflow: hidden; background: radial-gradient(circle, rgba(56,189,248,.13), transparent 65%), #091221; }
.product-image img { width: 100%; height: 100%; object-fit: contain; padding: 12px; }
.product-placeholder { color: rgba(255,255,255,.2); font-size: 40px; }
.product-body { display: flex; flex-direction: column; flex: 1; padding: 18px; }
.product-body h3 { margin-bottom: 8px; }
.product-body > p { flex: 1; color: var(--muted); font-size: 14px; }
.product-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.currency-button { flex: 1; min-width: 100px; min-height: 40px; padding: 8px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255,255,255,.04); cursor: pointer; font-weight: 800; }
.currency-button:hover { border-color: var(--primary); }
.currency-button.vote { color: #facc15; }
.currency-button.free { color: var(--success); }
.cart-panel { position: sticky; top: 94px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(12,20,37,.96); box-shadow: var(--shadow); }
.cart-heading, .panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.cart-heading span, .panel-heading span { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .12em; }
.cart-heading h2, .panel-heading h2 { margin: 3px 0 0; }
.cart-heading > b { display: grid; place-items: center; min-width: 32px; height: 32px; border-radius: 99px; background: var(--primary); color: #170a02; }
.balance-box { margin-block: 18px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; color: var(--muted); font-size: 13px; }
.cart-lines { display: grid; gap: 8px; max-height: 310px; overflow: auto; }
.cart-line { display: grid; grid-template-columns: 1fr auto; gap: 4px 8px; padding: 12px; border-radius: 12px; background: rgba(255,255,255,.035); }
.cart-line span { color: var(--muted); font-size: 12px; }
.cart-line button { grid-row: 1 / 3; grid-column: 2; border: 0; background: transparent; color: var(--danger); cursor: pointer; }
.cart-totals { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--line); }
.cart-totals p { display: flex; justify-content: space-between; margin: 7px 0; color: var(--muted); }
.cart-totals b { color: white; }

.recharge-account { margin-bottom: 24px; padding: 16px 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); color: var(--muted); }
.packs-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 15px; }
.pack-card { position: relative; display: flex; flex-direction: column; min-height: 310px; padding: 24px; }
.pack-card.featured { border-color: rgba(249,115,22,.55); transform: translateY(-8px); }
.pack-card > em { position: absolute; top: -12px; right: 18px; padding: 5px 10px; border-radius: 999px; background: var(--primary); color: #150a02; font-size: 11px; font-style: normal; font-weight: 900; }
.pack-card > span { color: var(--primary-light); font-weight: 900; text-transform: uppercase; letter-spacing: .12em; }
.pack-card h2 { margin: 34px 0 8px; font-size: 34px; }
.pack-card h2 small { display: block; color: var(--muted); font-size: 13px; font-weight: 600; }
.pack-card > strong { flex: 1; font-size: 22px; }
.secure-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 24px; margin-top: 36px; color: var(--muted); font-size: 13px; }

.profile-card { display: flex; align-items: center; gap: 18px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.profile-card > img { width: 70px; height: 70px; border-radius: 50%; }
.profile-card > div { margin-right: auto; }
.profile-card span, .profile-card p { color: var(--muted); }
.profile-card h2, .profile-card p { margin: 3px 0; }
.account-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-block: 20px; }
.account-stats article { padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.025); }
.account-stats span { display: block; color: var(--muted); font-size: 13px; }
.account-stats b { display: block; margin-top: 6px; font-size: 25px; }
.account-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 18px; }
.panel { padding: 22px; }
.inline-form { margin-block: 18px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; }
.inline-form label { display: block; margin-bottom: 8px; color: var(--muted); font-size: 13px; }
.inline-form > div { display: flex; gap: 8px; }
.game-credentials { display: grid; gap: 12px; margin: 18px 0; padding: 18px; border: 1px solid rgba(255,159,67,.42); border-radius: 14px; outline: 0; background: rgba(255,120,39,.08); box-shadow: inset 0 0 28px rgba(255,120,39,.035); }
.game-credentials > span { color: var(--primary-light); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.game-credentials h3, .game-credentials p { margin: 0; }
.game-credentials p, .game-credentials small { color: var(--muted); }
.game-credentials dl { display: grid; gap: 8px; margin: 0; }
.game-credentials dl > div { display: grid; grid-template-columns: 130px 1fr; align-items: center; gap: 12px; }
.game-credentials dt { color: var(--muted); font-size: 12px; }
.game-credentials dd { min-width: 0; margin: 0; }
.game-credentials code { display: block; overflow-x: auto; padding: 9px 11px; border: 1px solid var(--line); border-radius: 8px; background: #090d16; color: #fff3db; user-select: all; }
.account-list, .history-list { display: grid; gap: 9px; margin-top: 18px; }
.account-row, .history-row { padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.025); }
.account-row span, .history-row span { color: var(--muted); font-size: 12px; }
.history-row { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; }
.history-row strong:last-child { grid-row: 1 / 3; grid-column: 2; align-self: center; color: var(--primary-light); }

.flash-stack { position: fixed; z-index: 150; top: 90px; right: 20px; display: grid; gap: 8px; }
.flash, .toast { padding: 12px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel-solid); box-shadow: var(--shadow); }
.toast { position: fixed; z-index: 200; right: 22px; bottom: 22px; max-width: 380px; transform: translateY(30px); opacity: 0; pointer-events: none; transition: .25s ease; }
.toast.is-visible { transform: none; opacity: 1; }
.toast.is-error { border-color: rgba(251,113,133,.4); color: #fecdd3; }
.toast.is-success { border-color: rgba(52,211,153,.4); color: #a7f3d0; }

.site-footer { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: start; padding-block: 48px 30px; border-top: 1px solid var(--line); }
.footer-brand strong { font-size: 22px; }
.footer-brand p, .footer-copy { color: var(--muted); font-size: 13px; }
.site-footer nav { display: flex; flex-wrap: wrap; justify-content: end; gap: 8px 18px; color: var(--muted); font-size: 13px; }
.site-footer nav a:hover { color: white; }
.footer-copy { grid-column: 1 / -1; padding-top: 20px; border-top: 1px solid var(--line); }

@media (max-width: 1199px) {
    .header-inner { gap: 16px; padding-inline: 17px; }
    .brand { min-width: 99px; }
    .brand::after { right: -12px; }
    .main-nav { position: fixed; top: var(--sitebar-height); right: 0; left: 0; display: none; padding: 12px 17px 16px; border: 1px solid rgba(255,255,255,.14); border-top: 0; border-radius: 0 0 18px 18px; background: rgba(8,13,25,.92); box-shadow: 0 24px 50px rgba(0,0,0,.4); -webkit-backdrop-filter: blur(24px) saturate(145%); backdrop-filter: blur(24px) saturate(145%); flex-direction: column; align-items: stretch; }
    .main-nav.is-open { display: flex; }
    .main-nav a { min-height: 46px; padding-inline: 14px; }
    .menu-toggle { display: flex; }
    .header-tools { margin-left: 0; }
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .product-grid { grid-template-columns: repeat(2, 1fr); }
    .packs-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 840px) {
    :root { --content-gutter: 20px; }
    .header-inner { padding-inline: 14px; }
    .online-pill { display: none; }
    .account-chip span { display: none; }
    .hero { min-height: 720px; }
    .hero-art { background-position: 62% center; }
    .hero-shade { background: linear-gradient(90deg, rgba(3,6,13,.94), rgba(3,6,13,.62)), linear-gradient(0deg, var(--bg), transparent 35%); }
    .hero h1 { font-size: clamp(44px, 13vw, 70px); }
    .feature-grid, .news-grid, .creator-grid, .info-grid, .steps-grid { grid-template-columns: repeat(2, 1fr); }
    .shop-layout { grid-template-columns: 1fr; }
    .cart-panel { position: static; }
    .packs-grid { grid-template-columns: repeat(2, 1fr); }
    .pack-card.featured { transform: none; }
    .split-hero { grid-template-columns: 1fr; }
    .download-orb { display: none; }
    .account-stats { grid-template-columns: repeat(2, 1fr); }
    .account-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
    :root { --sitebar-height: 60px; --content-gutter: 16px; }
    .header-inner { gap: 8px; padding-inline: 10px; }
    .brand { min-width: auto; gap: 2px; }
    .brand strong { font-size: 20px; }
    .brand small, .brand::after { display: none; }
    .menu-toggle { width: 40px; height: 40px; margin-left: auto; }
    .header-tools .button-discord { min-height: 38px; padding: 7px 9px; font-size: 10px; }
    .hero-content { padding-block: 70px 90px; }
    .hero-stats { gap: 20px; }
    .section { padding-block: 58px; }
    .page-hero, .page-hero.compact { padding-block: 60px; }
    .feature-grid, .news-grid, .creator-grid, .info-grid, .steps-grid, .product-grid, .packs-grid { grid-template-columns: 1fr; }
    .creator-card, .creator-card img { min-height: 240px; height: 240px; }
    .shop-toolbar { grid-template-columns: 1fr; }
    .profile-card { align-items: flex-start; flex-wrap: wrap; }
    .profile-card > div { width: calc(100% - 90px); }
    .profile-card form { width: 100%; }
    .profile-card form .button { width: 100%; }
    .game-credentials dl > div { grid-template-columns: 1fr; gap: 5px; }
    .account-stats { grid-template-columns: 1fr 1fr; }
    .status-panel { grid-template-columns: 58px 1fr; }
    .status-panel > strong, .status-panel > small { grid-column: 2; text-align: left; }
    .site-footer { grid-template-columns: 1fr; }
    .site-footer nav { justify-content: start; }
    .footer-copy { grid-column: 1; }
}

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