:root {
    --bg: #0b0d12;
    --panel: #121620;
    --panel-2: #181d29;
    --line: #252b39;
    --text: #f6f7fb;
    --muted: #9ba6b8;
    --accent: #7c5cff;
    --accent-2: #45d4ff;
    --success: #42d392;
    --danger: #ff6978;
    --warning: #f4bd50;
    --radius: 18px;
}
* { box-sizing: border-box; }
html { color-scheme: dark; }
body { margin: 0; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; background: radial-gradient(circle at top, #151a2a 0, var(--bg) 42rem); color: var(--text); min-height: 100vh; }
a { color: inherit; text-decoration: none; }
.shell { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(11,13,18,.82); backdrop-filter: blur(18px); border-bottom: 1px solid rgba(255,255,255,.06); }
.nav-wrap { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -.02em; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: white; box-shadow: 0 10px 30px rgba(124,92,255,.35); }
nav { display: flex; align-items: center; gap: 18px; color: #c8cede; font-size: 14px; }
nav a:hover { color: white; }
.nav-button, .button { display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 12px; padding: 11px 16px; font-weight: 700; cursor: pointer; background: linear-gradient(135deg, var(--accent), #6548e8); color: white; box-shadow: 0 10px 28px rgba(124,92,255,.2); }
.button.secondary, .nav-button { background: var(--panel-2); box-shadow: none; border: 1px solid var(--line); }
.button.danger { background: #56262d; box-shadow: none; }
.button.small { padding: 8px 11px; border-radius: 9px; font-size: 12px; }
.button.ghost { background: transparent; border: 1px solid var(--line); box-shadow: none; }
.hero { padding: 100px 0 72px; display: grid; grid-template-columns: 1.25fr .75fr; align-items: center; gap: 48px; }
.eyebrow { display: inline-flex; padding: 7px 10px; border-radius: 999px; border: 1px solid rgba(124,92,255,.45); background: rgba(124,92,255,.12); color: #c8bfff; font-size: 13px; font-weight: 750; }
h1 { font-size: clamp(44px, 7vw, 78px); line-height: .98; letter-spacing: -.055em; margin: 18px 0 22px; }
h2 { font-size: clamp(28px, 4vw, 42px); margin: 0 0 14px; letter-spacing: -.03em; }
h3 { margin: 0 0 10px; }
p { color: var(--muted); line-height: 1.65; }
.hero-actions, .action-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero-card, .card { background: linear-gradient(180deg, rgba(24,29,41,.95), rgba(17,21,30,.95)); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 28px 80px rgba(0,0,0,.28); }
.hero-card { padding: 26px; }
.card { padding: 24px; }
.status-line { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.status-line:last-child { border-bottom: 0; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--success); box-shadow: 0 0 16px var(--success); }
.section { padding: 48px 0 80px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.feature-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; background: rgba(124,92,255,.14); color: #c8bfff; margin-bottom: 18px; font-weight: 900; }
.page-head { padding: 64px 0 28px; }
.auth-wrap { width: min(480px, calc(100% - 32px)); margin: 70px auto; }
label { display: block; font-size: 13px; font-weight: 700; color: #cbd2df; margin: 0 0 8px; }
input, select, textarea { width: 100%; padding: 13px 14px; border-radius: 11px; border: 1px solid var(--line); background: #0f131b; color: white; outline: none; font: inherit; }
input:focus, select:focus, textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(124,92,255,.14); }
textarea { min-height: 110px; resize: vertical; }
.form-group { margin-bottom: 17px; }
.form-help { font-size: 12px; color: var(--muted); margin-top: 6px; }
.form-error { color: #ff9ca6; background: rgba(255,105,120,.1); border: 1px solid rgba(255,105,120,.25); border-radius: 10px; padding: 11px 13px; margin-bottom: 16px; }
.flash { margin-top: 22px; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); }
.flash-success { background: rgba(66,211,146,.1); border-color: rgba(66,211,146,.3); }
.flash-error { background: rgba(255,105,120,.1); border-color: rgba(255,105,120,.3); }
.price { font-size: 46px; font-weight: 850; letter-spacing: -.045em; margin: 14px 0 6px; }
.price small { font-size: 15px; color: var(--muted); font-weight: 500; letter-spacing: 0; }
.check-list { list-style: none; padding: 0; margin: 22px 0; }
.check-list li { padding: 9px 0 9px 28px; position: relative; color: #d4dae5; }
.check-list li::before { content: '✓'; position: absolute; left: 0; color: var(--success); font-weight: 900; }
.account-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding-bottom: 80px; }
.license-box { background: #0d1017; border: 1px dashed #3b4354; border-radius: 13px; padding: 16px; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .09em; display: flex; align-items: center; justify-content: space-between; gap: 12px; overflow-wrap: anywhere; }
.badge { display: inline-flex; align-items: center; padding: 5px 9px; border-radius: 999px; font-size: 12px; font-weight: 800; background: #252b39; }
.badge-active, .badge-trialing, .badge-granted, .badge-admin { background: rgba(66,211,146,.15); color: #82efb8; }
.badge-inactive, .badge-canceled, .badge-revoked, .badge-unpaid { background: rgba(255,105,120,.13); color: #ff98a2; }
.badge-past_due { background: rgba(244,189,80,.14); color: #ffd782; }
.admin-tabs { display: flex; flex-wrap: wrap; gap: 9px; margin: 0 0 20px; }
.admin-tabs a { padding: 10px 13px; border: 1px solid var(--line); border-radius: 10px; color: #c8cede; }
.admin-tabs a.active { background: var(--panel-2); color: white; border-color: #3a4253; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th, td { text-align: left; padding: 13px 11px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: #9fa9ba; font-size: 11px; text-transform: uppercase; letter-spacing: .07em; }
.inline-form { display: inline-flex; gap: 7px; align-items: center; flex-wrap: wrap; }
.inline-form input, .inline-form select { width: auto; min-width: 120px; padding: 8px 9px; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 20px; }
.stat { padding: 20px; }
.stat strong { display: block; font-size: 30px; letter-spacing: -.04em; }
.muted { color: var(--muted); }
.code { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; background: #0d1017; border: 1px solid var(--line); padding: 12px; border-radius: 10px; overflow-wrap: anywhere; }
.site-footer { border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; margin-top: 40px; }
.footer-row { min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
@media (max-width: 820px) {
    .hero, .grid-3, .grid-2, .account-grid, .stat-grid { grid-template-columns: 1fr; }
    nav { gap: 10px; }
    nav a:not(.nav-button) { display: none; }
    .hero { padding-top: 65px; }
}

/* Bitcoin checkout */
.payment-grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: 18px; padding-bottom: 80px; }
.pay-amount { padding: 20px; margin: 18px 0; border-radius: 16px; border: 1px solid rgba(244,189,80,.35); background: rgba(244,189,80,.08); display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.pay-amount span { color: var(--muted); }
.pay-amount strong { font-size: clamp(24px, 4vw, 38px); letter-spacing: -.035em; margin-right: auto; overflow-wrap: anywhere; }
.notice { margin-top: 16px; padding: 13px 15px; border-radius: 12px; border: 1px solid rgba(69,212,255,.25); background: rgba(69,212,255,.08); color: #d7edf5; line-height: 1.55; }
.notice.warning { border-color: rgba(244,189,80,.3); background: rgba(244,189,80,.08); color: #ffe3a3; }
.checking-line { display: flex; align-items: center; gap: 11px; margin: 22px 0; color: #cbd2df; }
.spinner { width: 17px; height: 17px; border: 2px solid #394154; border-top-color: var(--accent-2); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.split-line { display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; }
.rule { border: 0; border-top: 1px solid var(--line); margin: 26px 0; }
.toggle-line { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
details { border: 1px solid var(--line); border-radius: 13px; margin: 18px 0; }
summary { cursor: pointer; padding: 15px; font-weight: 750; }
.details-body { padding: 0 15px 15px; }
.text-link { color: #8fe6ff; text-decoration: underline; text-underline-offset: 3px; }
.badge-paid { background: rgba(66,211,146,.15); color: #82efb8; }
.badge-pending, .badge-confirming { background: rgba(244,189,80,.14); color: #ffd782; }
.badge-expired { background: rgba(255,105,120,.13); color: #ff98a2; }
@media (max-width: 820px) { .payment-grid { grid-template-columns: 1fr; } .pay-amount { align-items: flex-start; } }


/* Product storefront */
.gradient-text { background: linear-gradient(90deg, #ffffff, #9e8cff 48%, #45d4ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.product-hero { min-height: 720px; }
.hero-copy { max-width: 690px; font-size: 18px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 24px; color: #b9c4d6; font-size: 13px; }
.app-preview { border: 1px solid #31394c; border-radius: 22px; overflow: hidden; background: #0c1017; box-shadow: 0 38px 100px rgba(0,0,0,.46), 0 0 70px rgba(124,92,255,.12); transform: perspective(1200px) rotateY(-3deg) rotateX(1deg); }
.preview-titlebar { height: 54px; padding: 0 16px; display: flex; align-items: center; gap: 10px; background: #161b26; border-bottom: 1px solid #282f3e; font-size: 13px; }
.preview-logo { width: 27px; height: 27px; display: grid; place-items: center; border-radius: 8px; background: linear-gradient(135deg,var(--accent),var(--accent-2)); font-weight: 900; }
.window-dots { margin-left: auto; color: #515a6e; letter-spacing: 4px; font-size: 8px; }
.preview-body { min-height: 390px; display: grid; grid-template-columns: 108px 1fr; }
.preview-sidebar { padding: 18px 10px; border-right: 1px solid #242b39; background: #10141c; display: flex; flex-direction: column; gap: 8px; }
.preview-sidebar span { padding: 9px 10px; border-radius: 8px; font-size: 11px; color: #7f899c; }
.preview-sidebar span.active { background: rgba(124,92,255,.14); color: #d6d0ff; }
.preview-content { padding: 20px; }
.preview-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.preview-top div { display: flex; flex-direction: column; gap: 4px; }
.preview-top small, .preview-rule small { color: #707b90; font-size: 9px; }
.live-pill, .coming-pill { padding: 6px 9px; border-radius: 999px; color: #82efb8; background: rgba(66,211,146,.12); font-size: 10px; font-weight: 800; }
.preview-rule { display: grid; grid-template-columns: 30px 1fr auto; align-items: center; gap: 11px; padding: 13px; margin-bottom: 9px; border: 1px solid #272f3e; background: #141923; border-radius: 11px; }
.preview-rule div { display: flex; flex-direction: column; gap: 4px; }
.pixel-swatch { width: 28px; height: 28px; border-radius: 8px; box-shadow: inset 0 0 0 4px rgba(0,0,0,.2); }
.pixel-swatch.one { background: #d63d4f; }.pixel-swatch.two { background: #d9a23e; }.pixel-swatch.three { background: #3fa9e7; }
kbd { min-width: 34px; text-align: center; padding: 7px; border-radius: 7px; border: 1px solid #3b4354; background: #0b0f16; color: #d8deea; font-size: 10px; }
.preview-meter { height: 5px; border-radius: 999px; overflow: hidden; background: #222938; margin-top: 22px; }.preview-meter span { display: block; height: 100%; width: 72%; background: linear-gradient(90deg,var(--accent),var(--accent-2)); }
.product-strip { border-block: 1px solid rgba(255,255,255,.06); background: rgba(18,22,32,.7); }
.product-strip-inner { min-height: 68px; display: flex; justify-content: space-between; gap: 24px; align-items: center; overflow-x: auto; color: #687488; font-size: 10px; letter-spacing: .16em; font-weight: 850; white-space: nowrap; }
.section-heading { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: end; margin-bottom: 28px; }.section-heading p { margin: 0; }
.feature-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }.feature-card { min-height: 225px; }.feature-card p { margin-bottom: 0; }
.product-showcase { background: linear-gradient(180deg,rgba(124,92,255,.06),rgba(69,212,255,.03)); border-block: 1px solid rgba(255,255,255,.05); }
.split-showcase { display: grid; grid-template-columns: 1fr .8fr; gap: 70px; align-items: center; }
.step-list { margin-top: 28px; display: grid; gap: 14px; }.step-list>div { display: flex; gap: 14px; align-items: center; }.step-list b { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; background: rgba(124,92,255,.14); color: #c8bfff; }.step-list span { display: flex; flex-direction: column; gap: 3px; }.step-list small { color: var(--muted); }
.product-detail-card { padding: 28px; }.detail-label { font-size: 10px; letter-spacing: .16em; color: #8b96a9; }.detail-row { display: flex; justify-content: space-between; gap: 20px; padding: 17px 0; border-bottom: 1px solid var(--line); }.detail-row span { color: var(--muted); }.detail-ready { margin-top: 22px; padding: 13px; border-radius: 11px; text-align: center; color: #82efb8; background: rgba(66,211,146,.1); border: 1px solid rgba(66,211,146,.2); font-weight: 800; }
.games-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }.game-card { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--panel); }.game-art { aspect-ratio: 16/11; display: flex; flex-direction: column; justify-content: space-between; padding: 18px; background: radial-gradient(circle at 75% 20%,rgba(69,212,255,.22),transparent 30%), linear-gradient(135deg,#1c2230,#0d1017); }.game-art-02 { background: radial-gradient(circle at 20% 30%,rgba(244,189,80,.2),transparent 33%), linear-gradient(135deg,#251d20,#0d1017); }.game-art-03 { background: radial-gradient(circle at 65% 70%,rgba(66,211,146,.17),transparent 35%), linear-gradient(135deg,#17251f,#0d1017); }.game-art-04 { background: radial-gradient(circle at 30% 25%,rgba(124,92,255,.24),transparent 35%), linear-gradient(135deg,#211c31,#0d1017); }.game-art span { font-size: 9px; letter-spacing: .18em; color: #778296; }.game-art b { font-size: 25px; line-height: 1; letter-spacing: -.04em; color: #dfe5ee; }.game-info { padding: 17px; display: flex; justify-content: space-between; gap: 12px; align-items: start; }.game-info p { margin: 3px 0 0; font-size: 12px; }.coming-pill { color: #c8bfff; background: rgba(124,92,255,.13); white-space: nowrap; }
.cta-panel { padding: 38px; border: 1px solid rgba(124,92,255,.35); border-radius: 24px; background: radial-gradient(circle at 80% 0,rgba(69,212,255,.12),transparent 28%), linear-gradient(135deg,rgba(124,92,255,.13),rgba(18,22,32,.95)); display: flex; justify-content: space-between; align-items: center; gap: 35px; }.cta-panel h2 { max-width: 680px; margin-top: 16px; }.cta-actions { min-width: 230px; }.cta-price { display: flex; flex-direction: column; margin-bottom: 15px; }.cta-price strong { font-size: 24px; }.cta-price span { color: var(--muted); font-size: 13px; }
.pricing-layout { display: grid; grid-template-columns: 1.2fr .8fr; gap: 18px; }.pricing-card { padding: 34px; }.pricing-side { display: grid; gap: 18px; }.plan-label { color: #9e8cff; font-size: 10px; letter-spacing: .16em; font-weight: 900; }.dual-price { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin: 18px 0 5px; }.dual-price strong { font-size: 45px; letter-spacing: -.05em; }.dual-price span { font-size: 20px; color: #cfd6e3; }
.amount-stack { display: flex; flex-direction: column; margin-right: auto; }.amount-stack small { color: #ffe3a3; font-size: 13px; margin-top: 4px; }
.footer-main { display: grid; grid-template-columns: 1.5fr .6fr .6fr; gap: 50px; padding: 50px 0 28px; }.footer-main p { max-width: 480px; }.footer-brand { display: inline-flex; }.footer-links { display: flex; flex-direction: column; gap: 10px; font-size: 13px; }.footer-links strong { color: white; margin-bottom: 4px; }.footer-links a { color: var(--muted); }.footer-links a:hover { color: white; }
.badge-user { background: rgba(69,212,255,.12); color: #8fe6ff; }
@media (max-width: 980px) { .feature-grid { grid-template-columns: repeat(2,1fr); }.games-grid { grid-template-columns: repeat(2,1fr); }.product-hero { grid-template-columns: 1fr; }.app-preview { transform: none; }.section-heading,.split-showcase,.pricing-layout { grid-template-columns: 1fr; gap: 28px; } }
@media (max-width: 620px) { .feature-grid,.games-grid { grid-template-columns: 1fr; }.preview-sidebar { display:none; }.preview-body { grid-template-columns: 1fr; }.cta-panel { flex-direction: column; align-items: flex-start; }.footer-main { grid-template-columns: 1fr; gap: 22px; }.product-strip-inner { justify-content: flex-start; }.dual-price strong { font-size: 35px; } }
