:root {
    --bg:          #07050d;
    --bg-alt:      #0d0918;
    --surface:     #130e22;
    --surface-2:   #1a1330;
    --border:      rgba(150, 90, 255, .18);
    --text:        #e9e4f5;
    --muted:       #9a90b5;
    --primary:     #8b3dff;
    --primary-2:   #b46bff;
    --glow:        0 0 24px rgba(139, 61, 255, .55);
    --radius:      14px;
    --font-head:   'Orbitron', system-ui, sans-serif;
    --font-body:   'Inter', system-ui, sans-serif;
    --nav-h:       72px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; letter-spacing: .02em; }

.container { width: min(1180px, 92%); margin-inline: auto; }
.container-narrow { width: min(800px, 92%); }

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    padding: .75rem 1.4rem; border-radius: 10px; font-weight: 600; font-size: .95rem;
    border: 1px solid transparent; cursor: pointer; transition: .25s ease;
}
.btn-sm    { padding: .5rem 1rem; font-size: .88rem; }
.btn-lg    { padding: 1rem 1.9rem; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    color: #fff; box-shadow: var(--glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 36px rgba(139, 61, 255, .8); }
.btn-ghost { border-color: var(--border); color: var(--text); background: rgba(255,255,255,.02); }
.btn-ghost:hover { border-color: var(--primary-2); background: rgba(139, 61, 255, .1); }

.navbar {
    position: fixed; inset: 0 0 auto 0; height: var(--nav-h); z-index: 100;
    transition: background .3s, border-color .3s, backdrop-filter .3s;
    border-bottom: 1px solid transparent;
}
.navbar.scrolled {
    background: rgba(7, 5, 13, .82); backdrop-filter: blur(12px);
    border-bottom-color: var(--border);
}
.nav-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: .65rem; font-family: var(--font-head); font-weight: 800; font-size: 1.2rem; letter-spacing: .12em; text-transform: uppercase; }
.brand img { width: 40px; height: 40px; border-radius: 10px; filter: drop-shadow(0 0 8px rgba(139,61,255,.6)); }
.nav-links { display: flex; align-items: center; gap: 1.6rem; }
.nav-links > a:not(.btn) { color: var(--muted); font-weight: 500; transition: color .2s; }
.nav-links > a:not(.btn):hover { color: #fff; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: .5rem; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text); margin: 5px 0; transition: .3s; }

.hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; padding: calc(var(--nav-h) + 2rem) 0 4rem; }
.hero-bg { position: absolute; inset: 0; background: url("../img/banner.png") center / cover no-repeat; transform: scale(1.05); opacity: .55; }
.hero-overlay { position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(7,5,13,.35) 0%, rgba(7,5,13,.9) 70%), linear-gradient(to bottom, transparent 60%, var(--bg)); }
.hero-content { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; }
.badge { display: inline-block; padding: .4rem 1rem; border: 1px solid var(--border); border-radius: 999px; font-size: .82rem; color: #b9f5c9; background: rgba(20, 12, 36, .6); margin-bottom: 1.5rem; }
.hero h1 { font-size: clamp(2.4rem, 7vw, 5rem); font-weight: 800; text-transform: uppercase; margin-bottom: 1.2rem; }
.glow { color: var(--primary-2); text-shadow: 0 0 30px rgba(180, 107, 255, .8); }
.hero-sub { max-width: 560px; color: var(--muted); font-size: 1.1rem; margin-bottom: 2rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }
.hero-stats { display: flex; gap: 3rem; margin-top: 3.5rem; }
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats strong { font-family: var(--font-head); font-size: 1.6rem; color: #fff; }
.hero-stats span { color: var(--muted); font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; }

.section { padding: 6rem 0; }
.section-alt { background: var(--bg-alt); border-block: 1px solid var(--border); }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 3.5rem; }
.eyebrow { color: var(--primary-2); font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .2em; }
.section-head h2 { font-size: clamp(1.7rem, 4vw, 2.6rem); margin: .6rem 0; }
.section-head p { color: var(--muted); }

.grid { display: grid; gap: 1.5rem; }
.card {
    background: linear-gradient(180deg, var(--surface), var(--bg-alt));
    border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem;
    transition: transform .3s, border-color .3s, box-shadow .3s;
}
.card:hover { transform: translateY(-4px); border-color: rgba(180,107,255,.45); box-shadow: 0 10px 40px rgba(139,61,255,.15); }

.features-grid { grid-template-columns: repeat(3, 1fr); }
.feature-icon {
    width: 52px; height: 52px; display: grid; place-items: center; font-size: 1.5rem;
    border-radius: 12px; background: rgba(139,61,255,.14); color: var(--primary-2);
    border: 1px solid var(--border); margin-bottom: 1.2rem;
}
.feature h3 { font-size: 1.05rem; margin-bottom: .5rem; }
.feature p { color: var(--muted); font-size: .95rem; }

.game-tabs { display: flex; justify-content: center; gap: .8rem; flex-wrap: wrap; margin-bottom: 3rem; }
.game-tab {
    display: flex; align-items: center; gap: .7rem; padding: .55rem 1.1rem .55rem .55rem;
    background: var(--surface); border: 1px solid var(--border); border-radius: 14px;
    color: var(--text); font: inherit; font-weight: 600; cursor: pointer; transition: .25s;
}
.game-tab img { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; }
.game-tab:hover { border-color: rgba(180,107,255,.5); }
.game-tab.active { border-color: var(--primary); box-shadow: 0 0 0 1px var(--primary), var(--glow); background: var(--surface-2); }
.status { display: inline-flex; align-items: center; gap: .35rem; font-size: .72rem; font-weight: 500; color: var(--muted); }
.status::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status-online { color: #5ee38b; }
.status-updating { color: #ffc65c; }
.status-offline { color: #ff6b8a; }

.plans-grid { display: flex; flex-wrap: wrap; justify-content: center; align-items: stretch; gap: 1.1rem; margin-bottom: 2rem; }
.plans-grid > .plan { flex: 1 1 190px; max-width: 260px; }
.plan { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 2rem 1.2rem 1.4rem; }
.plan h3 { font-size: .95rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.plan-price { font-family: var(--font-head); font-size: clamp(1.8rem, 2.6vw, 2.4rem); font-weight: 800; margin: .8rem 0 .2rem; line-height: 1.1; white-space: nowrap; }
.plan-meta { color: var(--muted); font-size: .85rem; margin-bottom: 1rem; }
.plan-save { display: inline-block; padding: .2rem .7rem; border-radius: 999px; font-size: .75rem; font-weight: 600; color: #5ee38b; background: rgba(94,227,139,.1); border: 1px solid rgba(94,227,139,.25); margin-bottom: 1.4rem; }
.plan-save-empty { color: var(--muted); background: transparent; border-color: var(--border); }
.plan .btn { margin-top: auto; }
.plan-featured { border-color: var(--primary); box-shadow: 0 0 0 1px var(--primary), 0 20px 60px rgba(139,61,255,.25); }

.included { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem 1.4rem; margin-bottom: 2.5rem; color: var(--muted); font-size: .9rem; }
.included-item { color: var(--text); }
.plan-tag {
    position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    padding: .25rem .9rem; border-radius: 999px; font-size: .75rem; font-weight: 600; white-space: nowrap;
}

.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.compare-table { width: 100%; border-collapse: collapse; min-width: 560px; }
.compare-table th, .compare-table td { padding: 1rem 1.3rem; text-align: center; border-bottom: 1px solid var(--border); }
.compare-table th:first-child, .compare-table td:first-child { text-align: left; color: var(--muted); }
.compare-table thead th { font-family: var(--font-head); font-size: .9rem; text-transform: uppercase; letter-spacing: .08em; }
.compare-table tbody tr:last-child td { border-bottom: 0; }
.compare-table tbody tr:hover { background: rgba(139,61,255,.05); }
.compare-table .col-featured { background: rgba(139,61,255,.08); }
.yes { color: var(--primary-2); font-weight: 700; }
.no  { color: #4a4360; }

.faq-list { display: grid; gap: 1rem; }
.faq { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.2rem 1.5rem; }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.4rem; color: var(--primary-2); transition: transform .3s; }
.faq[open] summary::after { transform: rotate(45deg); }
.faq p { color: var(--muted); margin-top: .8rem; }

.cta { padding: 5rem 0; }
.cta-inner {
    display: flex; align-items: center; gap: 2rem; padding: 2.5rem;
    border: 1px solid var(--border); border-radius: 20px;
    background: radial-gradient(circle at 0% 50%, rgba(139,61,255,.25), transparent 60%), var(--surface);
}
.cta-inner > div { flex: 1; }
.cta-inner h2 { font-size: 1.7rem; margin-bottom: .4rem; }
.cta-inner p { color: var(--muted); }
.cta-logo { width: 96px; height: 96px; border-radius: 20px; box-shadow: var(--glow); }

.footer { border-top: 1px solid var(--border); padding: 3rem 0 2rem; background: var(--bg-alt); }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center; }
.footer-brand { display: flex; gap: 1rem; align-items: center; }
.footer-brand img { width: 44px; height: 44px; border-radius: 10px; }
.footer-brand strong { font-family: var(--font-head); letter-spacing: .12em; text-transform: uppercase; }
.footer-brand p { color: var(--muted); font-size: .9rem; }
.footer-links { display: flex; gap: 1.5rem; color: var(--muted); }
.footer-links a:hover { color: #fff; }
.footer-copy { grid-column: 1 / -1; color: #5c5474; font-size: .85rem; border-top: 1px solid var(--border); padding-top: 1.5rem; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 960px) {
    .features-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
    .nav-toggle { display: block; }
    .nav-links {
        position: fixed; top: var(--nav-h); left: 0; right: 0;
        flex-direction: column; align-items: stretch; gap: 0; padding: 1rem 4%;
        background: var(--bg); border-bottom: 1px solid var(--border); box-shadow: 0 20px 40px rgba(0,0,0,.6);
        opacity: 0; visibility: hidden; transform: translateY(-12px);
        transition: opacity .25s, transform .25s, visibility .25s;
    }
    .nav-links.open { opacity: 1; visibility: visible; transform: none; }
    .nav-links > a { padding: .9rem 0; text-align: center; }
    .nav-links .btn { margin-top: .5rem; }
    .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nav-toggle.open span:nth-child(2) { opacity: 0; }
    .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    .features-grid { grid-template-columns: 1fr; }
    .plans-grid { gap: .8rem; }
    .plans-grid > .plan { flex-basis: 140px; }
    .plan { padding: 1.8rem .8rem 1.1rem; }
    .hero-stats { gap: 1.8rem; }
    .cta-inner { flex-direction: column; text-align: center; }
    .footer-inner { grid-template-columns: 1fr; }
    .footer-links { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    html { scroll-behavior: auto; }
}

.auth { min-height: 100vh; display: grid; place-items: center; padding: calc(var(--nav-h) + 3rem) 4% 4rem; background: radial-gradient(ellipse at top, rgba(139,61,255,.18), transparent 60%); }
.auth-card { width: min(440px, 100%); background: linear-gradient(180deg, var(--surface), var(--bg-alt)); border: 1px solid var(--border); border-radius: 20px; padding: 2.5rem 2rem; box-shadow: 0 20px 60px rgba(0,0,0,.5), 0 0 0 1px rgba(139,61,255,.08); text-align: center; }
.auth-logo { width: 72px; height: 72px; border-radius: 16px; margin: 0 auto 1.2rem; box-shadow: var(--glow); }
.auth-card h1 { font-size: 1.6rem; text-transform: uppercase; margin-bottom: .4rem; }
.auth-sub { color: var(--muted); margin-bottom: 1.8rem; }
.auth-sub strong { color: var(--primary-2); }
.auth-form { display: grid; gap: 1rem; text-align: left; }
.field { display: grid; gap: .4rem; }
.field span { font-size: .85rem; font-weight: 500; color: var(--muted); }
.field input { width: 100%; padding: .8rem 1rem; border-radius: 10px; border: 1px solid var(--border); background: rgba(7,5,13,.7); color: var(--text); font: inherit; transition: border-color .2s, box-shadow .2s; }
.field input:focus { outline: none; border-color: var(--primary-2); box-shadow: 0 0 0 3px rgba(139,61,255,.25); }
.check { display: flex; align-items: center; gap: .6rem; font-size: .9rem; color: var(--muted); cursor: pointer; }
.check input { accent-color: var(--primary); width: 16px; height: 16px; }
.auth-form .btn { margin-top: .5rem; }
.auth-divider { display: flex; align-items: center; gap: .8rem; margin: 1.8rem 0 1rem; color: var(--muted); font-size: .85rem; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.alert { border-radius: 10px; padding: .8rem 1rem; margin-bottom: 1.2rem; font-size: .9rem; text-align: left; }
.alert-error { background: rgba(255, 70, 110, .1); border: 1px solid rgba(255, 70, 110, .35); color: #ff9db3; }
.client { padding-top: calc(var(--nav-h) + 4rem); min-height: 70vh; }

.client-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.client-head h1 { font-size: clamp(1.6rem, 4vw, 2.4rem); margin-top: .4rem; }
.client-grid { grid-template-columns: repeat(3, 1fr); }
.client-grid .card { display: flex; flex-direction: column; gap: .6rem; align-items: flex-start; }
.stat-label { color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; }
.stat-value { font-family: var(--font-head); font-size: 1.6rem; }
.stat-small { font-family: var(--font-body); font-size: 1.05rem; word-break: break-all; }
.hint { color: #6f6688; font-size: .78rem; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 720px) { .client-grid { grid-template-columns: 1fr; } }.selected-plan { display: flex; align-items: center; gap: .8rem; }
.selected-plan img { width: 44px; height: 44px; border-radius: 10px; }
.selected-plan div { display: flex; flex-direction: column; }
.selected-plan .plan-meta { margin: 0; }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }.feature-icon svg { width: 24px; height: 24px; }
.alert-info { background: rgba(139,61,255,.1); border: 1px solid var(--border); color: var(--text); }
.checkout-card { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 2.5rem; border-color: var(--primary); box-shadow: 0 0 0 1px var(--primary), 0 20px 60px rgba(139,61,255,.2); }
.checkout-action { display: flex; align-items: center; gap: 1.2rem; }
.checkout-price { font-family: var(--font-head); font-size: 1.8rem; }
.client-title { font-size: 1.15rem; text-transform: uppercase; letter-spacing: .08em; margin: 2.5rem 0 1rem; }
.empty-card { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; color: var(--muted); }
.empty-card:hover, .client-grid .card:hover, .checkout-card:hover { transform: none; }
.orders-table td:first-child { color: var(--muted); }
.orders-table th:nth-child(2), .orders-table td:nth-child(2) { text-align: left; }
.badge-status { display: inline-block; padding: .15rem .6rem; border-radius: 999px; font-size: .75rem; font-weight: 600; border: 1px solid; }
.badge-paid { color: #5ee38b; border-color: rgba(94,227,139,.35); background: rgba(94,227,139,.08); }
.badge-pending { color: #ffc65c; border-color: rgba(255,198,92,.35); background: rgba(255,198,92,.08); }
.badge-failed, .badge-canceled { color: #ff9db3; border-color: rgba(255,70,110,.35); background: rgba(255,70,110,.08); }
.account-grid { grid-template-columns: repeat(2, 1fr); margin-top: 2.5rem; }
@media (max-width: 720px) { .account-grid { grid-template-columns: 1fr; } .checkout-action { width: 100%; justify-content: space-between; } }
.client-shell { padding: calc(var(--nav-h) + 2.5rem) 0 4rem; min-height: 100vh; }
.client-layout { display: grid; grid-template-columns: 250px 1fr; gap: 2rem; align-items: start; }
.client-sidebar { position: sticky; top: calc(var(--nav-h) + 1.5rem); background: linear-gradient(180deg, var(--surface), var(--bg-alt)); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.2rem; }
.client-user { display: flex; align-items: center; gap: .8rem; padding: .3rem .3rem 1.2rem; border-bottom: 1px solid var(--border); margin-bottom: 1rem; min-width: 0; }
.client-user > div:not(.client-avatar) { display: flex; flex-direction: column; min-width: 0; }
.client-user strong { font-size: .95rem; }
.client-user span { color: var(--muted); font-size: .78rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.client-avatar {
    --a1: #8b3dff; --a2: #c06bff;
    position: relative; flex: none; width: 46px; height: 46px; border-radius: 14px;
    display: grid; place-items: center; isolation: isolate;
    background: linear-gradient(145deg, var(--a1), var(--a2));
    box-shadow: 0 0 0 2px var(--bg), 0 0 0 3px color-mix(in srgb, var(--a2) 70%, transparent), 0 8px 22px color-mix(in srgb, var(--a1) 55%, transparent);
}
.client-avatar::before {
    content: ''; position: absolute; inset: 0; border-radius: inherit; z-index: -1;
    background:
        radial-gradient(circle at 30% 20%, rgba(255,255,255,.35), transparent 45%),
        repeating-linear-gradient(135deg, rgba(255,255,255,.06) 0 2px, transparent 2px 7px);
}
.client-avatar::after {
    content: ''; position: absolute; right: -3px; bottom: -3px; width: 12px; height: 12px; border-radius: 50%;
    background: #5ee38b; border: 2px solid var(--surface); box-shadow: 0 0 8px rgba(94,227,139,.7);
}
.client-user .client-avatar span {
    display: block; line-height: 1; padding-left: .04em; overflow: visible; white-space: nowrap;
    font-family: var(--font-head); font-weight: 800; font-size: .95rem; letter-spacing: .04em; color: #fff;
    text-shadow: 0 1px 2px rgba(0,0,0,.45);
}
.avatar-0 { --a1: #7b2cff; --a2: #c06bff; }
.avatar-1 { --a1: #5b3dff; --a2: #9d7bff; }
.avatar-2 { --a1: #a12cff; --a2: #ff6bd5; }
.avatar-3 { --a1: #3d4bff; --a2: #6bc8ff; }
.avatar-4 { --a1: #c42cff; --a2: #ff7b9c; }
.avatar-5 { --a1: #6a2cff; --a2: #3dd6ff; }
.avatar-6 { --a1: #8b3dff; --a2: #ff9d4d; }
.avatar-7 { --a1: #4a2cff; --a2: #b46bff; }
.client-nav { display: flex; flex-direction: column; gap: .25rem; }
.client-nav a, .client-logout button { display: flex; align-items: center; gap: .75rem; padding: .7rem .8rem; border-radius: 10px; color: var(--muted); font: inherit; font-weight: 500; transition: .2s; width: 100%; background: none; border: 0; cursor: pointer; text-align: left; }
.client-nav svg { width: 19px; height: 19px; flex: none; }
.client-nav a:hover, .client-logout button:hover { color: #fff; background: rgba(139,61,255,.08); }
.client-nav a.active { color: #fff; background: rgba(139,61,255,.16); box-shadow: inset 3px 0 0 var(--primary-2); }
.client-logout { margin-top: .6rem; padding-top: .6rem; border-top: 1px solid var(--border); }
.client-logout button:hover { color: #ff9db3; background: rgba(255,70,110,.08); }
.client-main { min-width: 0; }
.client-main .client-head { margin-bottom: 1.8rem; align-items: center; }
.client-main .client-head .btn svg { width: 18px; height: 18px; }

.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-bottom: 2rem; }
.stat-card { display: flex; align-items: center; gap: .9rem; padding: 1.1rem 1.2rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); min-width: 0; }
.stat-card > div:last-child { display: flex; flex-direction: column; min-width: 0; }
.stat-icon { flex: none; width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; color: var(--primary-2); background: rgba(139,61,255,.14); border: 1px solid var(--border); }
.stat-icon svg { width: 20px; height: 20px; }
.stat-num { font-family: var(--font-head); font-size: 1.35rem; white-space: nowrap; }
.stat-num-sm { font-family: var(--font-body); font-size: 1rem; font-weight: 600; }

.client-section-head { display: flex; justify-content: space-between; align-items: baseline; margin: 2.2rem 0 1rem; }
.client-section-head .client-title { margin: 0; }
.link-more { color: var(--primary-2); font-size: .88rem; font-weight: 500; }
.link-more:hover { color: #fff; }

.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1rem; }
.product-card { display: flex; flex-direction: column; gap: .8rem; padding: 1.4rem; }
.product-card:hover, .shop-card:hover, .stat-card:hover { transform: none; }
.product-top { display: flex; align-items: center; gap: .8rem; }
.product-top img { width: 46px; height: 46px; border-radius: 11px; }
.product-top > div { display: flex; flex-direction: column; gap: .15rem; }
.product-top strong { font-size: 1.05rem; }
.product-time { display: flex; align-items: center; gap: .5rem; font-weight: 600; }
.product-time svg { width: 18px; height: 18px; color: var(--primary-2); }
.product-expires { color: var(--muted); font-size: .8rem; }
.progress { height: 6px; border-radius: 999px; background: rgba(255,255,255,.06); overflow: hidden; }
.progress-bar { display: block; height: 100%; border-radius: inherit; transition: width .6s ease; }
.progress-ok, .progress-full { background: linear-gradient(90deg, var(--primary), var(--primary-2)); }
.progress-full { width: 100%; }
.progress-mid { background: linear-gradient(90deg, #e0a030, #ffc65c); }
.progress-low { background: linear-gradient(90deg, #e0405f, #ff6b8a); }
.w-0 { width: 0%; } .w-5 { width: 5%; } .w-10 { width: 10%; } .w-15 { width: 15%; } .w-20 { width: 20%; } .w-25 { width: 25%; } .w-30 { width: 30%; } .w-35 { width: 35%; } .w-40 { width: 40%; } .w-45 { width: 45%; } .w-50 { width: 50%; } .w-55 { width: 55%; } .w-60 { width: 60%; } .w-65 { width: 65%; } .w-70 { width: 70%; } .w-75 { width: 75%; } .w-80 { width: 80%; } .w-85 { width: 85%; } .w-90 { width: 90%; } .w-95 { width: 95%; } .w-100 { width: 100%; }

.order-product { display: flex; align-items: center; gap: .6rem; }
.order-product img { width: 26px; height: 26px; border-radius: 7px; }
.badge-none { color: var(--muted); border-color: var(--border); background: transparent; }

.shop-card { padding: 1.6rem; margin-bottom: 1.5rem; scroll-margin-top: calc(var(--nav-h) + 1.5rem); }
.shop-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.2rem; }
.shop-note { color: var(--muted); font-size: .9rem; margin-bottom: 1.2rem; }
.plan-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: .8rem; }
.plan-option { position: relative; cursor: pointer; }
.plan-option input { position: absolute; opacity: 0; pointer-events: none; }
.plan-option-body { position: relative; display: flex; flex-direction: column; align-items: center; gap: .2rem; padding: 1.3rem .6rem 1rem; border: 1px solid var(--border); border-radius: 12px; background: rgba(7,5,13,.5); transition: .2s; height: 100%; text-align: center; }
.plan-option:hover .plan-option-body { border-color: rgba(180,107,255,.5); }
.plan-option input:checked + .plan-option-body { border-color: var(--primary); background: rgba(139,61,255,.12); box-shadow: 0 0 0 1px var(--primary), var(--glow); }
.plan-option input:focus-visible + .plan-option-body { outline: 2px solid var(--primary-2); outline-offset: 2px; }
.plan-option-tag { position: absolute; top: -9px; padding: .1rem .55rem; border-radius: 999px; font-size: .65rem; font-weight: 600; white-space: nowrap; background: linear-gradient(135deg, var(--primary), var(--primary-2)); }
.plan-option-name { color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.plan-option-price { font-family: var(--font-head); font-size: 1.45rem; font-weight: 800; }
.plan-option-meta { font-size: .75rem; color: #5ee38b; }
.shop-actions { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: 1.4rem; }
.shop-secure { display: flex; align-items: center; gap: .45rem; color: var(--muted); font-size: .85rem; }
.shop-secure svg { width: 16px; height: 16px; }

.filter-tabs { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1.2rem; }
.filter-tabs a { padding: .45rem 1rem; border-radius: 999px; border: 1px solid var(--border); color: var(--muted); font-size: .88rem; font-weight: 500; transition: .2s; }
.filter-tabs a:hover { color: #fff; border-color: rgba(180,107,255,.5); }
.filter-tabs a.active { color: #fff; background: rgba(139,61,255,.16); border-color: var(--primary); }
.pagination { display: flex; gap: .4rem; justify-content: center; margin-top: 1.5rem; }
.pagination a { min-width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--border); color: var(--muted); }
.pagination a.active, .pagination a:hover { color: #fff; border-color: var(--primary); background: rgba(139,61,255,.16); }

.account-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 1.5rem; align-items: start; }
.account-layout .card:hover { transform: none; }
.card-title { font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 1.3rem; }
.info-list { display: grid; gap: 1rem; }
.info-list div { display: flex; justify-content: space-between; gap: 1rem; padding-bottom: .9rem; border-bottom: 1px solid var(--border); }
.info-list div:last-child { border-bottom: 0; padding-bottom: 0; }
.info-list dt { color: var(--muted); font-size: .9rem; }
.info-list dd { font-weight: 500; text-align: right; word-break: break-all; }
.alert-success { background: rgba(94,227,139,.08); border: 1px solid rgba(94,227,139,.3); color: #9af0b8; }

@media (max-width: 1100px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) {
    .client-layout { grid-template-columns: 1fr; gap: 1.2rem; }
    .client-sidebar { position: static; padding: .6rem; }
    .client-user { display: none; }
    .client-nav { flex-direction: row; overflow-x: auto; gap: .3rem; }
    .client-nav a, .client-logout button { width: auto; white-space: nowrap; padding: .6rem .8rem; }
    .client-nav a.active { box-shadow: inset 0 -2px 0 var(--primary-2); }
    .client-logout { margin: 0 0 0 auto; padding: 0; border: 0; }
    .account-layout { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
    .stats-grid { grid-template-columns: 1fr 1fr; gap: .7rem; }
    .stat-card { flex-direction: column; align-items: flex-start; gap: .6rem; padding: .9rem; }
    .stat-num { font-size: 1.1rem; }
    .client-nav span { display: none; }
    .client-nav a, .client-logout button { padding: .65rem; }
}.shop-offline { margin: 0; padding: .8rem 1rem; border-radius: 10px; border: 1px solid rgba(255,70,110,.3); background: rgba(255,70,110,.06); color: #ff9db3; }
.game-tab .status-offline { color: #ff6b8a; }
