@charset "utf-8";

[x-cloak] { display: none !important; }

@media (min-width: 768px) {
    #accountMenu[x-cloak] { display: block !important; }
}

img {
    -webkit-user-drag: none;
    user-select: none;
    pointer-events: none;
}

:root {
    color-scheme: dark;
    --bs-font-sans-serif: "Inter", sans-serif;
    --bs-focus-ring-width: 0;
    --bs-focus-ring-opacity: 0;
    --bs-focus-ring-color: transparent;
}

/* Prevent iOS auto-zoom on input focus (triggers at <16px) */
@media screen and (max-width: 767.98px) {
    @supports (-webkit-touch-callout: none) {
        input[type="text"], input[type="email"], input[type="password"],
        input[type="number"], input[type="tel"], input[type="url"],
        select, textarea {
            font-size: max(16px, 1em);
        }
    }
}

body {
    --bs-body-bg: #000;
    --bs-body-bg-rgb: 0, 0, 0;

    --bs-heading-color: var(--bs-emphasis-color);
    --bs-body-color: var(--bs-gray-600);

    --bs-primary: #60a5fa;
    --bs-primary-rgb: 96, 165, 250;

    --bs-link-color: var(--bs-gray-600);
    --bs-link-color-rgb: var(--bs-primary-rgb);
    --bs-link-hover-color: var(--bs-gray-500);
    --bs-link-hover-color-rgb: 37, 99, 235;

    background-image: repeating-radial-gradient(circle at 0 0, transparent 0, #000 8px), repeating-linear-gradient(rgba(255, 255, 255, 0.04), #000);
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.15) transparent;
}
.border-dark {
    border-color: rgba(255, 255, 255, 0.08) !important;
}

html {
    scroll-behavior: smooth;
}

::selection {
    background: rgba(96, 165, 250, 0.3);
    color: #fff;
}

header {
    transition: box-shadow 0.3s ease, background-color 0.3s ease;
}
header.header-scrolled {
    box-shadow: 0 1px 0 rgba(255,255,255,0.04), 0 4px 24px rgba(0,0,0,0.4);
}
@media (min-width: 1200px) {
    header.position-relative {
        position: sticky !important;
        top: 0;
        z-index: 1020;
        margin-top: 0 !important;
        background: rgba(0, 0, 0, 0.92);
        -webkit-backdrop-filter: blur(20px);
        backdrop-filter: blur(20px);
    }
}

::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.25); }

.font-serif {
    font-family: "Bodoni Moda", serif;
}
.transition { transition: all 0.2s ease; }
.hover-white:hover { color: #fff !important; }

.accordion {
    --bs-accordion-btn-focus-box-shadow: '';
    --bs-accordion-active-color: #000;
    --bs-accordion-bg: transparent;
    --bs-accordion-active-bg: var(--bs-primary);
}

.accordion-item {
    border-color: var(--bs-dark);
}

.accordion-body p:last-child,
.accordion-body ul:last-child {
    margin-bottom: 0;
}

[data-bs-theme=dark] .accordion-button::after {
    --bs-accordion-btn-icon: url("data: image/svg+xml, %3Csvg xmlns='http://www.w3.org/2000/svg' width='1em' height='1em' viewBox='0 0 24 24' %3E%3Cpath fill='none' stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M12 4v16m-8-8h16' color='currentColor' /%3E%3C/svg%3E");
    --bs-accordion-btn-active-icon: url("data: image/svg+xml, %3Csvg xmlns='http://www.w3.org/2000/svg' width='1em' height='1em' viewBox='0 0 24 24' %3E%3Cpath fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M20 12H4' color='currentColor' /%3E%3C/svg%3E");
}

.tnum {
    font-variant-numeric: tabular-nums;
}

.min-width-0 {
    min-width: 0;
}

.bd-blur {
    -webkit-backdrop-filter: blur(1rem);
    backdrop-filter: blur(1rem);
}

@media (min-width: 1400px) {
    .container-3xl {
        max-width: 96rem;
        margin-left: auto;
        margin-right: auto;
    }
}

/* ═══ Form Input Modernization ═══ */
.form-control,
.form-select {
    transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}
.form-control:focus,
.form-select:focus {
    border-color: rgba(96, 165, 250, 0.5) !important;
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.08);
    color: var(--bs-emphasis-color);
    background-color: rgba(var(--bs-dark-rgb), 0.65);
}
.form-control::placeholder { transition: opacity 0.2s; }
.form-control:focus::placeholder { opacity: 0.4; }
.form-control.is-valid { border-color: rgba(34, 197, 94, 0.5) !important; box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.08); }
.form-control.is-invalid { border-color: rgba(239, 68, 68, 0.5) !important; box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.08); }
.input-group:focus-within {
    border-radius: var(--bs-border-radius-lg);
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.08);
}
.input-group > .form-control:focus,
.input-group > .form-select:focus {
    border-color: var(--bs-dark) !important;
}
.pw-toggle {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    padding: 0.25rem;
    z-index: 3;
    transition: color 0.15s;
    line-height: 1;
}
.pw-toggle:hover { color: rgba(255, 255, 255, 0.7); }
.pw-wrap { position: relative; }
.pw-wrap .form-control { padding-right: 2.5rem; }

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
}

h1, h2, .display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
    letter-spacing: -0.02em;
}

#calc, #purchase {
    scroll-margin-top: 4rem;
}
@media (max-width: 767.98px) {
    #calc, #purchase { scroll-margin-top: 3.5rem; }
}
#calc:target {
    border-color: rgba(var(--bs-primary-rgb), .25) !important;
    border-width: .25rem !important;
}

.bi-fix {
    vertical-align: -.25em;
}

.loader {
    display: none;
}

.loader.on>div {
    height: .125rem;
    width: 100%;
    position: absolute;
    left: 0;
    transform-origin: left center;
    transform: scaleX(0);
    animation: fill 1s linear infinite;
}

@keyframes fill {
    0%   { transform: scaleX(0); transform-origin: left center; }
    50%  { transform: scaleX(1); transform-origin: left center; }
    50.1%{ transform: scaleX(1); transform-origin: right center; }
    100% { transform: scaleX(0); transform-origin: right center; }
}

.loader.on {
    display: block;
    transition: opacity .25s;
}

.hero-viewport {
    display: flex;
    flex-direction: column;
    min-height: calc(100svh - 3rem);
}
@supports not (min-height: 100svh) {
    .hero-viewport { min-height: calc(100vh - 3rem); }
}
@media (max-width: 1199.98px) {
    .hero-viewport { min-height: calc(100svh - 3.5rem); }
}
@media (max-width: 767.98px) {
    .hero-viewport { min-height: calc(100svh - 5rem); }
}

.hero-viewport > section {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.hero-viewport > section > .container-fluid {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (min-width: 768px) {
    .faq-grid {
        grid-template-columns: repeat(2, 1fr);
        align-items: start;
    }
}

.hero-miner-img {
    height: auto !important;
}

@media (min-width: 992px) {
    .miner {
        max-height: min(800px, 55vh) !important;
    }

    .hero-feat {
        max-height: min(800px, 55vh) !important;
    }

    .hero-text {
        margin-top: -4rem;
    }

    .line::after {
        content: "";
        position: absolute;
        top: 50%;

        width: 16rem;
        height: 1px;
        background-color: var(--bs-dark);
    }

    .line-right::after {
        transform: translate(.5rem, -1px);
        left: 100%;
    }

    .line-left::after {
        transform: translate(-.5rem, -1px);
        right: 100%;
    }

    @keyframes hero-callout-in {
        from { opacity: 0; transform: translateY(12px); }
        to   { opacity: 1; transform: translateY(0); }
    }

    .hero-feat > div {
        opacity: 0;
        animation: hero-callout-in 0.5s ease-out forwards;
    }
    .hero-feat > div:nth-child(1) { animation-delay: 0.15s; }
    .hero-feat > div:nth-child(2) { animation-delay: 0.35s; }
    .hero-feat > div:nth-child(3) { animation-delay: 0.55s; }
    .hero-feat > div:nth-child(4) { animation-delay: 0.75s; }
}

@media (min-width: 576px) {
    .as-ratio {
        aspect-ratio: 4/3;
    }
}

@media (max-width: 767.98px) {
    #accountMenu {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 9999;
        background-color: rgba(0, 0, 0, 0.95);
        -webkit-backdrop-filter: blur(20px);
        backdrop-filter: blur(20px);
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        padding: 0.75rem;
        overflow-y: auto;
    }
    #accountMenu > div {
        max-width: 340px;
        margin: 0 auto;
    }

    .hero-feat {
        display: flex;
        flex-direction: column;
        scale: .8;
        transform-origin: left
    }

    .hero-feat>div {
        position: relative !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        top: auto !important;
    }

    .hero-feat>div:nth-child(odd) {
        margin-right: auto;
        transform: translate(-30%, -50%);
    }

    .hero-feat>div:nth-child(even) {
        margin-left: auto;
        transform: translate(30%, -100%);
    }
}

@media (max-width: 399px) {
    .hero-feat>div:nth-child(4) {
        display: none;
    }
}

/* ═══ Ticker Cards (modernized) ═══ */
.ticker-inner {
    padding: 0.85rem;
    border-radius: 0.85rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: border-color 0.25s, background-color 0.25s, box-shadow 0.25s;
}
@media (hover: hover) {
    .ticker-inner:hover {
        border-color: rgba(96, 165, 250, 0.15);
        background: rgba(255, 255, 255, 0.035);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    }
}
.ticker-coin-wrap {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.ticker-coin-wrap img { border-radius: 50%; }
.ticker-coin-fallback {
    font-size: 0.5rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.02em;
}
.ticker-age {
    font-size: 0.58rem;
    font-variant-numeric: tabular-nums;
}
.ticker-user {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.3);
    margin-top: 0.35rem;
    padding-top: 0.35rem;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

/* ═══ Toast Notification System ═══ */
.toast-container {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 1080;
    display: flex;
    flex-direction: column-reverse;
    gap: 0.5rem;
    pointer-events: none;
    max-width: min(420px, calc(100vw - 2rem));
}
@media (max-width: 575.98px) {
    .toast-container {
        bottom: calc(4.5rem + env(safe-area-inset-bottom, 0px));
        right: 0;
        left: 0;
        align-items: center;
        max-width: 100%;
        padding: 0 0.75rem;
    }
}
.toast-item {
    pointer-events: auto;
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    background: rgba(24, 24, 27, 0.92);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45), 0 1px 3px rgba(0, 0, 0, 0.2);
    color: #e5e5e5;
    font-size: 0.8125rem;
    line-height: 1.45;
    width: 100%;
    max-width: 420px;
    position: relative;
    overflow: hidden;
    animation: toast-in 0.35s cubic-bezier(0.16, 1, 0.3, 1) both;
    touch-action: pan-x;
}
@media (max-width: 575.98px) {
    .toast-item { max-width: 100%; }
    .toast-item.toast-out { animation-name: toast-out-mobile; }
}
.toast-item.toast-out {
    animation: toast-out 0.28s cubic-bezier(0.55, 0, 1, 0.45) both;
}
.toast-icon {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin-top: 1px;
}
.toast-body {
    flex: 1;
    min-width: 0;
}
.toast-body strong {
    display: block;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.1rem;
}
.toast-close {
    flex-shrink: 0;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    padding: 0.15rem;
    margin: -0.15rem -0.25rem 0 0;
    border-radius: 0.25rem;
    line-height: 1;
    transition: color 0.15s, background 0.15s;
}
.toast-close:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}
.toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    border-radius: 0 0 0.75rem 0.75rem;
    transform-origin: left center;
    animation: toast-progress linear both;
}
.toast-item:hover .toast-progress { animation-play-state: paused; }
.toast-item.success { border-color: rgba(34, 197, 94, 0.25); }
.toast-item.success .toast-icon { color: #22c55e; }
.toast-item.success .toast-progress { background: #22c55e; }
.toast-item.error { border-color: rgba(239, 68, 68, 0.25); }
.toast-item.error .toast-icon { color: #ef4444; }
.toast-item.error .toast-progress { background: #ef4444; }
.toast-item.info { border-color: rgba(96, 165, 250, 0.25); }
.toast-item.info .toast-icon { color: #60a5fa; }
.toast-item.info .toast-progress { background: #60a5fa; }
.toast-item.warning { border-color: rgba(250, 204, 21, 0.25); }
.toast-item.warning .toast-icon { color: #facc15; }
.toast-item.warning .toast-progress { background: #facc15; }
@keyframes toast-in {
    from { opacity: 0; transform: translateY(0.75rem) scale(0.96); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes toast-out {
    from { opacity: 1; transform: translateX(0); }
    to { opacity: 0; transform: translateX(100%); }
}
@keyframes toast-out-mobile {
    from { opacity: 1; transform: translateY(0) scale(1); }
    to { opacity: 0; transform: translateY(0.75rem) scale(0.96); }
}
@keyframes toast-progress {
    from { transform: scaleX(1); }
    to { transform: scaleX(0); }
}
@media (prefers-reduced-motion: reduce) {
    .toast-item { animation-duration: 0.01s; }
    .toast-item.toast-out { animation-duration: 0.01s; }
}

.convertbtc:not(.converted):not(.nobtc)::after {
    content: " BTC";
}

.convertbtc,
.livebalance,
.price,
.formatunix,
.js-earn-tick,
.js-pending {
    transition: color 0.15s ease, background-color 0.2s ease;
}

@keyframes skel-pulse {
    0%, 100% { background-color: rgba(255,255,255,0.04); }
    50% { background-color: rgba(255,255,255,0.09); }
}

.currency-pending .convertbtc:not(.converted),
.currency-pending .livebalance,
.currency-pending .price,
.formatunix:not(.formatted) {
    color: transparent !important;
    background-color: rgba(255,255,255,0.06);
    border-radius: 0.25rem;
    animation: skel-pulse 1.8s ease-in-out infinite;
}
.js-earn-tick:not(.tick-active),
.live-earning-tick:not(.tick-active),
.js-pending:not(.js-ready) {
    color: rgba(255,255,255,0.2) !important;
}

.copy-badge {
    position: absolute;
    top: -1.75rem;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bs-success);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 600;
    padding: 0.15rem 0.5rem;
    border-radius: 1rem;
    white-space: nowrap;
    pointer-events: none;
    animation: copyFade 1.2s ease forwards;
    z-index: 10;
}

@keyframes copyFade {
    0%, 70% { opacity: 1; }
    100% { opacity: 0; }
}

.pw-bar {
    height: 3px;
    border-radius: 2px;
    transition: background-color 0.3s;
}

/* ═══ Smart Tables ═══ */
.table-hover tbody tr {
    transition: background-color 0.2s ease;
}

@media (max-width: 767.98px) {
    .table-responsive table { font-size: 0.72rem !important; }
    .table-responsive th,
    .table-responsive td { padding-left: 0.5rem !important; padding-right: 0.5rem !important; }
}

/* Dashboard dark pill buttons */
@media (hover: hover) {
    .btn-dark.border-dark:hover {
        border-color: rgba(96, 165, 250, 0.12) !important;
        background-color: rgba(96, 165, 250, 0.04) !important;
    }
}

@media (max-width: 991.98px) {
    #navbar {
        position: absolute;
        border-radius: .25rem;
        padding: .25rem 1rem;
        top: 2.75rem;
        right: 0;
        background-color: rgba(var(--bs-dark-rgb)) !important;
        z-index: 10;
    }
}

/* Mining Summary Card (dashboard) */
.mining-summary-card {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.5) 0%, rgba(15, 23, 42, 0.7) 100%);
    border: 1px solid rgba(255,255,255,0.06) !important;
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.mining-summary-card:hover {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.7) 0%, rgba(15, 23, 42, 0.9) 100%);
    border-color: rgba(96, 165, 250, 0.2) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}
.mining-summary-card:hover .mining-summary-arrow {
    background: rgba(96, 165, 250, 0.15);
    color: #60a5fa;
}

/* Mining Fleet */
.status-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
}
.status-dot.online {
    background-color: var(--bs-success);
    box-shadow: 0 0 4px var(--bs-success);
    animation: statusGlow 2.5s ease-in-out infinite;
}
.status-dot.offline {
    background-color: var(--bs-secondary);
}
@keyframes statusGlow {
    0%, 100% { box-shadow: 0 0 4px var(--bs-success), 0 0 0 0 rgba(25, 135, 84, 0.4); }
    50% { box-shadow: 0 0 6px var(--bs-success), 0 0 0 4px rgba(25, 135, 84, 0); }
}

.capacity-bar-wrap {
    height: 8px;
    background: rgba(255,255,255,0.06);
    border-radius: 4px;
    overflow: hidden;
}
.capacity-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--bs-success), #34d399);
    border-radius: 4px;
    transition: width 0.6s ease;
    min-width: 4px;
}

/* Mining units label (calculator/deposit) */
.mining-units-note {
    font-size: 0.7rem;
    color: var(--bs-secondary);
    margin-top: 2px;
}
.mining-units-note strong {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
}

.earnings-chart-wrap {
    position: relative;
    height: 200px;
    background: linear-gradient(180deg, rgba(255,255,255,0.02) 0%, transparent 100%);
    border-radius: 0.5rem;
    animation: skel-pulse 1.8s ease-in-out infinite;
}
.earnings-chart-wrap:has(canvas.chartjs-render-monitor),
.earnings-chart-wrap:has(canvas[style]) {
    background: none;
    animation: none;
}
@media (min-width: 768px) {
    .earnings-chart-wrap { height: 240px; }
}

#chartPeriod .btn {
    border-color: rgba(255,255,255,0.1);
    color: #64748b;
    font-weight: 600;
    letter-spacing: 0.04em;
    padding-top: 0.15rem;
    padding-bottom: 0.15rem;
}
#chartPeriod .btn:hover:not(:disabled) { color: #94a3b8; }
#chartPeriod .btn.active {
    background: rgba(96, 165, 250, 0.12);
    border-color: rgba(96, 165, 250, 0.25);
    color: #60a5fa;
}
#chartPeriod .btn:disabled {
    opacity: 0.25;
    cursor: default;
    pointer-events: none;
}

/* Block Feed */
.block-feed-row {
    transition: background-color 0.15s ease;
}
.block-feed-row:hover {
    background-color: rgba(255,255,255,0.03);
}
.block-feed-row.is-latest {
    border-color: rgba(34, 197, 94, 0.15) !important;
    background-color: rgba(34, 197, 94, 0.03);
    animation: row-highlight 2s ease-out both;
}
@keyframes row-highlight {
    0% { box-shadow: inset 0 0 0 1px rgba(34, 197, 94, 0.35), 0 0 16px rgba(34, 197, 94, 0.08); }
    100% { box-shadow: none; }
}

.live-earning-tick {
    display: inline-block;
    font-variant-numeric: tabular-nums;
    transition: color 0.15s ease, transform 0.15s ease;
}
.live-earning-tick.tick-up {
    transform: translateY(-1px);
}
.balance-pulse {
    color: #22c55e !important;
}

.hashrate-spark {
    display: flex;
    align-items: flex-end;
    gap: 1px;
    height: 24px;
}
.hashrate-spark:empty {
    visibility: hidden;
}
.hashrate-spark-bar {
    width: 3px;
    border-radius: 1px;
    background: var(--bs-success);
    opacity: 0.5;
    transition: height 0.4s ease;
}
.hashrate-spark-bar:last-child {
    opacity: 0.9;
}

.hero-bottom-bar {
    flex-shrink: 0;
}

/* Promo CTA hover */
.promo-cta {
    transition: transform 0.2s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5) !important;
}
@media (hover: hover) {
    .promo-cta:hover { transform: scale(1.05); }
}

/* Button hover lift */
.btn-primary,
.btn-light {
    transition: transform 0.2s ease, box-shadow 0.2s ease, color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
}
@media (hover: hover) {
    .btn-primary:hover {
        transform: translateY(-1px);
        box-shadow: 0 4px 16px rgba(96, 165, 250, 0.25);
    }
    .btn-light:hover {
        transform: translateY(-1px);
        box-shadow: 0 4px 16px rgba(255, 255, 255, 0.1);
    }
}

/* Card hover */
.card-hover {
    transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
@media (hover: hover) {
    .card-hover:hover {
        border-color: rgba(96, 165, 250, 0.15) !important;
        transform: translateY(-2px);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(96, 165, 250, 0.04);
    }
}

/* Nav link underline animation */
@media (min-width: 1200px) {
    #navbar .nav-link {
        position: relative;
    }
    #navbar .nav-link::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 1px;
        background: var(--bs-primary);
        transform: scaleX(0);
        transform-origin: center;
        transition: transform 0.25s ease;
    }
    #navbar .nav-link:hover::after {
        transform: scaleX(1);
    }
}

/* Focus-visible rings — form controls only (no link halos on v2 pages) */
.form-control:focus-visible,
.form-select:focus-visible {
    outline: 2px solid rgba(96, 165, 250, 0.5);
    outline-offset: 2px;
}
.btn:focus-visible {
    outline: none;
    box-shadow: none;
}
/* Suppress default focus glow (mouse clicks) but restore keyboard rings */
.wiz-card *:focus,
.v2-card *:focus {
    outline: none;
    box-shadow: none;
    --bs-focus-ring-color: transparent;
}
.wiz-card *:focus-visible,
.v2-card *:focus-visible {
    outline: 2px solid rgba(96, 165, 250, 0.45);
    outline-offset: 2px;
}
.wiz-card .form-control:focus,
.wiz-card .form-select:focus,
.v2-card .form-control:focus,
.v2-card .form-select:focus {
    box-shadow: none;
    border-color: rgba(255, 255, 255, 0.15);
}
.wiz-card .form-control:focus-visible,
.wiz-card .form-select:focus-visible,
.v2-card .form-control:focus-visible,
.v2-card .form-select:focus-visible {
    border-color: rgba(96, 165, 250, 0.4);
    outline: none;
}

/* Scroll fade-in — desktop: slide + fade, mobile: quick opacity only */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
.fade-in-group > .fade-in:nth-child(2) { transition-delay: 0.08s; }
.fade-in-group > .fade-in:nth-child(3) { transition-delay: 0.16s; }
.fade-in-group > .fade-in:nth-child(4) { transition-delay: 0.24s; }
.fade-in-group > .fade-in:nth-child(5) { transition-delay: 0.32s; }
.fade-in-group > .fade-in:nth-child(6) { transition-delay: 0.40s; }
.fade-in-group > .fade-in:nth-child(7) { transition-delay: 0.48s; }
/* Opacity-only fade for containers with mix-blend-mode images */
.fade-in-blend {
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.fade-in-blend.visible {
    opacity: 1;
}
@media (max-width: 767.98px) {
    .fade-in {
        transform: none;
        transition: opacity 0.4s ease-out;
    }
    .fade-in.visible {
        transform: none;
    }
    .fade-in-group > .fade-in:nth-child(n) { transition-delay: 0s; }
    .fade-in-blend {
        transition: opacity 0.4s ease-out;
    }
}
@media (prefers-reduced-motion: reduce) {
    .fade-in, .fade-in-scale, .fade-in-blend { opacity: 1; transform: none; transition: none; }
    html { scroll-behavior: auto; }
}

/* Gradient text */
.text-gradient {
    background: linear-gradient(to bottom, #fff 20%, rgba(255,255,255,0.45));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    padding-inline: 0.05em;
}

/* Image scale reveal */
.fade-in-scale {
    opacity: 0;
    transform: scale(0.97);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.fade-in-scale.visible {
    opacity: 1;
    transform: scale(1);
}
@media (max-width: 767.98px) {
    .fade-in-scale {
        transform: none;
        transition: opacity 0.4s ease-out;
    }
    .fade-in-scale.visible {
        transform: none;
    }
}

/* Softer borders for marketing surfaces */
.border-subtle {
    border-color: rgba(255, 255, 255, 0.06) !important;
}

/* Generous section spacing on large screens */
@media (min-width: 1400px) {
    .section-space { padding-top: 5rem !important; padding-bottom: 5rem !important; }
}
@media (min-width: 1200px) and (max-width: 1399.98px) {
    .section-space { padding-top: 3.5rem !important; padding-bottom: 3.5rem !important; }
}

/* ═══ View Transitions ═══ */
@media not (prefers-reduced-motion: reduce) {
    @view-transition { navigation: auto; }
}
::view-transition { background: #000; }
::view-transition-old(root) {
    animation: 180ms cubic-bezier(0.4, 0, 0.2, 1) both vt-out;
}
::view-transition-new(root) {
    animation: 180ms cubic-bezier(0.4, 0, 0.2, 1) both vt-in;
}
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; } }
html.vt-active .fade-in,
html.vt-active .fade-in-blend,
html.vt-active .fade-in-scale {
    opacity: 1;
    transform: none;
    transition: none;
}

/* ═══ Mobile Wallet Strip ═══ */
.wallet-strip {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.75rem;
    margin-bottom: 0.5rem;
    background: rgba(0,0,0,0.5);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 0.75rem;
    position: sticky;
    top: 0;
    z-index: 5;
    animation: wallet-strip-in 0.35s ease-out both;
}
@keyframes wallet-strip-in {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}
.wallet-strip-item {
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.wallet-strip-label {
    font-size: 0.55rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--bs-secondary);
    line-height: 1;
}
.wallet-strip-value {
    font-size: 0.8rem;
    font-weight: 600;
    color: #fff;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.wallet-strip-divider {
    width: 1px;
    height: 1.5rem;
    background: rgba(255,255,255,0.08);
    flex-shrink: 0;
}
.wallet-strip-cta {
    margin-left: auto;
    padding: 0.2rem 0.65rem;
    font-size: 0.7rem;
    font-weight: 600;
    color: #fff;
    background: var(--bs-primary);
    border-radius: 2rem;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
}
.wallet-strip-trial {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.65rem;
    font-weight: 500;
    color: var(--bs-secondary);
    white-space: nowrap;
    flex-shrink: 0;
}

/* ═══ Mobile Bottom Navigation ═══ */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    background: rgba(0, 0, 0, 0.92);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255,255,255,0.06);
    display: flex;
    justify-content: space-around;
    padding: 0.4rem 0;
    padding-bottom: calc(0.4rem + env(safe-area-inset-bottom, 0px));
}
.mobile-bottom-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    text-decoration: none;
    color: rgba(255,255,255,0.35);
    font-size: 0.55rem;
    font-weight: 500;
    padding: 0.15rem 0.75rem;
    -webkit-tap-highlight-color: transparent;
    transition: transform 0.12s ease, opacity 0.12s ease;
    user-select: none;
    -webkit-touch-callout: none;
}
.mobile-bottom-nav a.active {
    color: var(--bs-primary);
}
.mobile-bottom-nav a svg {
    opacity: 0.7;
}
.mobile-bottom-nav a.active svg {
    opacity: 1;
}
@media (hover: none) and (pointer: coarse) {
    .mobile-bottom-nav a:active {
        transform: scale(0.88);
        opacity: 0.6;
        transition: transform 0.1s ease, opacity 0.1s ease;
    }
}
.mobile-bottom-nav-buy {
    position: relative;
}
.mobile-bottom-nav-buy::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(96, 165, 250, 0.1);
    box-shadow: 0 0 20px rgba(96, 165, 250, 0.12), 0 0 40px rgba(96, 165, 250, 0.04);
    z-index: -1;
    pointer-events: none;
}
.mobile-bottom-nav-buy svg {
    opacity: 1 !important;
    color: var(--bs-primary) !important;
}
@media (max-width: 767.98px) {
    body:has(.mobile-bottom-nav) { padding-bottom: 4rem; }
}
@media (min-width: 768px) {
    .mobile-bottom-nav { display: none !important; }
}

/* ═══ Auth Pages (split-panel) ═══ */
.auth-brand {
    background: linear-gradient(160deg, rgba(96,165,250,0.06) 0%, rgba(15,23,42,0.98) 50%, rgba(0,0,0,1) 100%);
    border-right: 1px solid rgba(255,255,255,0.04);
}
.auth-brand-img {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 85%;
    max-width: 320px;
    opacity: 0.12;
    mix-blend-mode: lighten;
    pointer-events: none;
    -webkit-mask-image: radial-gradient(ellipse 75% 70% at 50% 50%, #000 25%, transparent 100%);
    mask-image: radial-gradient(ellipse 75% 70% at 50% 50%, #000 25%, transparent 100%);
}
.auth-brand-img-lg {
    position: absolute;
    left: 50%;
    top: 52%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 380px;
    opacity: 0.14;
    mix-blend-mode: lighten;
    pointer-events: none;
    -webkit-mask-image: radial-gradient(ellipse 75% 70% at 50% 50%, #000 25%, transparent 100%);
    mask-image: radial-gradient(ellipse 75% 70% at 50% 50%, #000 25%, transparent 100%);
}

/* ═══ Custom Currency Dropdown ═══ */
.curr-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.6rem;
    background: rgba(var(--bs-dark-rgb), 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.5rem;
    color: var(--bs-secondary);
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: border-color 0.15s, background-color 0.15s;
    white-space: nowrap;
}
.curr-btn:hover {
    border-color: rgba(255,255,255,0.12);
    background: rgba(var(--bs-dark-rgb), 0.7);
}
.curr-coin-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
    flex-shrink: 0;
    border-radius: 50%;
}
.curr-chevron {
    transition: transform 0.2s ease;
}
.curr-chevron.open {
    transform: rotate(180deg);
}
.curr-panel {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    width: 220px;
    max-height: 320px;
    overflow-y: auto;
    background: rgba(15, 15, 20, 0.97);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 0.75rem;
    padding: 0.35rem;
    z-index: 1050;
    box-shadow: 0 12px 40px rgba(0,0,0,0.5);
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.1) transparent;
}
@media (max-width: 575.98px) {
    /* Header picker: trigger sits on the left — anchor panel to the left so it opens into the viewport. */
    .curr-panel {
        left: 0;
        right: auto;
        width: min(220px, calc(100vw - 2rem));
    }
    /* Purchase / payout wizard + calculator: trigger on the right — grow left from the button so we do not clip off the right edge. */
    .wiz-curr-panel,
    #calculator .curr-panel {
        left: auto;
        right: 0;
    }
}
/* ═══ Calculator (v2 aligned) ═══ */
#calculator > div:first-child,
#calculator .calc-config {
    position: relative;
    z-index: 5;
}
#calculator .wiz-amount-group,
#calculator .wiz-curr-wrap {
    overflow: visible;
}
.calc-config {
    padding: 1.25rem;
    background: rgba(var(--bs-dark-rgb), 0.25);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 0.85rem;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    margin-bottom: 0.5rem;
}
.calc-rewards {
    background: rgba(var(--bs-dark-rgb), 0.25);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 0.85rem;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    overflow: hidden;
    margin-bottom: 0.5rem;
}
.calc-rewards-header {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.65rem 1.1rem;
    background: rgba(0, 0, 0, 0.25);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--bs-secondary);
}
.calc-reward-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 1.1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.calc-reward-row:last-child {
    border-bottom: none;
}
.calc-reward-row--highlight {
    background: rgba(var(--bs-primary-rgb), 0.04);
    border-bottom: none;
}
.calc-reward-row--highlight .calc-reward-period {
    color: var(--bs-primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    font-size: 0.78rem;
}
.calc-reward-period {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--bs-secondary);
}
.calc-reward-val {
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 1px;
}
.calc-reward-pct {
    font-size: 0.68rem;
    font-weight: 600;
    color: #22c55e;
    line-height: 1.2;
}
.calc-footer {
    padding: 1.1rem;
    background: rgba(var(--bs-dark-rgb), 0.25);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 0.85rem;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    text-align: center;
}
.calc-breakeven {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 0.75rem;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 0.65rem;
    margin-bottom: 0.75rem;
}
.calc-breakeven svg {
    color: var(--bs-secondary);
    flex-shrink: 0;
}
.calc-disclaimer {
    margin-top: 0.85rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.72rem;
    color: var(--bs-secondary);
    text-align: start;
    line-height: 1.5;
}
.v2-card .calc-config,
.v2-card .calc-rewards,
.v2-card .calc-footer {
    background: rgba(0, 0, 0, 0.18);
    border-color: rgba(255, 255, 255, 0.04);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}
.curr-panel-group {
    color: rgba(255,255,255,0.3);
    font-size: 0.55rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.5rem 0.6rem 0.25rem;
}
.curr-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.4rem 0.6rem;
    border: none;
    background: transparent;
    color: rgba(255,255,255,0.6);
    font-size: 0.75rem;
    border-radius: 0.4rem;
    cursor: pointer;
    transition: background-color 0.1s;
    text-align: left;
}
.curr-item:hover {
    background: rgba(255,255,255,0.06);
    color: #fff;
}
.curr-item .curr-check {
    display: none;
    flex-shrink: 0;
    opacity: 0.8;
}
.curr-item.active {
    background: rgba(96, 165, 250, 0.1);
    color: var(--bs-primary);
}
.curr-item.active .curr-check {
    display: block;
}
.curr-item.active .curr-item-dot {
    background: var(--bs-primary);
    color: #fff;
}
.curr-item-dot {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--bs-dark);
    font-size: 0.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

/* ═══ Command Palette ═══ */
.cmd-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: min(20vh, 160px);
    animation: cmd-overlay-in 0.15s ease-out;
}
.cmd-overlay.closing { animation: cmd-overlay-out 0.12s ease-in forwards; }
.cmd-dialog {
    width: min(560px, calc(100vw - 2rem));
    background: rgba(24, 24, 27, 0.95);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6), 0 2px 8px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    animation: cmd-dialog-in 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.cmd-overlay.closing .cmd-dialog { animation: cmd-dialog-out 0.12s ease-in forwards; }
.cmd-input-wrap {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.cmd-input-wrap svg { flex-shrink: 0; color: rgba(255, 255, 255, 0.3); }
.cmd-input {
    flex: 1;
    background: none;
    border: none;
    color: #fff;
    font-size: 0.95rem;
    outline: none;
    caret-color: var(--bs-primary);
}
.cmd-input::placeholder { color: rgba(255, 255, 255, 0.3); }
.cmd-kbd {
    font-size: 0.6rem;
    padding: 0.15rem 0.35rem;
    border-radius: 0.25rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.35);
    font-family: inherit;
    line-height: 1.2;
}
.cmd-results {
    max-height: min(50vh, 380px);
    overflow-y: auto;
    padding: 0.4rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.1) transparent;
}
.cmd-group-label {
    padding: 0.5rem 0.65rem 0.25rem;
    font-size: 0.6rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.3);
}
.cmd-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    animation: cmd-item-in 0.15s cubic-bezier(0.16, 1, 0.3, 1) both;
    padding: 0.55rem 0.65rem;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: background 0.1s;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.82rem;
    text-decoration: none;
}
.cmd-item:hover,
.cmd-item.active {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
}
.cmd-item svg { flex-shrink: 0; color: rgba(255, 255, 255, 0.35); }
.cmd-item.active svg { color: var(--bs-primary); }
.cmd-item-label { flex: 1; }
.cmd-item-hint {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.25);
}
.cmd-empty {
    padding: 2rem 1rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.82rem;
}
.cmd-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.5rem 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.25);
}
.cmd-footer kbd {
    font-size: 0.55rem;
    padding: 0.1rem 0.3rem;
    border-radius: 0.2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.35);
    font-family: inherit;
    margin: 0 0.1rem;
}
@keyframes cmd-overlay-in { from { opacity: 0; } }
@keyframes cmd-overlay-out { to { opacity: 0; } }
@keyframes cmd-dialog-in { from { opacity: 0; transform: scale(0.96) translateY(-8px); } }
@keyframes cmd-dialog-out { to { opacity: 0; transform: scale(0.96) translateY(-8px); } }
@keyframes cmd-item-in { from { opacity: 0; transform: translateY(4px); } }
.cmd-item:nth-child(1) { animation-delay: 0.03s; }
.cmd-item:nth-child(2) { animation-delay: 0.06s; }
.cmd-item:nth-child(3) { animation-delay: 0.09s; }
.cmd-item:nth-child(4) { animation-delay: 0.12s; }
.cmd-item:nth-child(5) { animation-delay: 0.15s; }
.cmd-item:nth-child(6) { animation-delay: 0.18s; }
.cmd-item:nth-child(7) { animation-delay: 0.21s; }
.cmd-item:nth-child(8) { animation-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) {
    .cmd-overlay, .cmd-dialog { animation-duration: 0.01s; }
}

/* ═══════════════════════════════════════════
   V2 member shell + deposit/withdraw wizard
   ═══════════════════════════════════════════ */

/* ── Sidebar ── */
.v2-sidebar {
    background: linear-gradient(180deg, rgba(96, 165, 250, 0.03) 0%, rgba(var(--bs-dark-rgb), 0.3) 100%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}
.v2-sidebar-nav {
    gap: 2px;
}
.v2-nav-link {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.55rem 0.6rem;
    border-radius: 0.5rem;
    color: var(--bs-secondary);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 400;
    transition: color 0.15s ease, background-color 0.15s ease;
    position: relative;
}
.v2-nav-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.04);
}
.v2-nav-link.active {
    color: #fff;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.06);
    box-shadow: inset 0 0 20px rgba(96, 165, 250, 0.04);
}
.v2-nav-link.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 25%;
    height: 50%;
    width: 3px;
    border-radius: 0 3px 3px 0;
    background: var(--bs-primary);
}
.v2-nav-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    opacity: 0.5;
}
.v2-nav-link.active .v2-nav-icon,
.v2-nav-link:hover .v2-nav-icon {
    opacity: 0.85;
}
.v2-stat-label {
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--bs-secondary);
    font-weight: 500;
    line-height: 1;
    margin-bottom: 0.2rem;
}

/* Trial indicators */
.v2-trial-alert {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.6rem;
    border-radius: 0.5rem;
    font-size: 0.7rem;
    font-weight: 500;
    text-decoration: none;
}
.v2-trial-expired {
    background: rgba(var(--bs-danger-rgb), 0.1);
    color: var(--bs-danger);
    border: 1px solid rgba(var(--bs-danger-rgb), 0.15);
}
.v2-trial-countdown {
    background: rgba(255, 255, 255, 0.03);
    color: var(--bs-secondary);
    border: 1px solid rgba(255, 255, 255, 0.06);
}
.v2-trial-countdown strong {
    color: #fff;
    font-size: 0.65rem;
}

/* ── Slim Stats Bar ── */
.v2-stats-bar {
    background: rgba(var(--bs-dark-rgb), 0.25);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding-bottom: 0.5rem;
    border-top: 1px solid rgba(96, 165, 250, 0.08);
}
.v2-stats-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(96, 165, 250, 0.25), transparent);
    pointer-events: none;
    z-index: 1;
}
@media (min-width: 768px) {
    .v2-stats-bar { padding-top: 2.5rem !important; }
}
.v2-desktop-balance { display: none; }
@media (min-width: 768px) { .v2-desktop-balance { display: block; } }
.v2-stats-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 0.25rem 0.5rem;
    flex-wrap: nowrap;
}
.v2-stats-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.35rem 0.75rem;
    flex: 1 1 0;
    min-width: 0;
}
.v2-stats-label {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.65rem;
    font-weight: 500;
    color: var(--bs-secondary);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    white-space: nowrap;
    margin-bottom: 0.15rem;
}
.v2-stats-value {
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
}
.v2-stats-divider {
    width: 1px;
    height: 1.8rem;
    background: rgba(255, 255, 255, 0.06);
    flex-shrink: 0;
}
@media (max-width: 575.98px) {
    .v2-stats-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0;
        padding: 0.15rem 0;
    }
    .v2-stats-item {
        padding: 0.4rem 0.5rem;
        align-items: center;
    }
    .v2-stats-value { font-size: 0.75rem; }
    .v2-stats-divider { display: none; }
}

/* ── Cards ── */
.v2-card {
    background: rgba(var(--bs-dark-rgb), 0.25);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-top: 1px solid rgba(96, 165, 250, 0.1);
    border-radius: 1rem;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.03), 0 8px 32px rgba(0, 0, 0, 0.25);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* Badges */
.v2-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.55rem;
    border-radius: 99px;
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    white-space: nowrap;
}
.v2-badge-primary {
    background: rgba(var(--bs-primary-rgb), 0.15);
    color: var(--bs-primary);
}
.v2-badge-success {
    background: rgba(34, 197, 94, 0.12);
    color: #22c55e;
}

/* ── Wizard ── */
.wiz-wrapper {
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}
.wiz-card {
    position: relative;
    overflow: visible;
    min-height: 320px;
}
.wiz-screen {
    width: 100%;
}
.wiz-screen-inner {
    padding: 1.5rem;
}
[x-cloak] .wiz-screen { display: none; }

/* Wizard transitions */
.wiz-enter { animation: wizFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1) both; will-change: transform, opacity; }
.wiz-leave { animation: wizFadeOut 0.12s ease both; will-change: opacity; }
@keyframes wizFadeIn { from { opacity: 0; transform: translateX(12px); } to { opacity: 1; transform: translateX(0); } }
@keyframes wizFadeOut { from { opacity: 1; } to { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
    .wiz-enter, .wiz-leave { animation: none; }
}

/* Progress dots */
.wiz-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 0.5rem 0 0.75rem;
}
.wiz-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: background 0.2s ease, transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease;
}
.wiz-dot.active {
    background: var(--bs-primary);
    transform: scale(1.35);
    box-shadow: 0 0 8px rgba(var(--bs-primary-rgb), 0.4);
}
.wiz-dot-line {
    width: 2rem;
    height: 2px;
    background: rgba(255, 255, 255, 0.06);
    transition: background 0.2s ease;
}
.wiz-dot-line.active { background: rgba(var(--bs-primary-rgb), 0.3); }

/* Wizard title */
.wiz-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    letter-spacing: -0.01em;
}

/* Back button */
.wiz-back {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: none;
    border: none;
    color: var(--bs-secondary);
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    padding: 0;
    margin-bottom: 1rem;
    transition: color 0.15s;
}
.wiz-back:hover { color: #fff; }

/* Amount input */
.wiz-input-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--bs-secondary);
    margin-bottom: 0.4rem;
}
.wiz-amount-group {
    display: flex;
    gap: 0;
    margin-bottom: 0.75rem;
    overflow: visible;
}
.wiz-amount-input {
    flex: 1;
    background: rgba(var(--bs-dark-rgb), 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-right: none;
    border-radius: 0.75rem 0 0 0.75rem;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 0.6rem 0.75rem;
    text-align: right;
    outline: none;
    min-width: 0;
    -moz-appearance: textfield;
}
.wiz-amount-input::-webkit-inner-spin-button,
.wiz-amount-input::-webkit-outer-spin-button { -webkit-appearance: none; }
.wiz-amount-input:focus { border-color: rgba(var(--bs-primary-rgb), 0.4); box-shadow: none; }
.wiz-curr-wrap {
    position: relative;
    flex-shrink: 0;
    overflow: visible;
}
.wiz-curr-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    height: 100%;
    padding: 0.55rem 0.65rem;
    background: rgba(var(--bs-dark-rgb), 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 0 0.75rem 0.75rem 0;
    color: #fff;
    font-size: 0.82rem;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    transition: border-color 0.15s, background-color 0.15s;
}
.wiz-curr-btn:hover {
    background: rgba(var(--bs-dark-rgb), 0.8);
    border-color: rgba(255, 255, 255, 0.15);
}
.wiz-curr-btn:focus-visible {
    outline: none;
    border-color: rgba(var(--bs-primary-rgb), 0.4);
}
.wiz-curr-panel {
    right: 0;
    top: calc(100% + 4px);
    min-width: 220px;
}

/* Preset chips */
.wiz-presets {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 1rem;
}
.wiz-preset-chip {
    padding: 0.3rem 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 99px;
    background: transparent;
    color: var(--bs-secondary);
    font-size: 0.72rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.wiz-preset-chip:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.15);
}

/* Power row */
.wiz-power-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.65rem 0.75rem;
    background: rgba(var(--bs-primary-rgb), 0.05);
    border: 1px solid rgba(var(--bs-primary-rgb), 0.12);
    border-radius: 0.75rem;
    margin-bottom: 1.25rem;
}
.wiz-power-label {
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--bs-secondary);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.wiz-power-value {
    font-size: 1rem;
    font-weight: 700;
    color: var(--bs-primary);
}

.wiz-usp {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    padding: 0.5rem 0;
}
.wiz-usp + .wiz-usp {
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}
.wiz-usp-icon {
    flex-shrink: 0;
    color: var(--bs-secondary);
    opacity: 0.6;
    padding-top: 0.1rem;
}

/* Primary button */
.wiz-btn-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.7rem 1rem;
    border: none;
    border-radius: 99px;
    background: var(--bs-primary);
    color: #fff;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.15s, transform 0.15s;
}
.wiz-btn-primary:hover { opacity: 0.9; }
.wiz-btn-primary:active { transform: scale(0.98); }

/* Ghost button */
.wiz-btn-ghost {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    width: 100%;
    padding: 0.55rem 1rem;
    margin-top: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 99px;
    background: transparent;
    color: var(--bs-secondary);
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}
.wiz-btn-ghost:hover { background: rgba(255, 255, 255, 0.04); color: #fff; }

/* ── Coin Grid ── */
.wiz-coin-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}
.wiz-coin-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    padding: 0.85rem 0.5rem;
    min-height: 110px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 0.75rem;
    background: rgba(255, 255, 255, 0.02);
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
    text-align: center;
    outline: none !important;
    box-shadow: none !important;
}
@media (hover: hover) and (pointer: fine) {
    .wiz-coin-card:hover {
        background: rgba(255, 255, 255, 0.06);
        border-color: rgba(255, 255, 255, 0.12);
        transform: translateY(-1px);
    }
}
.wiz-coin-card:active {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
}
.wiz-coin-card:focus-visible {
    outline: none;
    border-color: rgba(var(--bs-primary-rgb), 0.4);
}
.wiz-touch-guard .wiz-coin-card {
    pointer-events: none;
}
.wiz-coin-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: contain;
    flex-shrink: 0;
}
.wiz-coin-name {
    font-size: 0.72rem;
    font-weight: 600;
    color: #fff;
    line-height: 1.1;
}
.wiz-coin-ticker {
    font-size: 0.6rem;
    font-weight: 500;
    color: var(--bs-secondary);
    text-transform: uppercase;
}
.wiz-coin-multi {
    font-size: 0.5rem;
    font-weight: 600;
    color: var(--bs-primary);
    background: rgba(var(--bs-primary-rgb), 0.1);
    padding: 0.1rem 0.35rem;
    border-radius: 99px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.wiz-coin-fee {
    font-size: 0.5rem;
    font-weight: 600;
    color: var(--bs-primary);
    background: rgba(var(--bs-primary-rgb), 0.1);
    padding: 0.1rem 0.4rem;
    border-radius: 99px;
    line-height: 1.4;
}

/* ── Network Cards ── */
.wiz-net-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.wiz-net-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 0.75rem;
    background: rgba(255, 255, 255, 0.02);
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease;
    width: 100%;
    text-align: left;
    outline: none !important;
    box-shadow: none !important;
}
@media (hover: hover) and (pointer: fine) {
    .wiz-net-card:hover {
        background: rgba(255, 255, 255, 0.06);
        border-color: rgba(255, 255, 255, 0.12);
    }
}
.wiz-net-card:active {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
}
.wiz-net-card:focus-visible,
.wiz-back:focus-visible,
.wiz-btn-primary:focus-visible,
.wiz-btn-ghost:focus-visible {
    outline: none !important;
    box-shadow: none !important;
}
.wiz-net-info {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 0;
}
.wiz-net-name {
    font-size: 0.82rem;
    font-weight: 600;
    color: #fff;
}
.wiz-net-badge {
    font-size: 0.55rem;
    font-weight: 600;
    color: var(--bs-secondary);
    background: rgba(255, 255, 255, 0.06);
    padding: 0.15rem 0.4rem;
    border-radius: 99px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.wiz-net-tag {
    font-size: 0.6rem;
    font-weight: 500;
    color: var(--bs-secondary);
    white-space: nowrap;
}

/* ── Payment Screen ── */
.wiz-pay-amount {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.4rem;
    font-size: 1.5rem;
}
.wiz-loading {
    text-align: center;
    padding: 2rem 1rem;
}
.wiz-qr-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
}
.wiz-qr-box {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    background: #fff;
    border-radius: 0.5rem;
    width: 176px;
    height: 176px;
    box-sizing: border-box;
    overflow: hidden;
}
.wiz-qr-box canvas,
.wiz-qr-box img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}
.wiz-qr-box table {
    margin: 0 auto !important;
    border-collapse: collapse;
}

@keyframes payouts-scroll-nudge {
    0%, 100% { transform: translateY(0); opacity: 0.5; }
    50% { transform: translateY(6px); opacity: 0.95; }
}
.payouts-scroll-hint {
    user-select: none;
    color: inherit;
}
.payouts-scroll-hint .payouts-scroll-icon {
    animation: payouts-scroll-nudge 2.2s ease-in-out infinite;
}
.payouts-public-feed {
    min-height: clamp(380px, 58vh, 780px);
    scroll-margin-top: 4.5rem;
}

.wiz-waiting {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.72rem;
    color: var(--bs-secondary);
    padding: 0.5rem 0;
}
.wiz-waiting-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #22c55e;
    animation: wizPulse 2s ease-in-out infinite;
}
@keyframes wizPulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; box-shadow: 0 0 6px #22c55e; }
}

/* ── Balance Screen ── */
.wiz-balance-circle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #fff, #e0e0e0);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #111;
    margin-bottom: 0.75rem;
}
.wiz-balance-summary {
    text-align: left;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 0.75rem;
    padding: 0.75rem;
}
.wiz-bal-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.3rem 0;
    font-size: 0.78rem;
}
.wiz-bal-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.06);
    margin: 0.3rem 0;
}

/* ── Referral row in stats bar ── */
.v2-ref-row {
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    margin-top: 0.25rem;
}

/* ── Section Title ── */
.v2-section-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}
.v2-count-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.4rem;
    height: 1.4rem;
    padding: 0 0.35rem;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--bs-secondary);
    font-size: 0.65rem;
    font-weight: 600;
}

/* ── Unified history list (deposit / payout / referral) ── */
.v2-history-list {
    display: flex;
    flex-direction: column;
}

.v2-history-row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 0.5rem 0.85rem;
    padding: 0.85rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: background 0.15s ease;
    box-shadow: inset 3px 0 0 rgba(var(--bs-primary-rgb), 0.45);
}

@media (hover: hover) and (pointer: fine) {
    .v2-history-row:hover {
        background: rgba(255, 255, 255, 0.035);
    }
}

.v2-history-row:last-child {
    border-bottom: 0;
}

.v2-history-row--success {
    box-shadow: inset 3px 0 0 rgba(var(--bs-success-rgb), 0.55);
}

.v2-history-row--warning {
    box-shadow: inset 3px 0 0 rgba(var(--bs-warning-rgb), 0.55);
}

.v2-history-row--danger {
    box-shadow: inset 3px 0 0 rgba(var(--bs-danger-rgb), 0.55);
}

.v2-history-row--info {
    box-shadow: inset 3px 0 0 rgba(var(--bs-info-rgb), 0.55);
}

.v2-history-row--muted {
    box-shadow: inset 3px 0 0 rgba(255, 255, 255, 0.14);
}

.v2-history-row__meta {
    flex: 0 0 auto;
    min-width: 5.25rem;
    font-size: 0.72rem;
    line-height: 1.35;
}

.v2-history-row__main {
    flex: 1 1 10rem;
    min-width: 0;
}

.v2-history-row__sub {
    font-size: 0.68rem;
    color: var(--bs-secondary);
    margin-top: 0.15rem;
    line-height: 1.35;
}

.v2-history-row__stats {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.5rem 1rem;
    flex: 1 1 auto;
    justify-content: flex-end;
}

@media (min-width: 768px) {
    .v2-history-list--payout .v2-history-row,
    .v2-history-list--deposit .v2-history-row {
        display: grid;
        grid-template-columns: 6.5rem minmax(0, 1fr) auto 6.25rem;
        align-items: center;
        column-gap: 1rem;
    }

    .v2-history-list--referral .v2-history-row {
        display: grid;
        grid-template-columns: 6.5rem minmax(0, 1fr) auto minmax(5.5rem, auto);
        align-items: center;
        column-gap: 1rem;
    }

    .v2-history-row {
        flex-wrap: nowrap;
        align-items: center;
        gap: 0.75rem 1rem;
    }

    .v2-history-list--payout .v2-history-row__stats,
    .v2-history-list--deposit .v2-history-row__stats,
    .v2-history-list--referral .v2-history-row__stats {
        flex: unset;
        width: auto;
        flex-direction: column;
        align-items: flex-end;
        gap: 0.2rem;
    }

    .v2-history-list--referral .v2-history-row__badge {
        justify-self: center;
    }

    /* Reset mobile order/margin overrides so grid auto-placement is correct */
    .v2-history-row__badge {
        order: 0;
        margin-left: 0;
    }

    .v2-history-row__main,
    .v2-history-row__stats {
        order: 0;
    }
}

.v2-history-row__badge {
    flex: 0 0 auto;
    align-self: center;
}

@media (max-width: 767.98px) {
    /* Row 1: date meta (left) + status badge (right) */
    .v2-history-row__meta {
        order: 0;
    }

    .v2-history-row__badge {
        order: 0;
        align-self: center;
        margin-left: auto;
    }

    /* Row 2: title + sub-label, full width */
    .v2-history-row__main {
        order: 1;
        flex: 1 1 100%;
    }

    /* Row 3: amounts / stats, full width, space-between */
    .v2-history-row__stats {
        order: 2;
        width: 100%;
        justify-content: space-between;
    }
}

.v2-history-list--empty {
    border-bottom: 0;
}

/* Referral level pill in unified rows */
.v2-ref-level-badge {
    max-width: 100%;
    font-size: 0.58rem;
    font-weight: 600;
    white-space: normal;
    line-height: 1.2;
    text-align: center;
    word-break: break-word;
}

@media (min-width: 768px) {
    .v2-ref-level-badge {
        max-width: 8.5rem;
    }
}

/* ═══ V2 Dashboard — Enterprise Blue Refresh ═══ */

/* Ambient blue glow behind dashboard content — fixed so they don't extend scroll */
.container-3xl::before {
    content: '';
    position: fixed;
    top: -2rem;
    right: 10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(96, 165, 250, 0.05) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
}
.container-3xl::after {
    content: '';
    position: fixed;
    bottom: -5rem;
    left: 5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(96, 165, 250, 0.03) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
}

/* Page heading typography — tighter tracking */
.container-3xl h1 {
    letter-spacing: -0.03em;
}

/* Mining summary card — blue accent edge */
.mining-summary-card {
    border-top: 1px solid rgba(96, 165, 250, 0.15) !important;
}

/* Wizard card — blue accent edge */
.wiz-card {
    border-top: 1px solid rgba(96, 165, 250, 0.1);
}

/* Empty state styling */
.v2-history-list--empty {
    max-width: 280px;
    margin: 0 auto;
}
.v2-history-list--empty svg {
    opacity: 0.3;
}
.earnings-chart-empty {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, rgba(255,255,255,0.01) 0%, transparent 100%);
    border-radius: 0.5rem;
}

/* Section titles inside dashboard cards — subtle blue accent bar */
.v2-card > h2 {
    padding-left: 0.6rem;
    border-left: 2px solid rgba(96, 165, 250, 0.3);
}

/* ── Stat panel utility ── */
.v2-panel {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 0.75rem;
    padding: 0.5rem 0.75rem;
}
.v2-panel-em {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.75rem;
    padding: 0.5rem 0.75rem;
}
.v2-panel-warn {
    background: rgba(var(--bs-warning-rgb), 0.04);
    border: 1px solid rgba(var(--bs-warning-rgb), 0.15);
    border-radius: 0.75rem;
    padding: 0.5rem 0.75rem;
}

/* ── Page heading icon circle ── */
.v2-page-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(96, 165, 250, 0.08);
    border: 1px solid rgba(96, 165, 250, 0.1);
    flex-shrink: 0;
}

/* Sidebar "Live" badge — blue glow pulse */
.v2-sidebar .status-dot.online {
    box-shadow: 0 0 6px var(--bs-success), 0 0 12px rgba(96, 165, 250, 0.15);
}

/* Menu button — blue accent ring on hover */
@media (hover: hover) {
    .v2-nav-link:hover {
        box-shadow: inset 0 0 16px rgba(96, 165, 250, 0.03);
    }
}

/* ── Responsive ── */
@media (max-width: 575.98px) {
    .wiz-screen-inner { padding: 1rem; }
    .wiz-coin-grid { gap: 0.4rem; }
    .wiz-coin-card { padding: 0.65rem 0.35rem; min-height: 95px; }
    .wiz-pay-amount { font-size: 1.2rem; }
    .wiz-qr-box { width: 152px; height: 152px; padding: 0.4rem; }
    .v2-ref-row .d-flex.flex-wrap { gap: 0.35rem !important; }
    .v2-ref-row input.form-control { font-size: 10px !important; }
    .v2-stats-label svg { display: none; }
    .v2-stats-label { font-size: 0.58rem; }
}

/* ── Reduced motion: cover remaining decorative animations ── */
@media (prefers-reduced-motion: reduce) {
    .loader.on > div { animation: none; }
    .hero-feat > div { animation: none; opacity: 1; }
    .copy-badge { animation: none; opacity: 1; }
    .status-dot.online { animation: none; }
    .wiz-waiting-dot { animation: none; opacity: 1; }
    .payouts-scroll-hint .payouts-scroll-icon { animation: none; }
    .block-feed-row.is-latest { animation: none; }
    .cmd-item { animation: none; opacity: 1; }
    .wallet-strip { animation: none; }
}

/* ═══ Mobile GPU Relief ═══
   backdrop-filter, filter:blur, mix-blend-mode, and animated pseudo-elements
   each create compositing layers. On mobile the combined GPU texture memory
   causes stutter or crashes. Replace expensive effects with solid fallbacks
   on all mobile browsers — desktop is completely unaffected.                */
@media screen and (max-width: 767.98px) {
    .bd-blur {
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
        background-color: rgba(10, 10, 15, 0.88);
    }
    .glow-soft {
        filter: none !important;
        display: none;
    }
    .hero-miner-img {
        mix-blend-mode: normal !important;
        opacity: 0.85;
    }
    .signup-catcher-bar::before,
    .signup-catcher-bar::after {
        animation: none;
    }
    @supports (-webkit-touch-callout: none) {
        .container-3xl::before,
        .container-3xl::after {
            display: none;
        }
    }
}
