:root{
    --bg0:#05030a;
    --bg1:#060b18;
    --text:#f7f8ff;
    --muted:rgba(247,248,255,.74);
    --muted2:rgba(247,248,255,.56);
    --stroke:rgba(255,255,255,.12);

    --neonA:#22d3ee; /* cyan */
    --neonB:#ff4fd8; /* magenta */
    --neonC:#a78bfa; /* violet */
    --acid:#c7ff2e;

    --btn:#f3f6ff;
    --btnText:#090a10;

    --sans: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
    --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;

    --parallax: 0px;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
    margin:0;
    font-family: var(--sans);
    color: var(--text);
    background: radial-gradient(1200px 700px at 50% -10%, rgba(255,79,216,.12), transparent 55%),
    radial-gradient(900px 600px at 20% 30%, rgba(34,211,238,.10), transparent 55%),
    linear-gradient(180deg, var(--bg0), var(--bg1));
    overflow-x:hidden;
}

/* ===== Cyberpunk background system ===== */
.bg{
    position: fixed;
    inset: 0;
    z-index: -5;
    overflow:hidden;
    background:
            radial-gradient(1000px 700px at 80% 0%, rgba(34,211,238,.10), transparent 55%),
            radial-gradient(900px 650px at 0% 20%, rgba(255,79,216,.10), transparent 55%),
            radial-gradient(800px 600px at 50% 120%, rgba(167,139,250,.10), transparent 60%),
            linear-gradient(180deg, #04020a, #060b18);
}

/* scanlines */
.scanlines{
    position:absolute; inset:0;
    background: repeating-linear-gradient(
            180deg,
            rgba(255,255,255,.00) 0px,
            rgba(255,255,255,.00) 3px,
            rgba(255,255,255,.04) 4px,
            rgba(255,255,255,.00) 7px
    );
    opacity:.16;
    pointer-events:none;
    mix-blend-mode: overlay;
}

/* glitch grid */
.grid{
    position:absolute; inset:-10%;
    opacity:.18;
    transform: translateY(calc(var(--parallax) * 0.18));
    background-image:
            linear-gradient(rgba(34,211,238,.12) 1px, transparent 1px),
            linear-gradient(90deg, rgba(255,79,216,.10) 1px, transparent 1px);
    background-size: 56px 56px;
    filter: blur(.15px);
    mask-image: radial-gradient(circle at 50% 40%, black 0%, black 55%, transparent 82%);
    -webkit-mask-image: radial-gradient(circle at 50% 40%, black 0%, black 55%, transparent 82%);
    animation: gridDrift 18s linear infinite;
}
@keyframes gridDrift{
    0%{ transform: translate3d(0,0,0); }
    100%{ transform: translate3d(-2.5%, 1.5%, 0); }
}

/* neon fog */
.fog{
    position:absolute; inset:-30% -30%;
    opacity:.75;
    filter: blur(30px);
    mix-blend-mode: screen;
    transform: translateY(calc(var(--parallax) * 0.12));
    background:
            radial-gradient(40% 35% at 30% 25%, rgba(34,211,238,.25), transparent 60%),
            radial-gradient(40% 35% at 70% 28%, rgba(255,79,216,.22), transparent 62%),
            radial-gradient(45% 40% at 55% 70%, rgba(167,139,250,.18), transparent 65%);
    animation: fogMove 10s ease-in-out infinite;
}
@keyframes fogMove{
    0%,100%{ transform: translateY(calc(var(--parallax) * 0.12)) translateX(0); }
    50%{ transform: translateY(calc(var(--parallax) * 0.12)) translateX(-2%); }
}

/* noise */
.noise{
    position:absolute; inset:0;
    opacity:.10;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
    background-size: 180px 180px;
    mix-blend-mode: overlay;
    pointer-events:none;
}

/* ===== Layout ===== */
.wrap{
    width: min(980px, 92vw);
    margin: 0 auto;
    padding: 16px 0 80px;
}

/* Header: cyber HUD bar */
header{
    position: sticky;
    top: 0;
    z-index: 30;
    backdrop-filter: blur(12px);
    background: linear-gradient(180deg, rgba(0,0,0,.62), rgba(0,0,0,.18));
    border-bottom: 1px solid rgba(255,255,255,.06);
}
.hud{
    width: min(980px, 92vw);
    margin: 0 auto;
    height: 62px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding: 0 14px;
    gap:12px;
}
.brand{
    display:flex;
    align-items:center;
    gap:10px;
    text-decoration:none;
    color: var(--text);
    font-weight: 950;
    letter-spacing:.08em;
    text-transform: uppercase;
    font-size: 12px;
    font-family: var(--mono);
}
.logo{
    width: 30px; height: 30px;
    border-radius: 10px;
    background:
            radial-gradient(circle at 30% 25%, rgba(255,255,255,.25), transparent 55%),
            linear-gradient(135deg, rgba(34,211,238,.9), rgba(255,79,216,.85));
    box-shadow:
            0 0 0 1px rgba(255,255,255,.10),
            0 14px 30px rgba(0,0,0,.45),
            0 0 22px rgba(34,211,238,.18);
    position:relative;
    overflow:hidden;
}
.logo:after{
    content:"";
    position:absolute; inset:-40%;
    background: conic-gradient(from 90deg, rgba(255,79,216,.0), rgba(255,79,216,.38), rgba(34,211,238,.25), rgba(255,79,216,.0));
    animation: spin 6s linear infinite;
    opacity:.9;
}
@keyframes spin{ to{ transform: rotate(360deg); } }

.hudRight{
    display:flex;
    align-items:center;
    gap:10px;
    font-family: var(--mono);
    font-size: 12px;
    color: rgba(247,248,255,.72);
    flex-wrap:wrap;
    justify-content:flex-end;
}
.tag{
    display:inline-flex;
    align-items:center;
    gap:8px;
    padding: 8px 10px;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(255,255,255,.05);
    border-radius: 999px;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,.35);
    /* Add transition for smooth mobile adjustment */
    transition: transform 0.2s ease;
}
.tag i{
    width: 8px; height: 8px;
    border-radius: 999px;
    background: var(--acid);
    box-shadow: 0 0 16px rgba(199,255,46,.25);
    display:inline-block;
    opacity:.9;
}

.btnJoin{
    border: 0;
    cursor:pointer;
    padding: 10px 14px;
    border-radius: 12px;
    background: linear-gradient(90deg, rgba(34,211,238,.95), rgba(255,79,216,.88));
    color: #070812;
    font-weight: 950;
    letter-spacing:.02em;
    box-shadow:
            0 16px 40px rgba(0,0,0,.50),
            0 0 24px rgba(255,79,216,.12);
    transition: transform .12s ease, filter .12s ease;
    white-space:nowrap;
}
.btnJoin:hover{ transform: translateY(-1px); filter: brightness(1.03); }
.btnJoin:active{ transform: translateY(0) scale(.99); }

/* ===== Hero: new layout (split + vertical neon rail) ===== */
.hero{
    margin-top: 18px;
    padding: 24px 14px 10px;
}

.frame{
    position:relative;
    border-radius: 26px;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(0,0,0,.22);
    box-shadow: 0 40px 120px rgba(0,0,0,.55);
    overflow:hidden;
}

/* neon rails */
.rail{
    position:absolute; inset:0;
    pointer-events:none;
    opacity:.9;
}
.rail:before{
    content:"";
    position:absolute;
    left: 18px; top: 0; bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, rgba(34,211,238,.0), rgba(34,211,238,.55), rgba(255,79,216,.55), rgba(34,211,238,.0));
    box-shadow: 0 0 18px rgba(34,211,238,.18);
}
.rail:after{
    content:"";
    position:absolute;
    right: 18px; top: 0; bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, rgba(255,79,216,.0), rgba(255,79,216,.45), rgba(34,211,238,.50), rgba(255,79,216,.0));
    box-shadow: 0 0 18px rgba(255,79,216,.16);
    opacity:.75;
}

.heroGrid{
    display:grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 0;
}

.left{
    padding: 22px 22px 20px;
    position:relative;
}

.right{
    padding: 22px 22px 20px;
    position:relative;
    border-left: 1px solid rgba(255,255,255,.10);
    background:
            radial-gradient(700px 380px at 50% 0%, rgba(34,211,238,.10), transparent 60%),
            radial-gradient(700px 380px at 50% 100%, rgba(255,79,216,.10), transparent 60%);
}

.labelRow{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    flex-wrap:wrap;
    font-family: var(--mono);
    font-size: 12px;
    color: rgba(247,248,255,.72);
}
.labelRow .sig{
    display:flex; align-items:center; gap:10px;
}
.sig .bar{
    width: 54px; height: 10px; border-radius: 999px;
    background: linear-gradient(90deg, rgba(34,211,238,.95), rgba(255,79,216,.88));
    box-shadow: 0 0 18px rgba(34,211,238,.14);
    opacity:.9;
}
.stamp{
    padding: 7px 10px;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(255,255,255,.05);
    border-radius: 999px;
}

h1{
    margin: 16px 0 10px;
    font-size: clamp(40px, 5vw, 66px);
    line-height: 1.02;
    letter-spacing: -.03em;
    font-weight: 1000;
}
.glowText{
    font-size: 80%;
    background: linear-gradient(90deg, rgba(34,211,238,.95), rgba(255,79,216,.92), rgba(167,139,250,.92));
    -webkit-background-clip:text;
    background-clip:text;
    color: transparent;
    text-shadow: 0 0 26px rgba(255,79,216,.10);
}
.sub{
    margin: 0 0 18px;
    max-width: 520px;
    color: var(--muted);
    line-height: 1.7;
    font-size: 15px;
}

.ctaRow{
    display:flex;
    gap:12px;
    flex-wrap:wrap;
    align-items:center;
    margin-top: 14px;
}
.btnPrimary{
    border: 0;
    cursor:pointer;
    padding: 12px 16px;
    border-radius: 14px;
    background: linear-gradient(90deg, rgba(247,248,255,.95), rgba(247,248,255,.88));
    color: #070812;
    font-weight: 950;
    box-shadow: 0 16px 45px rgba(0,0,0,.55);
    transition: transform .12s ease, filter .12s ease;
    white-space:nowrap;
}
.btnPrimary:hover{ transform: translateY(-1px); filter: brightness(1.02); }
.btnGhost{
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,.14);
    background: rgba(255,255,255,.06);
    color: rgba(247,248,255,.92);
    font-weight: 900;
    padding: 12px 14px;
    cursor:pointer;
    transition: transform .12s ease, background .12s ease;
}
.btnGhost:hover{ transform: translateY(-1px); background: rgba(255,255,255,.08); }

.fine{
    margin-top: 14px;
    color: var(--muted2);
    font-size: 12px;
    font-family: var(--mono);
    line-height: 1.55;
}

/* Right panel: “Neon Poster” image + code overlay */
figure.poster{
    margin: 0;
    border-radius: 20px;
    overflow:hidden;
    border: 1px solid rgba(255,255,255,.12);
    box-shadow: 0 22px 70px rgba(0,0,0,.40);
    background: rgba(0,0,0,.25);
    position:relative;
}
figure.poster img{
    display:block;
    width:100%;
    height:auto;
}
.overlay{
    position:absolute;
    left: 14px;
    right: 14px;
    bottom: 14px;
    padding: 10px 12px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(0,0,0,.50);
    backdrop-filter: blur(10px);
    font-family: var(--mono);
    font-size: 12px;
    line-height: 1.55;
    color: rgba(247,248,255,.88);
}
.overlay .k{ color: rgba(34,211,238,.95); }
.overlay .warn{ color: rgba(199,255,46,.92); }

/* ===== Sections: timeline + “signal blocks” (new presentation) ===== */
.section{
    margin-top: 18px;
    padding: 0 14px;
}
.divider{
    margin: 26px 0 18px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(34,211,238,.35), rgba(255,79,216,.28), transparent);
    opacity:.8;
}

.twoCol{
    display:grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 18px;
    align-items:start;
}

.h2{
    margin:0 0 10px;
    font-size: 22px;
    font-weight: 950;
    letter-spacing:-.02em;
}
.txt{
    margin:0 0 12px;
    color: var(--muted);
    line-height: 1.75;
    font-size: 14.5px;
    max-width: 740px;
}

/* timeline */
.timeline{
    position:relative;
    padding-left: 18px;
    border-left: 2px solid rgba(255,255,255,.10);
}
.step{
    position:relative;
    padding: 12px 0 12px 12px;
}
.step:before{
    content:"";
    position:absolute;
    left: -10px;
    top: 18px;
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(34,211,238,.95), rgba(255,79,216,.80));
    box-shadow: 0 0 18px rgba(34,211,238,.18);
}
.step b{
    display:block;
    font-family: var(--mono);
    letter-spacing:.08em;
    text-transform: uppercase;
    font-size: 12px;
}
.step p{
    margin: 6px 0 0;
    color: var(--muted2);
    line-height: 1.65;
    font-size: 13.5px;
}

/* signal blocks (not cards, looks like HUD modules) */
.signals{
    display:grid;
    gap: 10px;
}
.sigBlock{
    padding: 12px 0;
    border-top: 1px dashed rgba(255,255,255,.14);
    display:flex;
    gap: 12px;
    align-items:flex-start;
}
.sigIcon{
    width: 36px; height: 36px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,.12);
    background:
            radial-gradient(circle at 30% 25%, rgba(255,255,255,.20), transparent 55%),
            linear-gradient(135deg, rgba(34,211,238,.22), rgba(255,79,216,.20));
    box-shadow: 0 0 24px rgba(255,79,216,.08);
    display:grid;
    place-items:center;
    flex: 0 0 auto;
}
.sigIcon svg{ opacity:.92; }
.sigBody b{
    display:block;
    font-weight: 950;
    letter-spacing:-.01em;
    margin-bottom: 4px;
}
.sigBody span{
    color: var(--muted2);
    font-size: 13.5px;
    line-height: 1.65;
    display:block;
}

/* FAQ minimal */
details{
    border-top: 1px dashed rgba(255,255,255,.14);
    padding: 12px 0;
}
summary{
    cursor:pointer;
    font-weight: 900;
    list-style:none;
}
summary::-webkit-details-marker{ display:none; }
details p{
    margin: 10px 0 0;
    color: var(--muted2);
    line-height: 1.7;
    font-size: 13.5px;
    max-width: 820px;
}

footer{
    margin-top: 20px;
    padding: 20px 14px 34px;
    border-top: 1px solid rgba(255,255,255,.08);
    color: rgba(247,248,255,.62);
    font-size: 11.5px;
    line-height: 1.6;
}
footer a{
    color: rgba(247,248,255,.78);
    text-decoration:none;
    border-bottom: 1px dashed rgba(247,248,255,.25);
    cursor: pointer;
}

/* Reveal */
.reveal{ opacity:0; transform: translateY(10px); transition: opacity .65s ease, transform .65s ease; }
.reveal.on{ opacity:1; transform: translateY(0); }

@media (max-width:980px){
    .heroGrid{ grid-template-columns: 1fr; }
    .right{ border-left: 0; border-top: 1px solid rgba(255,255,255,.10); }
    .twoCol{ grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce){
    .grid, .fog { animation:none !important; }
    .reveal{ transition:none !important; }
}

/* ===== 手机端显示最终修复补丁 ===== */
@media (max-width: 640px) {
    /* 1. 调整左右容器内边距 */
    .left, .right {
        padding: 15px 12px;
    }

    /* 2. 完美修复代码框显示 */
    .overlay {
        left: 8px;      /* 左右边距更小，让框变得更宽 */
        right: 8px;
        bottom: 8px;
        padding: 8px;   /* 减小内边距，腾出空间给文字 */

        /* === 核心修复 === */
        white-space: normal;    /* 允许换行 */
        word-break: normal;     /* 【重要】取消强制切断单词，修复 "re-view" 分离问题 */
        word-wrap: break-word;  /* 只在单词太长一行写不下时才切断 */

        font-size: 10px;        /* 缩小字号到 10px，让每行能放下更多字 */
        line-height: 1.35;      /* 稍微收紧行高 */
    }

    /* 3. 确保代码框内的每一行都是块级元素，防止挤在一起 */
    .overlay div {
        margin-bottom: 2px;
    }

    /* 4. 头部适配 */
    .hud { padding: 0 10px; }
    .brand span:nth-child(2) {
        font-size: 10px;
        max-width: 110px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    h1 { font-size: 28px; }
}

/* ===== 法律声明弹窗样式 (符合 Google Ads 规范) ===== */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 100;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    padding: 20px;
}
.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}
.modal-box {
    width: 100%;
    max-width: 600px;
    max-height: 85vh;
    background: #090a10; /* 深色背景 */
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 30px;
    overflow-y: auto; /* 内容过长可滚动 */
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.8);
    font-size: 14px;
    line-height: 1.6;
    color: rgba(247, 248, 255, 0.8);
}
.modal-box h3 {
    margin-top: 0;
    font-size: 20px;
    color: #fff;
    font-family: var(--mono);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 15px;
    margin-bottom: 20px;
}
.modal-box h4 {
    color: var(--neonA);
    margin: 20px 0 10px;
    font-size: 15px;
}
.modal-box p { margin-bottom: 12px; }
.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: rgba(255,255,255,0.5);
    font-size: 24px;
    cursor: pointer;
    line-height: 1;
}
.close-btn:hover { color: #fff; }



     /* 针对新弹窗的补充样式，确保在任何屏幕上都居中且美观 */
 .join-content {
     text-align: center;
 }
.join-content .disclaimer-box {
    background: rgba(34, 211, 238, 0.05);
    border: 1px solid rgba(34, 211, 238, 0.2);
    border-radius: 8px;
    padding: 15px;
    margin: 20px 0;
    font-size: 0.85rem;
    color: #ccc;
    text-align: left;
}
.join-content .disclaimer-box strong {
    color: #fff;
    display: block;
    margin-bottom: 5px;
}
.btn-whatsapp-large {
    background: #25D366; /* WhatsApp Green */
    color: white;
    border: none;
    padding: 14px 24px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    text-transform: uppercase;
    transition: background 0.2s;
    margin-top: 10px;
}
.btn-whatsapp-large:hover {
    background: #1ebc57;
}
.sub-note {
    font-size: 12px;
    opacity: 0.6;
    margin-top: 12px;
    display: block;
}
