/* WatchPay — dark / light theme (sample tokens) */
:root {
    --bg: #0a0a0a;
    --card-bg: #111;
    --header-bg: #000;
    --nav-bg: #000;
    --text: #e2e8f0;
    --muted: #94a3b8;
    --green: #10b981;
    --red: #ef4444;
    --yellow: #f59e0b;
    --border: rgba(255, 255, 255, 0.08);
    --white-line: rgba(255, 255, 255, 0.1);
    --input-bg: #1e1e1e;
    --input-border: #333;
    --btn-upi-bg: #000;
    --btn-upi-text: #fff;
    --auth-bg: #111;
    --auth-input-bg: #1e1e1e;
    --auth-input-border: #333;
    --bg-2: #111;
    --card: #111;
    --card-2: #1e1e1e;
    --border-strong: rgba(255, 255, 255, 0.14);
    --accent: #10b981;
    --accent-2: #059669;
    --accent-soft: rgba(16, 185, 129, 0.12);
    --accent-glow: rgba(16, 185, 129, 0.35);
    --red-soft: rgba(239, 68, 68, 0.12);
    --amber: #f59e0b;
    --amber-soft: rgba(245, 158, 11, 0.12);
    --violet: #a78bfa;
    --violet-soft: rgba(167, 139, 250, 0.14);
    --radius: 20px;
    --radius-sm: 12px;
    --shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    --font: "Segoe UI", system-ui, -apple-system, sans-serif;
    --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    color-scheme: dark;
}

[data-theme="light"] {
    --bg: #f5f7fa;
    --card-bg: #ffffff;
    --header-bg: #ffffff;
    --nav-bg: #ffffff;
    --text: #1e293b;
    --muted: #64748b;
    --border: rgba(0, 0, 0, 0.08);
    --white-line: rgba(0, 0, 0, 0.06);
    --input-bg: #f1f5f9;
    --input-border: #e2e8f0;
    --btn-upi-bg: #0f172a;
    --btn-upi-text: #ffffff;
    --auth-bg: #ffffff;
    --auth-input-bg: #f1f5f9;
    --auth-input-border: #e2e8f0;
    --bg-2: #f1f5f9;
    --card: #ffffff;
    --card-2: #f1f5f9;
    --border-strong: rgba(0, 0, 0, 0.12);
    --accent-soft: rgba(16, 185, 129, 0.1);
    --accent-glow: rgba(16, 185, 129, 0.25);
    --shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--font);
    font-size: 15px;
    line-height: 1.5;
    color: var(--text);
    background: radial-gradient(120% 80% at 50% 0%, #0f1a18 0%, var(--bg) 55%);
    min-height: 100vh;
    padding-bottom: 70px;
    overflow-x: hidden;
    transition: background 0.3s, color 0.3s;
    -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { margin: 0 0 .5rem; line-height: 1.2; letter-spacing: -0.01em; }
p { margin: 0 0 .75rem; }
code { font-family: var(--mono); font-size: .85em; background: var(--card-2); padding: 1px 6px; border-radius: 6px; border: 1px solid var(--border); }
img, svg { vertical-align: middle; }
[hidden] { display: none !important; }

/* ---- Utilities ---- */
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.xsmall { font-size: .78rem; }
.center { text-align: center; }
.center-x { justify-content: center; }
.mt { margin-top: 1rem; }
.mt-xs { margin-top: .35rem; }
.mb { margin-bottom: 1rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.row { display: flex; align-items: center; }
.wrap { flex-wrap: wrap; }
.gap-sm { gap: .6rem; }
.stack { display: grid; gap: .75rem; }
.nowrap { white-space: nowrap; }
.break { word-break: break-word; max-width: 360px; }
.pre-wrap { white-space: pre-wrap; margin: .5rem 0 0; }
.upper { text-transform: uppercase; }
.text-accent { color: var(--accent); }
.text-red { color: var(--red); }
.text-amber { color: var(--amber); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
@media (max-width: 560px) { .grid-2 { grid-template-columns: 1fr; } .hide-sm { display: none; } }

/* ---- Brand + top bar ---- */
.brand { display: inline-flex; align-items: center; gap: .5rem; font-weight: 800; font-size: 1.15rem; letter-spacing: .02em; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent-glow); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 5px rgba(16, 185, 129, 0); opacity: .75; } }

.header, .topbar { position: sticky; top: 0; z-index: 1000; background: rgba(10, 10, 10, .88); backdrop-filter: blur(10px); color: var(--text); border-bottom: 0; }
.header { padding: 0; }
.header .logo, .brand { font-weight: 800; font-size: 1.15rem; color: var(--text); min-width: 0; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: .6rem; padding: 10px 14px; max-width: 560px; width: 100%; margin: 0 auto; }
.topbar-inner.wide { max-width: 1240px; }
.topbar-actions { display: flex; align-items: center; gap: 8px; flex: none; }

.wallet, .balance-pill { background: var(--green); color: #fff; padding: 5px 12px; border-radius: 50px; font-weight: 700; font-size: .82rem; white-space: nowrap; box-shadow: 0 0 16px var(--accent-glow); max-width: 42vw; overflow: hidden; text-overflow: ellipsis; }
.wallet:hover, .balance-pill:hover { text-decoration: none; color: #fff; }

.theme-toggle, .icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--border); background: var(--card-bg); color: var(--text); cursor: pointer; font-size: 1.1rem; transition: background 0.2s; }
.theme-toggle:hover, .icon-btn:hover { background: var(--border); }
.icon-btn.sm { width: 26px; height: 26px; font-size: .75rem; }
.i-sun { display: none; }
[data-theme="light"] .i-moon { display: none; }
[data-theme="light"] .i-sun { display: inline; }

/* ---- Buttons ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; padding: .7rem 1.15rem; border-radius: var(--radius-sm); border: 1px solid transparent; font: inherit; font-weight: 650; font-size: .93rem; cursor: pointer; transition: transform .12s, box-shadow .2s, background .2s, opacity .2s; color: var(--text); background: var(--card-2); white-space: nowrap; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:disabled, .btn.is-loading { opacity: .6; cursor: not-allowed; transform: none; }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: #059669; }
.btn-upi { background: var(--btn-upi-bg); color: var(--btn-upi-text); }
.btn-logout, .btn-danger { background: var(--red); color: #fff; }
.btn-danger:hover { background: #dc2626; }
.btn-ghost { background: transparent; border-color: var(--border-strong); }
.btn-ghost:hover { background: var(--card-2); }
.btn-sm { padding: .45rem .8rem; font-size: .84rem; }
.btn-lg { padding: .9rem 1.4rem; font-size: 1rem; }
.btn-block { width: 100%; }
.btn .spinner { width: 16px; height: 16px; border-width: 2px; }

.spinner { width: 28px; height: 28px; border-radius: 50%; border: 3px solid var(--border-strong); border-top-color: var(--accent); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---- Cards ---- */
.card { background: var(--card-bg); border: 1px solid var(--border); border-radius: 20px; padding: 25px; margin-bottom: 20px; box-shadow: var(--shadow); transition: background 0.3s, border-color 0.3s; }
.card + .card, .card + .section-label, .stack + .card { margin-top: 0; }
.card-title { font-size: 1rem; font-weight: 700; margin-bottom: .75rem; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: .75rem; }
.card-head .card-title, .card-head .page-title { margin-bottom: 0; }
details > summary { cursor: pointer; list-style: none; }
details > summary::-webkit-details-marker { display: none; }

.section-label { display: flex; align-items: center; gap: .5rem; font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 1.1rem 0 .6rem; }
.section-label::before { content: ""; width: 3px; height: 12px; border-radius: 2px; background: var(--accent); }
.card > .section-label:first-child { margin-top: 0; }

.page-title { font-size: 1.35rem; font-weight: 800; }
.back-link { display: inline-block; color: var(--muted); font-size: .88rem; margin-bottom: .6rem; }

/* ---- Badges + chips ---- */
.badge { display: inline-flex; align-items: center; padding: .22rem .6rem; border-radius: 999px; font-size: .74rem; font-weight: 700; letter-spacing: .02em; border: 1px solid transparent; white-space: nowrap; }
.badge-green { background: var(--accent-soft); color: var(--accent); border-color: rgba(16, 185, 129, .3); }
.badge-amber { background: var(--amber-soft); color: var(--amber); border-color: rgba(245, 158, 11, .3); }
.badge-red { background: var(--red-soft); color: var(--red); border-color: rgba(239, 68, 68, .3); }
.badge-violet { background: var(--violet-soft); color: var(--violet); border-color: rgba(167, 139, 250, .3); }
.badge-muted { background: var(--card-2); color: var(--muted); border-color: var(--border); }
.chip { display: inline-flex; align-items: center; gap: .3rem; padding: .18rem .55rem; border-radius: 999px; font-size: .76rem; font-weight: 600; }
.chip-green { background: var(--accent-soft); color: var(--accent); border: 1px solid rgba(16, 185, 129, .25); }
.chip-red { background: var(--red-soft); color: var(--red); border: 1px solid rgba(239, 68, 68, .25); }
.chip-amber { background: var(--amber-soft); color: var(--amber); border: 1px solid rgba(245, 158, 11, .25); }

/* ---- Alerts ---- */
.alert { display: flex; align-items: flex-start; justify-content: space-between; gap: .75rem; padding: .8rem 1rem; border-radius: var(--radius-sm); margin-bottom: .9rem; font-size: .92rem; border: 1px solid; animation: slide-in .25s ease-out; }
.alert-success { background: var(--accent-soft); border-color: rgba(16, 185, 129, .35); }
.alert-error { background: var(--red-soft); border-color: rgba(239, 68, 68, .35); }
.alert-warning { background: var(--amber-soft); border-color: rgba(245, 158, 11, .35); }
.alert-info { background: var(--violet-soft); border-color: rgba(167, 139, 250, .35); }
.alert-close { background: none; border: 0; color: var(--muted); font-size: 1.2rem; line-height: 1; cursor: pointer; padding: 0 .2rem; }
@keyframes slide-in { from { opacity: 0; transform: translateY(-6px); } }
.sandbox-strip { background: repeating-linear-gradient(45deg, var(--amber-soft), var(--amber-soft) 10px, transparent 10px, transparent 20px); border: 1px dashed rgba(245, 158, 11, .5); color: var(--amber); text-align: center; font-size: .8rem; font-weight: 700; padding: .45rem .75rem; border-radius: var(--radius-sm); margin-bottom: .9rem; }

/* ---- Forms ---- */
.form { display: grid; gap: .85rem; }
.field { display: grid; gap: .35rem; }
.field > span { font-size: .82rem; font-weight: 600; color: var(--muted); }
input, select, textarea { width: 100%; font: inherit; color: var(--text); background: var(--input-bg); border: 1px solid var(--input-border); border-radius: 12px; padding: 14px; transition: border-color .15s, box-shadow .15s; outline: none; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
input[readonly] { opacity: .7; }
input.input-lg { font-size: 1.35rem; font-weight: 700; padding: .8rem 1rem; }
textarea { resize: vertical; }
.input-group { display: flex; }
.input-group input { border-top-right-radius: 0; border-bottom-right-radius: 0; }
.input-addon { border: 1px solid var(--border-strong); border-left: 0; background: var(--card-2); color: var(--text); padding: 0 .9rem; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; cursor: pointer; font: inherit; font-weight: 600; font-size: .85rem; }
.check { display: flex; gap: .55rem; align-items: flex-start; font-size: .86rem; color: var(--muted); }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--accent); flex: none; }
.filters { display: flex; gap: .6rem; flex-wrap: wrap; margin-bottom: .9rem; }
.filters input { flex: 1 1 260px; width: auto; }
.filters select { width: auto; }
.narrow-form { max-width: 420px; }

/* ---- Segmented tabs (Success / Pending / Failed) ---- */
.segmented { display: flex; gap: .3rem; padding: .35rem; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: .9rem; overflow-x: auto; scrollbar-width: none; }
.segmented::-webkit-scrollbar { display: none; }
.segmented > a, .segmented > label { flex: 1; display: flex; align-items: center; justify-content: center; gap: .35rem; padding: .62rem .8rem; border-radius: var(--radius-sm); font-weight: 650; font-size: .88rem; color: var(--muted); white-space: nowrap; cursor: pointer; transition: background .15s, color .15s; }
.segmented > a:hover { text-decoration: none; color: var(--text); }
.segmented > a.active, .segmented > label:has(input:checked) { background: linear-gradient(135deg, #14c98d, var(--accent-2)); color: #fff; box-shadow: 0 6px 18px var(--accent-glow); }
.segmented > label input { position: absolute; opacity: 0; pointer-events: none; }
.segmented.small > a, .segmented.small > label { padding: .45rem .6rem; font-size: .8rem; }

/* ---- Lists ---- */
.list { display: grid; }
.list.card { padding: .3rem 1.1rem; }
.list-row { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .8rem 0; border-bottom: 1px solid var(--border); color: var(--text); }
.list-row:last-child { border-bottom: 0; }
a.list-row:hover { text-decoration: none; background: linear-gradient(90deg, transparent, var(--accent-soft), transparent); }
.list-link { display: flex; align-items: center; gap: .75rem; padding: .8rem 0; color: var(--text); font-weight: 550; border-bottom: 1px solid var(--border); }
.list-link:last-child { border-bottom: 0; }
.list-link:hover { text-decoration: none; color: var(--accent); }
.list-link .arrow, .support-cta .arrow { margin-left: auto; color: var(--muted); }
.list-link.card { padding: .9rem 1.1rem; }
.ql-icon { display: inline-grid; place-items: center; width: 32px; height: 32px; flex: none; border-radius: 9px; background: var(--card-2); border: 1px solid var(--border); font-size: .95rem; }
.quick { padding-top: .9rem; padding-bottom: .3rem; }
.add-account .form { padding: .5rem 0 1rem; }

.filter-bar { display: flex; justify-content: space-between; align-items: center; gap: .75rem; flex-wrap: wrap; padding: .85rem 1rem; margin-bottom: .85rem; border-radius: var(--radius); background: var(--card); border: 1px solid var(--border); position: relative; overflow: hidden; }
.filter-bar::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--accent), #34d399); }
.filter-bar .label { font-weight: 800; color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; display: flex; align-items: center; gap: .5rem; }
.filter-bar .bar, .info-card h2 .bar { width: 3px; height: 12px; background: var(--accent); border-radius: 3px; display: inline-block; }
.sort-btn { background: var(--bg); color: var(--text); border: 1px solid var(--border); border-radius: 10px; padding: .55rem .9rem; font-weight: 800; font-size: .78rem; text-decoration: none; }
.sort-btn.on, .sort-btn:hover { color: var(--accent); border-color: var(--accent); text-decoration: none; }
.order-actions { display: flex; flex-direction: column; align-items: flex-end; gap: .5rem; flex: none; }
@media (max-width: 420px) {
  a.order-card { flex-direction: column; align-items: stretch; }
}
.live-header { display: flex; align-items: center; gap: .75rem; padding: 1rem; margin-bottom: .85rem; border-radius: 16px; background: var(--card); border: 1px solid var(--border); }
.live-dot { width: 10px; height: 10px; background: var(--accent); border-radius: 50%; flex: none; box-shadow: 0 0 0 0 rgba(16,185,129,.7); animation: pulse 1.8s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(16,185,129,.7); } 70% { box-shadow: 0 0 0 12px rgba(16,185,129,0); } 100% { box-shadow: 0 0 0 0 rgba(16,185,129,0); } }
.live-title { font-weight: 800; }
.live-sub { color: var(--muted); font-size: .76rem; margin-top: .25rem; line-height: 1.4; }
.order-left { display: flex; flex-direction: column; gap: .35rem; min-width: 0; flex: 1; }
.order-source { font-size: .74rem; color: var(--muted); display: flex; align-items: center; gap: .4rem; flex-wrap: wrap; }
.order-source .src-name { color: #60a5fa; font-weight: 800; padding: .15rem .5rem; background: rgba(59,130,246,.12); border: 1px solid rgba(59,130,246,.35); border-radius: 6px; }
.btn-claim { background: linear-gradient(135deg, #34d399, #059669); color: #fff; border: 0; padding: .7rem 1.1rem; border-radius: 12px; font-weight: 800; font-size: .82rem; text-decoration: none; white-space: nowrap; }
.btn-claim:hover { filter: brightness(1.08); text-decoration: none; color: #fff; }
.order-card.sold { border-left-color: var(--red); background: linear-gradient(135deg, rgba(239,68,68,.12), var(--card)); }
.order-card.sold-anim { animation: soldPop .45s ease; }
@keyframes soldPop { from { transform: scale(.98); opacity: .7; } to { transform: none; opacity: 1; } }
.sold-label { color: var(--red); font-weight: 800; font-size: .78rem; padding: .65rem .9rem; border: 1.5px dashed rgba(239,68,68,.5); border-radius: 12px; text-transform: uppercase; }
.info-card { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 1.1rem; margin: .85rem 0; }
.info-card h2 { font-size: 1.02rem; margin: 0 0 .75rem; display: flex; align-items: center; gap: .55rem; }
.info-card ul { list-style: none; padding: 0; margin: 0; }
.info-card li { margin-bottom: .55rem; font-size: .86rem; line-height: 1.5; }
.info-card p { color: var(--muted); font-size: .82rem; margin: .7rem 0 0; }

/* ---- Order / payment cards (like the reference) ---- */
.order-card { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.1rem; border-radius: var(--radius); background: var(--card); border: 1px solid var(--border); border-left: 3px solid var(--accent); color: var(--text); transition: transform .15s, box-shadow .2s, border-color .2s; margin-bottom: .7rem; }
a.order-card:hover { text-decoration: none; transform: translateY(-1px); box-shadow: var(--shadow); border-color: var(--border-strong); }
.order-card.status-pending, .order-card.status-created { border-left-color: var(--amber); }
.order-card.status-failed { border-left-color: var(--red); background: linear-gradient(90deg, rgba(239, 68, 68, .06), var(--card) 60%); }
.order-card.status-flagged { border-left-color: var(--violet); }
.order-amount { font-size: 1.3rem; font-weight: 800; letter-spacing: -0.01em; margin-bottom: .25rem; }
.sort-bar { display: flex; justify-content: space-between; align-items: center; padding: .7rem 1rem; }
.sort-bar a { font-weight: 700; color: var(--text); }
.sort-bar a:hover { text-decoration: none; color: var(--accent); }
.live-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 1.1rem; border-radius: 20px; background: var(--card); border: 1px solid var(--border); }
.live-head p { margin: .25rem 0 0; }
.live-bolt { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: var(--accent-soft); border: 1px solid rgba(16,185,129,.35); flex: none; }
.pay-pill { border-radius: 999px; min-width: 118px; padding: .75rem 1.2rem; box-shadow: 0 8px 20px var(--accent-glow); }
.sold-pill { border-radius: 999px; min-width: 118px; color: var(--red); background: transparent; border: 1.5px dashed rgba(239, 68, 68, .55); box-shadow: none; pointer-events: none; }
.ticker-wrap { overflow: hidden; border-radius: 999px; background: var(--card); border: 1px solid var(--border); padding: .55rem 0; }
.ticker { display: flex; gap: 1.4rem; width: max-content; animation: ticker 22s linear infinite; align-items: center; padding: 0 1rem; font-size: .78rem; font-weight: 700; color: var(--muted); }
.ticker-item { white-space: nowrap; }
.ticker-amt { color: var(--accent); }
.ticker-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); margin-right: .4rem; vertical-align: middle; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.ticker-demo { position: relative; padding-left: 6.4rem; }
.ticker-label { position: absolute; left: .45rem; top: 50%; transform: translateY(-50%); z-index: 1; padding: .2rem .6rem; border-radius: 999px; background: var(--amber-soft); color: var(--amber); border: 1px solid rgba(245, 158, 11, .35); font-size: .68rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.order-card { border-left: 4px solid #34d399; border-radius: 24px; padding: 1.2rem 1.25rem; background: linear-gradient(180deg, #15181d, #0f1115); border-color: rgba(255,255,255,.1); }
.order-card .order-left { gap: .55rem; }
.order-card .order-amount { font-size: 1.6rem; font-weight: 850; margin: 0; }
.green-pill { align-self: flex-start; display: inline-flex; align-items: center; gap: .35rem; padding: .35rem .85rem; border-radius: 999px; font-size: .92rem; font-weight: 800; color: #34d399; background: rgba(16, 185, 129, .1); border: 1px solid rgba(16, 185, 129, .35); }
.order-card .order-source { font-size: .82rem; gap: .6rem; }
.order-card .order-source .src-name { font-size: .82rem; letter-spacing: .04em; padding: .3rem .7rem; border-radius: 8px; color: #7aa7ff; background: rgba(59,130,246,.1); border-color: rgba(59,130,246,.4); }
.order-card .pay-pill { padding: .95rem 1.4rem; font-size: .95rem; letter-spacing: .04em; background: linear-gradient(135deg, #6ee7b7, #10b981); box-shadow: 0 10px 28px rgba(16, 185, 129, .35); border: 1px solid rgba(255,255,255,.18); }
.order-card .pay-pill.sold-pill { background: transparent; color: var(--red); border: 1.5px dashed rgba(239, 68, 68, .55); box-shadow: none; }
[data-live-feed] .order-card { animation: cardIn .55s cubic-bezier(.2, .8, .2, 1) backwards; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; will-change: transform; }
@keyframes cardIn { from { opacity: 0; transform: translateY(18px) scale(.97); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
[data-live-feed] .order-card:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(16, 185, 129, .14); border-color: rgba(16, 185, 129, .35); }
.order-card .pay-pill { position: relative; overflow: hidden; }
.order-card .pay-pill::after { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent); transform: skewX(-20deg); animation: shine 3s ease-in-out infinite; }
.order-card .pay-pill.sold-pill::after { display: none; }
@keyframes shine { 0%, 60% { left: -60%; } 100% { left: 130%; } }
[data-live-feed] .order-card { position: relative; overflow: hidden; }
[data-live-feed] .order-card.sold-anim { animation: soldShake .5s ease; border-left-color: var(--red); border-color: rgba(239, 68, 68, .45); box-shadow: 0 0 0 1px rgba(239, 68, 68, .25), 0 12px 30px rgba(239, 68, 68, .18); }
[data-live-feed] .order-card.sold-anim::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 70% 50%, rgba(239, 68, 68, .28), transparent 65%); animation: redFlash 1.6s ease forwards; pointer-events: none; }
@keyframes redFlash { 0% { opacity: 0; } 15% { opacity: 1; } 100% { opacity: .35; } }
@keyframes soldShake { 0%, 100% { transform: none; } 20% { transform: translateX(-5px) rotate(-.4deg); } 40% { transform: translateX(5px) rotate(.4deg); } 60% { transform: translateX(-3px); } 80% { transform: translateX(3px); } }
[data-live-feed] .order-card.sold .order-amount { text-decoration: line-through; text-decoration-color: rgba(239, 68, 68, .7); opacity: .65; transition: opacity .3s; }
.sold-stamp { position: absolute; left: 50%; top: 50%; padding: .25rem 1rem; border: 3px solid var(--red); border-radius: 10px; color: var(--red); font-weight: 900; font-size: 1.5rem; letter-spacing: .25em; background: rgba(15, 17, 21, .55); transform: translate(-50%, -50%) rotate(-12deg) scale(2.2); opacity: 0; pointer-events: none; animation: stampIn .3s cubic-bezier(.2, 1.4, .4, 1) forwards, stampOut .3s ease .8s forwards; }
@keyframes stampIn { to { transform: translate(-50%, -50%) rotate(-12deg) scale(1); opacity: .95; } }
@keyframes stampOut { to { transform: translate(-50%, -50%) rotate(-12deg) scale(.9); opacity: 0; } }
[data-live-feed] .order-card.fresh { animation: freshGlow .7s ease; }
@keyframes freshGlow { from { box-shadow: 0 0 0 0 rgba(16, 185, 129, .55); } to { box-shadow: 0 0 0 14px rgba(16, 185, 129, 0); } }
.order-amount.pop { animation: amtPop .45s cubic-bezier(.2, 1.4, .4, 1); }
@keyframes amtPop { from { transform: scale(.85); opacity: .4; } to { transform: none; opacity: 1; } }
@media (max-width: 380px) {
  .order-card .order-amount { font-size: 1.3rem; }
  .order-card .pay-pill { padding: .75rem 1rem; font-size: .82rem; }
}
form.order-card { margin: 0 0 .75rem; }
.guide-list { margin: 0; padding-left: 1.2rem; color: var(--muted); display: grid; gap: .55rem; }
.guide-list li::marker { color: var(--accent); font-weight: 800; }

/* ---- Stats ---- */
.stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; margin-bottom: .9rem; }
.stat-grid.two { grid-template-columns: 1fr 1fr; }
@media (min-width: 720px) { .stat-grid.four { grid-template-columns: repeat(4, 1fr); } }
.stat { display: grid; justify-items: center; text-align: center; gap: .2rem; color: var(--text); position: relative; overflow: hidden; }
.stat.accent::before, .stat-grid.two .stat::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--accent), transparent); }
a.stat:hover { text-decoration: none; border-color: var(--border-strong); }
.stat-icon { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 9px; background: var(--card-2); border: 1px solid var(--border); font-size: .95rem; }
.stat-value { font-size: 1.25rem; font-weight: 800; color: var(--accent); }
.admin-main .stat-value { color: var(--text); }
.admin-main .stat { justify-items: start; text-align: left; }
.stat-label { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

.balance-hero { text-align: center; display: grid; justify-items: center; gap: .4rem; margin-bottom: .9rem; background: radial-gradient(120% 120% at 50% 0%, var(--accent-soft), var(--card) 60%); }
.balance-big { font-size: 2.1rem; font-weight: 800; color: var(--accent); letter-spacing: -0.02em; }

/* ---- Bars ---- */
.bars { display: grid; grid-template-columns: repeat(7, 1fr); gap: .5rem; align-items: end; height: 140px; }
.bar-col { display: grid; grid-template-rows: 1fr auto; gap: .35rem; height: 100%; text-align: center; font-size: .72rem; color: var(--muted); }
.bar-track { display: flex; align-items: flex-end; justify-content: center; background: var(--card-2); border-radius: 8px; overflow: hidden; }
.bar { width: 100%; background: linear-gradient(180deg, #34d399, var(--accent-2)); border-radius: 8px 8px 0 0; transition: height .6s cubic-bezier(.2, .8, .2, 1); }
.h-0 { height: 0; } .h-5 { height: 5%; } .h-10 { height: 10%; } .h-15 { height: 15%; } .h-20 { height: 20%; } .h-25 { height: 25%; } .h-30 { height: 30%; }
.h-35 { height: 35%; } .h-40 { height: 40%; } .h-45 { height: 45%; } .h-50 { height: 50%; } .h-55 { height: 55%; } .h-60 { height: 60%; } .h-65 { height: 65%; }
.h-70 { height: 70%; } .h-75 { height: 75%; } .h-80 { height: 80%; } .h-85 { height: 85%; } .h-90 { height: 90%; } .h-95 { height: 95%; } .h-100 { height: 100%; }

/* ---- Empty state ---- */
.empty { text-align: center; padding: 2rem 1rem; display: grid; justify-items: center; gap: .3rem; }
.empty-icon { font-size: 2.2rem; margin-bottom: .3rem; }
.empty h3 { font-size: 1rem; margin: 0; }
.empty p { margin: 0 0 .5rem; font-size: .86rem; }

/* ---- Key/value ---- */
.kv { display: grid; grid-template-columns: auto 1fr; gap: .55rem 1rem; margin: 0; font-size: .92rem; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; text-align: right; word-break: break-word; }

/* ---- Merchant app shell ---- */
.app-main { padding: 1rem 1rem calc(90px + env(safe-area-inset-bottom)); }
.app-container, .container { max-width: 480px; margin: 0 auto; display: grid; gap: .9rem; }
.container { padding: 20px; }
.app-container > * { margin-top: 0; margin-bottom: 0; }
.app-container > .section-label { margin-bottom: -.3rem; margin-top: .3rem; }
.greeting { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.greeting .page-title { margin: 0; }
.bottom-nav { position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000; display: flex; justify-content: space-around; align-items: flex-end; padding: 8px 12px calc(10px + env(safe-area-inset-bottom)); background: #050505; border-top: 1px solid var(--border); }
.bottom-nav a, .nav-item { color: var(--muted); text-align: center; text-decoration: none; font-size: 0.68rem; flex: 1; font-weight: 700; letter-spacing: .02em; transition: color 0.2s; }
.bottom-nav a:hover, .nav-item:hover, .nav-item.active, .bottom-nav a.active { color: #fff; text-decoration: none; }
.nav-item .icon { display: block; margin: 0 auto 4px; line-height: 0; }
.nav-item .icon svg { display: block; margin: 0 auto; }
.nav-home .icon { transform: translateY(-2px); }

.detail-head { text-align: center; display: grid; gap: .2rem; justify-items: center; }
.detail-amount { font-size: 2rem; font-weight: 800; }
.copy-box { display: flex; gap: .5rem; }
.copy-box input { font-family: var(--mono); font-size: .82rem; }

.profile-hero { text-align: center; display: grid; justify-items: center; gap: .65rem; padding: 1.4rem 1rem 1.1rem; background: transparent; border: 0; box-shadow: none; }
.avatar { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; font-size: 1.8rem; font-weight: 800; color: #fff; background: var(--green); box-shadow: 0 0 0 6px var(--accent-soft); }
.logout-btn { border-radius: 16px; }
.sheet-backdrop { position: fixed; inset: 0; z-index: 2000; display: flex; align-items: flex-end; justify-content: center; background: rgba(0, 0, 0, 0); backdrop-filter: blur(0); transition: background .25s, backdrop-filter .25s; }
.sheet-backdrop.open { background: rgba(0, 0, 0, .6); backdrop-filter: blur(6px); }
.sheet { position: relative; width: 100%; max-width: 480px; display: grid; gap: .8rem; justify-items: start; padding: 1.1rem 1.3rem calc(1.4rem + env(safe-area-inset-bottom)); border-radius: 26px 26px 0 0; background: linear-gradient(180deg, #171b20, #0f1115); border: 1px solid rgba(255, 255, 255, .1); border-bottom: 0; box-shadow: 0 -20px 60px rgba(16, 185, 129, .12); transform: translateY(100%); transition: transform .3s cubic-bezier(.2, .8, .2, 1); }
.sheet-backdrop.open .sheet { transform: none; }
.sheet-grip { justify-self: center; width: 42px; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .2); }
.sheet-close { position: absolute; top: .8rem; right: .9rem; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--border); background: var(--card-2); color: var(--text); font-size: 1.2rem; cursor: pointer; }
.sheet-amount { font-size: 2.2rem; font-weight: 850; letter-spacing: -.02em; }
.sheet-rows { width: 100%; display: grid; grid-template-columns: 1fr auto; gap: .55rem 1rem; margin: .2rem 0 0; padding: .9rem 1rem; border-radius: 16px; background: rgba(255, 255, 255, .03); border: 1px solid var(--border); font-size: .9rem; }
.sheet-rows dt { color: var(--muted); }
.sheet-rows dd { margin: 0; text-align: right; font-weight: 700; }
.sheet-net-label, .sheet-net { padding-top: .55rem; border-top: 1px dashed var(--border-strong); }
.sheet-net { color: var(--accent); font-size: 1.05rem; }
.credit-badge { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .9rem 1.1rem; border-radius: 18px; background: linear-gradient(135deg, rgba(16, 185, 129, .22), rgba(16, 185, 129, .06)); border: 1px solid rgba(16, 185, 129, .45); box-shadow: 0 0 24px rgba(16, 185, 129, .18); animation: badgeGlow 2.4s ease-in-out infinite; }
.credit-badge-label { font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #a7f3d0; }
.credit-badge-amt { font-size: 1.5rem; font-weight: 900; color: #34d399; }
@keyframes badgeGlow { 50% { box-shadow: 0 0 36px rgba(16, 185, 129, .32); } }
.trust-tags { display: flex; flex-wrap: wrap; gap: .45rem; }
.trust-tag { font-size: .74rem; font-weight: 700; color: var(--text); padding: .3rem .65rem; border-radius: 999px; background: rgba(255, 255, 255, .05); border: 1px solid var(--border-strong); }
.sheet-pay { border-radius: 999px; background: linear-gradient(135deg, #6ee7b7, #10b981); box-shadow: 0 10px 28px rgba(16, 185, 129, .35); }
@media (min-width: 600px) { .sheet-backdrop { align-items: center; } .sheet { border-radius: 26px; border-bottom: 1px solid rgba(255, 255, 255, .1); } }
.order-hist { display: grid; gap: .6rem; text-decoration: none; color: inherit; border-left: 4px solid var(--accent); border-radius: 22px; padding: 1.1rem 1.2rem; background: linear-gradient(180deg, #15181d, #0f1115); }
.order-hist.status-pending, .order-hist.status-created { border-left-color: var(--amber); }
.order-hist.status-failed, .order-hist.status-flagged { border-left-color: var(--red); }
.hist-credit { display: flex; justify-content: space-between; align-items: center; padding: .5rem .8rem; border-radius: 12px; font-size: .82rem; color: var(--muted); background: rgba(16, 185, 129, .08); border: 1px solid rgba(16, 185, 129, .25); }
.hist-credit strong { color: var(--accent); }
.hist-meta { display: flex; justify-content: space-between; align-items: center; gap: .6rem; flex-wrap: wrap; padding-top: .55rem; border-top: 1px solid var(--border); }
.hist-id { font-family: var(--mono); font-size: .72rem; padding: .2rem .55rem; border-radius: 8px; background: var(--card-2); border: 1px solid var(--border); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wallet-hero { padding: 1.6rem 1.2rem; }
.wallet-actions { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; width: 100%; margin-top: .6rem; }
.wallet-btn { border-radius: 999px; }
.tx-row { gap: .8rem; justify-content: flex-start; }
.tx-main { flex: 1; min-width: 0; }
.tx-icon { width: 36px; height: 36px; flex: none; display: grid; place-items: center; border-radius: 12px; font-weight: 900; }
.tx-icon.in { color: var(--accent); background: var(--accent-soft); border: 1px solid rgba(16, 185, 129, .3); }
.tx-icon.out { color: var(--red); background: var(--red-soft); border: 1px solid rgba(239, 68, 68, .3); }
.order-hist:hover { text-decoration: none; }
.order-hist-top { display: flex; justify-content: space-between; align-items: center; gap: .75rem; }
a.wd-tab { text-align: center; text-decoration: none; }
a.wd-tab:hover { text-decoration: none; color: inherit; }
a.wd-tab.on { color: #fff; }
.profile-name { font-size: 1.25rem; margin: 0; }
.phone-pill { display: inline-flex; align-items: center; gap: .6rem; padding: .35rem .5rem .35rem .9rem; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--border); font-family: var(--mono); font-size: .88rem; }
.phone-pill .muted { font-family: var(--font); letter-spacing: .1em; }
.support-cta, .support-hero { display: flex; align-items: center; gap: .85rem; color: var(--text); background: linear-gradient(90deg, var(--accent-soft), var(--card) 70%); border-color: rgba(16, 185, 129, .3); }
.support-cta:hover { text-decoration: none; }
.support-hero p { margin: 0; }
.support-icon { width: 40px; height: 40px; flex: none; border-radius: 11px; display: grid; place-items: center; font-size: 1.15rem; background: var(--accent); box-shadow: 0 6px 18px var(--accent-glow); }
.links-row { text-align: center; }

/* ---- Admin shell ---- */
.admin-nav { border-top: 1px solid var(--border); }
.admin-nav-inner { max-width: 1240px; margin: 0 auto; display: flex; gap: .2rem; padding: 0 .6rem; overflow-x: auto; scrollbar-width: none; }
.admin-nav-inner::-webkit-scrollbar { display: none; }
.admin-nav a { padding: .7rem .85rem; color: var(--muted); font-weight: 650; font-size: .88rem; white-space: nowrap; border-bottom: 2px solid transparent; }
.admin-nav a:hover { text-decoration: none; color: var(--text); }
.admin-nav a.active { color: var(--accent); border-bottom-color: var(--accent); }
.admin-main { max-width: 1240px; margin: 0 auto; padding: 1.25rem 1rem 3rem; display: grid; gap: 1rem; }
.admin-main > * { margin: 0; }
.admin-cols { gap: 1rem; align-items: start; }
@media (max-width: 860px) { .admin-cols { grid-template-columns: 1fr; } }
.table-wrap { overflow-x: auto; padding: 0; }
.table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.table th { text-align: left; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 700; padding: .75rem 1rem; border-bottom: 1px solid var(--border); background: var(--card-2); white-space: nowrap; }
.table td { padding: .75rem 1rem; border-bottom: 1px solid var(--border); vertical-align: top; }
.table tr:last-child td { border-bottom: 0; }
.table tr[data-href] { cursor: pointer; }
.table tr[data-href]:hover td { background: var(--accent-soft); }
.num { text-align: right !important; white-space: nowrap; }
.pre { white-space: pre-wrap; }
pre.code { font-family: var(--mono); font-size: .75rem; max-width: 420px; white-space: pre-wrap; word-break: break-all; background: var(--bg-2); padding: .6rem; border-radius: 8px; border: 1px solid var(--border); margin: .4rem 0 0; }
.payout-review { display: grid; gap: .85rem; }
.payout-main { display: flex; justify-content: space-between; gap: 1rem; align-items: flex-start; }
.risk-row { display: flex; gap: .4rem; flex-wrap: wrap; }
.pager { display: flex; align-items: center; justify-content: center; gap: .9rem; margin-top: .4rem; font-size: .85rem; }

/* ---- Public site ---- */
.container { max-width: 1160px; margin: 0 auto; padding: 0 1.1rem; }
.container.narrow { max-width: 780px; }
.public-body main > .container:first-child { padding-top: 1rem; }
.public-nav { display: flex; align-items: center; gap: 1.3rem; font-weight: 600; font-size: .93rem; }
.public-nav a:not(.btn) { color: var(--muted); }
.public-nav a:not(.btn):hover, .public-nav a.active { color: var(--text); text-decoration: none; }
.nav-toggle { display: none; color: var(--text); }
@media (max-width: 820px) {
    .nav-toggle { display: inline-grid; }
    .public-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: .5rem 1rem 1rem; background: var(--bg); border-bottom: 1px solid var(--border); }
    .public-nav.open { display: flex; }
    .public-nav a { padding: .7rem 0; }
    .public-nav .btn { margin-top: .5rem; }
}

.hero { padding: 3.5rem 0 2.5rem; background: radial-gradient(60% 60% at 80% 20%, var(--accent-soft), transparent 70%), radial-gradient(40% 50% at 0% 100%, rgba(16, 185, 129, .06), transparent 70%); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: 2rem; } .hero { padding-top: 2rem; } }
.hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 850; letter-spacing: -0.03em; margin: .9rem 0 1rem; }
.lead { font-size: 1.08rem; color: var(--muted); max-width: 620px; }
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); background: var(--accent-soft); border: 1px solid rgba(16, 185, 129, .25); padding: .35rem .75rem; border-radius: 999px; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: pulse 2s infinite; }
.hero-points { display: flex; gap: 1.2rem; flex-wrap: wrap; padding: 0; margin: 1.5rem 0 0; list-style: none; color: var(--muted); font-size: .9rem; }
.hero-points li::before { content: "✓ "; color: var(--accent); font-weight: 800; }

.hero-visual { display: flex; justify-content: center; }
.mock-phone { width: 100%; max-width: 360px; background: var(--card); border: 1px solid var(--border-strong); border-radius: 28px; padding: 1rem; box-shadow: 0 30px 80px rgba(0, 0, 0, .45), 0 0 0 8px var(--card-2); display: grid; gap: .6rem; animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-8px); } }
.mock-top { display: flex; align-items: center; gap: .4rem; font-weight: 800; font-size: .85rem; }
.pill-mini { margin-left: auto; background: var(--accent); color: #fff; padding: .15rem .55rem; border-radius: 999px; font-size: .74rem; }
.mock-tabs { display: flex; gap: .25rem; background: var(--bg-2); border-radius: 10px; padding: .25rem; font-size: .74rem; font-weight: 700; }
.mock-tabs span { flex: 1; text-align: center; padding: .35rem; border-radius: 7px; color: var(--muted); }
.mock-tabs .on { background: var(--accent); color: #fff; }
.mock-card { display: flex; justify-content: space-between; align-items: center; padding: .7rem .8rem; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--border); border-left: 3px solid var(--accent); }
.mock-card strong { display: block; font-size: 1rem; }
.mock-card small { color: var(--muted); font-size: .72rem; }
.mock-stat { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.mock-stat div { background: var(--bg-2); border: 1px solid var(--border); border-radius: 12px; padding: .6rem; text-align: center; }
.mock-stat small { display: block; color: var(--muted); font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; }
.mock-stat strong { color: var(--accent); }

.section { padding: 2.5rem 0; }
.section-title { text-align: center; font-size: 1.7rem; margin-bottom: 1.8rem; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
@media (max-width: 900px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .feature-grid { grid-template-columns: 1fr; } }
.feature { transition: transform .2s, border-color .2s; }
.feature:hover { transform: translateY(-3px); border-color: rgba(16, 185, 129, .35); }
.feature h3 { font-size: 1.02rem; margin-top: .7rem; }
.feature p { margin: 0; font-size: .9rem; }
.feature-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 11px; background: var(--accent-soft); border: 1px solid rgba(16, 185, 129, .25); font-size: 1.2rem; }
.cta { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; padding: 2rem; background: radial-gradient(100% 140% at 100% 0%, var(--accent-soft), var(--card) 60%); }
.cta h2 { font-size: 1.5rem; }
.cta p { margin: 0; }

.page-hero { padding: 3rem 0 1rem; text-align: center; }
.page-hero h1 { font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 850; letter-spacing: -0.02em; margin-top: .8rem; }
.page-hero .lead { margin: 0 auto; }
.page-hero + .section { padding-top: 1rem; }
.section .container.narrow { display: grid; gap: 1rem; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: .8rem; }
.step { display: flex; gap: 1rem; align-items: flex-start; }
.step h3 { font-size: 1.02rem; }
.step p { margin: 0; }
.step-num { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; background: linear-gradient(135deg, #14c98d, var(--accent-2)); box-shadow: 0 6px 18px var(--accent-glow); }
.info-card h3 { font-size: 1.05rem; }
.check-list { list-style: none; padding: 0; margin: .5rem 0 1rem; display: grid; gap: .55rem; }
.check-list li { padding-left: 1.6rem; position: relative; color: var(--muted); }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 800; }
.price-card { text-align: center; }
.price-card .check-list { text-align: left; max-width: 420px; margin: 1rem auto 1.5rem; }
.price { font-size: 3.4rem; font-weight: 850; color: var(--accent); letter-spacing: -0.03em; }
.legal { line-height: 1.7; }
.legal h2 { font-size: 1.1rem; margin-top: 1.5rem; }
.legal ul { padding-left: 1.2rem; color: var(--muted); }
.legal li { margin-bottom: .35rem; }
.legal p { color: var(--muted); }

.site-footer { border-top: 1px solid var(--border); margin-top: 2rem; padding: 2.5rem 0 1.5rem; background: var(--bg-2); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 1.5rem; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-grid h4 { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: .7rem; }
.footer-grid a:not(.brand) { display: block; color: var(--text); font-size: .9rem; margin-bottom: .45rem; opacity: .85; }
.footer-grid p { margin-top: .6rem; }
.footer-bottom { margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--border); }

/* ---- Auth ---- */
.auth-body { min-height: 100vh; background: radial-gradient(60% 50% at 50% 0%, var(--accent-soft), transparent 70%), var(--bg); }
.auth-wrap { max-width: 460px; margin: 0 auto; padding: 1.2rem 1rem 2rem; }
.auth-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; }
.auth-card, .auth-form { padding: 30px; background: var(--auth-bg); border-radius: 25px; border: 1px solid var(--border); box-shadow: 0 20px 40px rgba(0,0,0,0.1); color: var(--text); }
.auth-form { max-width: 420px; margin: 50px auto; }
.auth-form h2 { text-align: center; margin-bottom: 25px; }
.error { color: var(--red); margin-bottom: 15px; font-size: 0.9rem; }
.success { color: var(--green); margin-bottom: 15px; font-size: 0.9rem; }
@media screen and (max-width: 480px) {
    .auth-form { margin: 30px 15px; padding: 25px 20px; }
}
.auth-title { text-align: center; font-size: 1.45rem; font-weight: 800; }
.auth-card .form { margin-top: 1.2rem; }
.auth-links { text-align: center; margin-top: 1rem; }
.reg-steps { display: flex; align-items: center; justify-content: center; gap: .55rem; margin: 1.1rem 0 .2rem; }
.reg-step { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: .78rem; font-weight: 800; color: var(--muted); border: 1px solid var(--border-strong); background: var(--card-2); }
.reg-step.on, .reg-step.done { background: var(--accent); color: #fff; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.reg-line { width: 42px; height: 2px; background: var(--border-strong); border-radius: 2px; }
.reg-line.on { background: var(--accent); }

.login-screen {
    display: grid;
    place-items: center;
    background:
        radial-gradient(70% 55% at 50% 0%, rgba(16, 185, 129, 0.14), transparent 62%),
        radial-gradient(circle at 1px 1px, rgba(255,255,255,0.035) 1px, transparent 0),
        var(--bg);
    background-size: auto, 28px 28px, auto;
    padding: 1.5rem 1rem;
}
.login-wrap { max-width: 420px; width: 100%; margin: 0; padding: 0; }
.login-card { padding: 2rem 1.7rem 1.6rem; border-radius: 28px; box-shadow: 0 24px 80px rgba(0, 0, 0, .45); }
.login-brand { display: flex; align-items: center; justify-content: center; gap: .7rem; position: relative; }
.login-brand .brand { font-size: 1.35rem; letter-spacing: .04em; }
.login-brand .icon-btn { position: absolute; right: 0; top: 50%; transform: translateY(-50%); }
.login-sub { text-align: center; color: var(--muted); font-size: .92rem; margin: .55rem 0 0; }
.login-form { margin-top: 1.4rem; }
.phone-field { display: flex; align-items: stretch; }
.phone-prefix {
    display: inline-flex; align-items: center; gap: .35rem; flex: none;
    padding: 0 .85rem; color: var(--muted); font-weight: 700; font-size: .92rem;
    background: var(--card-2); border: 1px solid var(--border-strong); border-right: 0;
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
}
.phone-field input { border-top-left-radius: 0; border-bottom-left-radius: 0; }
.icon-input { position: relative; }
.icon-input .input-icon { position: absolute; left: .85rem; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.icon-input input { padding-left: 2.4rem; }
.login-btn { border-radius: 999px; margin-top: .25rem; }
.forgot-link { display: block; text-align: right; font-size: .84rem; color: var(--muted); font-weight: 600; }
.forgot-link:hover { color: var(--text); text-decoration: none; }
.login-divider { display: flex; align-items: center; gap: .8rem; margin: 1.4rem 0 1rem; color: var(--muted); font-size: .68rem; font-weight: 800; letter-spacing: .14em; }
.login-divider::before, .login-divider::after { content: ""; flex: 1; height: 1px; background: var(--border-strong); }
.login-signup { text-align: center; color: var(--muted); font-size: .9rem; margin: 0; }
.login-signup a { font-weight: 750; }

/* ---- Checkout ---- */
.bare-body { min-height: 100vh; background: radial-gradient(60% 50% at 50% 0%, var(--accent-soft), transparent 70%), var(--bg); }
.bare-wrap { max-width: 480px; margin: 0 auto; padding: 1.2rem 1rem 2.5rem; }
.checkout { display: grid; gap: 1rem; }
.checkout-head { display: flex; justify-content: space-between; align-items: center; }
.secure-tag { font-size: .78rem; color: var(--muted); background: var(--card); border: 1px solid var(--border); padding: .3rem .7rem; border-radius: 999px; }
.checkout-card { padding: 1.5rem 1.3rem; }
.checkout-merchant { font-size: 1.15rem; font-weight: 750; }
.checkout-amount { font-size: 2.5rem; font-weight: 850; letter-spacing: -0.03em; color: var(--accent); margin: .3rem 0; }
.checkout-desc { color: var(--muted); }
.result-icon { font-size: 3rem; margin-bottom: .4rem; animation: pop .4s cubic-bezier(.2, 1.4, .4, 1); }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }
.result-title { font-size: 1.4rem; }
.result-success { border-color: rgba(16, 185, 129, .4); }
.result-failed { border-color: rgba(239, 68, 68, .4); }
.checkout .kv { text-align: left; }
.error-card { text-align: center; margin-top: 12vh; padding: 2.5rem 1.5rem; }
.error-code { font-size: 4rem; font-weight: 900; color: var(--accent); letter-spacing: -0.04em; line-height: 1; margin-bottom: .6rem; }

.desk-nav { display: none; align-items: center; gap: 1rem; }
.desk-nav a { color: var(--muted); font-weight: 700; font-size: .85rem; }
.desk-nav a.active, .desk-nav a:hover { color: var(--green); text-decoration: none; }
@media (min-width: 900px) { .desk-nav { display: flex; } }

.card-anim { animation: slideUp .35s ease both; }
@keyframes slideUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.btn:active { transform: scale(.98); }
.demo-card { border-style: dashed; opacity: .92; }
.payout-card { display: grid; gap: .35rem; }
.wd-head { margin-bottom: .2rem; }
.wd-tabs { display: flex; gap: .4rem; padding: .35rem; background: var(--card); border: 1px solid var(--border); border-radius: 999px; }
.wd-tab { flex: 1; border: 0; background: transparent; color: var(--muted); font: inherit; font-weight: 800; font-size: .88rem; padding: .7rem .9rem; border-radius: 999px; cursor: pointer; }
.wd-tab.on { background: var(--green); color: #fff; box-shadow: 0 8px 20px var(--accent-glow); }
.bottom-nav a.active { color: #fff; }

@media (max-width: 360px) {
  .order-amount { font-size: 1.05rem; }
  .brand { font-size: 1rem; }
  .wallet, .balance-pill { font-size: .72rem; padding: 5px 8px; }
  .theme-toggle { width: 32px; height: 32px; }
  .topbar-inner { padding: 8px 10px; gap: .4rem; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Tasks */
.task-card { display: grid; gap: .6rem; }
.task-head { display: flex; justify-content: space-between; align-items: center; gap: .6rem; }
.task-reward { display: flex; justify-content: space-between; align-items: center; padding: .6rem .8rem; border-radius: 12px; background: rgba(34, 197, 94, .08); border: 1px dashed rgba(34, 197, 94, .35); }

/* Admin shell */
.text-right { text-align: right; }
.admin-body .topbar { position: sticky; top: 0; z-index: 30; border-bottom: 1px solid var(--border); }
.admin-brand { display: flex; align-items: center; gap: .6rem; }
.admin-shell { display: grid; grid-template-columns: 230px 1fr; max-width: 1400px; margin: 0 auto; min-height: calc(100vh - 60px); }
.admin-side { position: sticky; top: 60px; align-self: start; height: calc(100vh - 60px); overflow-y: auto; padding: 1rem .7rem; border-right: 1px solid var(--border); display: grid; align-content: start; gap: .15rem; }
.side-group { font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding: .9rem .7rem .35rem; }
.side-link { display: flex; align-items: center; gap: .6rem; padding: .6rem .7rem; border-radius: 10px; color: var(--muted); font-weight: 650; font-size: .9rem; }
.side-link:hover { text-decoration: none; background: var(--card-2); color: var(--text); }
.side-link.active { background: var(--accent-soft); color: var(--accent); }
.side-icon { width: 22px; text-align: center; }
.side-badge { margin-left: auto; min-width: 22px; padding: 0 .4rem; height: 20px; display: grid; place-items: center; border-radius: 999px; background: var(--red); color: #fff; font-size: .72rem; font-weight: 800; }
.admin-shell .admin-main { max-width: none; width: 100%; margin: 0; padding: 1.4rem 1.6rem 3rem; min-width: 0; align-content: start; }
.admin-main .card { margin-bottom: 0; padding: 18px 20px; }
.admin-main .table-wrap { padding: 0; }
.admin-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; flex-wrap: wrap; }
.admin-head .page-title { display: flex; align-items: center; gap: .5rem; margin: .2rem 0; }
.admin-search { display: flex; gap: .5rem; min-width: min(100%, 340px); }
.admin-search input { padding: .55rem .8rem; }
.admin-actions { display: flex; gap: .5rem; flex-wrap: wrap; }
.admin-tabs { display: flex; gap: .4rem; flex-wrap: wrap; }
.admin-tab { padding: .4rem .85rem; border-radius: 999px; border: 1px solid var(--border-strong); color: var(--muted); font-size: .84rem; font-weight: 650; }
.admin-tab:hover { text-decoration: none; color: var(--text); }
.admin-tab.active { background: var(--accent); border-color: var(--accent); color: #fff; }
.admin-alerts { display: grid; gap: .5rem; }
.admin-alerts .alert { margin: 0; color: var(--text); font-weight: 600; }
.admin-alerts .alert:hover { text-decoration: none; filter: brightness(1.1); }
.admin-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.admin-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.admin-main .stat-grid { margin: 0; gap: 1rem; }
.admin-main .stat-grid.four { grid-template-columns: repeat(4, 1fr); }
.admin-main a.stat { color: var(--text); }
.admin-dl { display: grid; grid-template-columns: max-content 1fr; gap: .45rem 1.2rem; margin: 0; font-size: .9rem; }
.admin-dl dt { color: var(--muted); }
.admin-dl dd { margin: 0; }
.inline-form { display: flex; gap: .5rem; }
.inline-form input { padding: .6rem .8rem; }
.admin-inline { grid-template-columns: 1fr auto; align-items: end; }
.payout-card { display: grid; gap: .4rem; }
.payout-top { display: flex; justify-content: space-between; gap: 1rem; align-items: flex-start; }
.payout-amt { font-size: 1.4rem; font-weight: 800; }
.admin-chart { display: grid; grid-template-columns: repeat(7, 1fr); gap: .6rem; height: 190px; align-items: end; }
.admin-bar { display: grid; grid-template-rows: auto 1fr auto; height: 100%; gap: .3rem; text-align: center; }
.admin-bar-val { font-size: .68rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.admin-bar-fill { align-self: end; width: 100%; border-radius: 8px 8px 3px 3px; background: linear-gradient(180deg, var(--accent), rgba(16, 185, 129, .35)); min-height: 2px; }
.admin-bar-day { font-size: .74rem; font-weight: 700; color: var(--muted); }
@media (max-width: 1100px) {
  .admin-main .stat-grid.four { grid-template-columns: repeat(2, 1fr); }
  .admin-grid-3 { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .admin-shell { grid-template-columns: 1fr; }
  .admin-side { position: sticky; top: 56px; z-index: 20; height: auto; display: flex; overflow-x: auto; gap: .3rem; padding: .5rem; border-right: 0; border-bottom: 1px solid var(--border); background: var(--header-bg); scrollbar-width: none; }
  .admin-side::-webkit-scrollbar { display: none; }
  .side-group { display: none; }
  .side-link { white-space: nowrap; padding: .5rem .7rem; }
  .admin-shell .admin-main { padding: 1rem .8rem 3rem; }
  .admin-grid-2 { grid-template-columns: 1fr; }
  .admin-who { display: none; }
  .inline-form, .admin-inline { grid-template-columns: 1fr; flex-direction: column; }
}

/* ---- Auth (login / register / forgot) ---- */
.ax-body {
    --ax-green: #19c993;
    --ax-teal: #5eead4;
    --ax-violet: #8b5cf6;
    --ax-ease: cubic-bezier(.22, 1, .36, 1);
    min-height: 100vh;
    margin: 0;
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
}
.ax-bg { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none;
    background: radial-gradient(circle at 1px 1px, rgba(148, 163, 184, .07) 1px, transparent 0) 0 0 / 26px 26px; }
.ax-orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .45; animation: axFloat 16s ease-in-out infinite; }
.ax-orb.o1 { width: 420px; height: 420px; top: -140px; left: -120px; background: var(--ax-green); }
.ax-orb.o2 { width: 380px; height: 380px; bottom: -160px; right: -100px; background: var(--ax-violet); animation-delay: -6s; }
.ax-orb.o3 { width: 260px; height: 260px; top: 40%; left: 45%; background: #3b82f6; opacity: .22; animation-delay: -11s; }
[data-theme="light"] .ax-orb { opacity: .25; }

.ax-shell { position: relative; z-index: 1; min-height: 100vh; display: grid; grid-template-columns: 1fr; }

.ax-side { display: none; }
.ax-main { display: grid; place-items: center; padding: 1.5rem 1rem 2.5rem; }

.ax-card {
    width: 100%; max-width: 430px;
    padding: 1.6rem 1.5rem 1.7rem;
    border-radius: 28px;
    border: 1px solid var(--border-strong);
    background: color-mix(in srgb, var(--card-bg) 82%, transparent);
    backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .6);
    animation: axIn .7s var(--ax-ease) both;
}
[data-theme="light"] .ax-card { box-shadow: 0 30px 70px -35px rgba(15, 23, 42, .3); }
.ax-card-top { display: flex; align-items: center; justify-content: space-between; min-height: 40px; }
.ax-card-top .brand { font-size: 1.2rem; letter-spacing: .04em; }

.ax-tabs { position: relative; display: grid; grid-template-columns: 1fr 1fr; margin-top: 1.2rem; padding: 4px; border-radius: 14px; background: var(--card-2); border: 1px solid var(--border); }
.ax-tabs a { position: relative; z-index: 1; text-align: center; padding: .62rem; border-radius: 10px; font-weight: 750; font-size: .9rem; color: var(--muted); text-decoration: none; transition: color .25s; }
.ax-tabs a.on { color: #04130d; }
.ax-tabs-pill { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 10px;
    background: linear-gradient(135deg, var(--ax-green), var(--ax-teal)); box-shadow: 0 8px 20px -8px rgba(25, 201, 147, .7);
    transition: transform .45s var(--ax-ease); animation: axPill .5s var(--ax-ease) both; }
.ax-tabs[data-active="register"] .ax-tabs-pill { transform: translateX(100%); }

.ax-title { margin: 1.3rem 0 0; font-size: 1.55rem; font-weight: 800; letter-spacing: -.02em; }
.ax-sub { margin: .3rem 0 1.1rem; color: var(--muted); font-size: .92rem; }
.ax-card .alert { margin: 0 0 1rem; }

.ax-form { display: grid; gap: .95rem; }
.ax-field { display: grid; gap: .4rem; }
.ax-label { font-size: .8rem; font-weight: 700; color: var(--muted); letter-spacing: .02em; }
.ax-row { display: flex; justify-content: space-between; align-items: center; }
.ax-row a { font-size: .82rem; font-weight: 650; color: var(--ax-green); text-decoration: none; }
.ax-row a:hover { text-decoration: underline; }

.ax-input {
    position: relative; display: flex; align-items: center; gap: .55rem;
    height: 52px; padding: 0 .9rem;
    border-radius: 14px;
    border: 1.5px solid var(--border-strong);
    background: var(--card-2);
    transition: border-color .2s, box-shadow .25s, background .2s;
}
.ax-input:focus-within { border-color: var(--ax-green); box-shadow: 0 0 0 4px rgba(25, 201, 147, .16); background: var(--card-bg); }
.ax-input.is-bad { border-color: #fb7185; box-shadow: 0 0 0 4px rgba(251, 113, 133, .12); }
.ax-input.is-good { border-color: var(--ax-green); }
.ax-ico { display: grid; place-items: center; color: var(--muted); flex: none; transition: color .2s; }
.ax-input:focus-within .ax-ico { color: var(--ax-green); }
.ax-prefix { font-weight: 750; color: var(--text); padding-right: .55rem; border-right: 1px solid var(--border-strong); font-size: .95rem; }
.ax-input input {
    flex: 1; min-width: 0; height: 100%;
    border: 0 !important; outline: 0; background: transparent !important; box-shadow: none !important;
    padding: 0 !important; color: var(--text); font: inherit; font-size: 1rem;
}
.ax-input input::placeholder { color: var(--muted); opacity: .7; }
.ax-eye { display: grid; place-items: center; width: 34px; height: 34px; margin-right: -.4rem; border: 0; border-radius: 10px; background: transparent; color: var(--muted); cursor: pointer; transition: background .2s, color .2s; }
.ax-eye:hover { background: var(--border); color: var(--text); }

.ax-otp input { text-align: center; font-family: var(--mono); font-size: 1.6rem; font-weight: 800; letter-spacing: .55em; padding-left: .55em !important; }
.ax-hint { margin: -.2rem 0 0; font-size: .8rem; color: var(--muted); }
.ax-hint strong { color: var(--text); }

.ax-meter { display: grid; grid-template-columns: repeat(4, 1fr) auto; align-items: center; gap: .3rem; margin-top: -.15rem; }
.ax-meter i { height: 4px; border-radius: 4px; background: var(--border-strong); transition: background .3s; }
.ax-meter-label { margin-left: .4rem; font-size: .72rem; font-weight: 700; color: var(--muted); min-width: 56px; text-align: right; }
.ax-meter[data-level="0"] i:nth-child(-n+1) { background: #fb7185; }
.ax-meter[data-level="1"] i:nth-child(-n+1) { background: #fb7185; }
.ax-meter[data-level="2"] i:nth-child(-n+2) { background: #f5b43c; }
.ax-meter[data-level="3"] i:nth-child(-n+3) { background: #5eead4; }
.ax-meter[data-level="4"] i:nth-child(-n+4) { background: var(--ax-green); }

.ax-btn {
    position: relative; overflow: hidden;
    display: flex; align-items: center; justify-content: center; gap: .5rem;
    width: 100%; height: 54px; margin-top: .3rem;
    border: 0; border-radius: 16px;
    font: inherit; font-size: 1rem; font-weight: 800; color: #04130d;
    background: linear-gradient(135deg, var(--ax-green), var(--ax-teal));
    box-shadow: 0 14px 30px -12px rgba(25, 201, 147, .8);
    cursor: pointer; transition: transform .2s var(--ax-ease), box-shadow .2s, opacity .2s;
}
.ax-btn::after { content: ""; position: absolute; top: 0; left: -120%; width: 55%; height: 100%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .5), transparent); transform: skewX(-20deg); animation: axShine 3.8s ease-in-out infinite; }
.ax-btn:hover { transform: translateY(-2px); box-shadow: 0 18px 36px -12px rgba(25, 201, 147, .9); }
.ax-btn:active { transform: scale(.98); }
.ax-btn:disabled { opacity: .7; cursor: progress; }
.ax-btn svg { transition: transform .25s var(--ax-ease); }
.ax-btn:hover svg { transform: translateX(3px); }
.ax-btn-ghost { height: 44px; margin: 0; background: transparent; color: var(--text); border: 1.5px solid var(--border-strong); box-shadow: none; font-size: .9rem; }
.ax-btn-ghost::after { display: none; }
.ax-btn-ghost:hover { border-color: var(--ax-green); box-shadow: none; }

.ax-links { display: flex; justify-content: center; gap: 1.2rem; margin-top: .9rem; font-size: .85rem; }
.ax-links a, .ax-foot a { color: var(--ax-green); font-weight: 700; text-decoration: none; }
.ax-links a:hover, .ax-foot a:hover { text-decoration: underline; }
.ax-foot { margin: 1.3rem 0 0; text-align: center; color: var(--muted); font-size: .88rem; }
.ax-secure { display: flex; align-items: center; justify-content: center; gap: .4rem; margin-top: 1.1rem; color: var(--muted); font-size: .75rem; }

.ax-steps { display: flex; align-items: center; gap: .5rem; margin: 0 0 1.1rem; }
.ax-step { display: flex; align-items: center; gap: .45rem; font-size: .78rem; font-weight: 700; color: var(--muted); }
.ax-step b { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; font-size: .75rem; background: var(--card-2); border: 1px solid var(--border-strong); }
.ax-step.on { color: var(--text); }
.ax-step.on b, .ax-step.done b { background: linear-gradient(135deg, var(--ax-green), var(--ax-teal)); color: #04130d; border-color: transparent; }
.ax-step-line { flex: 1; height: 2px; border-radius: 2px; background: var(--border-strong); overflow: hidden; }
.ax-step-line.on::after { content: ""; display: block; height: 100%; background: var(--ax-green); animation: axGrow .6s var(--ax-ease) both; }

.ax-form > * { animation: axUp .6s var(--ax-ease) both; }
.ax-form > *:nth-child(2) { animation-delay: .05s; }
.ax-form > *:nth-child(3) { animation-delay: .1s; }
.ax-form > *:nth-child(4) { animation-delay: .15s; }
.ax-form > *:nth-child(5) { animation-delay: .2s; }
.ax-form > *:nth-child(6) { animation-delay: .25s; }
.ax-form > *:nth-child(n+7) { animation-delay: .3s; }

@media (min-width: 960px) {
    .ax-shell { grid-template-columns: minmax(420px, 1fr) minmax(480px, 1fr); }
    .ax-side {
        display: flex; flex-direction: column; justify-content: space-between;
        margin: 1.2rem 0 1.2rem 1.2rem; padding: 2.6rem;
        border-radius: 32px; border: 1px solid var(--border-strong);
        background:
            radial-gradient(120% 90% at 0% 0%, rgba(25, 201, 147, .28), transparent 60%),
            radial-gradient(120% 90% at 100% 100%, rgba(139, 92, 246, .3), transparent 60%),
            color-mix(in srgb, var(--card-bg) 70%, transparent);
        backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
        animation: axIn .8s var(--ax-ease) both;
    }
    .ax-side .brand { font-size: 1.35rem; letter-spacing: .04em; }
    .ax-side-copy h2 { margin: 0; font-size: clamp(2rem, 3.2vw, 2.9rem); line-height: 1.1; font-weight: 800; letter-spacing: -.03em; }
    .ax-side-copy h2 span { background: linear-gradient(90deg, var(--ax-green), var(--ax-teal), var(--ax-violet), var(--ax-green)); background-size: 300% 100%;
        -webkit-background-clip: text; background-clip: text; color: transparent; animation: axShift 8s linear infinite; }
    .ax-side-copy p { max-width: 400px; margin: 1rem 0 0; color: var(--muted); font-size: 1rem; line-height: 1.6; }
    .ax-features { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
    .ax-features li { display: flex; align-items: center; gap: .9rem; padding: .85rem 1rem; border-radius: 18px; border: 1px solid var(--border);
        background: color-mix(in srgb, var(--card-bg) 60%, transparent); animation: axUp .7s var(--ax-ease) both; }
    .ax-features li:nth-child(2) { animation-delay: .1s; }
    .ax-features li:nth-child(3) { animation-delay: .2s; }
    .ax-features li > span { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; background: rgba(25, 201, 147, .14); font-size: 1.2rem; flex: none; }
    .ax-features strong { display: block; font-size: .95rem; }
    .ax-features small { color: var(--muted); font-size: .82rem; }
    .ax-side-foot { margin: 0; color: var(--muted); font-size: .8rem; }
    .ax-mobile-brand { visibility: hidden; }
    .ax-main { padding: 2rem; }
    .ax-card { padding: 2rem 2rem 2.1rem; }
}

@keyframes axFloat { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(40px, 30px) scale(1.1); } }
@keyframes axIn { from { opacity: 0; transform: translateY(24px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes axUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes axShine { 0%, 60% { left: -120%; } 100% { left: 160%; } }
@keyframes axShift { to { background-position: 300% 0; } }
@keyframes axGrow { from { width: 0; } to { width: 100%; } }
@keyframes axPill { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
    .ax-body *, .ax-body *::before, .ax-body *::after { animation: none !important; transition: none !important; }
}
