/* Vexor products — flat dark UI, no glow / gradient fluff */
:root {
    --vx-bg: #000000;
    --vx-surface: #0a0a0a;
    --vx-border: #1a1a1a;
    --vx-border-hover: #2e2e2e;
    --vx-text: #ffffff;
    --vx-muted: #888888;
    --vx-accent: #0066ff;
    --vx-accent-hover: #0052cc;
    --vx-ok: #28c840;
    --vx-warn: #f5a524;
    --vx-radius: 8px;
}

.vx-page {
    min-height: 100vh;
    background: var(--vx-bg);
    color: var(--vx-text);
    font-family: Inter, Geist, system-ui, sans-serif;
}

.vx-top {
    position: sticky;
    top: 0;
    z-index: 40;
    border-bottom: 1px solid var(--vx-border);
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(8px);
}

.vx-top-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.vx-brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--vx-text);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
}

.vx-brand img {
    width: 28px;
    height: 28px;
    border-radius: 6px;
}

.vx-crumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    color: var(--vx-muted);
    font-size: 0.8125rem;
}

.vx-crumb a {
    color: var(--vx-muted);
    text-decoration: none;
}

.vx-crumb a:hover {
    color: var(--vx-text);
}

.vx-wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 36px 20px 80px;
}

.vx-head {
    margin-bottom: 28px;
}

.vx-head h1 {
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    font-weight: 750;
    letter-spacing: -0.02em;
    margin: 0 0 8px;
}

.vx-head p {
    margin: 0;
    color: var(--vx-muted);
    max-width: 46ch;
    line-height: 1.5;
    font-size: 0.95rem;
}

/* Game cards — 680×240 aspect */
.vx-game-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

@media (max-width: 720px) {
    .vx-game-grid {
        grid-template-columns: 1fr;
    }
}

.vx-game-card {
    position: relative;
    display: block;
    aspect-ratio: 680 / 240;
    border-radius: var(--vx-radius);
    overflow: hidden;
    border: 1px solid var(--vx-border);
    background: var(--vx-surface);
    text-decoration: none;
    color: inherit;
    transition: border-color 0.15s ease, transform 0.15s ease;
    outline: none;
}

.vx-game-card:hover,
.vx-game-card:focus-visible {
    border-color: var(--vx-accent);
    transform: translateY(-1px);
}

.vx-game-card:active {
    transform: translateY(0);
}

.vx-game-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.vx-game-card .vx-game-meta {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 14px 16px;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.88));
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 10px;
}

.vx-game-card .vx-game-meta strong {
    font-size: 1rem;
}

.vx-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 8px;
    border: 1px solid var(--vx-border);
    border-radius: 4px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--vx-muted);
    background: rgba(0, 0, 0, 0.55);
}

.vx-pill.warn {
    color: var(--vx-warn);
    border-color: rgba(245, 165, 36, 0.35);
}

.vx-pill.ok {
    color: var(--vx-ok);
    border-color: rgba(40, 200, 64, 0.35);
}

/* Product boxes — 4:3 art */
.vx-box-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 280px));
    gap: 20px;
    justify-content: start;
}

@media (max-width: 560px) {
    .vx-box-grid {
        grid-template-columns: 1fr;
        max-width: 320px;
    }
}

.vx-box-card {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--vx-border);
    border-radius: var(--vx-radius);
    background: var(--vx-surface);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.15s ease, transform 0.15s ease;
    outline: none;
    cursor: pointer;
}

.vx-box-card:hover,
.vx-box-card:focus-visible {
    border-color: var(--vx-accent);
    transform: translateY(-2px);
}

.vx-box-card.is-disabled,
.vx-box-card[aria-disabled='true'] {
    opacity: 0.72;
}

.vx-box-art {
    aspect-ratio: 4 / 3;
    background: #050505;
    border-bottom: 1px solid var(--vx-border);
}

.vx-box-art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.vx-box-body {
    padding: 14px 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.vx-box-body h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
}

.vx-box-body p {
    margin: 0;
    color: var(--vx-muted);
    font-size: 0.8125rem;
    line-height: 1.4;
}

.vx-box-price {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--vx-text);
}

/* Detail */
.vx-detail {
    display: grid;
    grid-template-columns: minmax(240px, 360px) 1fr;
    gap: 32px;
    align-items: start;
}

@media (max-width: 800px) {
    .vx-detail {
        grid-template-columns: 1fr;
        gap: 22px;
    }
}

.vx-thumb {
    border: 1px solid var(--vx-border);
    border-radius: var(--vx-radius);
    overflow: hidden;
    background: #050505;
    aspect-ratio: 4 / 3;
}

.vx-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.vx-detail h1 {
    margin: 0 0 10px;
    font-size: clamp(1.5rem, 2.6vw, 2rem);
    letter-spacing: -0.02em;
}

.vx-detail .vx-blurb {
    color: var(--vx-muted);
    line-height: 1.55;
    margin: 0 0 18px;
    max-width: 52ch;
}

.vx-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.vx-tag {
    border: 1px solid var(--vx-border);
    background: var(--vx-surface);
    color: var(--vx-text);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 6px 10px;
    border-radius: 999px;
}

.vx-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.vx-badge {
    border: 1px solid var(--vx-border);
    border-radius: 6px;
    padding: 10px 12px;
    min-width: 140px;
    background: var(--vx-surface);
}

.vx-badge strong {
    display: block;
    font-size: 0.82rem;
}

.vx-badge span {
    color: var(--vx-muted);
    font-size: 0.75rem;
}

.vx-badge.ok strong {
    color: var(--vx-ok);
}

.vx-badge.warn strong {
    color: var(--vx-warn);
}

.vx-features {
    margin-top: 40px;
    grid-column: 1 / -1;
}

.vx-features-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--vx-border);
}

.vx-features-head h2 {
    margin: 0 0 4px;
    font-size: 1.25rem;
    letter-spacing: -0.03em;
}

.vx-features-head p {
    margin: 0;
    color: var(--vx-muted);
    font-size: 0.84rem;
}

.vx-feat-tools {
    display: flex;
    gap: 8px;
}

.vx-feat-tool {
    border: 1px solid var(--vx-border);
    background: transparent;
    color: var(--vx-muted);
    font: inherit;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 7px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.vx-feat-tool:hover {
    color: var(--vx-text);
    border-color: var(--vx-border-hover);
    background: #0c0c0c;
}

.vx-feat-grid {
    column-count: 2;
    column-gap: 10px;
}

@media (max-width: 720px) {
    .vx-feat-grid {
        column-count: 1;
    }
}

.vx-feat-card {
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
    page-break-inside: avoid;
    margin: 0 0 10px;
    border: 1px solid var(--vx-border);
    border-radius: 10px;
    background: linear-gradient(180deg, #0c0c0c 0%, #080808 100%);
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.vx-feat-card:hover {
    border-color: #262626;
}

.vx-feat-card.is-open {
    border-color: rgba(0, 102, 255, 0.4);
    box-shadow: 0 0 0 1px rgba(0, 102, 255, 0.08);
}

.vx-feat-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 13px 14px;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.vx-feat-toggle:focus-visible {
    outline: 2px solid var(--vx-accent);
    outline-offset: -2px;
}

.vx-feat-title {
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: -0.01em;
}

.vx-feat-meta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.vx-feat-count {
    min-width: 22px;
    height: 22px;
    padding: 0 7px;
    border-radius: 999px;
    border: 1px solid #222;
    background: #101010;
    color: #9a9a9a;
    font-size: 0.7rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.vx-feat-card.is-open .vx-feat-count {
    border-color: rgba(0, 102, 255, 0.45);
    background: rgba(0, 102, 255, 0.12);
    color: #9ec2ff;
}

.vx-feat-chevron {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    border: 1px solid #222;
    background: #101010;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #777;
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.2s ease,
        color 0.2s ease,
        background 0.2s ease;
}

.vx-feat-chevron i {
    font-size: 0.65rem;
}

.vx-feat-card.is-open .vx-feat-chevron {
    transform: rotate(180deg);
    border-color: rgba(0, 102, 255, 0.45);
    background: rgba(0, 102, 255, 0.12);
    color: #9ec2ff;
}

.vx-feat-panel {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.vx-feat-card.is-open .vx-feat-panel {
    grid-template-rows: 1fr;
}

.vx-feat-panel-inner {
    overflow: hidden;
    min-height: 0;
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity 0.22s ease, transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.vx-feat-card.is-open .vx-feat-panel-inner {
    opacity: 1;
    transform: translateY(0);
}

.vx-feat-list {
    margin: 0;
    padding: 0 14px 14px;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.vx-feat-list li {
    color: #d0d0d0;
    font-size: 0.75rem;
    line-height: 1.3;
    padding: 6px 10px;
    border-radius: 6px;
    border: 1px solid #242424;
    background: #121212;
    transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.vx-feat-list li:hover {
    border-color: rgba(0, 102, 255, 0.35);
    background: #151515;
    color: #fff;
}

.vx-feat-premium {
    background: linear-gradient(180deg, #0b1220 0%, #080808 100%);
}

.vx-feat-premium .vx-feat-title {
    color: #9ec2ff;
}

.vx-feat-prem-tag {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #6ea0ff;
    border: 1px solid rgba(0, 102, 255, 0.35);
    background: rgba(0, 102, 255, 0.1);
    border-radius: 4px;
    padding: 2px 6px;
    margin-left: 8px;
    vertical-align: middle;
}

.vx-durations {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 18px;
}

.vx-duration {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border: 1px solid var(--vx-border);
    border-radius: 6px;
    padding: 12px 14px;
    background: var(--vx-surface);
    cursor: pointer;
    transition: border-color 0.15s ease;
}

.vx-duration:hover {
    border-color: var(--vx-border-hover);
}

.vx-duration.active {
    border-color: var(--vx-accent);
}

.vx-duration input {
    accent-color: var(--vx-accent);
}

.vx-duration-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 0.9rem;
}

.vx-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.vx-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 6px;
    padding: 11px 16px;
    font-weight: 700;
    font-size: 0.875rem;
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.vx-btn-primary {
    background: var(--vx-accent);
    color: #fff;
}

.vx-btn-primary:hover {
    background: var(--vx-accent-hover);
}

.vx-btn-ghost {
    background: transparent;
    border-color: var(--vx-border);
    color: var(--vx-text);
}

.vx-btn-ghost:hover {
    border-color: var(--vx-accent);
    color: var(--vx-accent);
}

.vx-btn:disabled,
.vx-btn.is-disabled {
    opacity: 0.45;
    cursor: not-allowed;
    pointer-events: none;
}

.vx-btn.coming-soon {
    background: #1a1a1a;
    color: #777;
    border-color: #2a2a2a;
    pointer-events: none;
}

/* Cart */
.vx-cart-fab {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 60;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid var(--vx-border);
    background: var(--vx-surface);
    color: var(--vx-text);
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.vx-cart-fab:hover {
    border-color: var(--vx-accent);
}

.vx-cart-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: var(--vx-accent);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 800;
    display: grid;
    place-items: center;
}

.vx-cart-drawer {
    position: fixed;
    inset: 0;
    z-index: 70;
    background: rgba(0, 0, 0, 0.55);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s ease;
}

.vx-cart-drawer.open {
    opacity: 1;
    pointer-events: auto;
}

.vx-cart-panel {
    position: absolute;
    top: 0;
    right: 0;
    width: min(380px, 100%);
    height: 100%;
    background: #0a0a0a;
    border-left: 1px solid var(--vx-border);
    display: flex;
    flex-direction: column;
}

.vx-cart-head,
.vx-cart-foot {
    padding: 16px;
    border-bottom: 1px solid var(--vx-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.vx-cart-foot {
    border-bottom: 0;
    border-top: 1px solid var(--vx-border);
    flex-direction: column;
    align-items: stretch;
}

.vx-cart-head h2 {
    margin: 0;
    font-size: 1.05rem;
}

.vx-cart-x {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    border: 1px solid var(--vx-border);
    background: transparent;
    color: var(--vx-text);
    cursor: pointer;
    font-size: 1.2rem;
}

.vx-cart-body {
    flex: 1;
    overflow: auto;
    padding: 12px 16px;
}

.vx-cart-empty {
    color: var(--vx-muted);
    font-size: 0.9rem;
}

.vx-cart-row {
    display: grid;
    grid-template-columns: 56px 1fr auto auto;
    gap: 10px;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--vx-border);
}

.vx-cart-row img {
    width: 56px;
    height: 42px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid var(--vx-border);
}

.vx-cart-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.vx-cart-meta strong {
    font-size: 0.85rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.vx-cart-meta span {
    color: var(--vx-muted);
    font-size: 0.75rem;
}

.vx-cart-price {
    font-weight: 700;
    font-size: 0.85rem;
}

.vx-cart-remove {
    border: 0;
    background: transparent;
    color: var(--vx-muted);
    cursor: pointer;
    font-size: 1.1rem;
}

.vx-cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
}

.vx-login-gate {
    position: fixed;
    inset: 0;
    z-index: 80;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    place-items: center;
    padding: 20px;
}

.vx-login-gate.open {
    display: grid;
}

.vx-login-card {
    position: relative;
    width: min(380px, 100%);
    background: #0a0a0a;
    border: 1px solid var(--vx-border);
    border-radius: 8px;
    padding: 24px;
}

.vx-login-card h3 {
    margin: 0 0 8px;
}

.vx-login-card p {
    margin: 0 0 18px;
    color: var(--vx-muted);
    line-height: 1.45;
}

.vx-login-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.vx-login-card .vx-cart-x {
    position: absolute;
    top: 10px;
    right: 10px;
}

/* Language chooser */
.vx-lang {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.vx-lang button {
    border: 1px solid var(--vx-border, #1a1a1a);
    background: var(--vx-surface, #0a0a0a);
    color: var(--vx-text, #fff);
    border-radius: 6px;
    padding: 8px 10px;
    font-size: 0.8rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.vx-lang button img {
    width: 20px;
    height: 14px;
    object-fit: cover;
    border-radius: 2px;
    display: block;
    flex-shrink: 0;
    background: #222;
}

.vx-lang button.active {
    border-color: var(--vx-accent, #0066ff);
}

.vx-thanks {
    max-width: 480px;
    margin: 80px auto;
    text-align: center;
    padding: 0 20px;
}

.vx-thanks h1 {
    margin: 0 0 10px;
    font-size: 1.8rem;
}

.vx-thanks p {
    color: var(--vx-muted);
    line-height: 1.5;
    margin: 0 0 22px;
}

.vx-inv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 14px;
}

.vx-inv-card {
    border: 1px solid var(--vx-border);
    border-radius: 8px;
    background: var(--vx-surface);
    padding: 14px;
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 12px;
    align-items: center;
}

.vx-inv-card img {
    width: 72px;
    height: 54px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid var(--vx-border);
}

.vx-inv-card h4 {
    margin: 0 0 4px;
    font-size: 0.95rem;
}

.vx-inv-card p {
    margin: 0;
    color: var(--vx-muted);
    font-size: 0.78rem;
}
