:root {
    --bg: #090b10;
    --panel: rgba(20, 23, 30, .88);
    --panel-strong: #171b23;
    --line: rgba(236,232,220,.13);
    --text: #f6f1e8;
    --muted: #aaa194;
    --cyan: #4cc9f0;
    --lime: #42d6a4;
    --rose: #d85d72;
    --amber: #d6aa63;
    --gold: #c89b45;
    --radius: 8px;
    --shadow: 0 24px 70px rgba(0,0,0,.34);
}

* { box-sizing: border-box; }
html {
    width: 100%;
    min-width: 320px;
    overflow-x: hidden;
    background: #101116;
}
body {
    margin: 0;
    width: 100%;
    min-height: 100vh;
    overflow-x: hidden;
    color: var(--text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background:
        radial-gradient(circle at 76% 0%, rgba(214,170,99,.12), transparent 34rem),
        radial-gradient(circle at 12% 20%, rgba(76,201,240,.08), transparent 28rem),
        linear-gradient(180deg, #161a22 0%, #0f1117 42%, #090b10 100%);
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: .2;
    background:
        linear-gradient(115deg, transparent 0 42%, rgba(50,214,255,.12) 48%, transparent 54% 100%),
        repeating-linear-gradient(0deg, rgba(255,255,255,.028) 0 1px, transparent 1px 4px);
    animation: scanline 7s linear infinite;
    z-index: 1;
}

body > *:not(.mesh) { position: relative; z-index: 2; }

@keyframes scanline {
    from { background-position: -120vw 0, 0 0; }
    to { background-position: 120vw 0, 0 18px; }
}

@keyframes floatIn {
    from { opacity: 0; transform: translateY(18px) scale(.985); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes glowPulse {
    0%, 100% { box-shadow: 0 0 18px rgba(50,214,255,.18), inset 0 0 0 rgba(167,255,90,0); }
    50% { box-shadow: 0 0 38px rgba(50,214,255,.34), inset 0 0 28px rgba(167,255,90,.08); }
}

.motion-pop {
    animation: floatIn .5s ease both;
}

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
main {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 30px 16px 58px;
    overflow: visible;
}

.trust-ribbon {
    display: flex;
    justify-content: center;
    gap: clamp(22px, 4vw, 64px);
    min-height: 44px;
    align-items: center;
    padding: 0 max(20px, calc((100vw - 1400px) / 2));
    border-bottom: 1px solid rgba(236,232,220,.1);
    color: #d9d0c1;
    background:
        linear-gradient(90deg, #12141a, #1d2028 48%, #12141a),
        radial-gradient(circle at 70% 0%, rgba(214,170,99,.12), transparent 20rem);
    font-size: 12px;
    overflow: hidden;
}
.trust-ribbon div {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}
.ribbon-brand {
    margin-right: auto;
    color: #f2eadc;
    font-weight: 800;
}
.trust-ribbon b { color: var(--amber); }
.trust-ribbon nav {
    margin-left: auto;
    display: flex;
    gap: 24px;
}
.trust-ribbon a { color: #d9d0c1; }

.store-header {
    position: sticky;
    top: 0;
    z-index: 8;
    display: grid;
    grid-template-columns: 290px minmax(360px, 1fr) 190px auto;
    gap: 28px;
    align-items: center;
    padding: 22px max(28px, calc((100vw - 1400px) / 2));
    border-bottom: 1px solid rgba(236,232,220,.1);
    background:
        linear-gradient(180deg, rgba(24,27,35,.98), rgba(15,17,23,.96)),
        radial-gradient(circle at 12% 0%, rgba(214,170,99,.18), transparent 22rem),
        radial-gradient(circle at 78% 0%, rgba(76,201,240,.08), transparent 20rem);
    backdrop-filter: blur(18px);
    box-shadow: 0 18px 60px rgba(0,0,0,.28);
}
.mega-header {
    min-height: 104px;
}
.store-header::after {
    content: "";
    position: absolute;
    left: max(28px, calc((100vw - 1400px) / 2));
    right: max(28px, calc((100vw - 1400px) / 2));
    bottom: -1px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(214,170,99,.72), rgba(76,201,240,.36), transparent);
}
.store-brand .brand-mark {
    width: 58px;
    height: 58px;
    color: #fff;
    background: linear-gradient(135deg, #d6aa63, #7f5a2b);
    box-shadow: 0 0 34px rgba(214,170,99,.34), inset 0 0 18px rgba(255,255,255,.16);
    overflow: hidden;
    font-size: 22px;
}
.brand-mark img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.store-search {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 14px;
    align-items: center;
    min-height: 62px;
    padding: 0 12px 0 20px;
    border: 1px solid rgba(236,232,220,.12);
    border-radius: 18px;
    background:
        linear-gradient(180deg, rgba(22,23,31,.98), rgba(15,16,23,.94));
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.02), 0 0 38px rgba(0,0,0,.18);
}
.store-search span { color: var(--amber); font-size: 22px; }
.store-search input {
    border: 0;
    background: transparent;
    min-height: 56px;
    padding: 0;
}
.store-search button {
    border: 0;
    border-radius: 13px;
    min-height: 44px;
    padding: 0 16px;
    color: #fff;
    font-weight: 900;
    background: linear-gradient(135deg, #d6aa63, #a17635);
}
.header-market-pulse {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 9px;
    align-items: center;
    min-height: 58px;
    padding: 11px 14px;
    border: 1px solid rgba(76,201,240,.18);
    border-radius: 16px;
    background: rgba(76,201,240,.045);
}
.header-market-pulse b {
    color: #fff;
    font-size: 13px;
}
.header-market-pulse small {
    grid-column: 2;
    color: #9fb9ad;
    font-size: 11px;
}
.pulse-dot {
    grid-row: span 2;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 0 6px rgba(76,201,240,.08), 0 0 22px rgba(76,201,240,.82);
    animation: pulseLive 1.8s ease-in-out infinite;
}
@keyframes pulseLive {
    50% { transform: scale(.72); opacity: .72; }
}
.header-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 14px;
}
.header-actions::before {
    content: "";
    display: none;
    place-items: center;
    min-height: 28px;
    padding: 0 10px;
    border: 1px solid rgba(76,201,240,.26);
    border-radius: 999px;
    color: var(--cyan);
    background: rgba(76,201,240,.08);
    font-size: 11px;
    font-weight: 900;
    box-shadow: 0 0 18px rgba(76,201,240,.12);
}
.round-action {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border: 1px solid rgba(236,232,220,.11);
    border-radius: 16px;
    background:
        linear-gradient(180deg, rgba(34,35,46,.96), rgba(15,16,23,.95));
    color: #fff;
    font-weight: 900;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.round-action:hover {
    transform: translateY(-2px);
    border-color: rgba(214,170,99,.5);
    box-shadow: 0 12px 28px rgba(214,170,99,.16);
}
.account-action {
    display: grid;
    gap: 2px;
    min-width: 136px;
    color: #fff;
    padding: 10px 14px;
    border: 1px solid rgba(236,232,220,.1);
    border-radius: 16px;
    background: rgba(255,255,255,.035);
}
.account-action span { color: var(--muted); font-size: 12px; }
.category-dock {
    position: sticky;
    top: 104px;
    z-index: 7;
    display: flex;
    justify-content: flex-start;
    gap: 22px;
    align-items: center;
    min-height: 66px;
    padding: 9px max(28px, calc((100vw - 1400px) / 2));
    border-bottom: 1px solid rgba(236,232,220,.1);
    background:
        linear-gradient(90deg, rgba(18,20,27,.96), rgba(13,15,21,.94)),
        radial-gradient(circle at 65% 0%, rgba(214,170,99,.08), transparent 18rem);
    backdrop-filter: blur(18px);
    overflow-x: auto;
    scrollbar-width: none;
}
.category-dock::-webkit-scrollbar { display: none; }
.category-dock a {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #e4dac9;
    font-size: 14px;
    font-weight: 800;
    padding: 10px 4px;
}
.category-dock span {
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border-radius: 7px;
    color: #fff;
    background: linear-gradient(135deg, #4cc9f0, #2e6b82);
    font-size: 11px;
}
.dock-all {
    padding: 13px 20px;
    border-radius: 14px;
    color: #f0dfbf !important;
    background: rgba(214,170,99,.12);
    border: 1px solid rgba(214,170,99,.28);
}
.dock-hot { color: var(--amber) !important; margin-left: auto; }
.dock-hot::before { content: "●"; color: #ff6b2c; text-shadow: 0 0 14px #ff6b2c; }

.market-ticker {
    overflow: hidden;
    border-bottom: 1px solid rgba(50,214,255,.16);
    background: linear-gradient(90deg, rgba(50,214,255,.12), rgba(255,79,139,.08), rgba(167,255,90,.1));
}
.ticker-track {
    display: flex;
    gap: 34px;
    width: max-content;
    padding: 7px 0;
    color: rgba(247,251,255,.72);
    font-size: 12px;
    font-weight: 900;
    animation: tickerMove 28s linear infinite;
}
.ticker-track span {
    position: relative;
    padding-left: 18px;
}
.ticker-track span::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 7px;
    height: 7px;
    transform: translateY(-50%);
    background: var(--lime);
    box-shadow: 0 0 16px var(--lime);
}

@keyframes tickerMove {
    to { transform: translateX(-50%); }
}

.mesh {
    pointer-events: none;
    position: fixed;
    inset: 0;
    opacity: .16;
    background:
        radial-gradient(circle at var(--cursor-x, 70%) var(--cursor-y, 35%), rgba(255,106,44,.12), transparent 14rem),
        linear-gradient(120deg, transparent, rgba(50,214,255,.04), transparent);
    mask-image: linear-gradient(to bottom, black, transparent 72%);
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 14px max(16px, calc((100vw - 1180px) / 2));
    border-bottom: 1px solid var(--line);
    background: rgba(8,10,18,.78);
    backdrop-filter: blur(18px);
}
.pro-header {
    display: grid;
    grid-template-columns: auto minmax(260px, 460px) auto;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; }
.brand span:last-child { display: grid; gap: 2px; }
.brand small {
    color: var(--muted);
    font-size: 10px;
    text-transform: uppercase;
    font-weight: 800;
}
.brand-mark {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: var(--radius);
    color: #061019;
    background: linear-gradient(135deg, var(--cyan), var(--lime));
    box-shadow: 0 0 22px rgba(50,214,255,.38);
}
.nav { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.nav a { padding: 10px 12px; color: var(--muted); border-radius: var(--radius); }
.nav a:hover { color: var(--text); background: rgba(255,255,255,.07); }

.header-search {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 6px;
    padding: 5px;
    border: 1px solid rgba(50,214,255,.2);
    border-radius: var(--radius);
    background: rgba(3,6,12,.48);
    box-shadow: inset 0 0 24px rgba(50,214,255,.06);
}
.header-search input {
    border: 0;
    min-height: 36px;
    padding: 0 10px;
    background: transparent;
}
.header-search button {
    border: 0;
    border-radius: 6px;
    color: #061019;
    font-weight: 900;
    padding: 0 14px;
    background: var(--cyan);
    cursor: pointer;
}

.pill, .btn, .mini-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--text);
    background: rgba(255,255,255,.07);
    cursor: pointer;
    min-height: 42px;
    padding: 0 16px;
}
.pill { min-height: 36px; }
.pill:not(.ghost), .btn.primary {
    color: #061019;
    border-color: transparent;
    background: linear-gradient(135deg, var(--cyan), var(--lime));
    font-weight: 800;
}
.btn:hover, .mini-btn:hover { transform: translateY(-1px); box-shadow: 0 10px 30px rgba(50,214,255,.16); }
.mini-btn { min-height: 34px; padding: 0 12px; font-size: 14px; }

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr);
    gap: 28px;
    align-items: stretch;
    min-height: 520px;
}

.market-console {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(300px, .55fr);
    gap: 18px;
    min-height: 420px;
}
.console-main, .console-side {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(50,214,255,.24);
    border-radius: var(--radius);
    background:
        linear-gradient(135deg, rgba(50,214,255,.11), transparent 38%),
        linear-gradient(315deg, rgba(255,79,139,.1), transparent 42%),
        rgba(10,13,24,.82);
    box-shadow: 0 28px 90px rgba(0,0,0,.38), inset 0 0 48px rgba(50,214,255,.05);
    animation: floatIn .55s ease both;
}
.console-main {
    padding: clamp(18px, 4vw, 34px);
}
.console-main::before, .console-side::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, transparent, rgba(255,255,255,.08), transparent),
        repeating-linear-gradient(90deg, rgba(255,255,255,.03) 0 1px, transparent 1px 18px);
    transform: translateX(-100%);
    animation: panelSweep 6s ease-in-out infinite;
}
.console-head {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: center;
    margin-bottom: 24px;
}
.console-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.console-tabs a, .quick-chip {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255,255,255,.06);
}
.console-tabs a {
    padding: 9px 11px;
    color: var(--muted);
}
.command-search {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    margin: 0 0 20px;
}
.command-search input {
    min-height: 62px;
    border-color: rgba(50,214,255,.26);
    font-size: 17px;
    background: rgba(0,0,0,.24);
}
.quick-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
}
.quick-chip {
    display: grid;
    min-height: 86px;
    padding: 14px;
    align-content: space-between;
    transition: transform .18s ease, border-color .18s ease;
}
.quick-chip:hover {
    transform: translateY(-3px);
    border-color: rgba(167,255,90,.48);
}
.quick-chip span { font-weight: 900; }
.quick-chip b { color: var(--cyan); font-size: 12px; }
.console-side {
    display: grid;
    align-content: space-between;
    padding: 18px;
}
.radar {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 230px;
    border: 1px solid rgba(167,255,90,.18);
    border-radius: var(--radius);
    background: radial-gradient(circle, rgba(167,255,90,.16), transparent 58%);
}
.radar::before {
    content: "";
    position: absolute;
    width: 76%;
    aspect-ratio: 1;
    border-radius: 50%;
    border: 1px solid rgba(50,214,255,.22);
    background: conic-gradient(from 0deg, rgba(167,255,90,.4), transparent 34%);
    animation: spinBeam 4s linear infinite;
}
.radar span {
    position: absolute;
    width: 46%;
    aspect-ratio: 1;
    border: 1px solid rgba(255,255,255,.11);
    border-radius: 50%;
}
.radar span:nth-child(2) { width: 66%; }
.radar span:nth-child(3) { width: 86%; }
.radar strong {
    z-index: 1;
    color: var(--lime);
    text-shadow: 0 0 22px rgba(167,255,90,.55);
}
.stat-stack {
    display: grid;
    gap: 10px;
    margin-top: 12px;
}
.stat-stack div {
    display: flex;
    justify-content: space-between;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 12px;
    background: rgba(255,255,255,.05);
}
.stat-stack small { color: var(--muted); }
.stat-stack strong { color: var(--amber); }

@keyframes panelSweep {
    0%, 45% { transform: translateX(-110%); }
    70%, 100% { transform: translateX(110%); }
}

.drop-zone {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: end;
    gap: 18px;
    margin: 30px 0 16px;
}
.drop-label h1 {
    margin-bottom: 0;
    font-size: clamp(36px, 5vw, 64px);
}
.drop-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}
.drop-strip span {
    min-height: 54px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: var(--radius);
    color: rgba(247,251,255,.86);
    background: linear-gradient(135deg, rgba(50,214,255,.12), rgba(255,79,139,.1));
}
.live-grid .product-card:nth-child(2n) .product-art {
    background: linear-gradient(135deg, rgba(255,193,77,.95), rgba(255,79,139,.86));
}
.live-grid .product-card:nth-child(3n) .product-art {
    background: linear-gradient(135deg, rgba(167,255,90,.95), rgba(50,214,255,.82));
}
.ops-band {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-top: 28px;
}
.ops-band div {
    position: relative;
    overflow: hidden;
    min-height: 150px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 16px;
    background: rgba(255,255,255,.055);
}
.ops-band b {
    display: block;
    color: rgba(50,214,255,.75);
    font-size: 12px;
    margin-bottom: 28px;
}
.ops-band strong { display: block; margin-bottom: 8px; }
.ops-band span { color: var(--muted); line-height: 1.55; }

.gamefront {
    position: relative;
    min-height: 626px;
    overflow: hidden;
    border-radius: 0;
    width: 100vw;
    max-width: 100vw;
    margin: -30px 0 0 50%;
    transform: translateX(-50%);
    padding: 30px max(16px, calc((100vw - 1280px) / 2));
    display: grid;
    grid-template-columns: minmax(0, 1fr) 400px;
    gap: 30px;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,.1);
    background: #050608;
}
.gamefront-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(0,0,0,.97) 0%, rgba(0,0,0,.82) 32%, rgba(0,0,0,.26) 62%, rgba(0,0,0,.52) 100%),
        linear-gradient(0deg, rgba(0,0,0,.85), transparent 38%),
        url("media/gaming-hero.png") center right / cover no-repeat;
    transform: scale(1.02);
    animation: heroDrift 14s ease-in-out infinite alternate;
}
.gamefront::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 84% 40%, rgba(50,214,255,.2), transparent 16rem),
        radial-gradient(circle at 70% 70%, rgba(255,96,44,.18), transparent 18rem);
}
.gamefront-copy, .deal-stack, .purchase-toast {
    position: relative;
    z-index: 1;
}
.stat-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    max-width: 650px;
    margin-bottom: 46px;
}
.stat-cards div {
    min-height: 58px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 12px;
    padding: 11px 14px;
    background: rgba(21,22,28,.75);
    box-shadow: inset 0 0 22px rgba(255,255,255,.035);
}
.stat-cards b { display: block; color: #fff; font-size: 15px; }
.stat-cards span { color: #b9b6c9; font-size: 11px; font-weight: 800; }
.store-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 10px 16px;
    border-radius: 22px;
    border: 1px solid rgba(255,255,255,.18);
    color: #fff;
    background: rgba(22,24,28,.72);
}
.store-badge::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #20df9f;
    box-shadow: 0 0 18px #20df9f;
}
.gamefront h1 {
    max-width: 650px;
    margin: 24px 0 18px;
    font-size: clamp(48px, 6.5vw, 86px);
    letter-spacing: 0;
    line-height: .92;
    color: #fff;
}
.gamefront h1::first-line { color: #fff; }
.gamefront p {
    max-width: 590px;
    font-size: 18px;
    color: #d5d2dc;
}
.game-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}
.game-tabs a {
    min-width: 138px;
    padding: 18px 20px;
    border-radius: 8px;
    transform: skewX(-8deg);
    color: #fff;
    font-weight: 900;
    background: linear-gradient(135deg, rgba(255,106,44,.42), rgba(91,61,255,.22));
    border: 1px solid rgba(255,255,255,.12);
    box-shadow: 0 18px 50px rgba(0,0,0,.28);
}
.deal-stack {
    display: grid;
    gap: 20px;
}
.deal-card {
    min-height: 220px;
    display: grid;
    align-content: center;
    gap: 8px;
    padding: 30px;
    border-radius: 9px;
    border: 1px solid rgba(255,255,255,.14);
    background:
        linear-gradient(90deg, rgba(0,0,0,.62), rgba(0,0,0,.12)),
        radial-gradient(circle at 80% 40%, rgba(255,255,255,.18), transparent 9rem),
        linear-gradient(135deg, rgba(255,103,44,.45), rgba(75,167,255,.28));
    box-shadow: 0 24px 80px rgba(0,0,0,.35);
    transition: transform .2s ease, box-shadow .2s ease;
}
.deal-card:hover {
    transform: translateY(-5px) scale(1.01);
    box-shadow: 0 32px 100px rgba(255,103,44,.18);
}
.deal-card-two {
    background:
        linear-gradient(90deg, rgba(0,0,0,.66), rgba(0,0,0,.16)),
        radial-gradient(circle at 78% 35%, rgba(50,214,255,.25), transparent 9rem),
        linear-gradient(135deg, rgba(40,88,255,.38), rgba(255,79,139,.3));
}
.deal-card small { color: #ffbd4a; font-weight: 900; }
.deal-card strong { font-size: 28px; color: #fff; }
.deal-card span { color: #e5e1ee; }
.purchase-toast {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: min(340px, calc(100% - 32px));
    border: 1px solid rgba(255,106,44,.36);
    border-radius: 16px;
    padding: 18px 42px 18px 38px;
    background:
        linear-gradient(135deg, rgba(31,24,43,.96), rgba(18,18,28,.94)),
        radial-gradient(circle at 10% 0%, rgba(255,106,44,.22), transparent 10rem);
    box-shadow: 0 20px 70px rgba(0,0,0,.46), 0 0 38px rgba(255,106,44,.12);
    z-index: 40;
    pointer-events: auto;
}
.purchase-toast::before {
    content: "";
    position: absolute;
    left: 16px;
    top: 50%;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #20df9f;
    box-shadow: 0 0 18px #20df9f;
    transform: translateY(-50%);
}
.purchase-toast b { display: block; color: #ff6b2c; margin-bottom: 6px; }
.purchase-toast span { color: #fff; }
.toast-close {
    position: absolute;
    top: 10px;
    right: 10px;
    display: grid;
    place-items: center;
    width: 25px;
    height: 25px;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 50%;
    color: #fff;
    background: rgba(255,255,255,.08);
    cursor: pointer;
}
.purchase-toast.is-hidden { display: none; }
.toast-pop { animation: toastPop .45s ease both; }
.brand-rail {
    display: grid;
    grid-template-columns: 140px repeat(6, 1fr);
    gap: 16px;
    align-items: center;
    margin: 28px 0;
    padding: 18px 20px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 9px;
    background: rgba(255,255,255,.045);
}
.brand-rail span { color: #fff; font-weight: 900; }
.brand-rail b {
    text-align: center;
    color: rgba(255,255,255,.7);
    font-size: clamp(14px, 1.7vw, 22px);
    letter-spacing: 0;
}
.shelf-head { margin-top: 34px; }
.service-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-top: 34px;
    padding-top: 26px;
    border-top: 1px solid rgba(255,255,255,.08);
}
.service-strip div {
    display: grid;
    gap: 6px;
    min-height: 86px;
    padding: 18px;
    border-radius: 12px;
    background: rgba(255,255,255,.045);
    border: 1px solid rgba(255,255,255,.08);
}
.service-strip b { color: #fff; }
.service-strip span { color: #c9c3d7; }

@keyframes heroDrift {
    from { transform: scale(1.02) translateX(0); }
    to { transform: scale(1.06) translateX(-18px); }
}

@keyframes toastPop {
    0% { transform: translateY(8px); opacity: .7; }
    100% { transform: translateY(0); opacity: 1; }
}

@media (max-width: 1100px) {
    .store-header { grid-template-columns: 1fr; }
    .header-market-pulse { width: 100%; }
    .header-actions { justify-content: flex-start; flex-wrap: wrap; }
    .category-dock { top: 162px; justify-content: flex-start; }
    .gamefront { grid-template-columns: 1fr; padding-top: 40px; }
    .deal-stack { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .brand-rail { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .brand-rail span { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
    .trust-ribbon { justify-content: flex-start; overflow-x: auto; }
    .trust-ribbon nav { display: none; }
    .category-dock { top: 210px; }
    .gamefront { min-height: auto; margin-left: 50%; padding: 24px 16px 112px; }
    .stat-cards, .deal-stack, .service-strip { grid-template-columns: 1fr; }
    .gamefront h1 { font-size: 44px; }
    .purchase-toast { right: 12px; bottom: 12px; }
    .brand-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.hero-copy { display: flex; flex-direction: column; justify-content: center; padding: 54px 0; }
.eyebrow { color: var(--lime); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 0; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 18px; font-size: clamp(42px, 6vw, 76px); line-height: .98; letter-spacing: 0; }
h2 { font-size: 28px; margin-bottom: 14px; }
h3 { font-size: 19px; margin-bottom: 10px; }
p { color: var(--muted); line-height: 1.7; }
.hero-copy p { max-width: 640px; font-size: 18px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 12px; }
.hero-panel {
    min-height: 430px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 18px;
    background:
        linear-gradient(145deg, rgba(50,214,255,.14), transparent 36%),
        linear-gradient(315deg, rgba(255,79,139,.16), transparent 40%),
        rgba(18,22,36,.72);
    box-shadow: var(--shadow);
}
.pulse-card { min-height: 210px; display: flex; flex-direction: column; justify-content: end; padding: 22px; border-radius: var(--radius); background: rgba(0,0,0,.28); border: 1px solid var(--line); }
.pulse-card strong { font-size: 58px; color: var(--cyan); }
.signal-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 14px; }
.signal-grid span, .tag {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 11px;
    text-align: center;
    color: var(--muted);
    background: rgba(255,255,255,.06);
}

.section-head, .page-title { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin: 34px 0 18px; }
.section-head h2, .page-title h1 { margin-bottom: 0; }
.page-title h1 { font-size: clamp(34px, 5vw, 58px); }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.product-card, .panel {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--panel);
    box-shadow: var(--shadow);
    backdrop-filter: blur(16px);
    animation: floatIn .55s ease both;
}
.product-card { overflow: hidden; }
.product-art, .detail-art {
    display: grid;
    place-items: center;
    min-height: 154px;
    font-size: 46px;
    font-weight: 900;
    color: #061019;
    background:
        linear-gradient(135deg, rgba(50,214,255,.95), rgba(167,255,90,.9)),
        repeating-linear-gradient(45deg, rgba(255,255,255,.25) 0 10px, transparent 10px 20px);
    position: relative;
    overflow: hidden;
}
.product-art::after, .detail-art::after {
    content: "";
    position: absolute;
    inset: -30%;
    background: conic-gradient(from 180deg, transparent, rgba(255,255,255,.42), transparent 32%);
    animation: spinBeam 5.5s linear infinite;
    z-index: 0;
}
.product-art span, .detail-art span { position: relative; z-index: 1; text-shadow: 0 8px 30px rgba(0,0,0,.22); }

@keyframes spinBeam {
    to { transform: rotate(360deg); }
}
.product-body, .panel { padding: 18px; }
.tag { display: inline-flex; width: auto; padding: 7px 10px; font-size: 12px; color: var(--cyan); }
.seller-line, .price-row, .table div, .specs {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.seller-line b, .specs em { color: #061019; background: var(--lime); border-radius: var(--radius); padding: 5px 8px; font-size: 12px; font-style: normal; }
.price-row { margin-top: 18px; }
.price-row strong { color: var(--amber); font-size: 22px; }

.trust-band, .dash-grid, .admin-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-top: 28px;
}
.trust-band div, .metric { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; background: rgba(255,255,255,.06); }
.trust-band span, .metric span, .muted { color: var(--muted); }
.metric strong { display: block; margin-top: 8px; font-size: 28px; }
.admin-grid { grid-template-columns: 1fr 1fr; }
.admin-settings-panel {
    border-color: rgba(255,106,44,.22);
    background:
        linear-gradient(135deg, rgba(255,106,44,.08), transparent 34%),
        rgba(18,22,36,.78);
}
.admin-settings-panel h2 {
    color: #fff;
}
.admin-settings-panel textarea {
    resize: vertical;
}
.admin-settings-panel small,
.grid-form small {
    color: #aaa194;
    font-size: 12px;
    line-height: 1.4;
}

.detail-layout { display: grid; grid-template-columns: minmax(280px, .75fr) minmax(0, 1.25fr); gap: 18px; align-items: stretch; }
.detail-art { min-height: 520px; border-radius: var(--radius); }
.specs { flex-wrap: wrap; justify-content: flex-start; margin: 20px 0; }
.specs span { border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; background: rgba(255,255,255,.05); }

.form-shell { display: grid; place-items: center; min-height: 62vh; }
.form-card { width: min(460px, 100%); }
.form-card.wide { width: min(720px, 100%); }
label { display: grid; gap: 8px; color: var(--muted); }
input, select, textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--text);
    background: rgba(3,6,12,.72);
    padding: 13px 12px;
    outline: none;
}
input:focus, select:focus, textarea:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(50,214,255,.12); }
form { display: grid; gap: 14px; }
.grid-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-form .full, .grid-form button { grid-column: 1 / -1; }
.check { display: flex; align-items: center; gap: 10px; }
.check input { width: auto; }
.checkout { grid-template-columns: 120px 1fr auto; align-items: end; }

.table { display: grid; gap: 10px; }
.table div { padding: 12px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.04); }
.table span { min-width: 0; overflow-wrap: anywhere; }
.flash {
    margin-bottom: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 12px 14px;
    background: rgba(255,255,255,.07);
}
.flash.success { border-color: rgba(167,255,90,.45); }
.flash.danger { border-color: rgba(255,79,139,.55); }
.flash.warning { border-color: rgba(255,193,77,.55); }

.footer {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding: 30px max(16px, calc((100vw - 1180px) / 2));
    border-top: 1px solid var(--line);
    color: var(--muted);
}
.footer-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }

@media (max-width: 900px) {
    .hero, .detail-layout, .admin-grid { grid-template-columns: 1fr; }
    .product-grid, .trust-band, .dash-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hero { min-height: auto; }
    .detail-art { min-height: 260px; }
    .checkout { grid-template-columns: 1fr; }
    .pro-header, .market-console, .drop-zone { grid-template-columns: 1fr; }
    .quick-grid, .drop-strip, .ops-band { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
    main { width: min(100% - 20px, 1180px); padding-top: 18px; }
    .topbar { align-items: flex-start; flex-direction: column; }
    .nav { justify-content: flex-start; }
    .product-grid, .trust-band, .dash-grid, .grid-form { grid-template-columns: 1fr; }
    h1 { font-size: 38px; }
    .hero-copy { padding: 28px 0; }
    .signal-grid { grid-template-columns: repeat(2, 1fr); }
    .section-head, .page-title, .footer { align-items: flex-start; flex-direction: column; }
    .table div { align-items: flex-start; flex-direction: column; }
    .quick-grid, .drop-strip, .ops-band { grid-template-columns: 1fr; }
    .command-search { grid-template-columns: 1fr; }
    .header-search { width: 100%; }
}

.arena-title h1 {
    text-shadow: 0 0 32px rgba(50,214,255,.28);
}

.filter-bar {
    display: grid;
    grid-template-columns: minmax(220px, 1.4fr) minmax(160px, .8fr) minmax(150px, .7fr) auto;
    align-items: end;
    gap: 12px;
    margin-bottom: 20px;
}

.holo-card {
    position: relative;
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.holo-card::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0;
    background: linear-gradient(120deg, transparent, rgba(50,214,255,.18), rgba(167,255,90,.16), transparent);
    transition: opacity .22s ease;
}
.holo-card:hover {
    transform: translateY(-5px);
    border-color: rgba(50,214,255,.42);
    box-shadow: 0 28px 90px rgba(50,214,255,.17);
}
.holo-card:hover::before { opacity: 1; }
.holo-card > * { position: relative; z-index: 1; }

.card-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
}
.card-topline small {
    color: var(--amber);
    border: 1px solid rgba(255,193,77,.28);
    border-radius: var(--radius);
    padding: 7px 9px;
    background: rgba(255,193,77,.06);
}
.tag.hot {
    color: #061019;
    background: linear-gradient(135deg, var(--amber), var(--rose));
    border-color: transparent;
}

.cinematic-art {
    animation: glowPulse 3.6s ease-in-out infinite;
}
.detail-panel h1 {
    font-size: clamp(34px, 4vw, 58px);
}
.action-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}
.inline-message {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
}
.inline-message input {
    min-width: 180px;
}
.review-grid, .verify-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
.review-card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 14px;
    background: rgba(255,255,255,.05);
}
.review-card strong { color: var(--amber); }
.guide-card { min-height: 230px; }
.compact-table div, .order-table div {
    align-items: flex-start;
    flex-wrap: wrap;
}
.order-table code {
    display: block;
    width: 100%;
    border: 1px solid rgba(167,255,90,.28);
    border-radius: var(--radius);
    padding: 10px;
    color: var(--lime);
    background: rgba(167,255,90,.06);
    white-space: pre-wrap;
}
.table form {
    display: flex;
    flex-direction: row;
    gap: 8px;
    align-items: center;
}
.table select {
    min-width: 130px;
    padding: 9px 10px;
}

@media (min-width: 901px) {
    .checkout { grid-template-columns: 110px 150px minmax(150px, 1fr) auto; }
}

@media (max-width: 900px) {
    .filter-bar, .review-grid, .verify-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    .inline-message, .table form { flex-direction: column; align-items: stretch; width: 100%; }
    .inline-message input { min-width: 0; }
}

/* Premium v3 shell: corporate gaming theme */
body {
    background:
        radial-gradient(circle at 76% 0%, rgba(214,170,99,.12), transparent 34rem),
        radial-gradient(circle at 12% 18%, rgba(76,201,240,.08), transparent 28rem),
        linear-gradient(180deg, #161a22 0%, #0f1117 44%, #090b10 100%);
}

body::before {
    opacity: .12;
    background:
        linear-gradient(115deg, transparent 0 44%, rgba(214,170,99,.08) 49%, transparent 56% 100%),
        repeating-linear-gradient(0deg, rgba(255,255,255,.018) 0 1px, transparent 1px 5px);
}

.trust-ribbon {
    min-height: 44px;
    justify-content: flex-start;
    gap: clamp(24px, 4vw, 64px);
    padding: 0 max(22px, calc((100vw - 1400px) / 2));
    color: #d9d0c1;
    background: linear-gradient(90deg, #111319, #20232c 52%, #111319);
    border-bottom: 1px solid rgba(236,232,220,.1);
    font-size: 12px;
}

.ribbon-brand {
    margin-right: auto;
    color: #f2eadc;
    font-weight: 900;
}

.trust-ribbon b,
.trust-ribbon a {
    color: #d6aa63;
}

.store-header {
    grid-template-columns: 280px 170px minmax(360px, 1fr) 180px auto;
    gap: 30px;
    min-height: 106px;
    padding: 22px max(28px, calc((100vw - 1400px) / 2));
    border-bottom: 1px solid rgba(236,232,220,.1);
    background:
        linear-gradient(180deg, rgba(24,27,35,.98), rgba(13,15,21,.96)),
        radial-gradient(circle at 12% 0%, rgba(214,170,99,.17), transparent 22rem),
        radial-gradient(circle at 78% 0%, rgba(76,201,240,.08), transparent 20rem);
}

.header-proof {
    display: grid;
    gap: 2px;
    min-height: 58px;
    padding: 10px 14px;
    border: 1px solid rgba(214,170,99,.18);
    border-radius: 16px;
    background:
        linear-gradient(135deg, rgba(214,170,99,.1), rgba(255,255,255,.025)),
        rgba(255,255,255,.025);
}
.header-proof span {
    color: #d6aa63;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}
.header-proof b {
    color: #f6f1e8;
    font-size: 13px;
}
.header-proof small {
    color: #aaa194;
    font-size: 11px;
}

.balance-chip {
    display: grid;
    gap: 2px;
    min-width: 118px;
    padding: 9px 12px;
    border: 1px solid rgba(66,214,164,.2);
    border-radius: 16px;
    color: #fff;
    background: rgba(66,214,164,.07);
}
.balance-chip span {
    color: #9ce8ca;
    font-size: 11px;
}
.balance-chip b {
    color: #fff;
    font-size: 13px;
}

.store-header::after {
    left: max(28px, calc((100vw - 1400px) / 2));
    right: max(28px, calc((100vw - 1400px) / 2));
    background: linear-gradient(90deg, transparent, rgba(214,170,99,.75), rgba(76,201,240,.35), transparent);
}

.store-brand .brand-mark {
    width: 58px;
    height: 58px;
    background: linear-gradient(135deg, #d6aa63, #7f5a2b);
    box-shadow: 0 0 34px rgba(214,170,99,.34), inset 0 0 18px rgba(255,255,255,.16);
}

.store-search {
    min-height: 62px;
    gap: 14px;
    padding: 0 12px 0 20px;
    border-radius: 18px;
    border: 1px solid rgba(236,232,220,.12);
    background: linear-gradient(180deg, rgba(22,24,31,.98), rgba(12,14,20,.94));
}

.store-search span {
    color: #d6aa63;
}

.store-search input {
    min-height: 56px;
}

.store-search button,
.pill:not(.ghost),
.btn.primary {
    color: #111319;
    background: linear-gradient(135deg, #e0bd78, #a97834);
}

.header-market-pulse {
    min-height: 58px;
    padding: 11px 14px;
    border-color: rgba(76,201,240,.18);
    background: rgba(76,201,240,.045);
}

.pulse-dot {
    background: #4cc9f0;
    box-shadow: 0 0 0 6px rgba(76,201,240,.08), 0 0 22px rgba(76,201,240,.82);
}

.header-actions {
    gap: 14px;
}

.header-actions::before {
    color: #4cc9f0;
    border-color: rgba(76,201,240,.26);
    background: rgba(76,201,240,.08);
}

.round-action {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    border-color: rgba(236,232,220,.11);
    background: linear-gradient(180deg, rgba(34,36,45,.96), rgba(13,15,20,.95));
}

.round-action:hover {
    border-color: rgba(214,170,99,.5);
    box-shadow: 0 12px 28px rgba(214,170,99,.16);
}

.account-action {
    min-width: 136px;
    padding: 10px 14px;
    border-color: rgba(236,232,220,.1);
}

.category-dock {
    top: 106px;
    justify-content: flex-start;
    gap: 22px;
    min-height: 64px;
    padding: 0 max(28px, calc((100vw - 1400px) / 2));
    border-bottom: 1px solid rgba(236,232,220,.1);
    background:
        linear-gradient(90deg, rgba(18,20,27,.96), rgba(13,15,21,.94)),
        radial-gradient(circle at 65% 0%, rgba(214,170,99,.08), transparent 18rem);
}

.header-category-dock {
    margin-top: 0;
    box-shadow: 0 18px 50px rgba(0,0,0,.2);
}

.category-dock a {
    color: #e4dac9;
    align-self: stretch;
    padding: 0 4px;
}

.category-dock span {
    background: linear-gradient(135deg, #4cc9f0, #2e6b82);
}

.dock-all {
    align-self: center !important;
    padding: 13px 20px !important;
    color: #f0dfbf !important;
    border-radius: 14px;
    background: rgba(214,170,99,.12);
    border-color: rgba(214,170,99,.28);
}

.dock-hot {
    color: #d6aa63 !important;
}

.dock-hot::before {
    content: "●";
    color: #d6aa63;
    text-shadow: 0 0 14px rgba(214,170,99,.8);
}

.panel,
.product-card {
    background: rgba(20, 23, 30, .88);
    border-color: rgba(236,232,220,.12);
}

.product-art,
.detail-art {
    background:
        linear-gradient(135deg, rgba(214,170,99,.95), rgba(76,201,240,.78)),
        repeating-linear-gradient(45deg, rgba(255,255,255,.16) 0 10px, transparent 10px 20px);
}

.product-card .product-art {
    min-height: auto;
    aspect-ratio: 1 / 1;
}

.detail-art {
    min-height: auto;
    aspect-ratio: 1 / 1;
}

.balance-card {
    border-color: rgba(214,170,99,.24);
    background:
        linear-gradient(135deg, rgba(214,170,99,.09), transparent 34%),
        rgba(20,23,30,.88);
}

.topup-modal[hidden] {
    display: none;
}
.topup-modal {
    position: fixed;
    inset: 0;
    z-index: 60;
    display: grid;
    place-items: center;
    padding: 18px;
    background: rgba(0,0,0,.68);
    backdrop-filter: blur(10px);
}
.topup-dialog {
    position: relative;
    width: min(720px, 100%);
    max-height: min(760px, calc(100vh - 36px));
    overflow: auto;
    border: 1px solid rgba(214,170,99,.28);
    border-radius: 18px;
    padding: 24px;
    background:
        linear-gradient(135deg, rgba(214,170,99,.08), transparent 35%),
        #14171e;
    box-shadow: 0 34px 120px rgba(0,0,0,.5);
}
.bank-list {
    display: grid;
    gap: 12px;
    margin: 18px 0;
}
.bank-option {
    display: grid;
    gap: 6px;
    width: 100%;
    text-align: left;
    border: 1px solid rgba(236,232,220,.12);
    border-radius: 14px;
    padding: 16px;
    color: #f6f1e8;
    background: rgba(255,255,255,.045);
    cursor: pointer;
}
.bank-option code {
    color: #d6aa63;
    overflow-wrap: anywhere;
}
.bank-option.is-selected {
    border-color: rgba(214,170,99,.62);
    box-shadow: 0 0 0 3px rgba(214,170,99,.1);
}
.topup-success {
    margin: 12px 0 0;
    color: #42d6a4;
    font-weight: 800;
}

.price-row strong,
.deal-card small,
.purchase-toast b {
    color: #d6aa63;
}

.purchase-toast {
    border-color: rgba(214,170,99,.36);
    background:
        linear-gradient(135deg, rgba(28,27,31,.96), rgba(14,16,22,.94)),
        radial-gradient(circle at 10% 0%, rgba(214,170,99,.18), transparent 10rem);
    box-shadow: 0 20px 70px rgba(0,0,0,.46), 0 0 38px rgba(214,170,99,.11);
}

.mesh {
    background:
        radial-gradient(circle at var(--cursor-x, 70%) var(--cursor-y, 35%), rgba(214,170,99,.1), transparent 14rem),
        linear-gradient(120deg, transparent, rgba(76,201,240,.035), transparent);
}

@media (max-width: 1100px) {
    .store-header {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .category-dock {
        top: 244px;
    }
}

/* Final homepage spacing override */
.site-header-shell + main {
    padding-top: 0;
}

.gamefront {
    margin-top: 0;
}

.site-header-shell + main {
    padding-top: 0;
}

.gamefront {
    margin-top: 0;
}

/* Homepage ad slots and cleaner public footer */
.site-header-shell + main {
    padding-top: 0;
}

.gamefront {
    margin-top: 0;
    min-height: 560px;
    padding-top: 24px;
    padding-bottom: 26px;
    align-items: center;
}

.gamefront-copy {
    padding-top: 0;
}

.ad-stack {
    align-self: center;
}

.ad-card {
    isolation: isolate;
    min-height: 230px;
    aspect-ratio: 520 / 230;
    border-color: rgba(214,170,99,.28);
    background:
        linear-gradient(135deg, rgba(214,170,99,.22), rgba(76,201,240,.08)),
        rgba(18,20,27,.92);
}

.ad-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(120deg, transparent 0 28%, rgba(255,255,255,.22) 42%, transparent 58% 100%),
        radial-gradient(circle at 12% 12%, rgba(214,170,99,.28), transparent 9rem);
    transform: translateX(-110%);
    animation: adSweep 3.8s ease-in-out infinite;
}

.ad-card.has-ad-image {
    padding: 0;
    background: #0d1016;
}

.ad-card.has-ad-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ad-card.has-ad-image span {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 14px;
    width: fit-content;
    max-width: calc(100% - 28px);
    padding: 9px 12px;
    border-radius: 10px;
    color: #fff;
    background: rgba(8,10,15,.72);
    backdrop-filter: blur(10px);
}

.ad-card.empty-ad strong {
    max-width: 360px;
}

@keyframes adSweep {
    0%, 45% { transform: translateX(-110%); }
    75%, 100% { transform: translateX(110%); }
}

.corporate-footer {
    align-items: center;
    padding-top: 22px;
    padding-bottom: 22px;
    background:
        linear-gradient(90deg, rgba(17,19,25,.98), rgba(24,27,35,.98)),
        radial-gradient(circle at 18% 0%, rgba(214,170,99,.12), transparent 22rem);
}

.corporate-footer strong {
    display: block;
    margin-bottom: 6px;
    color: #f6f1e8;
}

.corporate-footer p {
    margin: 0;
    max-width: 520px;
}

.corporate-footer .footer-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

.corporate-footer .footer-grid a {
    padding: 9px 11px;
    border: 1px solid rgba(236,232,220,.1);
    border-radius: 10px;
    color: #d9d0c1;
    background: rgba(255,255,255,.035);
}

@media (max-width: 900px) {
    .gamefront {
        min-height: auto;
        padding-top: 20px;
    }
    .ad-card {
        min-height: 190px;
    }
    .corporate-footer .footer-grid {
        justify-content: flex-start;
    }
}

.category-admin-table div {
    display: block;
}

.category-edit-form {
    display: grid !important;
    grid-template-columns: 1.2fr .45fr .9fr .45fr auto auto;
    align-items: end !important;
    gap: 10px !important;
    width: 100%;
}

@media (max-width: 900px) {
    .category-edit-form {
        grid-template-columns: 1fr;
    }
}

/* Header dock integration + separate admin shell */
.site-header-shell {
    position: sticky;
    top: 0;
    z-index: 8;
    background:
        linear-gradient(180deg, rgba(24,27,35,.99), rgba(13,15,21,.97)),
        radial-gradient(circle at 18% 0%, rgba(214,170,99,.16), transparent 22rem);
    box-shadow: 0 22px 70px rgba(0,0,0,.32);
}

.site-header-shell .store-header {
    position: relative;
    top: auto;
    z-index: 2;
    box-shadow: none;
    background: transparent;
    grid-template-columns: 300px 190px minmax(420px, 1fr) auto;
    gap: 34px;
}

.site-header-shell .header-market-pulse,
.site-header-shell .header-actions::before {
    display: none !important;
}

.site-header-shell .header-actions {
    margin-left: auto;
    justify-content: flex-end;
}

.site-header-shell .pill.ghost {
    min-width: 92px;
    border-radius: 14px;
}

.featured-head {
    padding-top: 18px;
    border-top: 1px solid rgba(214,170,99,.18);
}

.featured-card {
    border-color: rgba(214,170,99,.32);
    box-shadow: 0 28px 90px rgba(214,170,99,.08);
}

.site-header-shell .category-dock {
    position: relative;
    top: auto;
    z-index: 1;
    min-height: 58px;
    border-top: 1px solid rgba(236,232,220,.07);
    background: rgba(8,10,15,.34);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.03);
}

.site-header-shell + main {
    padding-top: 30px;
}

.admin-body {
    min-height: 100vh;
    overflow-x: hidden;
    background:
        radial-gradient(circle at 0% 0%, rgba(76,201,240,.08), transparent 28rem),
        linear-gradient(180deg, #0d1016, #090b10);
}

.admin-body::before,
.admin-body .mesh,
.admin-body .trust-ribbon,
.admin-body .site-header-shell,
.admin-body .footer {
    display: none !important;
}

.admin-shell {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    min-height: 100vh;
}

.admin-sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    padding: 24px;
    border-right: 1px solid rgba(236,232,220,.1);
    background: linear-gradient(180deg, rgba(20,23,30,.98), rgba(10,12,17,.98));
}

.admin-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 56px;
    padding: 12px;
    border-radius: 14px;
    color: #f6f1e8;
    background: rgba(214,170,99,.1);
    border: 1px solid rgba(214,170,99,.18);
}

.admin-logo span {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: linear-gradient(135deg, #d6aa63, #7f5a2b);
}

.admin-sidebar nav {
    display: grid;
    gap: 8px;
    margin-top: 26px;
}

.admin-sidebar nav a {
    padding: 13px 14px;
    border-radius: 12px;
    color: #cfc6b8;
    background: rgba(255,255,255,.03);
    border: 1px solid transparent;
}

.admin-sidebar nav a:hover {
    color: #fff;
    border-color: rgba(214,170,99,.22);
    background: rgba(214,170,99,.08);
}

.admin-workspace {
    min-width: 0;
}

.admin-topbar {
    position: sticky;
    top: 0;
    z-index: 4;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 78px;
    padding: 0 28px;
    border-bottom: 1px solid rgba(236,232,220,.1);
    background: rgba(12,14,20,.9);
    backdrop-filter: blur(18px);
}

.admin-topbar span {
    display: block;
    color: #aaa194;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 900;
}

.admin-topbar strong {
    display: block;
    margin-top: 4px;
    color: #f6f1e8;
    font-size: 20px;
}

.admin-main {
    width: 100%;
    max-width: none;
    padding: 28px;
}

.admin-main .page-title {
    margin-top: 0;
    padding: 20px;
    border: 1px solid rgba(236,232,220,.1);
    border-radius: 14px;
    background: rgba(255,255,255,.035);
}

.admin-main .panel {
    margin-top: 18px;
    border-radius: 14px;
}

.admin-main .admin-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.admin-main .table div {
    background: rgba(255,255,255,.035);
}

@media (max-width: 1000px) {
    .admin-shell {
        grid-template-columns: 1fr;
    }
    .admin-sidebar {
        position: relative;
        height: auto;
    }
    .admin-sidebar nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .admin-main .admin-grid {
        grid-template-columns: 1fr;
    }
}

/* Compact corporate header + visual category dock */
.trust-ribbon {
    min-height: 34px;
    padding-block: 0;
    font-size: 11px;
}

.site-header-shell .store-header {
    grid-template-columns: 270px 136px minmax(330px, 1fr) auto;
    gap: 18px;
    min-height: 72px;
    padding-top: 11px;
    padding-bottom: 11px;
}

.site-header-shell .store-brand {
    gap: 10px;
}

.site-header-shell .store-brand .brand-mark {
    width: 46px;
    height: 46px;
    border-radius: 14px;
}

.site-header-shell .store-brand strong {
    font-size: 17px;
    line-height: 1.05;
}

.site-header-shell .store-brand small {
    max-width: 178px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 9px;
}

.site-header-shell .header-proof {
    min-height: 46px;
    padding: 7px 10px;
    border-radius: 12px;
}

.site-header-shell .header-proof span,
.site-header-shell .header-proof small {
    font-size: 10px;
}

.site-header-shell .header-proof b {
    font-size: 12px;
}

.site-header-shell .store-search {
    min-height: 48px;
    gap: 9px;
    padding: 0 8px 0 14px;
    border-radius: 14px;
}

.site-header-shell .store-search span {
    font-size: 18px;
}

.site-header-shell .store-search input {
    min-height: 44px;
    font-size: 14px;
}

.site-header-shell .store-search button {
    min-height: 36px;
    padding: 0 13px;
    border-radius: 10px;
}

.site-header-shell .header-actions {
    gap: 8px;
}

.site-header-shell .round-action {
    width: 42px;
    height: 42px;
    border-radius: 12px;
}

.site-header-shell .account-action,
.site-header-shell .balance-chip {
    min-width: 104px;
    padding: 7px 10px;
    border-radius: 12px;
}

.site-header-shell .account-action span,
.site-header-shell .balance-chip span {
    font-size: 10px;
}

.site-header-shell .pill {
    min-height: 40px;
    padding: 0 13px;
    border-radius: 12px;
}

.site-header-shell .pill.ghost {
    min-width: 74px;
}

.site-header-shell .category-dock {
    min-height: 46px;
    gap: 12px;
    padding-top: 0;
    padding-bottom: 0;
}

.site-header-shell .category-dock a {
    min-height: 46px;
    padding: 0 2px;
    font-size: 12px;
    gap: 7px;
}

.site-header-shell .category-dock span {
    width: 25px;
    height: 25px;
    border-radius: 8px;
    overflow: hidden;
    font-size: 10px;
}

.site-header-shell .category-dock .category-thumb {
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(236,232,220,.12);
}

.site-header-shell .category-dock .category-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.site-header-shell .dock-all {
    min-height: 34px !important;
    padding: 0 14px !important;
    border-radius: 11px;
}

.category-edit-form {
    grid-template-columns: 1fr .42fr .85fr .48fr 1fr .8fr auto auto;
}

@media (max-width: 1180px) {
    .trust-ribbon {
        overflow-x: auto;
        justify-content: flex-start;
    }
    .site-header-shell .store-header {
        grid-template-columns: 230px minmax(260px, 1fr) auto;
    }
    .site-header-shell .header-proof {
        display: none;
    }
}

@media (max-width: 760px) {
    .site-header-shell .store-header {
        grid-template-columns: 1fr;
        gap: 10px;
        min-height: auto;
    }
    .site-header-shell .header-actions {
        justify-content: flex-start;
        flex-wrap: wrap;
    }
}

.site-header-shell + main {
    padding-top: 0;
}

.gamefront {
    margin-top: 0;
}
