@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Space+Grotesk:wght@500;700&display=swap');

:root {
    --bg-main: #07111f;
    --bg-deep: #0b1628;
    --bg-soft: rgba(11, 22, 40, 0.86);
    --panel: rgba(10, 21, 38, 0.86);
    --panel-strong: rgba(14, 27, 48, 0.96);
    --panel-muted: rgba(17, 33, 56, 0.8);
    --line: rgba(149, 184, 255, 0.14);
    --line-strong: rgba(108, 179, 255, 0.28);
    --glow-blue: #66c8ff;
    --glow-cyan: #83f7ff;
    --glow-gold: #ffd27a;
    --glow-ember: #ff9c6b;
    --text-main: #f4f8ff;
    --text-soft: #c1d5f0;
    --text-dim: #89a5cb;
    --danger: #ff6f7c;
    --success: #4fe0b6;
    --warning: #ffbf70;
    --shadow-xl: 0 24px 80px rgba(2, 8, 18, 0.44);
    --shadow-lg: 0 18px 45px rgba(3, 11, 24, 0.35);
    --radius-xl: 28px;
    --radius-lg: 22px;
    --radius-md: 18px;
    --radius-sm: 14px;
}

html {
    background:
        radial-gradient(circle at top left, rgba(102, 200, 255, 0.18), transparent 32%),
        radial-gradient(circle at top right, rgba(255, 156, 107, 0.16), transparent 30%),
        linear-gradient(180deg, #07111f 0%, #09182a 45%, #06101b 100%);
}

body {
    font-family: 'Manrope', sans-serif;
    color: var(--text-main);
    background: transparent;
    min-height: 100vh;
}

body.nav-open {
    overflow: hidden;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 15% 20%, rgba(131, 247, 255, 0.08), transparent 24%),
        radial-gradient(circle at 85% 8%, rgba(255, 210, 122, 0.08), transparent 18%),
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: auto, auto, 44px 44px, 44px 44px;
    opacity: 0.55;
}

* {
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: -0.03em;
}

a,
button,
input,
select,
textarea {
    transition: 0.24s ease;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid rgba(131, 247, 255, 0.85);
    outline-offset: 2px;
}

.container {
    max-width: 1320px;
    padding-left: 24px;
    padding-right: 24px;
}

.site-shell {
    position: relative;
    min-height: 100vh;
}

.site-aurora,
.site-grid-mask {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.site-aurora {
    background:
        radial-gradient(circle at 18% 22%, rgba(102, 200, 255, 0.13), transparent 30%),
        radial-gradient(circle at 78% 12%, rgba(255, 156, 107, 0.11), transparent 26%),
        radial-gradient(circle at 65% 75%, rgba(131, 247, 255, 0.08), transparent 22%);
    filter: blur(14px);
}

.site-grid-mask {
    background: linear-gradient(180deg, rgba(4, 12, 24, 0.08) 0%, rgba(4, 12, 24, 0.2) 100%);
}

.top-strip {
    position: relative;
    z-index: 3;
    border-bottom: 1px solid rgba(149, 184, 255, 0.08);
    background: rgba(6, 13, 24, 0.78);
    backdrop-filter: blur(18px);
}

.top-strip-inner {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    color: var(--text-dim);
    font-size: 12px;
}

.top-strip-pills,
.top-strip-links {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.top-strip-links a {
    color: var(--text-dim);
}

.top-strip-links a:hover {
    color: var(--glow-cyan);
}

.top-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(131, 247, 255, 0.08);
    border: 1px solid rgba(131, 247, 255, 0.14);
    color: var(--text-soft);
}

.top-pill strong {
    color: var(--text-main);
    font-weight: 700;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    height: auto;
    min-height: 84px;
    background: rgba(7, 15, 28, 0.72);
    border-bottom: 1px solid rgba(149, 184, 255, 0.12);
    backdrop-filter: blur(24px);
}

.nav-wrap {
    min-height: 84px;
    display: flex;
    align-items: center;
    gap: 24px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.brand-mark {
    width: 46px;
    height: 46px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(160deg, rgba(131, 247, 255, 0.92) 0%, rgba(102, 200, 255, 1) 38%, rgba(255, 210, 122, 0.94) 100%);
    box-shadow: 0 10px 24px rgba(102, 200, 255, 0.32);
    color: #06111f;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 16px;
}

.brand strong {
    font-size: 18px;
}

.brand small {
    color: var(--text-dim);
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.main-nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(149, 184, 255, 0.08);
}

.main-nav a {
    padding: 10px 16px;
    border-radius: 999px;
    color: var(--text-dim);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--text-main);
    background: linear-gradient(135deg, rgba(131, 247, 255, 0.18), rgba(255, 210, 122, 0.14));
}

.nav-actions {
    gap: 12px;
    margin-left: auto;
    display: flex;
    align-items: center;
}

.nav-balance {
    min-width: 0;
    padding: 10px 16px;
}

.user-chip {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 10px 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(149, 184, 255, 0.08);
}

.user-chip span {
    font-weight: 700;
}

.user-chip small {
    color: var(--text-dim);
    letter-spacing: 0.05em;
}

.header-toggle {
    display: inline-flex;
    min-width: 46px;
    height: 46px;
    padding: 0 14px;
    border: 1px solid rgba(149, 184, 255, 0.12);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-main);
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
}

.header-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 2px 0;
    background: currentColor;
    border-radius: 999px;
}

.header-toggle strong {
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

body.nav-open .header-toggle {
    background: rgba(131, 247, 255, 0.08);
    border-color: rgba(131, 247, 255, 0.28);
}

.mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(3, 9, 18, 0.55);
    backdrop-filter: blur(4px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    z-index: 18;
}

.mobile-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: min(380px, 100vw);
    height: 100vh;
    padding: 100px 24px 28px;
    overflow-y: auto;
    background: rgba(7, 16, 30, 0.96);
    border-left: 1px solid rgba(149, 184, 255, 0.14);
    box-shadow: -18px 0 44px rgba(1, 7, 16, 0.35);
    transform: translateX(100%);
    transition: transform 0.28s ease;
    z-index: 19;
}

.drawer-head {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.drawer-head h2 {
    margin: 6px 0 0;
    font-size: 22px;
}

.drawer-close {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    border: 1px solid rgba(149, 184, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-main);
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.drawer-status-row,
.chip-action-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.drawer-status-row {
    margin-bottom: 20px;
}

.status-chip,
.quick-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 9px 14px;
    border-radius: 999px;
    border: 1px solid rgba(149, 184, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-soft);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.status-chip.live {
    border-color: rgba(79, 224, 182, 0.25);
    background: rgba(79, 224, 182, 0.08);
    color: #bffde9;
}

.status-chip.warm {
    border-color: rgba(255, 210, 122, 0.24);
    background: rgba(255, 210, 122, 0.08);
    color: #ffe8b2;
}

.status-chip.muted {
    color: var(--text-dim);
}

body.nav-open .mobile-overlay {
    opacity: 1;
    pointer-events: auto;
}

body.nav-open .mobile-drawer {
    transform: translateX(0);
}

.mobile-section + .mobile-section {
    margin-top: 18px;
}

.mobile-label {
    margin-bottom: 10px;
    color: var(--text-dim);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.mobile-account,
.mobile-nav-link,
.mobile-highlight {
    display: block;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(149, 184, 255, 0.08);
}

.mobile-account strong {
    display: block;
    font-size: 15px;
}

.mobile-account span,
.mobile-highlight {
    color: var(--text-soft);
    font-size: 13px;
}

.drawer-cta-row {
    display: grid;
    gap: 12px;
    margin-top: 14px;
}

.compact-google {
    min-height: 50px;
    margin: 0;
}

.mobile-nav {
    display: grid;
    gap: 10px;
}

.mobile-nav-link {
    color: var(--text-main);
    font-weight: 700;
}

.mobile-nav-link span {
    display: block;
}

.mobile-nav-link small {
    display: block;
    margin-top: 5px;
    color: var(--text-dim);
    font-size: 12px;
    font-weight: 600;
}

.mobile-nav-link:hover,
.mobile-nav-link:focus-visible {
    border-color: rgba(131, 247, 255, 0.24);
    background: rgba(131, 247, 255, 0.08);
}

.mobile-dock {
    display: none;
}

.page-shell,
.page-content,
.site-footer,
.admin-bar {
    position: relative;
    z-index: 2;
}

.page-content {
    padding-top: 42px;
    padding-bottom: 72px;
}

.broadcast-stack {
    display: grid;
    gap: 14px;
    margin-bottom: 18px;
}

.broadcast-card {
    padding: 16px 18px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(131, 247, 255, 0.12), rgba(255, 210, 122, 0.08));
    border: 1px solid rgba(131, 247, 255, 0.18);
}

.broadcast-card strong {
    display: block;
    margin-bottom: 5px;
    font-family: 'Space Grotesk', sans-serif;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 48px;
    padding: 12px 22px;
    border-radius: 16px;
    font-weight: 800;
    font-size: 13px;
    letter-spacing: 0.01em;
    background: linear-gradient(135deg, var(--glow-cyan) 0%, var(--glow-blue) 50%, var(--glow-gold) 100%);
    color: #07111f;
    box-shadow: 0 14px 30px rgba(102, 200, 255, 0.18);
}

.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 35px rgba(102, 200, 255, 0.26);
}

.button.secondary,
.button.ghost {
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(149, 184, 255, 0.12);
    box-shadow: none;
}

.button.secondary:hover,
.button.ghost:hover {
    border-color: rgba(131, 247, 255, 0.34);
    background: rgba(131, 247, 255, 0.08);
    color: var(--text-main);
}

.button.danger {
    background: linear-gradient(135deg, #ff8a85, #ff6f7c);
    color: #26090c;
}

.button.small-button {
    min-height: 40px;
    padding: 10px 14px;
    border-radius: 14px;
}

.panel,
.orders-table-wrap,
.table-wrap,
.form-card,
.topup-card,
.auth-card,
.note-box,
.empty-state,
.wallet-hero,
.store-hero,
.game-detail-hero,
.status-hero {
    background: var(--panel);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(18px);
}

.panel,
.form-card,
.topup-card,
.auth-card,
.note-box,
.empty-state {
    border-radius: var(--radius-lg);
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
    align-items: end;
    margin-bottom: 28px;
}

.section-heading h1 {
    margin-top: 8px;
}

.section-heading p,
.muted,
.note-box p,
.empty-state p,
.alert {
    color: var(--text-soft);
}

.eyebrow {
    color: var(--glow-cyan);
    letter-spacing: 0.18em;
}

.alert {
    border-radius: 20px;
    border: 1px solid rgba(149, 184, 255, 0.12);
    background: rgba(13, 24, 43, 0.82);
    backdrop-filter: blur(10px);
}

.alert-success {
    border-color: rgba(79, 224, 182, 0.26);
    color: #b9ffe8;
}

.alert-error {
    border-color: rgba(255, 111, 124, 0.26);
    color: #ffd1d6;
}

.alert-warning {
    border-color: rgba(255, 191, 112, 0.24);
    color: #ffe3ba;
}

.alert-info {
    border-color: rgba(131, 247, 255, 0.2);
    color: #d2feff;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="search"],
select,
textarea {
    min-height: 52px;
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(149, 184, 255, 0.12);
    color: var(--text-main);
}

textarea {
    min-height: 120px;
}

input::placeholder,
textarea::placeholder {
    color: rgba(193, 213, 240, 0.52);
}

input:focus,
select:focus,
textarea:focus {
    border-color: rgba(131, 247, 255, 0.44);
    box-shadow: 0 0 0 4px rgba(131, 247, 255, 0.08);
}

label > span {
    color: var(--text-soft);
}

code {
    font-family: Consolas, 'Courier New', monospace;
    font-size: 13px;
    color: #dff3ff;
    background: rgba(255, 255, 255, 0.04);
    padding: 2px 6px;
    border-radius: 8px;
}

pre {
    margin: 0;
    padding: 16px 18px;
    border-radius: 18px;
    background: rgba(3, 10, 18, 0.88);
    border: 1px solid rgba(149, 184, 255, 0.1);
    overflow-x: auto;
}

pre code {
    display: block;
    background: transparent;
    padding: 0;
    white-space: pre-wrap;
    word-break: break-word;
    color: #d7edff;
}

.pill {
    border-radius: 999px;
}

.site-footer {
    margin-top: 20px;
    padding-top: 56px;
    padding-bottom: 34px;
    background: rgba(5, 12, 23, 0.72);
    border-top: 1px solid rgba(149, 184, 255, 0.08);
    backdrop-filter: blur(16px);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 24px;
}

.footer-links {
    display: grid;
    gap: 10px;
}

.footer-links a {
    color: var(--text-soft);
}

.footer-links a:hover {
    color: var(--glow-cyan);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 26px;
}

.hero-shell {
    display: grid;
    gap: 22px;
}

.hero-panel {
    border-radius: 34px;
    padding: 34px;
    background:
        radial-gradient(circle at top left, rgba(131, 247, 255, 0.18), transparent 34%),
        linear-gradient(145deg, rgba(9, 22, 39, 0.94), rgba(6, 16, 30, 0.92));
    border: 1px solid rgba(149, 184, 255, 0.14);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.92fr);
    gap: 28px;
    align-items: stretch;
}

.hero-copy-block h1 {
    font-size: clamp(2.35rem, 4vw, 4rem);
    line-height: 1;
    margin-bottom: 14px;
}

.hero-copy-block p {
    max-width: 640px;
    color: var(--text-soft);
    font-size: 15px;
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.mini-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 28px;
}

.mini-stat {
    padding: 18px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(149, 184, 255, 0.1);
}

.mini-stat strong {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 26px;
    margin-bottom: 6px;
}

.mini-stat span {
    color: var(--text-dim);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-showcase,
.showcase-card,
.info-card,
.validator-panel,
.catalog-card,
.pack-card-pro,
.summary-card-pro,
.dashboard-hero,
.surface-card {
    border-radius: 26px;
    background: rgba(10, 21, 38, 0.84);
    border: 1px solid rgba(149, 184, 255, 0.12);
    box-shadow: var(--shadow-lg);
}

.showcase-card {
    padding: 18px;
    display: grid;
    gap: 16px;
    min-height: 100%;
}

.slider-stage {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    min-height: 360px;
    background: linear-gradient(135deg, rgba(102, 200, 255, 0.18), rgba(255, 210, 122, 0.18));
}

.slider-frame {
    position: absolute;
    inset: 0;
}

.slider-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(1.03);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.slider-slide.active {
    opacity: 1;
    transform: scale(1);
}

.slider-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: end;
    padding: 22px;
    background: linear-gradient(180deg, rgba(5, 14, 25, 0.1) 0%, rgba(5, 14, 25, 0.84) 100%);
}

.slider-copy strong {
    display: block;
    margin-bottom: 6px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 22px;
}

.slider-copy span {
    color: var(--text-soft);
    font-size: 13px;
    line-height: 1.6;
}

.slider-dots {
    display: flex;
    gap: 8px;
}

.slider-dots button {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    border: none;
    background: rgba(255, 255, 255, 0.22);
    cursor: pointer;
}

.slider-dots button.active {
    width: 32px;
    background: linear-gradient(135deg, var(--glow-cyan), var(--glow-gold));
}

.utility-grid,
.feature-grid,
.dashboard-layout,
.wallet-layout,
.status-layout {
    display: grid;
    gap: 22px;
}

.utility-grid {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
}

.info-card,
.validator-panel {
    padding: 24px;
}

.search-form-pro {
    display: flex;
    gap: 12px;
    margin-top: 18px;
}

.search-form-pro input {
    flex: 1;
}

.feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card {
    padding: 22px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(149, 184, 255, 0.08);
}

.feature-card h3 {
    margin-bottom: 8px;
}

.catalog-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 20px;
}

.catalog-grid,
.game-pack-grid,
.cart-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.catalog-card {
    overflow: hidden;
}

.catalog-card-media,
.pack-card-media,
.cart-card-media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(102, 200, 255, 0.18), rgba(255, 210, 122, 0.16));
}

.catalog-card-media img,
.pack-card-media img,
.cart-card-media img,
.hero-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.catalog-card-body,
.pack-card-body,
.cart-card-body {
    padding: 22px;
    display: grid;
    gap: 14px;
}

.catalog-card h3,
.pack-card-body h3,
.cart-card-body h3 {
    font-size: 21px;
}

.catalog-card p,
.pack-card-body p,
.cart-card-body p {
    color: var(--text-soft);
    font-size: 13px;
    line-height: 1.7;
}

.catalog-meta,
.pack-card-meta,
.cart-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.meta-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(149, 184, 255, 0.09);
    color: var(--text-soft);
    font-size: 12px;
    font-weight: 700;
}

.catalog-footer,
.pack-card-footer,
.cart-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.price-label {
    display: flex;
    flex-direction: column;
}

.price-label strong {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 28px;
}

.price-label span {
    color: var(--text-dim);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.game-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) 360px;
    gap: 22px;
    margin-bottom: 24px;
}

.hero-copy-card,
.hero-visual {
    padding: 28px;
    border-radius: 26px;
    background: rgba(10, 21, 38, 0.88);
    border: 1px solid rgba(149, 184, 255, 0.12);
    box-shadow: var(--shadow-lg);
}

.hero-visual {
    padding: 0;
    overflow: hidden;
    min-height: 100%;
}

.pack-card-pro {
    overflow: hidden;
}

.pack-card-top {
    position: relative;
}

.pack-ribbon-pro {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #07111f;
    background: linear-gradient(135deg, var(--glow-cyan), var(--glow-gold));
}

.pack-ribbon-pro.alt {
    background: linear-gradient(135deg, #8fffc2, #64e4ff);
}

.pack-actions {
    display: grid;
    gap: 10px;
}

.checkout-layout-pro,
.dashboard-layout,
.wallet-layout,
.status-layout {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 400px);
}

.checkout-sidebar,
.dashboard-sidebar {
    display: grid;
    gap: 18px;
}

.summary-card-pro {
    overflow: hidden;
}

.summary-visual {
    aspect-ratio: 16 / 10;
    background: linear-gradient(135deg, rgba(102, 200, 255, 0.16), rgba(255, 210, 122, 0.18));
}

.summary-content {
    padding: 24px;
}

.summary-list {
    display: grid;
    gap: 14px;
    margin-top: 18px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(149, 184, 255, 0.08);
}

.summary-item:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.summary-item span {
    color: var(--text-dim);
}

.summary-item strong {
    text-align: right;
}

.trust-panel {
    padding: 24px;
}

.trust-list {
    margin: 16px 0 0;
    padding-left: 18px;
    color: var(--text-soft);
    display: grid;
    gap: 10px;
}

.form-card-pro {
    padding: 28px;
}

.form-section-title p {
    color: var(--text-soft);
    margin-top: 8px;
}

.validation-box-pro {
    padding: 16px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(149, 184, 255, 0.1);
}

.validation-result {
    min-height: 24px;
    font-size: 13px;
}

.validation-result.success {
    color: #b9ffe8;
}

.validation-result.error {
    color: #ffd1d6;
}

.submit-note {
    color: var(--text-dim);
    font-size: 12px;
}

.stack-actions {
    display: grid;
    gap: 12px;
}

.inline-form {
    margin: 0;
}

.inline-form .button {
    width: 100%;
}

.api-access-card {
    display: grid;
    gap: 16px;
}

.api-key-reveal {
    overflow: hidden;
}

.dashboard-hero {
    padding: 28px;
}

.dashboard-hero h1 {
    margin: 6px 0 10px;
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 18px;
}

.stat-slab {
    padding: 18px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(149, 184, 255, 0.08);
}

.stat-slab strong {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 26px;
    margin-bottom: 4px;
}

.surface-card {
    padding: 24px;
}

.list-card {
    padding: 22px;
    border-radius: 24px;
    background: rgba(10, 21, 38, 0.82);
    border: 1px solid rgba(149, 184, 255, 0.1);
    box-shadow: var(--shadow-lg);
}

.list-card + .list-card {
    margin-top: 16px;
}

.list-card-head {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 14px;
}

.list-card-grid,
.detail-list {
    margin-top: 18px;
}

.detail-list {
    display: grid;
    gap: 12px;
}

.detail-list > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(149, 184, 255, 0.08);
}

.detail-list strong {
    font-size: 13px;
}

.detail-list span {
    color: var(--text-soft);
    text-align: right;
    word-break: break-word;
}

.list-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 18px;
}

.list-card-grid span {
    display: block;
    color: var(--text-dim);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.list-card-grid strong {
    font-size: 15px;
}

.surface-table,
.orders-table-wrap,
.table-wrap {
    border-radius: 24px;
    overflow: hidden;
}

table {
    font-size: 14px;
}

thead {
    background: rgba(255, 255, 255, 0.03);
}

tbody tr:hover {
    background: rgba(131, 247, 255, 0.04);
}

.auth-shell-pro {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 420px);
    gap: 24px;
    align-items: stretch;
    min-height: calc(100vh - 240px);
}

.auth-side {
    padding: 34px;
    border-radius: 30px;
    background:
        radial-gradient(circle at top left, rgba(131, 247, 255, 0.16), transparent 34%),
        linear-gradient(145deg, rgba(9, 22, 39, 0.94), rgba(6, 16, 30, 0.92));
    border: 1px solid rgba(149, 184, 255, 0.14);
    box-shadow: var(--shadow-xl);
}

.auth-side h1 {
    font-size: clamp(2.2rem, 4vw, 3.3rem);
    line-height: 1.02;
    margin-bottom: 16px;
}

.auth-side p {
    max-width: 560px;
    color: var(--text-soft);
    line-height: 1.8;
}

.auth-bullet-list {
    display: grid;
    gap: 14px;
    margin-top: 26px;
}

.auth-bullet {
    padding: 18px 20px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(149, 184, 255, 0.08);
}

.auth-bullet strong {
    display: block;
    margin-bottom: 6px;
}

.auth-card-pro {
    padding: 30px;
    border-radius: 28px;
    background: rgba(8, 18, 33, 0.92);
    border: 1px solid rgba(149, 184, 255, 0.14);
    box-shadow: var(--shadow-xl);
}

.auth-form {
    display: grid;
    gap: 16px;
}

.social-separator {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 18px 0;
    color: var(--text-dim);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.social-separator::before,
.social-separator::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(149, 184, 255, 0.08);
}

.google-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    min-height: 52px;
    padding: 12px 18px;
    border-radius: 16px;
    border: 1px solid rgba(149, 184, 255, 0.12);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    font-weight: 800;
}

.google-button:hover {
    border-color: rgba(131, 247, 255, 0.3);
    background: rgba(131, 247, 255, 0.08);
}

.google-mark {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 14px;
    font-weight: 700;
    background: linear-gradient(135deg, #fff, #f6b871);
    color: #10233c;
}

.status-hero {
    padding: 28px;
    border-radius: 26px;
}

.status-icon {
    width: 70px;
    height: 70px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 28px;
    margin-bottom: 18px;
}

.status-icon.success {
    background: rgba(79, 224, 182, 0.12);
    border: 1px solid rgba(79, 224, 182, 0.3);
    color: var(--success);
}

.status-icon.pending {
    background: rgba(131, 247, 255, 0.12);
    border: 1px solid rgba(131, 247, 255, 0.3);
    color: var(--glow-cyan);
}

.status-icon.failed {
    background: rgba(255, 111, 124, 0.12);
    border: 1px solid rgba(255, 111, 124, 0.3);
    color: var(--danger);
}

.leaderboard-highlight {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 24px;
}

.leaderboard-card {
    padding: 22px;
    border-radius: 24px;
    background: rgba(10, 21, 38, 0.82);
    border: 1px solid rgba(149, 184, 255, 0.1);
}

.leaderboard-card strong {
    display: block;
    font-size: 28px;
    margin-bottom: 10px;
    font-family: 'Space Grotesk', sans-serif;
}

.docs-layout {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 22px;
    align-items: start;
}

.docs-sidebar {
    display: grid;
    gap: 18px;
    position: sticky;
    top: 122px;
}

.docs-content {
    display: grid;
    gap: 18px;
}

.docs-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.docs-card {
    padding: 24px;
    border-radius: 24px;
    background: rgba(10, 21, 38, 0.84);
    border: 1px solid rgba(149, 184, 255, 0.12);
    box-shadow: var(--shadow-lg);
}

.docs-card h2,
.docs-card h3 {
    margin: 8px 0 10px;
}

.docs-nav {
    display: grid;
    gap: 10px;
    margin-top: 12px;
}

.docs-nav a {
    display: block;
    padding: 12px 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(149, 184, 255, 0.08);
    color: var(--text-soft);
    font-weight: 700;
}

.docs-nav a:hover {
    color: var(--text-main);
    border-color: rgba(131, 247, 255, 0.24);
    background: rgba(131, 247, 255, 0.08);
}

.endpoint-grid {
    display: grid;
    gap: 14px;
    margin: 14px 0 18px;
}

.callout-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 16px;
}

.admin-bar {
    background: rgba(8, 16, 29, 0.82);
    border-bottom: 1px solid rgba(149, 184, 255, 0.08);
    backdrop-filter: blur(18px);
}

.admin-tabs {
    display: flex;
    align-items: center;
    overflow-x: auto;
    gap: 8px;
    height: 56px;
}

.admin-tabs a {
    border-bottom: none;
    border-radius: 999px;
    height: 40px;
    padding: 0 16px;
}

.admin-tabs a.active {
    color: var(--text-main);
    background: rgba(131, 247, 255, 0.12);
}

.docs-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(300px, 380px);
    gap: 22px;
    align-items: stretch;
}

.docs-summary-card {
    padding: 24px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(149, 184, 255, 0.1);
}

.docs-summary-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 16px;
}

.docs-summary-item {
    padding: 18px;
    border-radius: 18px;
    background: rgba(3, 10, 18, 0.72);
    border: 1px solid rgba(149, 184, 255, 0.09);
}

.docs-summary-item strong {
    display: block;
    font-size: 24px;
    font-family: 'Space Grotesk', sans-serif;
}

.docs-summary-item span {
    color: var(--text-dim);
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.quick-link-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.docs-copy-row {
    display: grid;
    gap: 12px;
}

.copy-button {
    justify-self: start;
}

.endpoint-card {
    display: grid;
    gap: 14px;
    margin: 14px 0 18px;
}

.endpoint-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}

.endpoint-method {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 72px;
    min-height: 36px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(79, 224, 182, 0.12);
    border: 1px solid rgba(79, 224, 182, 0.24);
    color: #c4ffec;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 12px;
}

.action-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.desktop-google-link {
    display: inline-flex;
}

.quick-chip {
    cursor: pointer;
}

.quick-chip:hover,
.quick-chip:focus-visible {
    border-color: rgba(131, 247, 255, 0.28);
    background: rgba(131, 247, 255, 0.08);
    color: var(--text-main);
}

@media (max-width: 1080px) {
    .hero-grid,
    .game-hero,
    .auth-shell-pro,
    .dashboard-layout,
    .wallet-layout,
    .status-layout,
    .checkout-layout-pro,
    .docs-layout {
        grid-template-columns: 1fr;
    }

    .utility-grid,
    .feature-grid,
    .catalog-grid,
    .game-pack-grid,
    .cart-grid,
    .leaderboard-highlight {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mini-stats,
    .stats-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .docs-sidebar {
        position: static;
    }

    .docs-hero-grid,
    .quick-link-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    .main-nav,
    .nav-actions .user-chip {
        display: none;
    }

    .nav-wrap {
        gap: 16px;
    }

    .top-strip-inner {
        justify-content: center;
    }

    .top-strip-links {
        display: none;
    }

    .nav-actions > a {
        display: none;
    }

    .header-toggle strong {
        display: none;
    }

    .mobile-dock {
        position: fixed;
        left: 14px;
        right: 14px;
        bottom: 14px;
        z-index: 21;
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 10px;
        padding: 10px;
        border-radius: 24px;
        background: rgba(7, 16, 30, 0.92);
        border: 1px solid rgba(149, 184, 255, 0.12);
        box-shadow: 0 18px 44px rgba(1, 7, 16, 0.4);
        backdrop-filter: blur(22px);
    }

    .mobile-dock a,
    .mobile-dock-button {
        min-height: 50px;
        padding: 10px 8px;
        border-radius: 16px;
        border: 1px solid transparent;
        background: rgba(255, 255, 255, 0.04);
        color: var(--text-soft);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        font-size: 12px;
        font-weight: 800;
        letter-spacing: 0.03em;
        cursor: pointer;
    }

    .mobile-dock a.active,
    .mobile-dock-button.active,
    .mobile-dock a:hover,
    .mobile-dock-button:hover {
        color: var(--text-main);
        border-color: rgba(131, 247, 255, 0.22);
        background: rgba(131, 247, 255, 0.08);
    }

    .page-content {
        padding-bottom: 122px;
    }

    .site-footer {
        padding-bottom: 110px;
    }
}

@media (max-width: 680px) {
    .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .page-content {
        padding-top: 26px;
    }

    .hero-panel,
    .auth-side,
    .auth-card-pro,
    .surface-card,
    .dashboard-hero,
    .hero-copy-card,
    .showcase-card,
    .validator-panel,
    .info-card,
    .form-card-pro {
        padding: 22px;
    }

    .catalog-grid,
    .game-pack-grid,
    .cart-grid,
    .feature-grid,
    .quick-link-grid,
    .footer-grid,
    .leaderboard-highlight,
    .mini-stats,
    .stats-row,
    .docs-grid,
    .docs-summary-list,
    .list-card-grid,
    .callout-grid {
        grid-template-columns: 1fr;
    }

    .search-form-pro,
    .hero-actions,
    .action-row,
    .catalog-head,
    .section-heading,
    .catalog-footer,
    .pack-card-footer,
    .cart-card-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .top-pill {
        width: 100%;
        justify-content: center;
    }

    .mobile-drawer {
        padding-top: 84px;
    }

    .detail-list > div {
        flex-direction: column;
        align-items: flex-start;
    }

    .detail-list span {
        text-align: left;
    }

    .mobile-dock {
        left: 10px;
        right: 10px;
        bottom: 10px;
        gap: 8px;
        padding: 8px;
    }

    .mobile-dock a,
    .mobile-dock-button {
        min-height: 46px;
        font-size: 11px;
    }

    .top-strip {
        display: none;
    }
}

/* 1gamestopup-inspired user panel refresh */
:root {
    --bg-main: #2b0b63;
    --bg-deep: #16002d;
    --panel: rgba(43, 11, 99, 0.96);
    --panel-strong: #2e0b68;
    --panel-muted: #21074f;
    --line: rgba(255, 255, 255, 0.12);
    --line-strong: rgba(255, 210, 16, 0.36);
    --glow-blue: #ffd210;
    --glow-cyan: #ffd210;
    --glow-gold: #ffd210;
    --glow-ember: #00d783;
    --text-main: #ffffff;
    --text-soft: rgba(255, 255, 255, 0.78);
    --text-dim: rgba(255, 255, 255, 0.56);
    --shadow-xl: 0 22px 70px rgba(9, 0, 32, 0.34);
    --shadow-lg: 0 16px 44px rgba(9, 0, 32, 0.28);
    --radius-xl: 14px;
    --radius-lg: 12px;
    --radius-md: 10px;
    --radius-sm: 8px;
}

html,
body {
    background: #2b0b63;
}

body::before,
.site-aurora,
.site-grid-mask {
    display: none;
}

h1,
h2,
h3,
h4,
h5,
.eyebrow,
.brand small,
.mini-stat span,
.price-label span,
.stat-slab span,
.list-card-grid span {
    letter-spacing: 0;
}

.top-strip {
    display: none;
}

.site-header {
    min-height: 78px;
    background: #16002d;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: none;
}

.nav-wrap {
    min-height: 78px;
    display: grid;
    grid-template-columns: minmax(180px, 1fr) auto minmax(180px, 1fr);
    gap: 18px;
}

.brand {
    min-width: 0;
}

.brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: #ffd210;
    box-shadow: none;
    color: #16002d;
}

.brand strong {
    font-size: 24px;
    line-height: 1;
}

.brand strong::first-letter {
    color: #ffd210;
}

.brand small {
    display: none;
}

.main-nav {
    justify-content: center;
    padding: 6px;
    border-radius: 24px;
    background: #210747;
    border: 0;
    flex-wrap: nowrap;
}

.main-nav a {
    padding: 10px 20px;
    border-radius: 20px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 15px;
}

.main-nav a:hover,
.main-nav a.active {
    color: #16002d;
    background: #ffd210;
}

.nav-actions {
    justify-self: end;
}

.user-chip,
.nav-balance,
.header-toggle,
.button.ghost,
.button.secondary {
    border-color: rgba(255, 210, 16, 0.24);
    background: rgba(255, 255, 255, 0.05);
}

.button {
    min-height: 44px;
    border-radius: 10px;
    background: #ffd210;
    color: #16002d;
    box-shadow: none;
}

.button:hover {
    transform: translateY(-1px);
    box-shadow: none;
}

.button.secondary,
.button.ghost {
    color: #ffffff;
}

.page-content {
    padding-top: 30px;
}

.storefront-home {
    display: grid;
    gap: 42px;
}

.storefront-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(360px, 0.9fr);
    gap: 22px;
    align-items: stretch;
    min-height: 300px;
    border-radius: 14px;
    background: #2e0b68;
    overflow: hidden;
}

.storefront-slider {
    position: relative;
    min-height: 300px;
    overflow: hidden;
    border-radius: 14px;
}

.storefront-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.36s ease;
}

.storefront-slide.active {
    opacity: 1;
}

.storefront-slide img,
.storefront-slide a {
    display: block;
    width: 100%;
    height: 100%;
}

.storefront-slide img {
    object-fit: cover;
}

.placeholder-slide {
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #351079, #16002d);
}

.placeholder-slide span {
    font-size: 30px;
    font-weight: 800;
}

.storefront-dots {
    position: absolute;
    left: 50%;
    bottom: 12px;
    display: flex;
    gap: 8px;
    transform: translateX(-50%);
}

.storefront-dots button {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    border: 0;
    background: rgba(255, 255, 255, 0.52);
}

.storefront-dots button.active {
    background: #ffffff;
}

.storefront-hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 18px;
    min-width: 0;
    padding: 34px 30px;
}

.storefront-hero-copy > span {
    color: #ffd210;
    font-weight: 700;
}

.storefront-hero-copy h1 {
    max-width: 660px;
    margin: 0;
    font-size: 40px;
    line-height: 1.12;
}

.storefront-hero-copy p {
    max-width: 620px;
    margin: 0;
    color: rgba(255, 255, 255, 0.86);
    font-size: 16px;
    line-height: 1.55;
}

.compact-actions {
    margin-top: 4px;
}

.storefront-section {
    display: grid;
    gap: 20px;
}

.storefront-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.storefront-section-head h2 {
    margin: 0;
    font-size: 38px;
}

.storefront-section-head a,
.inline-link {
    color: #ffffff;
    font-weight: 800;
}

.storefront-section-head a::after {
    content: " ->";
    color: #ffd210;
}

.storefront-game-row,
.storefront-game-grid {
    display: grid;
    gap: 30px;
}

.storefront-game-row {
    grid-template-columns: repeat(3, minmax(0, 216px));
}

.storefront-game-grid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
}

.storefront-game-card {
    position: relative;
    min-height: 272px;
    overflow: hidden;
    border-radius: 12px;
    background: #210747;
    color: #ffffff;
}

.storefront-game-card.compact {
    min-height: 272px;
}

.storefront-game-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.storefront-game-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(17, 0, 38, 0.08) 35%, rgba(17, 0, 38, 0.92) 100%);
}

.game-region-badge {
    position: absolute;
    z-index: 1;
    top: 10px;
    left: 10px;
    padding: 7px 12px;
    border-radius: 9px;
    background: #68b842;
    color: #ffffff;
    font-size: 13px;
}

.game-card-copy {
    position: absolute;
    z-index: 1;
    left: 14px;
    right: 14px;
    bottom: 16px;
    display: grid;
    gap: 3px;
}

.game-card-copy small {
    color: rgba(255, 255, 255, 0.78);
    font-size: 13px;
}

.game-card-copy strong {
    font-size: 19px;
    line-height: 1.2;
}

.storefront-search {
    display: flex;
    gap: 10px;
    min-width: min(420px, 100%);
}

.storefront-search input {
    min-height: 44px;
}

.service-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 18px;
    border-radius: 12px;
    background: #210747;
}

.service-strip a {
    display: flex;
    justify-content: center;
    padding: 14px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
    font-weight: 800;
}

.account-panel-shell {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}

.account-sidebar {
    position: sticky;
    top: 104px;
    display: grid;
    gap: 10px;
}

.account-nav-link {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 50px;
    padding: 13px 16px;
    border-radius: 8px;
    color: #ffffff;
    background: #2a0b63;
    font-weight: 700;
}

.account-nav-link.active,
.account-nav-link:hover {
    background: #ffd210;
    color: #16002d;
}

.account-nav-link.danger {
    background: rgba(255, 0, 74, 0.14);
}

.account-nav-icon {
    width: 26px;
    text-align: center;
    font-weight: 900;
}

.api-service-main {
    display: grid;
    gap: 24px;
}

.api-service-section {
    display: grid;
    gap: 16px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.38);
}

.service-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
}

.service-heading h1,
.service-heading h2 {
    margin: 0;
    font-size: 28px;
}

.service-heading h1::after,
.service-heading h2::after {
    content: "";
    display: block;
    width: 160px;
    height: 3px;
    margin-top: 12px;
    background: #ffd210;
}

.service-heading span {
    color: #ffd210;
    font-weight: 800;
}

.api-key-toolbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 14px;
    align-items: end;
}

.api-key-toolbar label,
.api-product-filters label {
    display: grid;
    gap: 8px;
}

.api-key-toolbar input,
.api-product-filters input,
.api-product-filters select {
    border-color: rgba(255, 255, 255, 0.72);
    background: #2a0b63;
}

.revoke-row {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.revoke-row span,
.api-key-once {
    color: rgba(255, 255, 255, 0.62);
}

.api-key-once.warning {
    color: #ffd210;
}

.api-product-filters {
    display: grid;
    grid-template-columns: minmax(220px, 360px) minmax(0, 1fr);
    gap: 20px;
}

.api-product-table-wrap {
    overflow-x: auto;
    border-radius: 8px;
}

.api-product-table {
    min-width: 880px;
    border-collapse: collapse;
    background: #210747;
}

.api-product-table th {
    padding: 18px;
    background: #c49a17;
    color: #16002d;
    text-align: left;
}

.api-product-table td {
    padding: 14px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.product-thumb {
    display: inline-flex;
    width: 52px;
    height: 52px;
    overflow: hidden;
    border-radius: 8px;
    background: #2a0b63;
}

.product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 1180px) {
    .nav-wrap {
        grid-template-columns: auto 1fr auto;
    }

    .main-nav {
        overflow-x: auto;
        justify-content: flex-start;
        max-width: 100%;
    }

    .storefront-hero,
    .account-panel-shell {
        grid-template-columns: 1fr;
    }

    .account-sidebar {
        position: static;
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    }
}

@media (max-width: 820px) {
    .site-header {
        min-height: 70px;
    }

    .nav-wrap {
        display: flex;
        min-height: 70px;
    }

    .brand strong {
        font-size: 18px;
    }

    .storefront-home {
        gap: 30px;
    }

    .storefront-hero {
        gap: 0;
        min-height: 0;
        border-radius: 0;
        margin-left: -16px;
        margin-right: -16px;
    }

    .storefront-slider {
        min-height: 210px;
        border-radius: 0;
    }

    .storefront-hero-copy {
        padding: 22px 16px 26px;
    }

    .storefront-hero-copy h1 {
        font-size: 30px;
    }

    .storefront-section-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .storefront-section-head h2 {
        font-size: 30px;
    }

    .storefront-game-row,
    .storefront-game-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .storefront-game-card,
    .storefront-game-card.compact {
        min-height: 230px;
    }

    .storefront-search,
    .api-key-toolbar,
    .api-product-filters,
    .service-strip {
        grid-template-columns: 1fr;
        width: 100%;
    }

    .api-key-toolbar {
        align-items: stretch;
    }

    .account-sidebar {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .container {
        padding-left: 14px;
        padding-right: 14px;
    }

    .page-content {
        padding-top: 18px;
    }

    .brand-mark {
        width: 30px;
        height: 30px;
    }

    .storefront-slider {
        min-height: 178px;
    }

    .storefront-hero-copy h1 {
        font-size: 26px;
    }

    .storefront-hero-copy p {
        font-size: 14px;
    }

    .storefront-game-row,
    .storefront-game-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .storefront-game-card,
    .storefront-game-card.compact {
        min-height: 198px;
        border-radius: 10px;
    }

    .game-card-copy {
        left: 10px;
        right: 10px;
        bottom: 12px;
    }

    .game-card-copy strong {
        font-size: 15px;
    }

    .game-region-badge {
        top: 8px;
        left: 8px;
        padding: 6px 9px;
        font-size: 11px;
    }
}

/* Final mobile polish for the 1gamestopup-style user panel refresh. */
body,
.site-shell {
    overflow-x: hidden;
}

.brand > span:last-child,
.storefront-home,
.storefront-hero,
.storefront-section,
.account-panel-shell,
.account-sidebar,
.api-service-main,
.api-service-section,
.docs-layout,
.docs-sidebar,
.docs-content,
.docs-card,
.docs-copy-row {
    min-width: 0;
}

.brand strong {
    display: block;
    max-width: 260px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.account-chip {
    align-items: flex-start;
    min-width: 150px;
    padding: 10px 14px;
    border: 1px solid rgba(255, 210, 16, 0.28);
    border-radius: 16px;
    background: #210747;
}

.account-chip small {
    color: #05d878;
    font-weight: 900;
}

.storefront-search input,
.api-key-toolbar input,
.api-product-filters input,
.api-product-filters select {
    width: 100%;
    min-width: 0;
}

.dashboard-hero.docs-hero,
.docs-card,
.docs-summary-card,
.feature-card {
    border-color: rgba(255, 210, 16, 0.16);
    background: #210747;
}

.dashboard-hero.docs-hero {
    border-radius: 14px;
    box-shadow: none;
}

.docs-card {
    border-radius: 12px;
    box-shadow: none;
}

.docs-nav a,
.docs-summary-item,
.endpoint-card,
.meta-chip {
    border-color: rgba(255, 210, 16, 0.14);
    background: rgba(255, 255, 255, 0.05);
}

.endpoint-method {
    background: #ffd210;
    color: #16002d;
}

.docs-copy-row pre,
.docs-card > pre,
.api-product-table-wrap {
    max-width: 100%;
    overflow-x: auto;
}

.docs-copy-row pre,
.docs-card > pre {
    border: 1px solid rgba(255, 210, 16, 0.16);
    border-radius: 10px;
    background: #14002d;
}

.docs-copy-row code,
.docs-card > pre code {
    white-space: pre;
}

@media (max-width: 1180px) {
    .main-nav {
        justify-content: center;
        overflow: visible;
    }
}

@media (max-width: 820px) {
    .account-sidebar {
        display: none;
    }

    .storefront-search {
        display: grid;
    }

    .docs-sidebar {
        position: static;
    }

    .docs-summary-list,
    .callout-grid,
    .endpoint-grid {
        grid-template-columns: 1fr;
    }

    .docs-copy-row .button,
    .api-key-toolbar .button,
    .revoke-row .button {
        width: 100%;
    }
}

@media (max-width: 520px) {
    .brand strong {
        max-width: 168px;
    }

    .storefront-hero {
        margin-left: -14px;
        margin-right: -14px;
    }

    .api-service-section,
    .docs-card,
    .docs-summary-card {
        padding: 16px;
    }

    .service-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .service-heading h1,
    .service-heading h2 {
        font-size: 24px;
    }

    .api-product-table {
        min-width: 720px;
    }
}

/* Aluu-inspired smooth API checker/storefront pass */
:root {
    --bg-main: #0b1220;
    --bg-deep: #050914;
    --card-bg: rgba(15, 23, 42, 0.82);
    --card-strong: #111827;
    --stroke-soft: rgba(148, 163, 184, 0.18);
    --stroke-bright: rgba(34, 211, 238, 0.34);
    --glow-cyan: #22d3ee;
    --glow-blue: #3b82f6;
    --glow-green: #22c55e;
    --text-main: #f8fafc;
    --text-soft: #cbd5e1;
    --text-dim: #94a3b8;
}

html,
body {
    background:
        radial-gradient(circle at top left, rgba(34, 211, 238, 0.22), transparent 30%),
        radial-gradient(circle at 85% 8%, rgba(59, 130, 246, 0.22), transparent 34%),
        linear-gradient(180deg, #0b1220 0%, #070b14 100%);
    color: var(--text-main);
}

.site-header {
    background: rgba(5, 9, 20, 0.88);
    border-bottom: 1px solid var(--stroke-soft);
    backdrop-filter: blur(18px);
}

.main-nav,
.account-chip,
.mobile-dock,
.mobile-drawer,
.docs-card,
.surface-card,
.panel,
.form-card,
.summary-card-pro,
.api-service-section,
.service-strip,
.dashboard-hero.docs-hero,
.account-nav-link,
.storefront-hero,
.category-rail a {
    background: var(--card-bg);
    border: 1px solid var(--stroke-soft);
    box-shadow: 0 24px 70px rgba(2, 6, 23, 0.3);
}

.brand-mark,
.main-nav a.active,
.main-nav a:hover,
.button,
.account-nav-link.active,
.account-nav-link:hover,
.endpoint-method {
    background: linear-gradient(135deg, var(--glow-cyan), var(--glow-blue));
    color: #020617;
}

.brand strong::first-letter {
    color: var(--glow-cyan);
}

.button.secondary,
.button.ghost,
.nav-balance,
.header-toggle {
    background: rgba(15, 23, 42, 0.72);
    border-color: var(--stroke-soft);
    color: var(--text-main);
}

.button:hover,
.storefront-game-card:hover,
.category-rail a:hover,
.docs-nav a:hover,
.mobile-nav-link:hover {
    transform: translateY(-2px);
    border-color: var(--stroke-bright);
}

.storefront-home {
    gap: 34px;
}

.storefront-game-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.storefront-hero {
    padding: 14px;
    border-radius: 28px;
    background:
        linear-gradient(135deg, rgba(34, 211, 238, 0.1), rgba(59, 130, 246, 0.07)),
        rgba(15, 23, 42, 0.74);
}

.storefront-slider,
.storefront-game-card,
.storefront-game-card.compact {
    border-radius: 22px;
}

.storefront-hero-copy {
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.52));
}

.storefront-hero-copy > span,
.service-heading span,
.account-chip small,
.inline-link,
.storefront-section-head a {
    color: var(--glow-cyan);
}

.category-rail {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(150px, 1fr);
    gap: 12px;
    overflow-x: auto;
    padding: 4px 2px 10px;
    scroll-snap-type: x mandatory;
}

.category-rail a {
    display: grid;
    gap: 4px;
    min-height: 76px;
    padding: 16px;
    border-radius: 20px;
    scroll-snap-align: start;
}

.category-rail a.active,
.category-rail a:hover {
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.18), rgba(59, 130, 246, 0.14));
}

.category-rail strong {
    color: var(--text-main);
}

.category-rail span {
    color: var(--text-dim);
    font-size: 12px;
}

.game-region-badge,
.pill-success,
.status-chip.live {
    background: rgba(34, 197, 94, 0.18);
    color: #86efac;
    border: 1px solid rgba(34, 197, 94, 0.28);
}

.storefront-game-card {
    background: var(--card-strong);
    border: 1px solid rgba(148, 163, 184, 0.1);
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.storefront-game-card::after {
    background: linear-gradient(180deg, rgba(2, 6, 23, 0.02) 24%, rgba(2, 6, 23, 0.92) 100%);
}

.api-key-toolbar input,
.api-product-filters input,
.api-product-filters select,
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="search"],
select,
textarea {
    border-radius: 14px;
    border-color: var(--stroke-soft);
    background: rgba(2, 6, 23, 0.54);
    color: var(--text-main);
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--stroke-bright);
    box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.12);
}

.api-product-table th {
    background: linear-gradient(135deg, var(--glow-cyan), var(--glow-blue));
    color: #020617;
}

.api-product-table,
.api-product-table td {
    background: rgba(15, 23, 42, 0.78);
}

.service-heading h1::after,
.service-heading h2::after {
    background: linear-gradient(90deg, var(--glow-cyan), var(--glow-blue));
}

.account-sidebar {
    gap: 12px;
}

.account-nav-link {
    border-radius: 16px;
}

.account-nav-link.danger {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.22);
}

.category-table-name {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.compact-preview img {
    max-height: 140px;
    object-fit: cover;
}

.page-mlbb-checker .section-heading,
.page-api-service .account-panel-shell,
.page-api-docs .docs-layout,
.page-admin-categories .admin-category-layout {
    animation: smoothRise 0.45s ease both;
}

@keyframes smoothRise {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 820px) {
    .storefront-hero {
        padding: 0;
        border-radius: 0;
        border-left: 0;
        border-right: 0;
    }

    .storefront-hero-copy {
        border-radius: 0;
    }

    .category-rail {
        grid-auto-columns: minmax(138px, 68%);
        margin-left: -2px;
        margin-right: -2px;
    }

    .main-nav,
    .desktop-google-link {
        display: none;
    }

    .header-toggle {
        margin-left: auto;
    }

    .storefront-game-row,
    .storefront-game-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .split-layout,
    .dashboard-layout,
    .admin-category-layout {
        grid-template-columns: 1fr;
    }

    .form-card,
    .panel,
    .docs-card,
    .surface-card {
        border-radius: 18px;
    }
}

@media (max-width: 520px) {
    .nav-wrap {
        gap: 8px;
    }

    .brand strong {
        max-width: 150px;
        font-size: 16px;
    }

    .account-chip {
        display: none;
    }

    .storefront-section-head h2 {
        font-size: 28px;
    }

    .storefront-game-card,
    .storefront-game-card.compact {
        min-height: 188px;
    }

    .storefront-search {
        grid-template-columns: 1fr;
    }

    .mobile-drawer {
        width: min(100vw, 390px);
        border-radius: 0;
    }

    .api-service-section,
    .docs-card,
    .surface-card,
    .panel,
    .form-card {
        padding: 16px;
    }
}
