/* paper — premium landing (Aceternity / Motion Primitives / React Bits inspired) */

.page-home--premium {
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--bg-darker);
    color: var(--text-primary);
    font-family: "Inter", sans-serif;
}

[data-theme="light"] .page-home--premium {
    background:
        radial-gradient(ellipse 70% 42% at 50% 10%, rgba(37, 99, 235, 0.12), transparent 60%),
        radial-gradient(ellipse 65% 46% at 50% 86%, rgba(15, 23, 42, 0.12), transparent 64%),
        linear-gradient(180deg, #dfe9f5 0%, #d5e1ef 46%, #c7d5e6 100%);
}

.page-home--premium .noise-overlay,
.page-home--premium .landing-ambient,
.page-home--premium .background-pattern {
    display: none !important;
}

/* ─── Background layers ─── */
.lp-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.page-home--premium .interactive-dots-background {
    z-index: 0;
}

.lp-orb {
    display: none;
}

.lp-aurora,
.lp-aurora.rb-aurora,
#lp-aurora {
    position: absolute;
    inset: 0;
    opacity: 0.35;
    transform: translate(var(--bg-parallax-x, 0px), var(--bg-parallax-y, 0px));
    transition: transform 0.15s ease-out;
}

[data-theme="light"] .lp-aurora,
[data-theme="light"] .lp-aurora.rb-aurora,
[data-theme="light"] #lp-aurora {
    opacity: 0.18;
}

.lp-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(var(--accent-rgb), 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(var(--accent-rgb), 0.06) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse 85% 75% at 50% 42%, black 15%, transparent 78%);
    -webkit-mask-image: radial-gradient(ellipse 85% 75% at 50% 42%, black 15%, transparent 78%);
    transform: translate(var(--bg-parallax-x, 0px), var(--bg-parallax-y, 0px));
    transition: transform 0.2s ease-out;
}

[data-theme="light"] .lp-grid {
    opacity: 0.88;
    background-image:
        linear-gradient(rgba(37, 99, 235, 0.105) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37, 99, 235, 0.105) 1px, transparent 1px);
}

[data-theme="light"] .lp-beams {
    opacity: 0.06;
}

[data-theme="light"] .lp-sparkles {
    opacity: 0.34;
}

.lp-beams {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.25;
    transform: translate(calc(var(--bg-parallax-x, 0px) * 0.5), calc(var(--bg-parallax-y, 0px) * 0.5));
    transition: transform 0.25s ease-out;
}

.lp-beam {
    stroke-dasharray: 1200;
    stroke-dashoffset: 1200;
    animation: lpBeamDraw 8s ease-in-out infinite;
}

.lp-beam--2 { animation-delay: -2.5s; animation-duration: 10s; }
.lp-beam--3 { animation-delay: -5s; animation-duration: 12s; }

@keyframes lpBeamDraw {
    0%, 100% { stroke-dashoffset: 1200; opacity: 0.15; }
    45%, 55% { stroke-dashoffset: 0; opacity: 1; }
}

.lp-sparkles {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.85;
}

.lp-vignette {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 90% 80% at 50% 45%, transparent 45%, rgba(7, 9, 13, 0.35) 100%);
    pointer-events: none;
}

[data-theme="light"] .lp-vignette {
    background:
        linear-gradient(180deg, rgba(15, 23, 42, 0.08), transparent 18%, transparent 72%, rgba(15, 23, 42, 0.1)),
        radial-gradient(ellipse 90% 80% at 50% 45%, transparent 45%, rgba(71, 85, 105, 0.34) 100%);
}

[data-theme="light"] .lp-cursor-glow {
    background: radial-gradient(circle, rgba(var(--accent-rgb), 0.05) 0%, transparent 65%);
}

.lp-cursor-glow {
    position: fixed;
    width: 480px;
    height: 480px;
    margin: -240px 0 0 -240px;
    border-radius: 50%;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.35s;
    background: radial-gradient(circle, rgba(var(--accent-rgb), 0.08) 0%, transparent 65%);
    z-index: 1;
}

.lp-cursor-glow.is-active {
    opacity: 1;
}

/* ─── Nav (unchanged structure) ─── */
.landing-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 16px clamp(16px, 3vw, 32px);
    pointer-events: none;
    --landing-header-clearance: 146px;
}

.landing-nav {
    pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    max-width: 1080px;
    margin: 0 auto;
    padding: 8px 10px 8px 16px;
    border-radius: 999px;
    border: 1px solid var(--glass-border);
    background: var(--nav-bg);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.03) inset,
        0 8px 32px rgba(0, 0, 0, 0.35);
    transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
}

[data-theme="light"] .landing-nav {
    background: rgba(245, 248, 252, 0.82);
    border-color: rgba(15, 23, 42, 0.12);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.9) inset,
        0 1px 2px rgba(15, 23, 42, 0.06),
        0 12px 34px rgba(15, 23, 42, 0.13);
}

[data-theme="light"] .landing-nav__theme {
    background: #f8fafc;
    border-color: rgba(15, 23, 42, 0.08);
    color: #64748b;
}

[data-theme="light"] .landing-nav__theme:hover {
    background: #ffffff;
    color: #18181b;
}

.landing-header.is-scrolled .landing-nav {
    border-color: rgba(var(--accent-rgb), 0.28);
    background: var(--nav-bg);
    box-shadow:
        0 0 0 1px rgba(var(--accent-rgb), 0.1) inset,
        0 12px 40px rgba(0, 0, 0, 0.45),
        0 0 56px rgba(var(--accent-rgb), 0.1);
}

[data-theme="light"] .landing-header.is-scrolled .landing-nav {
    background: rgba(255, 255, 255, 0.94);
    border-color: rgba(var(--accent-rgb), 0.14);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.95) inset,
        0 4px 20px rgba(15, 23, 42, 0.08);
}

.landing-nav__brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--text-primary);
    text-decoration: none;
    white-space: nowrap;
}

.landing-nav__logo {
    display: block;
    width: auto;
    height: 30px;
    max-width: 118px;
    object-fit: contain;
}

.landing-nav__brand--back {
    gap: 8px;
}

.landing-nav__back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    border: 1px solid var(--border-subtle);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1;
    flex-shrink: 0;
    transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.landing-nav__brand--back:hover .landing-nav__back {
    color: var(--text-primary);
    border-color: rgba(var(--accent-rgb), 0.28);
    background: rgba(var(--accent-rgb), 0.1);
}

[data-theme="light"] .landing-nav__back {
    background: rgba(255, 255, 255, 0.72);
    border-color: rgba(15, 23, 42, 0.1);
    color: #475569;
}

[data-theme="light"] .landing-nav__logo {
    filter: none;
}

.landing-nav__mark {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 10px rgba(var(--accent-rgb), 0.45);
}

.landing-nav__actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.landing-nav__theme {
    width: 34px;
    height: 34px;
    padding: 0;
    border-radius: 50%;
    border: 1px solid var(--border-default);
    background: var(--glass);
    color: var(--text-accent-muted);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.landing-nav__theme:hover {
    border-color: var(--border-strong);
    color: var(--text-primary);
    background: var(--surface-elevated);
}

.page-dashboard .landing-nav__connect {
    margin: 0;
    min-height: 34px;
    padding: 7px 16px;
    border: none;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    background: var(--accent);
    box-shadow: 0 4px 16px rgba(var(--accent-rgb), 0.28);
    cursor: pointer;
    white-space: nowrap;
    transition: transform 0.15s, box-shadow 0.2s, filter 0.2s;
}

.page-course .landing-nav__connect {
    margin: 0;
    min-height: 34px;
    padding: 7px 16px;
    border: none;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    background: var(--accent);
    box-shadow: 0 4px 16px rgba(var(--accent-rgb), 0.28);
    cursor: pointer;
    white-space: nowrap;
    transition: transform 0.15s, box-shadow 0.2s, filter 0.2s;
}

.page-home--premium .landing-nav__connect:hover,
.page-dashboard .landing-nav__connect:hover,
.page-course .landing-nav__connect:hover {
    filter: brightness(1.06);
    box-shadow: 0 6px 24px rgba(var(--accent-rgb), 0.45);
}

.page-home--premium .landing-nav__connect.wallet-connected-pill,
.page-dashboard .landing-nav__connect.wallet-connected-pill,
.page-course .landing-nav__connect.wallet-connected-pill {
    background: rgba(var(--accent-rgb), 0.14);
    color: var(--accent-light);
    border: 1px solid rgba(var(--accent-rgb), 0.3);
    box-shadow: none;
}

.page-demo-trading .demo-wallet-pill {
    margin: 0;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    color: var(--profit);
    background: rgba(var(--profit-rgb), 0.1);
    border: 1px solid rgba(var(--profit-rgb), 0.25);
    cursor: pointer;
    font-family: inherit;
    white-space: nowrap;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.page-demo-trading .demo-wallet-pill:hover {
    background: rgba(var(--profit-rgb), 0.16);
    border-color: rgba(var(--profit-rgb), 0.35);
}

[data-theme="light"] .page-demo-trading .demo-wallet-pill {
    background: rgba(var(--profit-rgb), 0.08);
    border-color: rgba(var(--profit-rgb), 0.22);
}

.page-home--premium .landing-nav__connect,
.page-home--premium .lp-btn-glow {
    --chrome-radius: 999px;
    --chrome-light: rgba(255, 255, 255, 0.98);
    --chrome-mid: rgba(196, 205, 216, 0.96);
    --chrome-dark: rgba(24, 28, 34, 0.98);
    --chrome-ink: #050608;
    --chrome-edge: rgba(255, 255, 255, 0.82);
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border-radius: var(--chrome-radius);
    border: 1px solid rgba(255, 255, 255, 0.78);
    color: var(--chrome-ink);
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.48);
    background:
        linear-gradient(115deg, transparent 0 24%, rgba(255, 255, 255, 0.9) 31%, transparent 38% 100%),
        radial-gradient(120% 180% at 18% 0%, #ffffff 0%, rgba(255, 255, 255, 0.92) 18%, transparent 34%),
        radial-gradient(120% 180% at 82% 100%, rgba(255, 255, 255, 0.88) 0%, transparent 36%),
        linear-gradient(
            180deg,
            #ffffff 0%,
            #aeb7c1 13%,
            #f9fbfc 27%,
            #5f6874 43%,
            #fdfefe 55%,
            #7d8791 68%,
            #ffffff 83%,
            #2e333a 100%
        );
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.95) inset,
        0 -1px 0 rgba(0, 0, 0, 0.58) inset,
        0 0 0 1px rgba(0, 0, 0, 0.24),
        0 14px 36px rgba(0, 0, 0, 0.36),
        0 0 34px rgba(255, 255, 255, 0.14);
    transition: transform 0.18s ease, filter 0.18s ease, box-shadow 0.18s ease;
}

.page-home--premium .landing-nav__connect::before,
.page-home--premium .lp-btn-glow::before {
    content: "";
    position: absolute;
    inset: 1px;
    z-index: -1;
    border-radius: inherit;
    background:
        linear-gradient(100deg, transparent 0 16%, rgba(255, 255, 255, 0.95) 23%, transparent 32% 58%, rgba(255, 255, 255, 0.78) 68%, transparent 78%),
        repeating-linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.04) 0 8px,
            rgba(0, 0, 0, 0.09) 8px 16px
        );
    mix-blend-mode: screen;
    opacity: 0.78;
    transform: translateX(-18%);
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.2s ease;
}

.page-home--premium .landing-nav__connect::after,
.page-home--premium .lp-btn-glow::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: inherit;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.92), transparent 32%),
        radial-gradient(80% 130% at 50% 115%, rgba(0, 0, 0, 0.42), transparent 42%);
    opacity: 0.9;
}

.page-home--premium .landing-nav__connect:hover,
.page-home--premium .lp-btn-glow:hover {
    transform: translateY(-1px);
    filter: contrast(1.08) saturate(0.92) brightness(1.04);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 1) inset,
        0 -1px 0 rgba(0, 0, 0, 0.62) inset,
        0 0 0 1px rgba(255, 255, 255, 0.16),
        0 18px 46px rgba(0, 0, 0, 0.42),
        0 0 46px rgba(255, 255, 255, 0.18);
}

.page-home--premium .landing-nav__connect:hover::before,
.page-home--premium .lp-btn-glow:hover::before {
    opacity: 1;
    transform: translateX(18%);
}

.page-home--premium .landing-nav__connect:active,
.page-home--premium .lp-btn-glow:active {
    transform: translateY(0);
    filter: brightness(0.96) contrast(1.1);
}

.page-home--premium .landing-nav__connect.wallet-connected-pill {
    color: var(--chrome-ink) !important;
    border-color: rgba(255, 255, 255, 0.78) !important;
    background:
        linear-gradient(115deg, transparent 0 24%, rgba(255, 255, 255, 0.9) 31%, transparent 38% 100%),
        radial-gradient(120% 180% at 18% 0%, #ffffff 0%, rgba(255, 255, 255, 0.92) 18%, transparent 34%),
        linear-gradient(180deg, #ffffff 0%, #aeb7c1 13%, #f9fbfc 27%, #5f6874 43%, #fdfefe 55%, #7d8791 68%, #ffffff 83%, #2e333a 100%) !important;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.95) inset,
        0 -1px 0 rgba(0, 0, 0, 0.58) inset,
        0 0 0 1px rgba(0, 0, 0, 0.24),
        0 14px 36px rgba(0, 0, 0, 0.36) !important;
}

@media (max-width: 768px) {
    .page-demo-trading .landing-nav--demo,
    .page-demo-trading .landing-nav {
        grid-template-columns: 1fr auto;
        grid-template-rows: auto auto;
        padding: 8px 10px;
    }

    .page-demo-trading .landing-nav__brand {
        grid-column: 1;
    }

    .page-demo-trading .landing-nav__actions {
        grid-column: 2;
        grid-row: 1;
    }

    .page-demo-trading .landing-nav__search,
    .page-demo-trading .token-search {
        grid-column: 1 / -1;
        grid-row: 2;
        max-width: none;
    }
}

/* ─── Layout ─── */
.lp {
    position: relative;
    z-index: 2;
    flex: 1;
}

/* ─── Hero ─── */
.lp-hero {
    position: relative;
    padding: 94px clamp(20px, 4vw, 48px) clamp(64px, 8vw, 96px);
    text-align: center;
    overflow: hidden;
}

.lp-lamp {
    display: none;
}

.lp-hero__copy {
    position: relative;
    z-index: 1;
    max-width: 820px;
    margin: 0 auto 56px;
}

.lp-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 16px;
    margin-bottom: 24px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent-light);
    background: rgba(var(--accent-rgb), 0.1);
    border: 1px solid var(--border-default);
}

.lp-badge__border {
    display: none;
}

.lp-title {
    font-size: clamp(38px, 6vw, 72px);
    font-weight: 700;
    line-height: 1.06;
    letter-spacing: -0.04em;
    margin: 0 0 24px;
    text-wrap: balance;
}

.lp-title__accent {
    display: block;
    margin-top: 0.12em;
}

.lp-lead {
    font-size: clamp(16px, 1.6vw, 19px);
    line-height: 1.65;
    color: var(--text-secondary);
    max-width: 52ch;
    margin: 0 auto 20px;
}

[data-theme="light"] .page-home--premium .lp-badge {
    color: var(--accent-dark);
    background: rgba(var(--accent-rgb), 0.07);
    border-color: rgba(var(--accent-rgb), 0.14);
}

[data-theme="light"] .page-home--premium .lp-title__accent,
[data-theme="light"] .page-home--premium .rb-gradient-text {
    color: var(--accent-dark);
}

[data-theme="light"] .page-home--premium .lp-lead {
    color: #52525b;
}

.lp-ca-strip {
    display: inline-grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    max-width: min(520px, calc(100vw - 40px));
    min-height: 42px;
    gap: 10px;
    margin: 0 auto 28px;
    padding: 7px 8px 7px 14px;
    border: 1px solid rgba(var(--accent-rgb), 0.18);
    border-radius: 999px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025)),
        rgba(12, 15, 22, 0.58);
    color: var(--text-primary);
    cursor: pointer;
    font: inherit;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.08) inset,
        0 14px 34px rgba(0, 0, 0, 0.14);
    backdrop-filter: blur(18px) saturate(150%);
    -webkit-backdrop-filter: blur(18px) saturate(150%);
    transition:
        border-color 0.16s ease,
        background 0.16s ease,
        transform 0.16s ease,
        box-shadow 0.16s ease;
}

.landing-ca-strip {
    pointer-events: auto;
    display: grid;
    width: fit-content;
    max-width: min(430px, calc(100vw - 40px));
    min-height: 34px;
    margin: 0 auto 32px;
    padding: 5px 6px 5px 12px;
    border-color: rgba(var(--accent-rgb), 0.16);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02)),
        rgba(12, 15, 22, 0.46);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.07) inset,
        0 10px 24px rgba(0, 0, 0, 0.12);
}

.lp-ca-strip:hover {
    border-color: rgba(var(--accent-rgb), 0.34);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.095), rgba(255, 255, 255, 0.03)),
        rgba(12, 15, 22, 0.66);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.09) inset,
        0 16px 38px rgba(0, 0, 0, 0.18);
    transform: translateY(-1px);
}

.lp-ca-strip__value {
    min-width: 0;
    overflow: hidden;
    color: var(--text-primary);
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
    font-size: 12px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lp-ca-strip__action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 0 12px;
    border: 1px solid rgba(var(--accent-rgb), 0.26);
    border-radius: 999px;
    background: rgba(var(--accent-rgb), 0.12);
    color: var(--text-primary);
    font-size: 11px;
    font-weight: 800;
    white-space: nowrap;
}

.landing-ca-strip .lp-ca-strip__action {
    min-height: 24px;
    padding: 0 10px;
}

.lp-ca-strip.is-copied .lp-ca-strip__action {
    border-color: rgba(74, 222, 128, 0.42);
    background: rgba(74, 222, 128, 0.14);
    color: var(--profit);
}

[data-theme="light"] .page-home--premium .lp-ca-strip {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(248, 250, 252, 0.74)),
        rgba(255, 255, 255, 0.76);
    border-color: rgba(15, 23, 42, 0.1);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.95) inset,
        0 12px 28px rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .page-home--premium .lp-ca-strip__action {
    background: rgba(var(--accent-rgb), 0.08);
}

[data-theme="light"] .page-home--premium .landing-ca-strip {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(248, 250, 252, 0.72)),
        rgba(255, 255, 255, 0.74);
}

.lp-cta-row {
    display: flex;
    justify-content: center;
    gap: 16px;
}

/* Flat CTA */
.lp-btn-glow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border: none;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    background: var(--accent);
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(var(--accent-rgb), 0.28);
    transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
}

.lp-btn-glow__border {
    display: none;
}

.lp-btn-glow__label {
    position: relative;
}

.lp-btn-glow:hover {
    transform: translateY(-1px);
    background: var(--accent-dark);
    box-shadow: 0 6px 20px rgba(var(--accent-rgb), 0.32);
}

.page-home--premium .lp-btn-glow {
    border: 1px solid rgba(255, 255, 255, 0.78);
    color: #050608;
    background:
        linear-gradient(115deg, transparent 0 24%, rgba(255, 255, 255, 0.9) 31%, transparent 38% 100%),
        radial-gradient(120% 180% at 18% 0%, #ffffff 0%, rgba(255, 255, 255, 0.92) 18%, transparent 34%),
        radial-gradient(120% 180% at 82% 100%, rgba(255, 255, 255, 0.88) 0%, transparent 36%),
        linear-gradient(180deg, #ffffff 0%, #aeb7c1 13%, #f9fbfc 27%, #5f6874 43%, #fdfefe 55%, #7d8791 68%, #ffffff 83%, #2e333a 100%);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.95) inset,
        0 -1px 0 rgba(0, 0, 0, 0.58) inset,
        0 0 0 1px rgba(0, 0, 0, 0.24),
        0 14px 36px rgba(0, 0, 0, 0.36),
        0 0 34px rgba(255, 255, 255, 0.14);
}

.page-home--premium .lp-btn-glow__label {
    z-index: 1;
    color: inherit;
}

.page-home--premium .lp-btn-glow:hover {
    background:
        linear-gradient(115deg, transparent 0 24%, rgba(255, 255, 255, 0.9) 31%, transparent 38% 100%),
        radial-gradient(120% 180% at 18% 0%, #ffffff 0%, rgba(255, 255, 255, 0.92) 18%, transparent 34%),
        radial-gradient(120% 180% at 82% 100%, rgba(255, 255, 255, 0.88) 0%, transparent 36%),
        linear-gradient(180deg, #ffffff 0%, #aeb7c1 13%, #f9fbfc 27%, #5f6874 43%, #fdfefe 55%, #7d8791 68%, #ffffff 83%, #2e333a 100%);
}

/* Liquid metal CTA treatment */
.page-home--premium .landing-nav__connect,
.page-home--premium .lp-btn-glow,
.page-home--premium .landing-nav__connect.wallet-connected-pill {
    --liquid-metal-text: #f7f9fc;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.42) !important;
    color: var(--liquid-metal-text) !important;
    text-shadow:
        0 1px 1px rgba(0, 0, 0, 0.86),
        0 0 10px rgba(255, 255, 255, 0.18);
    background:
        radial-gradient(120% 180% at 14% 4%, rgba(255, 255, 255, 0.7) 0%, rgba(139, 154, 172, 0.42) 16%, transparent 33%),
        radial-gradient(140% 180% at 88% 88%, rgba(230, 238, 247, 0.5) 0%, rgba(65, 78, 94, 0.58) 24%, transparent 46%),
        linear-gradient(100deg, transparent 0 14%, rgba(2, 4, 7, 0.98) 25%, rgba(204, 216, 229, 0.86) 38%, rgba(10, 14, 20, 0.98) 55%, rgba(129, 146, 164, 0.62) 68%, transparent 82%),
        conic-gradient(from 215deg at 52% 50%, #9aa8b8, #111923, #5b6877, #05070a, #d9e3ed, #0c1118, #3a4654, #b6c3d1);
    background-size: 180% 180%, 180% 180%, 150% 150%, 220% 220%;
    background-position: 8% 8%, 92% 92%, 50% 50%, 50% 50%;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.96) inset,
        0 -1px 0 rgba(0, 0, 0, 0.82) inset,
        0 0 0 1px rgba(0, 0, 0, 0.62),
        0 8px 18px rgba(0, 0, 0, 0.34);
    filter: saturate(0.7) contrast(1.52) brightness(0.82);
    animation: liquidMetalSurface 8s ease-in-out infinite;
}

.page-home--premium .landing-nav__connect::before,
.page-home--premium .lp-btn-glow::before {
    content: "";
    position: absolute;
    inset: -42%;
    z-index: -1;
    border-radius: inherit;
    background:
        radial-gradient(closest-side at 28% 34%, rgba(255, 255, 255, 0.95), transparent 58%),
        radial-gradient(closest-side at 70% 62%, rgba(154, 170, 188, 0.58), transparent 52%),
        radial-gradient(closest-side at 50% 46%, rgba(0, 0, 0, 0.74), transparent 58%);
    opacity: 0.78;
    filter: blur(9px) contrast(1.8);
    transform: translate3d(-4%, 0, 0) rotate(0deg);
    animation: liquidMetalFlow 7s ease-in-out infinite;
}

.page-home--premium .landing-nav__connect::after,
.page-home--premium .lp-btn-glow::after {
    content: "";
    position: absolute;
    inset: 1px;
    z-index: -1;
    border-radius: inherit;
    pointer-events: none;
    background:
        linear-gradient(105deg, transparent 0 23%, rgba(255, 255, 255, 0.9) 32%, rgba(32, 39, 49, 0.5) 42%, transparent 54% 100%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.52), transparent 31%, rgba(0, 0, 0, 0.45) 100%);
    opacity: 0.82;
    mix-blend-mode: normal;
    transform: translateX(-26%);
    animation: liquidMetalSheen 4.8s ease-in-out infinite;
    transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.2s ease;
}

.page-home--premium .landing-nav__connect:hover,
.page-home--premium .lp-btn-glow:hover {
    transform: translateY(-1px);
    filter: saturate(0.76) contrast(1.56) brightness(0.96);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 1) inset,
        0 -1px 0 rgba(0, 0, 0, 0.84) inset,
        0 0 0 1px rgba(255, 255, 255, 0.1),
        0 10px 20px rgba(0, 0, 0, 0.36);
}

.page-home--premium .landing-nav__connect:hover::after,
.page-home--premium .lp-btn-glow:hover::after {
    opacity: 0.95;
    transform: translateX(18%);
}

.page-home--premium .lp-btn-glow__label {
    position: relative;
    z-index: 2;
}

[data-theme="light"] .page-home--premium .landing-nav__connect,
[data-theme="light"] .page-home--premium .lp-btn-glow,
[data-theme="light"] .page-home--premium .landing-nav__connect.wallet-connected-pill {
    --liquid-metal-text: #07080a;
    border-color: rgba(255, 255, 255, 0.72) !important;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.55);
    background:
        radial-gradient(120% 180% at 16% 10%, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.72) 18%, transparent 36%),
        radial-gradient(140% 180% at 86% 84%, rgba(255, 255, 255, 0.94) 0%, rgba(207, 216, 226, 0.62) 24%, transparent 45%),
        radial-gradient(80% 130% at 50% 48%, rgba(18, 22, 28, 0.55) 0%, transparent 40%),
        conic-gradient(from 210deg at 52% 50%, #ffffff, #7d8792, #f9fbfc, #1d2229, #d7dde4, #ffffff, #535b66, #ffffff);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.95) inset,
        0 -1px 0 rgba(0, 0, 0, 0.52) inset,
        0 0 0 1px rgba(0, 0, 0, 0.18),
        0 12px 28px rgba(15, 23, 42, 0.16),
        0 0 24px rgba(255, 255, 255, 0.12);
    filter: saturate(0.88) contrast(1.12);
}

[data-theme="light"] .page-home--premium .landing-nav__connect::after,
[data-theme="light"] .page-home--premium .lp-btn-glow::after {
    background:
        linear-gradient(105deg, transparent 0 24%, rgba(255, 255, 255, 0.88) 34%, transparent 45% 100%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.72), transparent 34%, rgba(0, 0, 0, 0.2) 100%);
    opacity: 0.72;
    mix-blend-mode: screen;
}

[data-theme="light"] .page-home--premium .landing-nav__connect:hover,
[data-theme="light"] .page-home--premium .lp-btn-glow:hover {
    filter: saturate(0.9) contrast(1.18) brightness(1.04);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 1) inset,
        0 -1px 0 rgba(0, 0, 0, 0.55) inset,
        0 0 0 1px rgba(0, 0, 0, 0.14),
        0 14px 30px rgba(15, 23, 42, 0.18);
}

/* LiquidMetalButton vanilla port */
.page-home--premium .liquid-metal-button {
    --lm-ink: #f8fafc;
    --lm-edge: rgba(255, 255, 255, 0.3);
    --lm-rim: rgba(255, 255, 255, 0.66);
    --lm-shadow: rgba(0, 0, 0, 0.38);
    --lm-core-a: #f7fbff;
    --lm-core-b: #0c1118;
    --lm-core-c: #6d7a8a;
    --lm-core-d: #020408;
    position: relative;
    isolation: isolate;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    min-width: 164px;
    padding: 0 30px;
    overflow: hidden;
    border: 1px solid var(--lm-edge) !important;
    border-radius: 999px;
    color: var(--lm-ink) !important;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.85);
    background:
        radial-gradient(100% 180% at 22% 0%, rgba(255, 255, 255, 0.62), transparent 32%),
        radial-gradient(140% 170% at 78% 100%, rgba(182, 196, 212, 0.36), transparent 38%),
        conic-gradient(from 225deg at 50% 54%, var(--lm-core-a), var(--lm-core-b), var(--lm-core-c), var(--lm-core-d), #d5dfeb, #111923, var(--lm-core-c), var(--lm-core-a));
    background-size: 160% 160%, 170% 170%, 230% 230%;
    background-position: 10% 8%, 88% 92%, 50% 50%;
    box-shadow:
        0 1px 0 var(--lm-rim) inset,
        0 -1px 0 rgba(0, 0, 0, 0.78) inset,
        0 0 0 1px rgba(0, 0, 0, 0.72),
        0 8px 18px var(--lm-shadow);
    filter: saturate(0.72) contrast(1.62) brightness(0.8);
    cursor: pointer;
    transform: translateZ(0);
    transition: transform 0.18s ease, filter 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
    animation: liquidMetalButtonSurface 9s ease-in-out infinite;
}

.page-home--premium .landing-nav__connect.liquid-metal-button {
    min-height: 34px;
    min-width: 0;
    padding: 0 18px;
    font-size: 13px;
}

.page-home--premium .liquid-metal-button::before,
.page-home--premium .liquid-metal-button::after {
    content: "";
    position: absolute;
    pointer-events: none;
    border-radius: inherit;
}

.page-home--premium .liquid-metal-button::before {
    inset: -48%;
    z-index: 0;
    background:
        radial-gradient(closest-side at 28% 30%, rgba(255, 255, 255, 0.86), transparent 60%),
        radial-gradient(closest-side at 66% 68%, rgba(92, 108, 128, 0.58), transparent 56%),
        radial-gradient(closest-side at 50% 48%, rgba(0, 0, 0, 0.88), transparent 64%);
    filter: blur(10px) contrast(1.9);
    opacity: 0.88;
    transform: translate3d(-5%, 0, 0) rotate(0deg);
    animation: liquidMetalButtonMelt 7s ease-in-out infinite;
}

.page-home--premium .liquid-metal-button::after {
    inset: 1px;
    z-index: 1;
    background:
        linear-gradient(104deg, transparent 0 20%, rgba(255, 255, 255, 0.86) 30%, rgba(12, 17, 24, 0.52) 42%, transparent 57% 100%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.4), transparent 34%, rgba(0, 0, 0, 0.42));
    opacity: 0.78;
    transform: translateX(-32%);
    mix-blend-mode: screen;
    animation: liquidMetalButtonSheen 5.2s ease-in-out infinite;
    transition: opacity 0.18s ease, transform 0.5s ease;
}

.page-home--premium .liquid-metal-button__label,
.page-home--premium .lp-btn-glow__label.liquid-metal-button__label {
    position: relative;
    z-index: 2;
    color: inherit;
}

.page-home--premium .liquid-metal-button:hover {
    transform: translateY(-1px);
    border-color: rgba(255, 255, 255, 0.42) !important;
    background:
        radial-gradient(100% 180% at 22% 0%, rgba(255, 255, 255, 0.62), transparent 32%),
        radial-gradient(140% 170% at 78% 100%, rgba(182, 196, 212, 0.36), transparent 38%),
        conic-gradient(from 225deg at 50% 54%, var(--lm-core-a), var(--lm-core-b), var(--lm-core-c), var(--lm-core-d), #d5dfeb, #111923, var(--lm-core-c), var(--lm-core-a));
    background-size: 160% 160%, 170% 170%, 230% 230%;
    filter: saturate(0.78) contrast(1.72) brightness(0.9);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.76) inset,
        0 -1px 0 rgba(0, 0, 0, 0.82) inset,
        0 0 0 1px rgba(255, 255, 255, 0.08),
        0 10px 20px rgba(0, 0, 0, 0.34);
}

.page-home--premium .liquid-metal-button:hover::after {
    opacity: 0.9;
    transform: translateX(12%);
}

.page-home--premium .liquid-metal-button:active {
    transform: translateY(0);
    filter: saturate(0.72) contrast(1.58) brightness(0.76);
}

[data-theme="light"] .page-home--premium .liquid-metal-button {
    --lm-ink: #050608;
    --lm-edge: rgba(255, 255, 255, 0.76);
    --lm-rim: rgba(255, 255, 255, 0.98);
    --lm-shadow: rgba(15, 23, 42, 0.16);
    --lm-core-a: #ffffff;
    --lm-core-b: #8793a1;
    --lm-core-c: #f8fbff;
    --lm-core-d: #222832;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.62);
    background:
        radial-gradient(100% 180% at 20% 0%, rgba(255, 255, 255, 1), transparent 34%),
        radial-gradient(140% 170% at 80% 100%, rgba(203, 213, 225, 0.62), transparent 42%),
        conic-gradient(from 225deg at 50% 54%, var(--lm-core-a), var(--lm-core-b), var(--lm-core-c), var(--lm-core-d), #ffffff, #6d7682, var(--lm-core-c), var(--lm-core-a));
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.98) inset,
        0 -1px 0 rgba(0, 0, 0, 0.46) inset,
        0 0 0 1px rgba(0, 0, 0, 0.18),
        0 12px 28px var(--lm-shadow);
    filter: saturate(0.84) contrast(1.18) brightness(1.02);
}

[data-theme="light"] .page-home--premium .liquid-metal-button::before {
    opacity: 0.62;
    filter: blur(10px) contrast(1.55);
}

[data-theme="light"] .page-home--premium .liquid-metal-button::after {
    background:
        linear-gradient(104deg, transparent 0 22%, rgba(255, 255, 255, 0.9) 32%, rgba(34, 40, 50, 0.32) 43%, transparent 58% 100%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.7), transparent 34%, rgba(0, 0, 0, 0.18));
    opacity: 0.74;
}

[data-theme="light"] .page-home--premium .liquid-metal-button:hover {
    background:
        radial-gradient(100% 180% at 20% 0%, rgba(255, 255, 255, 1), transparent 34%),
        radial-gradient(140% 170% at 80% 100%, rgba(203, 213, 225, 0.62), transparent 42%),
        conic-gradient(from 225deg at 50% 54%, var(--lm-core-a), var(--lm-core-b), var(--lm-core-c), var(--lm-core-d), #ffffff, #6d7682, var(--lm-core-c), var(--lm-core-a));
    background-size: 160% 160%, 170% 170%, 230% 230%;
    filter: saturate(0.88) contrast(1.24) brightness(1.05);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 1) inset,
        0 -1px 0 rgba(0, 0, 0, 0.5) inset,
        0 0 0 1px rgba(0, 0, 0, 0.14),
        0 14px 30px rgba(15, 23, 42, 0.18);
}

@keyframes liquidMetalButtonMelt {
    0%, 100% {
        transform: translate3d(-5%, 0, 0) rotate(0deg) scale(1);
    }
    42% {
        transform: translate3d(7%, -4%, 0) rotate(20deg) scale(1.08);
    }
    72% {
        transform: translate3d(2%, 5%, 0) rotate(-12deg) scale(1.02);
    }
}

@keyframes liquidMetalButtonSurface {
    0%, 100% {
        background-position: 10% 8%, 88% 92%, 50% 50%;
    }
    36% {
        background-position: 18% 18%, 74% 84%, 66% 38%;
    }
    72% {
        background-position: 6% 24%, 92% 68%, 34% 64%;
    }
}

@keyframes liquidMetalButtonSheen {
    0%, 100% {
        transform: translateX(-38%);
        opacity: 0.52;
    }
    48% {
        transform: translateX(16%);
        opacity: 0.9;
    }
}

@keyframes liquidMetalFlow {
    0%, 100% {
        transform: translate3d(-4%, 0, 0) rotate(0deg) scale(1);
    }
    45% {
        transform: translate3d(6%, -3%, 0) rotate(18deg) scale(1.08);
    }
    72% {
        transform: translate3d(2%, 5%, 0) rotate(-10deg) scale(1.02);
    }
}

@keyframes liquidMetalSurface {
    0%, 100% {
        background-position: 8% 8%, 92% 92%, 50% 50%, 50% 50%;
    }
    38% {
        background-position: 18% 18%, 76% 84%, 56% 48%, 62% 42%;
    }
    72% {
        background-position: 4% 24%, 88% 72%, 44% 58%, 38% 62%;
    }
}

@keyframes liquidMetalSheen {
    0%, 100% {
        transform: translateX(-34%);
        opacity: 0.52;
    }
    48% {
        transform: translateX(18%);
        opacity: 0.86;
    }
    70% {
        transform: translateX(8%);
        opacity: 0.62;
    }
}

/* ─── Product preview (3D + cursor-reactive) ─── */
.lp-preview {
    position: relative;
    z-index: 1;
    max-width: 920px;
    margin: 0 auto;
}

.lp-preview__stage {
    position: relative;
    perspective: 1200px;
    transform-style: preserve-3d;
}

.lp-preview__frame {
    position: relative;
    z-index: 1;
    border-radius: 22px;
    border: 1px solid var(--border-default);
    background: var(--surface-elevated);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.04) inset,
        0 24px 48px rgba(0, 0, 0, 0.4);
    overflow: hidden;
}

.lp-preview__body[data-lp-tilt] {
    transform-style: preserve-3d;
    transition: transform 0.15s ease-out;
    will-change: transform;
}

.lp-preview__bar {
    position: relative;
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 18px;
    border-bottom: 1px solid var(--border-default);
    background: rgba(0, 0, 0, 0.25);
    isolation: isolate;
    pointer-events: auto;
}

[data-theme="light"] .lp-preview__frame {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(244, 248, 252, 0.9)),
        #ffffff;
    border-color: rgba(15, 23, 42, 0.14);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.95) inset,
        0 1px 2px rgba(15, 23, 42, 0.06),
        0 8px 24px rgba(15, 23, 42, 0.1),
        0 28px 64px rgba(15, 23, 42, 0.16);
}

[data-theme="light"] .lp-preview__bar {
    background: #eaf1f9;
    border-bottom-color: rgba(15, 23, 42, 0.12);
}

.lp-preview__dots {
    display: flex;
    gap: 7px;
}

.lp-preview__dots i {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.lp-preview__dots i:first-child { background: #ff5f57; }
.lp-preview__dots i:nth-child(2) { background: #febc2e; }
.lp-preview__dots i:nth-child(3) { background: #28c840; }

.lp-preview__tabs {
    position: relative;
    z-index: 31;
    display: flex;
    gap: 4px;
    padding: 4px;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.06);
    pointer-events: auto;
}

.lp-preview__tab {
    position: relative;
    z-index: 32;
    padding: 8px 18px;
    border: none;
    border-radius: 9px;
    font-size: 12px;
    font-weight: 600;
    font-family: inherit;
    color: var(--text-accent-muted);
    background: transparent;
    cursor: pointer;
    pointer-events: auto;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    transition: color 0.2s, background 0.2s, box-shadow 0.2s;
}

.lp-preview__tab:focus-visible {
    outline: 2px solid var(--accent-light);
    outline-offset: 2px;
}

.lp-preview__tab:hover {
    color: var(--text-primary);
    background: rgba(var(--accent-rgb), 0.1);
}

.lp-preview__tab.is-active {
    color: #fff;
    background: var(--accent);
    box-shadow: none;
}

[data-theme="light"] .lp-preview__tabs {
    background: #eef2f7;
    border-color: rgba(15, 23, 42, 0.06);
}

[data-theme="light"] .lp-preview__tab {
    color: #64748b;
}

[data-theme="light"] .lp-preview__tab:hover {
    color: #18181b;
    background: rgba(255, 255, 255, 0.65);
}

[data-theme="light"] .lp-preview__tab.is-active {
    color: var(--accent-dark);
    background: #ffffff;
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.06),
        0 0 0 1px rgba(var(--accent-rgb), 0.1);
}

.lp-preview__body {
    position: relative;
    z-index: 1;
    min-height: 380px;
    color: var(--text-primary);
}

.lp-panel {
    display: none;
    flex-direction: column;
    animation: lpPanelIn 0.35s ease;
}

.lp-panel.is-active {
    display: flex;
}

@keyframes lpPanelIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: none; }
}

.lp-panel__content {
    flex: 1;
    padding: 22px 24px 12px;
}

.lp-panel__cta {
    display: block;
    margin: 0 24px 20px;
    padding: 10px 16px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    color: var(--accent-light);
    background: rgba(var(--accent-rgb), 0.1);
    border: 1px solid var(--border-default);
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.lp-panel__cta:hover {
    color: #fff;
    background: rgba(var(--accent-rgb), 0.22);
    border-color: rgba(var(--accent-rgb), 0.35);
}

.lp-bar {
    height: 5px;
    border-radius: 999px;
    background: rgba(var(--accent-rgb), 0.15);
    overflow: hidden;
}

.lp-bar i {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--accent);
}

/* ─── Training preview ─── */
.lp-course {
    display: flex;
    flex-direction: column;
    gap: 14px;
    text-align: left;
}

.lp-course__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.lp-course__label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--accent-light);
}

.lp-course__pct {
    font-size: 12px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    color: var(--text-accent-muted);
}

.lp-course__bar {
    margin-top: -4px;
}

.lp-course__layout {
    display: grid;
    grid-template-columns: minmax(0, 168px) minmax(0, 1fr);
    gap: 20px;
    align-items: start;
}

.lp-course__modules {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.lp-course__modules li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 500;
    color: var(--text-accent-muted);
    border: 1px solid transparent;
}

.lp-course__modules li span {
    flex-shrink: 0;
    width: 22px;
    font-size: 10px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: var(--text-accent-muted);
    opacity: 0.7;
}

.lp-course__modules li.is-done {
    color: var(--text-secondary);
}

.lp-course__modules li.is-done span {
    font-size: 0;
    color: transparent;
}

.lp-course__modules li.is-done span::after {
    content: "✓";
    font-size: 10px;
    color: var(--profit);
}

.lp-course__modules li.is-active {
    color: var(--accent-light);
    background: rgba(var(--accent-rgb), 0.12);
    border-color: rgba(var(--accent-rgb), 0.2);
}

.lp-course__modules li.is-active span {
    color: var(--accent-light);
    opacity: 1;
}

.lp-course__lesson h3 {
    margin: 0 0 10px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.3;
}

.lp-course__lesson ul {
    margin: 0;
    padding: 0 0 0 16px;
    font-size: 12px;
    line-height: 1.55;
    color: var(--text-accent-muted);
}

.lp-course__lesson li + li {
    margin-top: 4px;
}

/* ─── Demo board preview (3-column) ─── */
.lp-demo {
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: left;
}

.lp-demo__chrome {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.lp-demo__brand {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.lp-demo__brand i {
    font-style: normal;
    opacity: 0.85;
}

.lp-demo__chrome-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.lp-demo__pill {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--warning);
    padding: 4px 10px;
    border-radius: 4px;
    border: 1px solid rgba(251, 191, 36, 0.35);
    background: rgba(251, 191, 36, 0.1);
}

.lp-demo__bal {
    font-size: 12px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    color: var(--text-primary);
    padding: 4px 10px;
    border-radius: 4px;
    border: 1px solid var(--border-default);
    background: var(--glass);
}

.lp-demo__columns {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.lp-demo__col {
    min-width: 0;
    padding: 8px;
    border-radius: 8px;
    border: 1px solid var(--border-default);
    background: rgba(0, 0, 0, 0.22);
}

[data-theme="light"] .lp-demo__col {
    background: #f8fafc;
    border-color: rgba(15, 23, 42, 0.07);
}

[data-theme="light"] .lp-demo__row {
    background: #ffffff;
    border-color: rgba(15, 23, 42, 0.06);
}

[data-theme="light"] .lp-course__modules li.is-active {
    background: rgba(var(--accent-rgb), 0.07);
    border-color: rgba(var(--accent-rgb), 0.14);
    color: var(--accent-dark);
}

[data-theme="light"] .lp-course__modules li.is-active span {
    color: var(--accent-dark);
}

[data-theme="light"] .lp-panel__cta {
    color: var(--accent-dark);
    background: rgba(var(--accent-rgb), 0.06);
    border-color: rgba(var(--accent-rgb), 0.12);
}

[data-theme="light"] .lp-panel__cta:hover {
    color: #ffffff;
    background: var(--accent);
    border-color: var(--accent);
}

.lp-demo__col-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    margin-bottom: 8px;
}

.lp-demo__col-head h4 {
    margin: 0;
    font-size: 10px;
    font-weight: 700;
    text-transform: lowercase;
    letter-spacing: -0.01em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lp-demo__chips {
    display: inline-flex;
    gap: 2px;
    padding: 2px 4px;
    border-radius: 999px;
    border: 1px solid var(--border-subtle);
    background: rgba(255, 255, 255, 0.04);
    font-size: 9px;
    line-height: 1;
    opacity: 0.75;
}

.lp-demo__row {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr) auto;
    align-items: center;
    gap: 6px;
    padding: 5px 6px;
    margin-bottom: 4px;
    border-radius: 5px;
    border: 1px solid var(--border-subtle);
    background: var(--glass);
}

.lp-demo__row:last-child {
    margin-bottom: 0;
}

.lp-demo__row.has-position {
    box-shadow: inset 2px 0 0 var(--profit);
    border-color: rgba(var(--profit-rgb), 0.25);
}

.lp-demo__row.is-dim {
    opacity: 0.55;
}

.lp-demo__icon {
    width: 28px;
    height: 28px;
    border-radius: 4px;
    border: 1px solid var(--border-default);
    background: #3f3f46;
}

.lp-demo__icon--bonk { background: #f97316; }
.lp-demo__icon--cat { background: #eab308; }
.lp-demo__icon--wif { background: #a16207; }
.lp-demo__icon--jup { background: #22c55e; }

.lp-demo__meta {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.lp-demo__meta strong {
    font-size: 10px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lp-demo__meta strong em {
    font-style: normal;
    font-weight: 500;
    color: var(--text-accent-muted);
    margin-left: 3px;
}

.lp-demo__meta span {
    font-size: 9px;
    color: var(--text-accent-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lp-demo__buy {
    font-size: 9px;
    font-weight: 700;
    padding: 4px 7px;
    border-radius: 999px;
    color: var(--profit);
    background: rgba(var(--profit-rgb), 0.12);
    border: 1px solid rgba(var(--profit-rgb), 0.35);
    white-space: nowrap;
}

.lp-demo__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.lp-demo__toast {
    font-size: 11px;
    font-weight: 600;
    color: var(--profit);
    padding: 6px 10px;
    border-radius: 6px;
    border: 1px solid rgba(var(--profit-rgb), 0.25);
    background: rgba(var(--profit-rgb), 0.08);
}

.lp-demo__position {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    font-weight: 600;
    padding: 6px 10px;
    border-radius: 6px;
    border: 1px solid rgba(var(--profit-rgb), 0.2);
    background: rgba(var(--profit-rgb), 0.06);
}

.lp-demo__position span {
    color: var(--text-secondary);
}

.lp-demo__position strong {
    color: var(--profit);
    font-variant-numeric: tabular-nums;
}

/* ─── AI assistant preview ─── */
.lp-ai {
    display: flex;
    flex-direction: column;
    gap: 14px;
    text-align: left;
}

.lp-ai__thread {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.lp-ai__msg--user {
    align-self: flex-end;
    max-width: 82%;
    padding: 10px 14px;
    border-radius: 14px 14px 4px 14px;
    font-size: 13px;
    line-height: 1.45;
    color: #fff;
    background: var(--accent);
}

.lp-ai__msg--bot {
    max-width: 92%;
    padding: 12px 14px;
    border-radius: 4px 14px 14px 14px;
    font-size: 13px;
    line-height: 1.5;
    background: rgba(var(--accent-rgb), 0.08);
    border: 1px solid var(--border-default);
}

[data-theme="light"] .lp-ai__msg--bot {
    background: rgba(255, 255, 255, 0.85);
}

.lp-ai__from {
    display: block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--accent-light);
    margin-bottom: 6px;
}

.lp-ai__msg--bot > p {
    margin: 0 0 10px;
    color: var(--text-primary);
}

.lp-ai__msg--bot b {
    color: var(--accent-light);
    font-weight: 700;
}

.lp-ai__card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 10px 12px;
    margin-bottom: 8px;
    border-radius: 8px;
    border: 1px solid var(--border-default);
    background: rgba(0, 0, 0, 0.2);
}

[data-theme="light"] .lp-ai__card {
    background: rgba(0, 0, 0, 0.03);
}

.lp-ai__card-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 12px;
}

.lp-ai__card-row span {
    color: var(--text-accent-muted);
}

.lp-ai__card-row strong {
    font-variant-numeric: tabular-nums;
    color: var(--text-primary);
}

.lp-ai__card-row strong.is-warn {
    color: var(--warning);
}

.lp-ai__hint {
    margin: 0;
    font-size: 11px;
    color: var(--text-accent-muted);
    line-height: 1.45;
}

.lp-ai__composer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 13px;
    color: var(--text-accent-muted);
    background: rgba(0, 0, 0, 0.22);
    border: 1px solid var(--border-default);
}

[data-theme="light"] .lp-ai__composer {
    background: rgba(255, 255, 255, 0.9);
}

.lp-ai__composer i {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-style: normal;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    background: var(--accent);
}

@media (max-width: 768px) {
    .lp-preview__stage {
        perspective: none;
    }

    .lp-preview__body[data-lp-tilt] {
        transform: none !important;
    }

    .lp-course__layout {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .lp-demo__columns {
        grid-template-columns: repeat(3, minmax(200px, 1fr));
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 4px;
    }

    .lp-leaderboard__row {
        grid-template-columns: 32px minmax(0, 1fr) 52px 60px 80px;
        gap: 8px;
        padding: 10px 14px;
        font-size: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .lp-preview__body[data-lp-tilt],
    .lp-panel {
        transform: none !important;
        transition: none !important;
        animation: none !important;
    }
}

/* Final mobile shell and data-density corrections. */
@media (max-width: 640px) {
    .landing-header {
        padding: max(10px, env(safe-area-inset-top)) 10px 0 !important;
    }

    .landing-nav {
        width: 100% !important;
        max-width: none !important;
        min-height: 58px !important;
        padding: 8px 10px !important;
        gap: 8px !important;
        border-radius: 18px !important;
        box-sizing: border-box !important;
    }

    .landing-nav__brand {
        min-width: 0 !important;
        gap: 7px !important;
    }

    .landing-nav__brand--back {
        flex: 0 1 auto !important;
    }

    .landing-nav__back {
        width: 36px !important;
        height: 36px !important;
        flex: 0 0 36px !important;
    }

    .landing-nav__logo {
        width: auto !important;
        max-width: 112px !important;
        height: 34px !important;
        object-fit: contain !important;
    }

    .landing-nav__actions {
        min-width: 0 !important;
        gap: 7px !important;
        margin-left: auto !important;
    }

    .landing-nav__actions .nav-metal-pill,
    .landing-nav__actions .nav-metal-pill.wallet-connected-pill,
    .landing-nav__connect {
        width: auto !important;
        max-width: 128px !important;
        min-width: 0 !important;
        min-height: 38px !important;
        padding: 7px 11px !important;
        overflow: hidden !important;
        font-size: 11px !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }

    .landing-nav__theme {
        width: 38px !important;
        height: 38px !important;
        flex: 0 0 38px !important;
    }

    .page-leaderboard .dashboard-main {
        padding-right: 14px !important;
        padding-left: 14px !important;
        padding-bottom: calc(104px + env(safe-area-inset-bottom)) !important;
    }

    .lp-leaderboard--page {
        padding-top: 8px !important;
        padding-right: 0 !important;
        padding-left: 0 !important;
    }

    .lp-leaderboard--page .lp-leaderboard__head {
        padding-inline: 4px !important;
    }

    .lp-leaderboard--page .lp-leaderboard__head h1 {
        font-size: clamp(28px, 9vw, 36px) !important;
        line-height: 1.08 !important;
    }

    .lp-leaderboard--page .lp-leaderboard__frame {
        width: 100% !important;
        overflow: hidden !important;
        border-radius: 16px !important;
    }

    .lp-leaderboard--page .lp-leaderboard__row {
        grid-template-columns: 28px minmax(0, 1fr) 58px 86px !important;
        gap: 7px !important;
        padding: 11px 12px !important;
        font-size: 12px !important;
    }

    .lp-leaderboard--page .lp-leaderboard__row > :nth-child(3) {
        display: none !important;
    }

    .lp-leaderboard--page .lp-leaderboard__row--head {
        min-height: 46px !important;
        font-size: 9px !important;
    }

    .lp-leaderboard--page .lp-leaderboard__trader {
        gap: 7px !important;
    }

    .lp-leaderboard--page .lp-leaderboard__trader i {
        width: 28px !important;
        height: 28px !important;
    }

    .lp-leaderboard--page .lp-leaderboard__pnl {
        font-size: 11px !important;
        white-space: nowrap !important;
    }

    .lb-view-tabs {
        padding: 8px !important;
        gap: 6px !important;
    }

    .lb-view-tab {
        min-height: 42px !important;
        padding: 8px 13px !important;
        font-size: 13px !important;
    }

    .lb-payout-hero,
    .lb-info-panel {
        border-radius: 16px !important;
    }

    .page-home--premium .lp-leaderboard {
        width: 100% !important;
        max-width: none !important;
        padding: 32px 12px 64px !important;
    }

    .page-home--premium .lp-leaderboard__head {
        margin-bottom: 20px !important;
        padding-inline: 8px;
    }

    .page-home--premium .lp-leaderboard__frame {
        width: 100% !important;
        border-radius: 16px !important;
    }

    .page-home--premium .lp-leaderboard__row {
        grid-template-columns: 26px minmax(0, 1fr) 54px 82px !important;
        gap: 7px !important;
        padding: 12px 10px !important;
    }

    .page-home--premium .lp-leaderboard__row > :nth-child(3) {
        display: none !important;
    }

    .page-home--premium .lp-leaderboard__trader {
        gap: 7px;
    }

    .page-home--premium .lp-leaderboard__pnl {
        font-size: 11px;
        white-space: nowrap;
    }

    .lb-payouts {
        overflow: hidden !important;
    }

    .lb-payouts__table {
        width: 100%;
        min-height: 250px !important;
    }

    .lb-payouts__row {
        min-width: 0 !important;
        grid-template-columns: minmax(0, 1fr) auto !important;
        gap: 8px !important;
        padding: 12px 14px !important;
    }

    .lb-payouts__row--head {
        display: none !important;
    }

    .lb-payouts__empty {
        width: 100%;
        min-width: 0 !important;
        padding: 38px 24px 44px !important;
    }

    .lb-payouts__empty p {
        max-width: 280px;
    }
}

/* Static metallic shine CTA inspired by Magic UI / Aceternity button patterns */
.page-home--premium .metal-shine-button {
    --metal-shine-width: auto;
    position: relative !important;
    isolation: isolate !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 48px !important;
    min-width: 168px !important;
    padding: 0 30px !important;
    overflow: hidden !important;
    border: 1px solid rgba(15, 23, 42, 0.16) !important;
    border-radius: 999px !important;
    color: #0a0b0f !important;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(235, 239, 245, 0.72) 48%, rgba(180, 190, 203, 0.55) 100%),
        linear-gradient(120deg, #ffffff, #c2ccd8 38%, #f8fafc 62%, #8d99a8) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 1),
        inset 0 -1px 0 rgba(15, 23, 42, 0.24),
        0 0 0 1px rgba(15, 23, 42, 0.12),
        0 14px 30px rgba(15, 23, 42, 0.16) !important;
    filter: none !important;
    text-shadow: none !important;
    cursor: pointer;
    transform: translateZ(0) !important;
    transition:
        transform 0.18s ease,
        border-color 0.18s ease,
        box-shadow 0.18s ease,
        background 0.18s ease !important;
    animation: none !important;
}

.page-home--premium .landing-nav__connect.metal-shine-button {
    min-height: 34px !important;
    min-width: 0 !important;
    padding: 0 6px !important;
    font-size: 11px !important;
}

.page-home--premium .landing-nav__connect.metal-shine-button.wallet-connected-pill {
    min-width: 0 !important;
    color: #090a0d !important;
    border-color: rgba(15, 23, 42, 0.22) !important;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(226, 232, 240, 0.78) 48%, rgba(166, 176, 190, 0.58) 100%),
        linear-gradient(120deg, #ffffff, #b8c2cf 38%, #f3f6fa 62%, #808b99) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 1),
        inset 0 -1px 0 rgba(15, 23, 42, 0.28),
        0 0 0 1px rgba(15, 23, 42, 0.16),
        0 8px 18px rgba(0, 0, 0, 0.22) !important;
}

.page-home--premium .metal-shine-button::before,
.page-home--premium .metal-shine-button::after {
    content: "" !important;
    position: absolute !important;
    pointer-events: none !important;
    border-radius: inherit !important;
    display: block !important;
}

.page-home--premium .metal-shine-button::before {
    inset: -1px !important;
    z-index: -1 !important;
    padding: 1px;
    background:
        linear-gradient(110deg, rgba(255, 255, 255, 0.72), rgba(93, 103, 117, 0.22) 18%, rgba(255, 255, 255, 0.9) 36%, rgba(16, 20, 28, 0.2) 56%, rgba(255, 255, 255, 0.62) 78%, rgba(88, 99, 113, 0.28));
    -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.9;
}

.page-home--premium .metal-shine-button::after {
    inset: 0 !important;
    z-index: 1 !important;
    background:
        linear-gradient(105deg, transparent 0 18%, rgba(255, 255, 255, 0.02) 28%, rgba(255, 255, 255, 0.78) 38%, rgba(255, 255, 255, 0.12) 48%, transparent 62% 100%),
        radial-gradient(80% 140% at 50% 120%, rgba(255, 255, 255, 0.22), transparent 44%);
    opacity: 0.7;
    mix-blend-mode: screen;
    transform: translateX(-42%);
    animation: metalShineSweep 4.2s ease-in-out infinite;
}

.page-home--premium .landing-nav__connect.metal-shine-button::after {
    opacity: 0.36;
    background:
        linear-gradient(105deg, transparent 0 20%, rgba(255, 255, 255, 0.02) 30%, rgba(255, 255, 255, 0.46) 40%, rgba(255, 255, 255, 0.08) 50%, transparent 64% 100%),
        radial-gradient(80% 140% at 50% 120%, rgba(255, 255, 255, 0.14), transparent 44%);
}

.page-home--premium .metal-shine-button__label,
.page-home--premium .lp-btn-glow__label.metal-shine-button__label {
    position: relative !important;
    z-index: 2 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: inherit !important;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    text-shadow:
        0 1px 0 rgba(255, 255, 255, 0.8),
        0 0 1px rgba(0, 0, 0, 0.22);
}

.page-home--premium .landing-nav__connect.metal-shine-button .metal-shine-button__label {
    color: #090a0d !important;
    font-weight: 800;
    text-shadow:
        0 1px 0 rgba(255, 255, 255, 0.82),
        0 0 1px rgba(0, 0, 0, 0.35);
}

.page-home--premium .metal-shine-button:hover {
    transform: translateY(-1px) translateZ(0) !important;
    border-color: rgba(15, 23, 42, 0.18) !important;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(235, 239, 245, 0.76) 48%, rgba(180, 190, 203, 0.58) 100%),
        linear-gradient(120deg, #ffffff, #c2ccd8 38%, #f8fafc 62%, #8d99a8) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 1),
        inset 0 -1px 0 rgba(15, 23, 42, 0.26),
        0 0 0 1px rgba(15, 23, 42, 0.14),
        0 14px 30px rgba(15, 23, 42, 0.18) !important;
}

.page-home--premium .metal-shine-button:hover::after {
    opacity: 0.8;
}

.page-home--premium .landing-nav__connect.metal-shine-button:hover::after {
    opacity: 0.46;
}

.page-home--premium .metal-shine-button:active {
    transform: translateY(0) scale(0.985) translateZ(0) !important;
}

[data-theme="light"] .page-home--premium .metal-shine-button {
    color: #0a0b0f !important;
    border-color: rgba(15, 23, 42, 0.16) !important;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(235, 239, 245, 0.72) 48%, rgba(180, 190, 203, 0.55) 100%),
        linear-gradient(120deg, #ffffff, #c2ccd8 38%, #f8fafc 62%, #8d99a8) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 1),
        inset 0 -1px 0 rgba(15, 23, 42, 0.24),
        0 0 0 1px rgba(15, 23, 42, 0.12),
        0 14px 30px rgba(15, 23, 42, 0.16) !important;
}

[data-theme="light"] .page-home--premium .metal-shine-button__label {
    text-shadow:
        0 1px 0 rgba(255, 255, 255, 0.8),
        0 0 1px rgba(0, 0, 0, 0.22);
}

[data-theme="light"] .page-home--premium .metal-shine-button::after {
    opacity: 0.7;
}

@keyframes metalShineSweep {
    0%, 100% {
        transform: translateX(-44%);
    }
    48% {
        transform: translateX(42%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .page-home--premium .metal-shine-button::after {
        animation: none !important;
        transform: translateX(8%);
    }
}

/* Joly UI LiquidMetalButton static port */
.page-home--premium .liquid-metal-button {
    --joly-width: 142px;
    --joly-height: 46px;
    --joly-inner-width: 138px;
    --joly-inner-height: 42px;
    position: relative !important;
    isolation: isolate !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: var(--joly-width) !important;
    min-width: var(--joly-width) !important;
    height: var(--joly-height) !important;
    min-height: var(--joly-height) !important;
    padding: 0 !important;
    overflow: hidden !important;
    border: 0 !important;
    border-radius: 100px !important;
    color: #c8c8c8 !important;
    background: transparent !important;
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, 0.3),
        0 36px 14px rgba(0, 0, 0, 0.02),
        0 20px 12px rgba(0, 0, 0, 0.08),
        0 9px 9px rgba(0, 0, 0, 0.12),
        0 2px 5px rgba(0, 0, 0, 0.15) !important;
    filter: none !important;
    text-shadow: none !important;
    perspective: 1000px;
    perspective-origin: 50% 50%;
    transform: translateZ(0) !important;
    transition:
        transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1),
        box-shadow 0.15s cubic-bezier(0.4, 0, 0.2, 1) !important;
    animation: none !important;
}

.page-home--premium .landing-nav__connect.liquid-metal-button {
    --joly-width: 128px;
    --joly-height: 38px;
    --joly-inner-width: 124px;
    --joly-inner-height: 34px;
    font-size: 13px !important;
}

.page-home--premium .liquid-metal-button::before,
.page-home--premium .liquid-metal-button::after {
    content: "";
    position: absolute;
    pointer-events: none;
    border-radius: 100px;
}

.page-home--premium .liquid-metal-button::before {
    top: 2px;
    left: 2px;
    z-index: 2;
    display: block !important;
    width: var(--joly-inner-width);
    height: var(--joly-inner-height);
    background: linear-gradient(180deg, #202020 0%, #000000 100%);
    transform: translateZ(10px);
    transition:
        transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1),
        box-shadow 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

.page-home--premium .liquid-metal-button::after {
    display: none !important;
}

.page-home--premium .liquid-metal-button::selection,
.page-home--premium .liquid-metal-button *::selection {
    background: transparent;
}

.page-home--premium .liquid-metal-button__shader {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: var(--joly-width);
    height: var(--joly-height);
    overflow: hidden;
    border-radius: 100px;
    pointer-events: none;
    opacity: 1;
    transform: translateZ(0);
}

.page-home--premium .liquid-metal-button__shader::before {
    display: none;
}

.page-home--premium .liquid-metal-button__label {
    position: relative !important;
    z-index: 3 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: calc(var(--joly-width) - 22px);
    overflow: hidden;
    color: #666666 !important;
    font-size: 14px;
    font-weight: 400;
    line-height: 1;
    white-space: nowrap;
    text-overflow: ellipsis;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    transform: translateZ(20px);
    transition:
        color 0.8s cubic-bezier(0.34, 1.56, 0.64, 1),
        transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.page-home--premium .liquid-metal-button--shader-ready {
    background: transparent !important;
}

.page-home--premium .liquid-metal-button--fallback .liquid-metal-button__shader {
    background:
        radial-gradient(circle at 30% 28%, rgba(255, 255, 255, 0.92), transparent 30%),
        radial-gradient(circle at 72% 72%, rgba(255, 255, 255, 0.46), transparent 34%),
        conic-gradient(from 220deg, #fbfbfb, #252525, #d7d7d7, #050505, #ffffff, #111111, #bcbcbc, #fbfbfb);
    background-size: 180% 180%;
    animation: jolyLiquidMetalFallback 5.6s ease-in-out infinite;
}

.page-home--premium .liquid-metal-button:hover,
.page-home--premium .liquid-metal-button--hovered {
    transform: translateY(-1px) translateZ(0) !important;
    background: transparent !important;
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, 0.4),
        0 12px 6px rgba(0, 0, 0, 0.05),
        0 8px 5px rgba(0, 0, 0, 0.1),
        0 4px 4px rgba(0, 0, 0, 0.15),
        0 1px 2px rgba(0, 0, 0, 0.2) !important;
    filter: none !important;
}

.page-home--premium .liquid-metal-button--pressed {
    transform: translateY(1px) scale(0.98) translateZ(0) !important;
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, 0.5),
        0 1px 2px rgba(0, 0, 0, 0.3) !important;
}

.page-home--premium .liquid-metal-button--pressed::before {
    box-shadow:
        inset 0 2px 4px rgba(0, 0, 0, 0.4),
        inset 0 1px 2px rgba(0, 0, 0, 0.3);
}

.page-home--premium .liquid-metal-button__ripple {
    position: absolute;
    z-index: 4;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    pointer-events: none;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0) 70%);
    animation: liquid-metal-button-ripple 0.6s ease-out;
}

[data-theme="light"] .page-home--premium .liquid-metal-button {
    color: #666666 !important;
}

[data-theme="light"] .page-home--premium .liquid-metal-button__label {
    color: #666666 !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

@keyframes jolyLiquidMetalFallback {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* ─── Leaderboard snippet ─── */
.lp-leaderboard {
    padding: clamp(32px, 5vw, 56px) clamp(20px, 4vw, 48px) clamp(64px, 8vw, 96px);
    max-width: 920px;
    margin: 0 auto;
}

.lp-leaderboard__head {
    text-align: center;
    margin-bottom: 28px;
}

.lp-leaderboard__head h2 {
    margin: 0 0 10px;
    font-size: clamp(22px, 3vw, 28px);
    font-weight: 700;
    letter-spacing: -0.03em;
}

.lp-leaderboard__head p {
    margin: 0;
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.lp-leaderboard__frame {
    border-radius: 20px;
    border: 1px solid var(--border-default);
    background: var(--surface-elevated);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.04) inset,
        0 24px 48px rgba(0, 0, 0, 0.35);
    overflow: hidden;
}

[data-theme="light"] .lp-leaderboard__frame {
    background: #ffffff;
    border-color: rgba(var(--accent-rgb), 0.1);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.95) inset,
        0 1px 2px rgba(15, 23, 42, 0.04),
        0 8px 24px rgba(15, 23, 42, 0.07);
}

.lp-leaderboard__table {
    display: flex;
    flex-direction: column;
}

.leaderboard-live-loading .lp-leaderboard__row:not(.lp-leaderboard__row--head) {
    visibility: hidden;
}

.lp-leaderboard__row {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) 64px 72px 96px;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    font-size: 13px;
    border-bottom: 1px solid var(--border-subtle);
}

.lp-leaderboard__row:last-of-type {
    border-bottom: none;
}

.lp-leaderboard__row--head {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-accent-muted);
    background: rgba(0, 0, 0, 0.2);
    padding-top: 14px;
    padding-bottom: 14px;
}

[data-theme="light"] .lp-leaderboard__row--head {
    background: #f8fafc;
    color: #64748b;
}

[data-theme="light"] .lp-leaderboard__head p {
    color: #52525b;
}

[data-theme="light"] .lp-leaderboard__cta {
    background: #f8fafc;
    color: var(--accent-dark);
}

[data-theme="light"] .lp-leaderboard__cta:hover {
    background: rgba(var(--accent-rgb), 0.08);
    color: var(--accent-dark);
}

.lp-leaderboard__row--head span:last-child,
.lp-leaderboard__pnl {
    text-align: right;
}

.lp-leaderboard__row--head span:nth-child(3),
.lp-leaderboard__row--head span:nth-child(4),
.lp-leaderboard__stat {
    text-align: center;
    font-variant-numeric: tabular-nums;
}

.lp-leaderboard__rank {
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: var(--text-accent-muted);
}

.lp-leaderboard__row--1 .lp-leaderboard__rank { color: #fbbf24; }
.lp-leaderboard__row--2 .lp-leaderboard__rank { color: #94a3b8; }
.lp-leaderboard__row--3 .lp-leaderboard__rank { color: #d97706; }

.lp-leaderboard__trader {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lp-leaderboard__trader i {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.5), rgba(var(--accent-rgb), 0.15));
    border: 1px solid rgba(var(--accent-rgb), 0.25);
}

.lp-leaderboard__row--1 .lp-leaderboard__trader i { background: linear-gradient(135deg, #60a5fa, #2563eb); }
.lp-leaderboard__row--2 .lp-leaderboard__trader i { background: linear-gradient(135deg, #a78bfa, #7c3aed); }
.lp-leaderboard__row--3 .lp-leaderboard__trader i { background: linear-gradient(135deg, #34d399, #059669); }

.lp-leaderboard__pnl {
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.lp-leaderboard__pnl.is-up { color: var(--profit); }
.lp-leaderboard__pnl.is-down { color: #fb7185; }

.lp-leaderboard__row.is-current-user {
    background: rgba(var(--accent-rgb), 0.08);
    box-shadow: inset 3px 0 0 rgba(var(--accent-rgb), 0.7);
}

.lp-leaderboard__row.lb-live-empty {
    display: block;
    padding: 34px 20px;
    color: var(--text-secondary);
    text-align: center;
}

.lp-leaderboard__cta {
    display: block;
    margin: 0;
    padding: 14px 20px;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    color: var(--accent-light);
    background: rgba(var(--accent-rgb), 0.08);
    border-top: 1px solid var(--border-default);
    transition: background 0.2s, color 0.2s;
}

.lp-leaderboard__cta:hover {
    color: #fff;
    background: rgba(var(--accent-rgb), 0.18);
}

/* Full leaderboard page */
.page-leaderboard .dashboard-main {
    max-width: 1140px;
    padding-bottom: clamp(120px, 14vw, 160px);
}

.lp-leaderboard--page {
    padding-top: clamp(16px, 3vw, 28px);
    padding-bottom: clamp(24px, 4vw, 36px);
    max-width: none;
    margin: 0;
    width: 100%;
}

.lp-leaderboard--page .lp-leaderboard__frame {
    border-radius: 20px;
}

.lp-leaderboard--page .lp-leaderboard__row {
    grid-template-columns: 48px minmax(0, 1fr) 80px 88px 120px;
    padding: 14px 24px;
    font-size: 14px;
}

.lp-leaderboard--page .lp-leaderboard__row--head {
    padding-top: 16px;
    padding-bottom: 16px;
    font-size: 11px;
}

.lp-leaderboard--page .lp-leaderboard__trader i {
    width: 32px;
    height: 32px;
}

.lp-leaderboard--page .lp-leaderboard__head h1 {
    margin: 0 0 10px;
    font-size: clamp(28px, 4vw, 36px);
    font-weight: 700;
    letter-spacing: -0.03em;
}

.lp-leaderboard__badge {
    margin-bottom: 18px;
}

.lb-view-tabs {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    border-bottom: 1px solid var(--border-default);
    background: rgba(0, 0, 0, 0.14);
}

.lb-view-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 36px;
    padding: 0 14px;
    border: 1px solid transparent;
    border-radius: 10px;
    color: var(--text-secondary);
    background: transparent;
    cursor: pointer;
    font: inherit;
    font-size: 13px;
    font-weight: 750;
    transition: color 0.16s ease, background 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.lb-view-tab:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.045);
}

.lb-view-tab.is-active {
    color: #eff6ff;
    border-color: rgba(var(--accent-rgb), 0.28);
    background: rgba(var(--accent-rgb), 0.14);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.lb-view-tab:focus-visible {
    outline: 2px solid rgba(var(--accent-rgb), 0.48);
    outline-offset: 2px;
}

.lb-view-tab__count {
    display: inline-grid;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    place-items: center;
    border-radius: 999px;
    color: var(--text-accent-muted);
    background: rgba(255, 255, 255, 0.07);
    font-size: 10px;
    font-variant-numeric: tabular-nums;
}

.lb-view-tab.is-active .lb-view-tab__count {
    color: var(--accent-light);
    background: rgba(var(--accent-rgb), 0.18);
}

.lb-view-panel[hidden] {
    display: none !important;
}

.lb-payouts__table {
    display: flex;
    min-height: 320px;
    flex-direction: column;
}

.lb-payouts__row {
    display: grid;
    grid-template-columns: 130px minmax(180px, 1fr) 120px 150px;
    align-items: center;
    gap: 14px;
    padding: 14px 24px;
    border-bottom: 1px solid var(--border-subtle);
    font-size: 13px;
}

.lb-payouts__row--head {
    color: var(--text-accent-muted);
    background: rgba(0, 0, 0, 0.2);
    font-size: 10px;
    font-weight: 750;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.lb-payouts__profile {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    color: var(--text-primary);
    font-weight: 700;
}

.lb-payouts__profile i {
    width: 30px;
    height: 30px;
    flex: 0 0 auto;
    border: 1px solid rgba(var(--accent-rgb), 0.28);
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.5), rgba(var(--accent-rgb), 0.14));
}

.lb-payouts__amount {
    color: var(--profit);
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

.lb-payouts__solscan {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-height: 32px;
    padding: 0 11px;
    border: 1px solid rgba(var(--accent-rgb), 0.25);
    border-radius: 9px;
    color: var(--accent-light);
    background: rgba(var(--accent-rgb), 0.09);
    font-size: 11px;
    font-weight: 750;
    text-decoration: none;
}

.lb-payouts__solscan:hover {
    border-color: rgba(var(--accent-rgb), 0.45);
    background: rgba(var(--accent-rgb), 0.16);
}

.lb-payouts__empty {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 54px 24px 62px;
    color: var(--text-secondary);
    text-align: center;
}

.lb-payouts__empty-icon {
    display: grid;
    width: 56px;
    height: 56px;
    margin-bottom: 16px;
    place-items: center;
    border: 1px solid rgba(var(--accent-rgb), 0.2);
    border-radius: 18px;
    color: var(--accent-light);
    background:
        radial-gradient(circle at 30% 10%, rgba(255, 255, 255, 0.1), transparent 46%),
        rgba(var(--accent-rgb), 0.09);
}

.lb-payouts__empty-icon svg {
    width: 26px;
    height: 26px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.lb-payouts__empty strong {
    margin-bottom: 7px;
    color: var(--text-primary);
    font-size: 17px;
}

.lb-payouts__empty p {
    max-width: 500px;
    margin: 0;
    font-size: 13px;
    line-height: 1.6;
}

[data-theme="light"] .lb-view-tabs {
    border-color: rgba(37, 99, 235, 0.11);
    background: rgba(226, 237, 250, 0.7);
}

[data-theme="light"] .lb-view-tab:hover {
    background: rgba(255, 255, 255, 0.66);
}

[data-theme="light"] .lb-view-tab.is-active {
    color: #17366b;
    border-color: rgba(37, 99, 235, 0.2);
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 3px 10px rgba(30, 64, 175, 0.09), inset 0 1px 0 #ffffff;
}

[data-theme="light"] .lb-view-tab__count {
    color: #526783;
    background: rgba(37, 99, 235, 0.08);
}

[data-theme="light"] .lb-payouts__row--head {
    color: #607089;
    background: rgba(239, 245, 252, 0.92);
}

[data-theme="light"] .lb-payouts__empty-icon {
    color: #2563eb;
    background: linear-gradient(145deg, #ffffff, #dceafb);
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.14);
}

@media (max-width: 680px) {
    .lb-payouts__table {
        min-height: 280px;
    }

    .lb-payouts__row {
        grid-template-columns: 90px minmax(130px, 1fr) 90px 112px;
        min-width: 520px;
        padding-right: 16px;
        padding-left: 16px;
    }

    .lb-payouts {
        overflow-x: auto;
    }

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

.lb-prize-board {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 20px;
    border-bottom: 1px solid var(--border-default);
    background:
        linear-gradient(135deg, rgba(var(--accent-rgb), 0.08), rgba(var(--accent-rgb), 0.02)),
        var(--surface-elevated);
}

.lb-prize-board__pool {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.lb-prize-board__label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-accent-muted);
}

.lb-prize-board__total {
    font-size: clamp(22px, 3vw, 28px);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--text-primary);
    line-height: 1.1;
}

.lb-prize-board__note {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.4;
}

.lb-prize-board__podium {
    display: grid;
    grid-template-columns: repeat(3, minmax(72px, 1fr));
    gap: 8px;
    flex: 0 0 auto;
    align-self: center;
}

.lb-prize-board__place {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid var(--border-subtle);
    background: rgba(0, 0, 0, 0.18);
    min-width: 72px;
}

.lb-prize-board__rank {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-accent-muted);
}

.lb-prize-board__amount {
    font-size: 14px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: var(--text-primary);
}

.lb-prize-board__place--1 {
    border-color: rgba(251, 191, 36, 0.28);
    background: rgba(251, 191, 36, 0.08);
}

.lb-prize-board__place--1 .lb-prize-board__rank {
    color: #fbbf24;
}

.lb-prize-board__place--2 {
    border-color: rgba(148, 163, 184, 0.28);
    background: rgba(148, 163, 184, 0.08);
}

.lb-prize-board__place--2 .lb-prize-board__rank {
    color: #94a3b8;
}

.lb-prize-board__place--3 {
    border-color: rgba(217, 119, 6, 0.28);
    background: rgba(217, 119, 6, 0.08);
}

.lb-prize-board__place--3 .lb-prize-board__rank {
    color: #d97706;
}

[data-theme="light"] .lb-prize-board {
    background:
        linear-gradient(135deg, rgba(var(--accent-rgb), 0.06), rgba(255, 255, 255, 0.95)),
        #ffffff;
}

[data-theme="light"] .lb-prize-board__place {
    background: #f8fafc;
    border-color: rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .lb-prize-board__place--1 {
    background: rgba(251, 191, 36, 0.1);
    border-color: rgba(251, 191, 36, 0.22);
}

[data-theme="light"] .lb-prize-board__place--2 {
    background: rgba(148, 163, 184, 0.12);
    border-color: rgba(148, 163, 184, 0.22);
}

[data-theme="light"] .lb-prize-board__place--3 {
    background: rgba(217, 119, 6, 0.08);
    border-color: rgba(217, 119, 6, 0.18);
}

@media (max-width: 640px) {
    .lb-prize-board {
        flex-direction: column;
        gap: 16px;
        padding: 16px;
    }

    .lb-prize-board__podium {
        width: 100%;
    }
}

.lb-prize-board--aside {
    margin: -20px -22px 20px;
    padding: 18px 22px;
    border-bottom: 1px solid var(--border-subtle);
    border-radius: 16px 16px 0 0;
}

[data-theme="light"] .lb-prize-board--aside {
    background:
        linear-gradient(135deg, rgba(var(--accent-rgb), 0.05), rgba(255, 255, 255, 0.98)),
        #ffffff;
}

@media (max-width: 640px) {
    .lb-prize-board--aside {
        margin: -20px -16px 18px;
        padding: 16px;
    }
}

.lp-leaderboard__row--4 .lp-leaderboard__trader i {
    background: linear-gradient(135deg, #f472b6, #db2777);
}

.lp-leaderboard__row--5 .lp-leaderboard__trader i {
    background: linear-gradient(135deg, #fb923c, #ea580c);
}

/* Rewards info — compact strip below leaderboard */
.lb-info-panel {
    margin-top: 16px;
    padding: 20px 22px 22px;
    border-radius: 16px;
    border: 1px solid var(--border-default);
    background: var(--surface-elevated);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.04) inset,
        0 12px 32px rgba(0, 0, 0, 0.2);
}

[data-theme="light"] .lb-info-panel {
    background: #ffffff;
    border-color: rgba(var(--accent-rgb), 0.1);
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.04),
        0 8px 24px rgba(15, 23, 42, 0.06);
}

.lb-info-panel__head {
    margin-bottom: 18px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-subtle);
}

.lb-info-panel__head h2 {
    margin: 0 0 6px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.lb-info-panel__head p {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: var(--text-secondary);
}

.lb-info-panel__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.lb-info-item {
    padding: 14px 14px 12px;
    border-radius: 12px;
    border: 1px solid var(--border-subtle);
    background: rgba(0, 0, 0, 0.14);
}

[data-theme="light"] .lb-info-item {
    background: #f8fafc;
    border-color: rgba(15, 23, 42, 0.07);
}

.lb-info-item__tag {
    display: block;
    margin-bottom: 8px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-accent-muted);
}

.lb-info-item h3 {
    margin: 0 0 6px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.25;
    color: var(--text-primary);
}

.lb-info-item p {
    margin: 0;
    font-size: 12px;
    line-height: 1.55;
    color: var(--text-secondary);
}

.lb-info-item:first-child {
    border-color: rgba(var(--accent-rgb), 0.22);
    background:
        linear-gradient(145deg, rgba(var(--accent-rgb), 0.1), rgba(var(--accent-rgb), 0.02)),
        rgba(0, 0, 0, 0.12);
}

[data-theme="light"] .lb-info-item:first-child {
    background:
        linear-gradient(145deg, rgba(var(--accent-rgb), 0.07), rgba(255, 255, 255, 0.95)),
        #f8fafc;
    border-color: rgba(var(--accent-rgb), 0.16);
}

.lb-info-item {
    overflow: hidden;
}

.lb-info-item__card {
    animation: lbInlineCardPop 0.44s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.lb-info-item:nth-child(2) .lb-info-item__card { animation-delay: 0.08s; }
.lb-info-item:nth-child(3) .lb-info-item__card { animation-delay: 0.16s; }
.lb-info-item:nth-child(4) .lb-info-item__card { animation-delay: 0.24s; }

.lb-info-item__tag,
.lb-info-item h3,
.lb-info-item p {
    animation: lbInlineTextUp 0.42s ease both;
}

.lb-info-item__tag { animation-delay: 0.18s; }
.lb-info-item h3 { animation-delay: 0.28s; }
.lb-info-item p { animation-delay: 0.38s; }

@keyframes lbInlineCardPop {
    from {
        opacity: 0;
        transform: translateY(12px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes lbInlineTextUp {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .lb-info-item__card,
    .lb-info-item__tag,
    .lb-info-item h3,
    .lb-info-item p {
        animation: none;
    }
}

/* Richer daylight glass for app navigation. */
html[data-theme="light"] .page-dashboard .landing-nav,
html[data-theme="light"] .page-user-stats .landing-nav {
    border-color: rgba(59, 130, 246, 0.18);
    background:
        linear-gradient(115deg, rgba(255, 255, 255, 0.88), rgba(231, 240, 252, 0.82)),
        rgba(244, 248, 255, 0.88);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.98),
        inset 0 -1px 0 rgba(37, 99, 235, 0.06),
        0 16px 42px rgba(30, 64, 175, 0.14),
        0 2px 7px rgba(15, 23, 42, 0.07);
    backdrop-filter: blur(26px) saturate(160%);
    -webkit-backdrop-filter: blur(26px) saturate(160%);
}

html[data-theme="light"] .page-dashboard .landing-nav__logo,
html[data-theme="light"] .page-user-stats .landing-nav__logo,
html[data-theme="light"] .page-leaderboard .landing-nav__logo {
    filter: none;
}

html[data-theme="light"] .page-dashboard .landing-nav__theme,
html[data-theme="light"] .page-user-stats .landing-nav__theme {
    color: #234b85;
    border-color: rgba(37, 99, 235, 0.18);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(219, 232, 249, 0.86));
    box-shadow: inset 0 1px 0 #ffffff, 0 5px 13px rgba(30, 64, 175, 0.11);
}

html[data-theme="light"] .page-dashboard .landing-nav__theme:hover,
html[data-theme="light"] .page-user-stats .landing-nav__theme:hover {
    color: #1d4ed8;
    border-color: rgba(37, 99, 235, 0.34);
    background: #ffffff;
}

/* Shared liquid-metal wallet control for every app navbar. */
.landing-nav__actions .nav-metal-pill,
.landing-nav__actions .nav-metal-pill.wallet-connected-pill {
    position: relative;
    isolation: isolate;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 34px;
    margin: 0;
    padding: 0 14px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.78) !important;
    border-radius: 999px;
    color: #090a0d !important;
    background:
        linear-gradient(115deg, transparent 0 24%, rgba(255, 255, 255, 0.9) 31%, transparent 38% 100%),
        radial-gradient(120% 180% at 18% 0%, #ffffff 0%, rgba(255, 255, 255, 0.92) 18%, transparent 34%),
        radial-gradient(120% 180% at 82% 100%, rgba(255, 255, 255, 0.88) 0%, transparent 36%),
        linear-gradient(180deg, #ffffff 0%, #c8d0d9 16%, #fafcfd 31%, #aeb8c3 47%, #ffffff 61%, #bec7d1 76%, #f8fafc 89%, #9faab6 100%) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.98),
        inset 0 -1px 0 rgba(31, 41, 55, 0.3),
        0 0 0 1px rgba(31, 41, 55, 0.18),
        0 8px 18px rgba(0, 0, 0, 0.26) !important;
    filter: none !important;
    text-shadow: none;
    white-space: nowrap;
    cursor: pointer;
    transform: translateZ(0);
    transition: transform 0.18s ease, filter 0.18s ease, box-shadow 0.18s ease;
}

.landing-nav__actions .nav-metal-pill::before,
.landing-nav__actions .nav-metal-pill::after {
    content: "";
    position: absolute;
    pointer-events: none;
    border-radius: inherit;
}

.landing-nav__actions .nav-metal-pill::before {
    inset: 1px;
    z-index: 0;
    background:
        linear-gradient(100deg, transparent 0 16%, rgba(255, 255, 255, 0.92) 24%, transparent 34% 60%, rgba(255, 255, 255, 0.72) 70%, transparent 80%),
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0 8px, rgba(71, 85, 105, 0.035) 8px 16px);
    mix-blend-mode: screen;
    opacity: 0.72;
    transform: translateX(-20%);
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.2s ease;
}

.landing-nav__actions .nav-metal-pill::after {
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(105deg, transparent 0 20%, rgba(255, 255, 255, 0.04) 30%, rgba(255, 255, 255, 0.52) 40%, rgba(255, 255, 255, 0.1) 50%, transparent 64% 100%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.78), transparent 42%);
    opacity: 0.52;
    mix-blend-mode: screen;
    transform: translateX(-42%);
    animation: metalShineSweep 4.2s ease-in-out infinite;
}

.landing-nav__actions .nav-metal-pill__label,
.landing-nav__actions .nav-metal-pill .metal-shine-button__label {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #090a0d !important;
    font: inherit;
    font-weight: 800;
    line-height: 1;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.82), 0 0 1px rgba(0, 0, 0, 0.34);
}

.landing-nav__actions .nav-metal-pill:hover {
    transform: translateY(-1px) translateZ(0);
    filter: contrast(1.06) brightness(1.04) !important;
    box-shadow:
        inset 0 1px 0 #ffffff,
        inset 0 -1px 0 rgba(31, 41, 55, 0.34),
        0 0 0 1px rgba(255, 255, 255, 0.16),
        0 12px 26px rgba(0, 0, 0, 0.34) !important;
}

.landing-nav__actions .nav-metal-pill:hover::before {
    opacity: 1;
    transform: translateX(18%);
}

.landing-nav__actions .nav-metal-pill:active {
    transform: scale(0.985) translateZ(0);
}

[data-theme="light"] .landing-nav__actions .nav-metal-pill,
[data-theme="light"] .landing-nav__actions .nav-metal-pill.wallet-connected-pill {
    border-color: rgba(15, 23, 42, 0.2) !important;
    box-shadow:
        inset 0 1px 0 #ffffff,
        inset 0 -1px 0 rgba(15, 23, 42, 0.24),
        0 0 0 1px rgba(15, 23, 42, 0.12),
        0 8px 18px rgba(15, 23, 42, 0.16) !important;
}

@media (prefers-reduced-motion: reduce) {
    .landing-nav__actions .nav-metal-pill::after {
        animation: none;
        transform: none;
    }
}

.page-leaderboard .dash-dock-wrap {
    margin-top: clamp(48px, 6vw, 72px);
}

@media (max-width: 1024px) {
    .lp-leaderboard--page .lp-leaderboard__row {
        grid-template-columns: 40px minmax(0, 1fr) 64px 72px 96px;
        padding: 12px 18px;
    }

    .lb-info-panel__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .lb-info-panel {
        padding: 16px;
    }

    .lb-info-panel__grid {
        grid-template-columns: 1fr;
    }

    .lp-leaderboard--page .lp-leaderboard__row {
        grid-template-columns: 32px minmax(0, 1fr) 52px 60px 80px;
        gap: 8px;
        padding: 10px 14px;
        font-size: 12px;
    }
}

/* ─── Bento grid ─── */
.lp-bento {
    padding: clamp(48px, 8vw, 96px) clamp(20px, 4vw, 48px);
    max-width: 1140px;
    margin: 0 auto;
}

.lp-bento__head {
    text-align: center;
    margin-bottom: 48px;
}

.lp-bento__head h2 {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.12;
    margin: 0 0 16px;
}

.lp-bento__head p {
    margin: 0 auto;
    max-width: 46ch;
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.lp-bento__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.lp-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 28px;
    border-radius: 20px;
    text-decoration: none;
    color: inherit;
    border: 1px solid var(--border-default);
    background: var(--panel);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    overflow: hidden;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.35s, box-shadow 0.35s;
}

[data-theme="light"] .lp-card {
    background: rgba(255, 255, 255, 0.82);
    border-color: var(--border-default);
}

.lp-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.35s;
    background: radial-gradient(400px circle at var(--spot-x, 50%) var(--spot-y, 50%), rgba(var(--accent-rgb), 0.12), transparent 45%);
    pointer-events: none;
}

.lp-card:hover {
    transform: translateY(-4px);
    border-color: rgba(var(--accent-rgb), 0.25);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.25), 0 0 40px rgba(var(--accent-rgb), 0.06);
}

.lp-card:hover::after {
    opacity: 1;
}

.lp-card--wide {
    grid-column: span 2;
}

.lp-card__tag {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent-light);
    margin-bottom: 12px;
}

.lp-card h3 {
    margin: 0 0 10px;
    font-size: 22px;
    letter-spacing: -0.02em;
}

.lp-card p {
    margin: 0 0 20px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-secondary);
    flex: 1;
}

.lp-card__stat {
    margin-bottom: 16px;
}

.lp-card__stat strong {
    display: block;
    font-size: 28px;
    color: #34d399;
    letter-spacing: -0.03em;
}

.lp-card__stat span {
    font-size: 12px;
    color: var(--text-accent-muted);
}

.lp-card__link {
    font-size: 13px;
    font-weight: 600;
    color: var(--accent-light);
}

.lp-card--train { --card-accent: var(--accent); }
.lp-card--demo { --card-accent: #34d399; }
.lp-card--ai { --card-accent: var(--accent-secondary); }

/* ─── Final CTA ─── */
.lp-final {
    padding: clamp(48px, 8vw, 80px) clamp(20px, 4vw, 48px) clamp(64px, 10vw, 96px);
}

.lp-final__inner {
    max-width: 640px;
    margin: 0 auto;
    padding: clamp(40px, 6vw, 56px);
    text-align: center;
    border-radius: 24px;
    border: 1px solid var(--border-default);
    background: var(--panel);
}

.lp-final__inner h2 {
    margin: 0 0 12px;
    font-size: clamp(24px, 3.5vw, 32px);
    letter-spacing: -0.03em;
}

.lp-final__inner p {
    margin: 0 0 28px;
    color: var(--text-secondary);
    font-size: 15px;
}

/* ─── Footer ─── */
.page-home--premium .lp-footer {
    position: relative;
    z-index: 2;
    margin-top: auto;
    padding: 24px clamp(20px, 4vw, 48px);
    border-top: 1px solid var(--border-subtle);
    background: transparent;
    text-align: center;
}

.page-home--premium .lp-footer p {
    margin: 0;
    font-size: 13px;
    color: var(--text-accent-muted);
}

[data-theme="light"] .page-home--premium .lp-footer {
    border-top-color: rgba(15, 23, 42, 0.06);
}

[data-theme="light"] .page-home--premium .lp-footer p {
    color: #64748b;
}

/* ─── Scroll reveal ─── */
.lp-fade {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1), transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

.lp-fade--1 { transition-delay: 0.1s; }
.lp-fade--2 { transition-delay: 0.2s; }

.lp-loaded .lp-fade.is-visible,
.lp-loaded .lp-hero__copy.lp-fade,
.lp-loaded #hero-visual.lp-fade {
    opacity: 1;
    transform: none;
}

.lp-loaded .lp-hero__copy.lp-fade {
    transition-delay: 0s;
}

/* ─── Responsive ─── */
@media (max-width: 768px) {
    .landing-header { padding: 12px 16px; --landing-header-clearance: 126px; }
    .landing-nav { padding: 8px 12px; border-radius: 20px; }
    .page-home--premium .landing-nav__connect { padding: 7px 12px; font-size: 12px; }

    .lp-ca-strip {
        grid-template-columns: minmax(0, 1fr) auto;
        max-width: min(330px, calc(100vw - 40px));
        padding-left: 12px;
    }

    .landing-ca-strip {
        max-width: min(320px, calc(100vw - 40px));
        margin-top: 0;
    }

    .lp-hero { padding-top: 88px; }

    .lp-course__layout {
        grid-template-columns: 1fr;
    }

    .lp-leaderboard {
        padding-left: 16px;
        padding-right: 16px;
    }

    .lp-bento__grid {
        grid-template-columns: 1fr;
    }

    .lp-card--wide {
        grid-column: span 1;
    }
}

@media (prefers-reduced-motion: reduce) {
    .page-home--premium .landing-nav__connect,
    .page-home--premium .lp-btn-glow,
    .page-home--premium .liquid-metal-button,
    .page-home--premium .landing-nav__connect::after,
    .page-home--premium .lp-btn-glow::after,
    .page-home--premium .liquid-metal-button::after,
    .page-home--premium .landing-nav__connect::before,
    .page-home--premium .lp-btn-glow::before,
    .page-home--premium .liquid-metal-button::before {
        animation: none !important;
    }

    .lp-beam,
    .rb-gradient-text--live {
        animation: none !important;
    }

    .lp-fade,
    .lp-panel {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}
