:root {
    --ink: #0e1530;
    --ink-2: #2b3350;
    --muted: #6f7893;
    --primary: #4b6bff;
    --primary-2: #7c8cff;
    --cyan: #4fd1ff;
    --navy: #050a17;
    --navy-2: #0b1730;
    --bg: #f6f8ff;
    --card: #ffffff;
    --line: #e8ecf8;
    --font: "PingFang SC", "Microsoft YaHei", "Segoe UI", system-ui, -apple-system, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 88px;
}

body {
    margin: 0;
    font-family: var(--font);
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
}

/* ---------- Scroll progress ---------- */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    z-index: 80;
    background: linear-gradient(90deg, #3f6bff, #7ee6ff 55%, #a78bfa);
    box-shadow: 0 0 14px rgba(80, 200, 255, 0.65);
    transform: scaleX(0);
    transform-origin: left center;
    pointer-events: none;
}

/* ---------- Nav ---------- */
.landing-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 72px;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 44px;
    color: #fff;
    transition: background 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    border-bottom: 1px solid transparent;
}

.landing-nav.scrolled {
    background: rgba(5, 10, 23, 0.88);
    backdrop-filter: blur(18px) saturate(140%);
    border-bottom-color: rgba(255, 255, 255, 0.07);
    box-shadow: 0 12px 40px rgba(2, 6, 18, 0.45);
}

.landing-brand {
    display: flex;
    align-items: center;
    gap: 11px;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: -0.2px;
    color: #fff;
}

.landing-brand img {
    width: 58px;
    height: auto;
}

.landing-links {
    display: flex;
    align-items: center;
    gap: 30px;
    font-size: 13.5px;
    color: rgba(233, 240, 255, 0.74);
}

.landing-links a {
    position: relative;
    transition: color 0.2s ease;
}

.landing-links a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -9px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #7ee6ff 35%, #7ee6ff 65%, transparent);
    opacity: 0;
    transform: scaleX(0.3);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.landing-links a:hover {
    color: #fff;
}

.landing-links a:hover::after {
    opacity: 1;
    transform: scaleX(1);
}

.landing-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* ---------- Buttons ---------- */
.landing-btn {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid transparent;
    border-radius: 12px;
    padding: 12px 22px;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.landing-btn:hover {
    transform: translateY(-1px);
}

.landing-btn-primary {
    background: linear-gradient(135deg, #3f6bff, #25c2f2);
    color: #fff;
    box-shadow: 0 12px 30px rgba(47, 130, 255, 0.35);
}

.landing-btn-primary::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, transparent 18%, rgba(255, 255, 255, 0.38) 48%, transparent 72%);
    transform: translateX(-130%);
    transition: transform 0.65s ease;
    pointer-events: none;
}

.landing-btn-primary:hover {
    box-shadow: 0 16px 38px rgba(47, 150, 255, 0.45);
}

.landing-btn-primary:hover::before {
    transform: translateX(130%);
}

.landing-btn-ghost {
    border-color: rgba(255, 255, 255, 0.26);
    color: #e8eeff;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(8px);
}

.landing-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.4);
}

.landing-btn-dark {
    background: var(--ink);
    color: #fff;
}

.landing-btn-light {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.26);
    backdrop-filter: blur(8px);
}

.landing-btn-light:hover {
    background: rgba(255, 255, 255, 0.13);
    border-color: rgba(255, 255, 255, 0.42);
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 128px 44px 150px;
    color: #fff;
    background:
        radial-gradient(1100px 700px at 80% 6%, rgba(64, 110, 255, 0.3), transparent 60%),
        radial-gradient(820px 560px at 6% 92%, rgba(34, 196, 229, 0.16), transparent 62%),
        linear-gradient(160deg, #02040a 0%, #050d1c 48%, #03101d 100%);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(720px 320px at 50% 0%, rgba(70, 150, 255, 0.2), transparent 72%);
    pointer-events: none;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(120, 170, 255, 0.085) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 170, 255, 0.085) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(circle at 50% 42%, #000 0%, transparent 72%);
    pointer-events: none;
}

.hero-spotlight {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0;
    background: radial-gradient(420px circle at var(--spot-x, 50%) var(--spot-y, 40%),
    rgba(76, 152, 255, 0.22), transparent 68%);
    transition: opacity 0.5s ease;
}

.hero.is-pointer .hero-spotlight {
    opacity: 1;
}

.hero-canvas {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 1;
}

.hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 940px;
    margin: 0 auto;
    text-align: center;
}

.hero-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.home-page .hero-copy > * {
    opacity: 0;
    animation: heroRise 0.9s cubic-bezier(0.22, 0.68, 0.24, 1) forwards;
}

.home-page .hero-copy > :nth-child(1) {
    animation-delay: 0.05s;
}

.home-page .hero-copy > :nth-child(2) {
    animation-delay: 0.14s;
}

.home-page .hero-copy > :nth-child(3) {
    animation-delay: 0.24s;
}

.home-page .hero-copy > :nth-child(4) {
    animation-delay: 0.34s;
}

.home-page .hero-copy > :nth-child(5) {
    animation-delay: 0.44s;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11.5px;
    letter-spacing: 2px;
    color: #79d7ff;
    text-transform: uppercase;
}

.eyebrow::before,
.hero .eyebrow::after {
    content: "";
    width: 26px;
    height: 1px;
    background: currentColor;
    opacity: 0.7;
}

.hero h1 {
    margin: 26px 0 24px;
    font-size: clamp(46px, 5.8vw, 84px);
    line-height: 1.12;
    letter-spacing: -3px;
    font-weight: 700;
    color: #f5f8ff;
    text-shadow: 0 20px 60px rgba(8, 20, 50, 0.55);
}

.hero h1 em {
    font-style: normal;
    background: linear-gradient(100deg, #7ee6ff 0%, #6c8bff 55%, #a78bfa 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-copy > p {
    max-width: 620px;
    margin: 0 auto;
    color: #a3b0cd;
    font-size: 16px;
    line-height: 1.9;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-top: 36px;
}

.hero-actions .landing-btn-ghost {
    border-color: rgba(255, 255, 255, 0.22);
    color: #e6edff;
    background: rgba(255, 255, 255, 0.05);
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 38px;
}

.hero-tags span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 13px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.11);
    color: #b7c3dd;
    font-size: 12px;
}

.hero-tags span::before {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 9px rgba(79, 209, 255, 0.9);
}

.scroll-hint {
    position: absolute;
    left: 50%;
    bottom: 32px;
    transform: translateX(-50%);
    z-index: 2;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: opacity 0.4s ease;
}

.scroll-hint.is-hidden {
    opacity: 0;
    pointer-events: none;
}

.scroll-track {
    position: relative;
    width: 28px;
    height: 74px;
    overflow: hidden;
}

.scroll-track::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 14px;
    width: 1px;
    border-radius: 999px;
    transform: translateX(-0.5px);
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(50, 139, 255, 0.18) 18%,
    rgba(197, 72, 255, 0.42) 58%, rgba(0, 0, 0, 0) 100%);
}

.scroll-dot {
    position: absolute;
    left: 50%;
    top: 0;
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: #f8f7ff;
    animation: scrollDot 3.6s linear infinite;
}

.scroll-dot::before {
    content: "";
    position: absolute;
    left: 3px;
    top: -21px;
    width: 6px;
    height: 24px;
    transform: translateX(-3px);
    background: linear-gradient(180deg, rgba(50, 139, 255, 0) 0%, rgba(197, 72, 255, 0.38) 58%,
    rgba(248, 247, 255, 0.78) 100%);
}

.scroll-text {
    font-size: 10px;
    line-height: 1;
    letter-spacing: 0.3em;
    background: linear-gradient(132deg, rgba(50, 139, 255, 0.8) 0%, rgba(248, 247, 255, 0.7) 48%,
    rgba(197, 72, 255, 0.8) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    opacity: 0.7;
    transition: opacity 0.25s ease, filter 0.25s ease;
}

.scroll-hint:hover .scroll-text {
    opacity: 1;
    filter: drop-shadow(0 0 10px rgba(120, 200, 255, 0.55));
}

@keyframes scrollDot {
    0% {
        transform: translate(-50%, 8px) scale(0.72);
        opacity: 0;
        animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
    }
    22% {
        opacity: 1;
        animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
    }
    74% {
        opacity: 1;
        animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
    }
    100% {
        transform: translate(-50%, 61px) scale(1);
        opacity: 0;
    }
}

/* ---------- Sections ---------- */
.section {
    padding: 100px 44px;
}

.section-inner {
    max-width: 1240px;
    margin: 0 auto;
}

.section-head {
    max-width: 720px;
    margin-bottom: 44px;
}

.section-head h2 {
    margin: 18px 0 14px;
    font-size: clamp(30px, 3.4vw, 46px);
    line-height: 1.3;
    letter-spacing: -1.2px;
}

.section-head p {
    margin: 0;
    color: #6b7590;
    font-size: 14.5px;
    line-height: 1.9;
}

.section-alt {
    background: #fff;
}

/* definition cards */
.definition-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.definition-card {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: linear-gradient(180deg, #fff, #fbfcff);
    padding: 28px 26px 30px;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.definition-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 48px rgba(45, 66, 130, 0.1);
}

.definition-no {
    font-size: 12px;
    letter-spacing: 2px;
    color: #a3abc2;
}

.definition-card h3 {
    margin: 42px 0 12px;
    font-size: 21px;
    letter-spacing: -0.4px;
}

.definition-card p {
    margin: 0;
    color: #6f7893;
    font-size: 13px;
    line-height: 1.9;
}

.definition-card::after {
    content: "";
    position: absolute;
    right: -40px;
    top: -40px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(120, 140, 255, 0.14), transparent 68%);
}

/* program cards */
.program-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.program-card {
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #fff;
    padding: 24px;
    display: flex;
    flex-direction: column;
    min-height: 240px;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.program-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 44px rgba(45, 66, 130, 0.09);
}

.program-tag {
    align-self: flex-start;
    padding: 4px 10px;
    border-radius: 999px;
    background: #eef1ff;
    color: #5b6cf6;
    font-size: 11.5px;
}

.program-card h3 {
    margin: 16px 0 10px;
    font-size: 18px;
    line-height: 1.5;
}

.program-card p {
    margin: 0 0 18px;
    color: #737d96;
    font-size: 13px;
    line-height: 1.8;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.program-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border-top: 1px solid #f1f4fb;
    padding-top: 14px;
}

.program-price b {
    font-size: 19px;
}

.program-price span {
    color: #8b93ad;
    font-size: 11.5px;
}

.program-link {
    color: var(--primary);
    font-size: 12.5px;
}

/* ranking strip */
.rank-strip {
    margin-top: 22px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: linear-gradient(120deg, #fffdf7, #fff);
    padding: 22px 26px;
}

.rank-strip-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.rank-strip-head h3 {
    margin: 0;
    font-size: 16px;
}

.rank-strip-head a {
    color: var(--primary);
    font-size: 12.5px;
}

.rank-strip-list {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
}

.rank-mini {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 10px 0;
    min-width: 0;
}

.rank-mini .no {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #fff3dc;
    color: #b7791f;
    font-size: 11px;
    font-weight: 700;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
}

.rank-mini .name {
    font-size: 12.5px;
    color: #3c445a;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rank-mini .amount {
    margin-left: auto;
    font-size: 12px;
    color: #b7791f;
    font-weight: 600;
    white-space: nowrap;
}

/* stats */
.stats-band {
    background: linear-gradient(120deg, #050a17, #0a1a38 58%, #062c3e);
    border-top: 1px solid rgba(90, 180, 255, 0.14);
    border-bottom: 1px solid rgba(90, 180, 255, 0.14);
    color: #fff;
    padding: 56px 44px;
}

.stats-inner {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center;
}

.stat-item b {
    display: block;
    font-size: clamp(34px, 4vw, 54px);
    letter-spacing: -1px;
    background: linear-gradient(100deg, #cdd8ff, #9ee7ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.stat-item span {
    display: block;
    margin-top: 8px;
    color: #9da9cc;
    font-size: 12.5px;
}

/* domains */
.domain-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.domain-card {
    border-radius: 18px;
    border: 1px solid var(--line);
    background: #fff;
    padding: 24px;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.domain-card:hover {
    border-color: #d8e0fb;
    transform: translateY(-3px);
}

.domain-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #eef2ff, #ecf9ff);
    font-size: 20px;
}

.domain-card h3 {
    margin: 18px 0 8px;
    font-size: 16.5px;
}

.domain-card p {
    margin: 0;
    color: #737d96;
    font-size: 12.5px;
    line-height: 1.8;
}

/* rewards */
.reward-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.reward-card {
    border-radius: 20px;
    padding: 28px;
    background: linear-gradient(160deg, #f7f9ff, #eef3ff);
    border: 1px solid #e6ebfb;
}

.reward-card:nth-child(2) {
    background: linear-gradient(160deg, #fbf8ff, #f0ecff);
}

.reward-card:nth-child(3) {
    background: linear-gradient(160deg, #f5fdff, #eafaff);
}

.reward-card h3 {
    margin: 0 0 10px;
    font-size: 19px;
}

.reward-card p {
    margin: 0;
    color: #6b7590;
    font-size: 13px;
    line-height: 1.9;
}

/* steps */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    counter-reset: step;
}

.step-card {
    position: relative;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #fff;
    padding: 28px 26px;
    counter-increment: step;
}

.step-card::before {
    content: "0" counter(step);
    font-size: 12px;
    letter-spacing: 2px;
    color: #a3abc2;
}

.step-card h3 {
    margin: 26px 0 10px;
    font-size: 20px;
}

.step-card p {
    margin: 0;
    color: #737d96;
    font-size: 13px;
    line-height: 1.9;
}

/* CTA */
.cta-section {
    padding: 90px 44px;
    background:
        radial-gradient(700px 400px at 20% 20%, rgba(90, 130, 255, 0.24), transparent 60%),
        radial-gradient(600px 360px at 85% 85%, rgba(34, 196, 229, 0.14), transparent 62%),
        linear-gradient(120deg, #050a17, #0a1730 55%, #06222f);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    color: #fff;
    text-align: center;
}

.cta-section h2 {
    margin: 0 0 14px;
    font-size: clamp(32px, 4vw, 50px);
    letter-spacing: -1.2px;
}

.cta-section p {
    margin: 0 auto 26px;
    color: #a8b4d6;
    font-size: 14px;
    max-width: 620px;
    line-height: 1.9;
}

/* Footer */
.landing-footer {
    background: #04070f;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    color: #8b95b4;
    padding: 48px 44px 30px;
}

.footer-inner {
    max-width: 1240px;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-weight: 600;
}

.footer-logo {
    width: 210px;
    max-width: 100%;
    height: auto;
    opacity: 0.92;
}

.footer-links {
    display: flex;
    gap: 26px;
    font-size: 12.5px;
}

.footer-links a {
    color: #8b95b4;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #fff;
}

.footer-tagline {
    margin: 14px 0 0;
    max-width: 420px;
    font-size: 12.5px;
    line-height: 1.8;
    color: #626c89;
}

.footer-bottom {
    max-width: 1240px;
    margin: 30px auto 0;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 11.5px;
    color: #626c89;
}

.footer-legal {
    display: inline-flex;
    gap: 18px;
}

.footer-legal a {
    color: #8b95b4;
    transition: color 0.2s ease;
}

.footer-legal a:hover {
    color: #fff;
}

/* Empty state */
.empty-note {
    padding: 32px 24px;
    border: 1px dashed var(--line);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.7);
    color: var(--muted);
    font-size: 13px;
    text-align: center;
}

/* Reveal */
.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.in {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- Public leaderboard page ---------- */
.board-page {
    padding-top: 72px;
    background: #f4f7fd;
}

.board-hero {
    position: relative;
    overflow: hidden;
    padding: 96px 44px 64px;
    color: #fff;
    background:
        radial-gradient(900px 520px at 82% 0%, rgba(64, 110, 255, 0.28), transparent 62%),
        radial-gradient(620px 380px at 6% 100%, rgba(34, 196, 229, 0.14), transparent 64%),
        linear-gradient(160deg, #040814, #081226 55%, #06182a);
}

.board-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(120, 170, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 170, 255, 0.08) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(circle at 50% 40%, #000 0%, transparent 74%);
    pointer-events: none;
}

.board-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    margin: 0 auto;
}

.board-hero h1 {
    margin: 18px 0 12px;
    font-size: clamp(34px, 4vw, 52px);
    letter-spacing: -1.4px;
    color: #f5f8ff;
}

.board-hero p {
    margin: 0;
    color: #a3b0cd;
    font-size: 14px;
    line-height: 1.8;
}

.board-wrap {
    max-width: 1000px;
    margin: 0 auto;
    padding: 36px 44px 90px;
}

.board-card {
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(45, 66, 130, 0.06);
}

.board-row {
    display: grid;
    grid-template-columns: 60px 48px minmax(0, 1fr) 160px;
    align-items: center;
    gap: 12px;
    padding: 15px 24px;
    border-bottom: 1px solid #f2f4fb;
    font-size: 13px;
}

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

.board-row.head {
    background: #f8faff;
    color: #8b93ad;
    font-size: 12px;
}

.board-rank {
    font-weight: 700;
    color: #b7791f;
    font-size: 15px;
}

.board-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #eef1ff;
    color: #5b6cf6;
    display: grid;
    place-items: center;
    font-size: 12px;
    font-weight: 600;
}

.board-amount {
    text-align: right;
    color: #b7791f;
    font-weight: 700;
}

.board-tip {
    margin-top: 26px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    padding: 22px 26px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
}

.board-tip p {
    margin: 0;
    color: var(--muted);
    font-size: 12.5px;
    line-height: 1.8;
}

/* ---------- Dark home page ---------- */
.home-page {
    background: #03050a;
    color: #e8eeff;
}

.home-page .section {
    position: relative;
    background: #03050a;
}

.home-page .section-alt {
    background: #060910;
    border-top: 1px solid rgba(255, 255, 255, 0.045);
    border-bottom: 1px solid rgba(255, 255, 255, 0.045);
}

.home-page #programs {
    background:
        radial-gradient(900px 520px at 88% 0%, rgba(48, 96, 255, 0.09), transparent 68%),
        #03050a;
}

.home-page #domains {
    background:
        radial-gradient(820px 480px at 6% 16%, rgba(34, 196, 229, 0.07), transparent 66%),
        #03050a;
}

.home-page .section-head h2 {
    color: #f2f6ff;
}

.home-page .section-head p {
    color: #94a3c2;
}

.home-page .definition-card,
.home-page .program-card,
.home-page .domain-card,
.home-page .step-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.042), rgba(255, 255, 255, 0.014));
    border-color: rgba(255, 255, 255, 0.085);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

.home-page .definition-card:hover,
.home-page .program-card:hover,
.home-page .domain-card:hover,
.home-page .step-card:hover {
    border-color: rgba(90, 175, 255, 0.28);
    box-shadow: 0 26px 54px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(90, 175, 255, 0.08);
}

.home-page .definition-card h3,
.home-page .program-card h3,
.home-page .domain-card h3,
.home-page .step-card h3,
.home-page .reward-card h3 {
    color: #eef3ff;
}

.home-page .definition-card p,
.home-page .program-card p,
.home-page .domain-card p,
.home-page .step-card p,
.home-page .reward-card p {
    color: #8e9dbe;
}

.home-page .definition-no,
.home-page .step-card::before {
    color: #5f7398;
}

.home-page .program-tag {
    background: rgba(79, 209, 255, 0.1);
    border: 1px solid rgba(79, 209, 255, 0.22);
    color: #8fe8ff;
}

.home-page .program-card p {
    color: #8e9dbe;
}

.home-page .program-foot {
    border-top-color: rgba(255, 255, 255, 0.07);
}

.home-page .program-price b {
    color: #f2f6ff;
}

.home-page .program-price span {
    color: #71829f;
}

.home-page .program-link {
    color: #7ee6ff;
}

.home-page .rank-strip {
    background: linear-gradient(120deg, rgba(255, 196, 92, 0.06), rgba(255, 255, 255, 0.015));
    border-color: rgba(255, 196, 92, 0.16);
}

.home-page .rank-strip-head h3 {
    color: #f2f6ff;
}

.home-page .rank-strip-head a {
    color: #f0c674;
}

.home-page .rank-mini .name {
    color: #b9c6e0;
}

.home-page .rank-mini .no {
    background: rgba(255, 196, 92, 0.12);
    color: #f5c56b;
}

.home-page .rank-mini .amount {
    color: #f5c56b;
}

.home-page .domain-icon {
    background: linear-gradient(135deg, rgba(79, 130, 255, 0.18), rgba(34, 196, 229, 0.12));
    border: 1px solid rgba(120, 180, 255, 0.16);
}

.home-page .reward-card {
    background: linear-gradient(160deg, rgba(79, 107, 255, 0.11), rgba(255, 255, 255, 0.018));
    border-color: rgba(255, 255, 255, 0.085);
}

.home-page .reward-card:nth-child(2) {
    background: linear-gradient(160deg, rgba(139, 108, 246, 0.11), rgba(255, 255, 255, 0.018));
}

.home-page .reward-card:nth-child(3) {
    background: linear-gradient(160deg, rgba(34, 196, 229, 0.1), rgba(255, 255, 255, 0.018));
}

.home-page .empty-note {
    background: rgba(255, 255, 255, 0.02);
    border-color: rgba(255, 255, 255, 0.12);
    color: #8e9dbe;
}

.home-page .cta-section {
    border-top-color: rgba(255, 255, 255, 0.07);
}

/* cursor spotlight on cards */
.home-page .fx-card {
    position: relative;
    overflow: hidden;
}

.home-page .fx-card-glow {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0;
    pointer-events: none;
    background: radial-gradient(260px circle at var(--card-x, 50%) var(--card-y, 0%),
    rgba(80, 180, 255, 0.16), transparent 72%);
    transition: opacity 0.35s ease;
}

.home-page .fx-card:hover .fx-card-glow {
    opacity: 1;
}

.home-page .fx-card > :not(.fx-card-glow) {
    position: relative;
    z-index: 1;
}

/* ---------- Legal pages ---------- */
.legal-page {
    background: #f4f7fd;
}

.legal-hero {
    position: relative;
    overflow: hidden;
    padding: 150px 44px 76px;
    color: #fff;
    background:
        radial-gradient(900px 520px at 82% 0%, rgba(64, 110, 255, 0.28), transparent 62%),
        radial-gradient(620px 380px at 6% 100%, rgba(34, 196, 229, 0.14), transparent 64%),
        linear-gradient(160deg, #040814, #081226 55%, #06182a);
}

.legal-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(120, 170, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 170, 255, 0.08) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(circle at 50% 40%, #000 0%, transparent 74%);
    pointer-events: none;
}

.legal-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 980px;
    margin: 0 auto;
}

.legal-hero h1 {
    margin: 16px 0 12px;
    font-size: clamp(34px, 4vw, 52px);
    letter-spacing: -1.4px;
    color: #f5f8ff;
}

.legal-hero p {
    margin: 0;
    max-width: 760px;
    color: #a3b0cd;
    font-size: 14px;
    line-height: 1.85;
}

.legal-wrap {
    position: relative;
    z-index: 2;
    max-width: 980px;
    margin: -40px auto 0;
    padding: 0 44px 90px;
}

.legal-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: 0 26px 64px rgba(20, 36, 80, 0.09);
    padding: 46px 54px 50px;
    color: #3c4762;
    font-size: 14px;
    line-height: 1.95;
}

.legal-card h2 {
    margin: 34px 0 12px;
    font-size: 19px;
    letter-spacing: -0.3px;
    color: var(--ink);
}

.legal-card p {
    margin: 0 0 14px;
}

.legal-card ul {
    margin: 0 0 16px;
    padding-left: 22px;
}

.legal-card li {
    margin-bottom: 7px;
}

.legal-card strong {
    color: var(--ink-2);
}

.legal-card a {
    color: #3f5fe0;
}

.legal-card a:hover {
    text-decoration: underline;
}

.legal-meta {
    margin: 0 0 22px !important;
    padding-bottom: 18px;
    border-bottom: 1px solid #eef1f8;
    color: #8b93ad;
    font-size: 12.5px;
}

.legal-end {
    margin-top: 34px !important;
    text-align: right;
    color: var(--ink-2);
    font-weight: 600;
}

@media (max-width: 1080px) {
    .stats-inner {
        grid-template-columns: repeat(2, 1fr);
        gap: 34px 20px;
    }

    .definition-grid,
    .program-grid,
    .domain-grid,
    .reward-grid,
    .steps-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .rank-strip-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .landing-links {
        display: none;
    }
}

@media (max-width: 720px) {
    .landing-nav {
        padding: 0 20px;
    }

    .hero,
    .section,
    .cta-section {
        padding-left: 20px;
        padding-right: 20px;
    }

    .section {
        padding-top: 70px;
        padding-bottom: 70px;
    }

    .definition-grid,
    .program-grid,
    .domain-grid,
    .reward-grid,
    .steps-grid {
        grid-template-columns: 1fr;
    }

    .rank-strip-list {
        grid-template-columns: 1fr;
    }

    .stats-inner {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hero {
        padding: 112px 20px 132px;
    }

    .hero-inner,
    .hero-copy {
        min-width: 0;
    }

    .hero h1 {
        font-size: clamp(34px, 9vw, 42px);
        letter-spacing: -1.4px;
    }

    .hero-copy > p {
        font-size: 14.5px;
    }

    .hero-actions {
        margin-top: 30px;
    }

    .hero-tags {
        gap: 8px;
        margin-top: 30px;
    }

    .scroll-hint {
        bottom: 20px;
        gap: 6px;
    }

    .scroll-track {
        height: 58px;
    }

    .hero-tags span {
        padding: 6px 10px;
        font-size: 11.5px;
    }

    .board-row {
        grid-template-columns: 40px 36px minmax(0, 1fr) 100px;
        padding: 12px 16px;
        gap: 8px;
    }

    .board-wrap,
    .board-hero {
        padding-left: 20px;
        padding-right: 20px;
    }

    .landing-actions .landing-btn-ghost,
    .nav-login {
        display: none;
    }

    .landing-actions .landing-btn {
        padding: 10px 16px;
        font-size: 13px;
    }

    .board-tip {
        flex-direction: column;
        align-items: flex-start;
    }

    .legal-hero {
        padding: 124px 20px 62px;
    }

    .legal-wrap {
        margin-top: -30px;
        padding: 0 20px 70px;
    }

    .legal-card {
        padding: 28px 22px 32px;
        border-radius: 16px;
        font-size: 13.5px;
    }

    .legal-card h2 {
        margin-top: 28px;
        font-size: 17px;
    }

    .legal-end {
        text-align: left;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-canvas {
        opacity: 0.7;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .home-page .hero-copy > *,
    .reveal {
        opacity: 1;
        animation: none;
        transform: none;
    }

    .hero-canvas {
        display: none;
    }

    .landing-btn-primary::before {
        display: none;
    }

    .scroll-dot {
        animation: none;
    }
}
