:root {
    --bg: #080b10;
    --surface: #12171f;
    --border: #24303f;
    --text: #e9edf4;
    --muted: #8b96a7;
    --muted-2: #5f6b7c;
    --green: #22c55e;
    --green-2: #16a34a;
    --green-bg: rgba(34, 197, 94, 0.12);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
                 "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
[data-icon] { display: inline-flex; align-items: center; justify-content: center; }
[data-icon] svg { width: 1em; height: 1em; display: block; }

/* 背景光斑 */
.ld-bg { position: fixed; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.ld-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.5;
}
.ld-orb-1 {
    width: 620px; height: 620px;
    top: -260px; left: 50%;
    margin-left: -310px;
    background: radial-gradient(circle, rgba(34,197,94,0.34), transparent 65%);
    animation: float1 16s ease-in-out infinite;
}
.ld-orb-2 {
    width: 420px; height: 420px;
    bottom: -180px; right: -120px;
    background: radial-gradient(circle, rgba(56,189,248,0.18), transparent 65%);
    animation: float2 20s ease-in-out infinite;
}
@keyframes float1 {
    0%,100% { transform: translate(0,0) scale(1); }
    50% { transform: translate(-30px, 40px) scale(1.08); }
}
@keyframes float2 {
    0%,100% { transform: translate(0,0) scale(1); }
    50% { transform: translate(40px, -30px) scale(1.1); }
}

.ld-wrap { max-width: 960px; margin: 0 auto; padding: 0 20px; position: relative; z-index: 1; }

/* 顶部 */
.ld-header { padding: 20px 0; position: relative; z-index: 2; }
.ld-header-inner { display: flex; align-items: center; justify-content: space-between; }
.ld-brand { display: flex; align-items: center; gap: 11px; font-weight: 700; font-size: 16px; }
.ld-logo { width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--border); }
.ld-nav-btn {
    font-size: 13.5px;
    color: var(--text);
    text-decoration: none;
    padding: 8px 16px;
    border: 1px solid var(--border);
    border-radius: 9px;
    transition: border-color 0.2s, background 0.2s, transform 0.15s;
}
.ld-nav-btn:hover { border-color: var(--green); background: var(--green-bg); transform: translateY(-1px); }

/* Hero */
.ld-hero { text-align: center; padding: 60px 0 44px; }
.ld-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 12.5px;
    color: var(--green);
    background: var(--green-bg);
    border: 1px solid rgba(34,197,94,0.3);
    border-radius: 999px;
    padding: 5px 14px;
    margin-bottom: 22px;
}
.ld-title {
    font-size: 44px;
    line-height: 1.25;
    font-weight: 800;
    letter-spacing: -0.5px;
}
.ld-title em {
    font-style: normal;
    background: linear-gradient(120deg, #4ade80, #22c55e, #14b8a6, #4ade80);
    background-size: 300% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: titleFlow 7s linear infinite;
}
@keyframes titleFlow {
    from { background-position: 0% 50%; }
    to { background-position: 300% 50%; }
}
.ld-desc { color: var(--muted); font-size: 15px; margin-top: 16px; }

.ld-cta { margin-top: 32px; }
.ld-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    border: none;
    border-radius: 12px;
    padding: 14px 28px;
    font-size: 15.5px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}
.ld-btn-main {
    background: var(--green-2);
    color: #fff;
    box-shadow: 0 10px 30px rgba(22,163,74,0.35);
    position: relative;
    overflow: hidden;
}
.ld-btn-main::after {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 55%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transform: skewX(-22deg);
    animation: btnShine 3.6s ease-in-out infinite;
    pointer-events: none;
}
@keyframes btnShine {
    0%, 55% { left: -120%; }
    75%, 100% { left: 150%; }
}
.ld-btn-main:hover {
    background: var(--green);
    transform: translateY(-2px);
    box-shadow: 0 14px 38px rgba(34,197,94,0.45);
}
.ld-btn-main:active { transform: translateY(0); }
.ld-arrow { transition: transform 0.2s; }
.ld-btn-main:hover .ld-arrow { transform: translateX(4px); }
.ld-btn-sm { padding: 11px 22px; font-size: 14px; width: 100%; justify-content: center; margin-top: 18px; }

/* 特性卡片 */
.ld-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 30px;
}
.ld-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 22px 20px;
    transition: transform 0.25s, border-color 0.25s, background 0.25s;
}
.ld-card:hover { transform: translateY(-4px); border-color: rgba(34,197,94,0.4); }
.ld-card-ico {
    width: 40px; height: 40px;
    border-radius: 11px;
    background: var(--green-bg);
    color: var(--green);
    display: flex; align-items: center; justify-content: center;
    font-size: 19px;
    margin-bottom: 14px;
}
.ld-card h3 { font-size: 15px; margin-bottom: 6px; }
.ld-card p { color: var(--muted); font-size: 13px; line-height: 1.6; }

/* 步骤 */
.ld-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin: 40px 0 20px;
    flex-wrap: wrap;
}
.ld-step { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.ld-step b {
    font-size: 12px;
    color: var(--green);
    background: var(--green-bg);
    border-radius: 7px;
    padding: 2px 8px;
    font-weight: 800;
}
.ld-step-line { width: 34px; height: 1px; background: var(--border); }

.ld-footer { text-align: center; color: var(--muted-2); font-size: 12px; padding: 40px 20px; position: relative; z-index: 1; }

/* 公告弹窗 */
.ld-modal {
    position: fixed;
    inset: 0;
    background: rgba(4,7,11,0.72);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 50;
}
.ld-modal-card {
    width: 100%;
    max-width: 420px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 22px;
    box-shadow: 0 30px 70px rgba(0,0,0,0.55);
}
.ld-modal-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.ld-modal-ico { color: var(--green); font-size: 19px; }
.ld-modal-title { font-size: 16px; font-weight: 700; flex: 1; }
.ld-modal-x {
    width: 30px; height: 30px;
    display: flex; align-items: center; justify-content: center;
    border: none; background: transparent; color: var(--muted);
    cursor: pointer; border-radius: 8px; font-size: 16px;
    transition: background 0.15s, color 0.15s;
}
.ld-modal-x:hover { background: rgba(255,255,255,0.06); color: var(--text); }
.ld-modal-body {
    color: var(--muted);
    font-size: 13.5px;
    line-height: 1.75;
    max-height: 46vh;
    overflow-y: auto;
    padding-right: 4px;
}

/* 动效 */
.rise { opacity: 0; transform: translateY(16px); animation: riseIn 0.65s cubic-bezier(0.22,0.8,0.3,1) forwards; }
.d1 { animation-delay: 0.08s; }
.d2 { animation-delay: 0.16s; }
.d3 { animation-delay: 0.24s; }
.d4 { animation-delay: 0.32s; }
@keyframes riseIn { to { opacity: 1; transform: translateY(0); } }
.pop { animation: popIn 0.28s cubic-bezier(0.2,0.9,0.3,1.2); }
@keyframes popIn { from { opacity: 0; transform: scale(0.94); } to { opacity: 1; transform: scale(1); } }

@media (max-width: 720px) {
    .ld-title { font-size: 32px; }
    .ld-features { grid-template-columns: 1fr; }
    .ld-hero { padding: 40px 0 30px; }
    .ld-desc { font-size: 13.5px; }
    .ld-step-line { display: none; }
    .ld-steps { gap: 10px; }
}

/* ================= 动态视觉增强 ================= */

/* 动态网格背景 */
.ld-grid {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255,255,255,0.028) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.028) 1px, transparent 1px);
    background-size: 46px 46px;
    -webkit-mask-image: radial-gradient(ellipse 75% 62% at 50% 28%, #000 25%, transparent 76%);
    mask-image: radial-gradient(ellipse 75% 62% at 50% 28%, #000 25%, transparent 76%);
    animation: gridDrift 22s linear infinite;
}
@keyframes gridDrift {
    from { background-position: 0 0, 0 0; }
    to { background-position: 46px 46px, 46px 46px; }
}

/* logo 呼吸光晕 */
.ld-logo { animation: logoBreathe 4.5s ease-in-out infinite; }
@keyframes logoBreathe {
    0%, 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); transform: scale(1); }
    50% { box-shadow: 0 0 26px 3px rgba(34,197,94,0.4); transform: scale(1.04); }
}

/* 特性卡片：图标转动 + 光扫 */
.ld-card { position: relative; overflow: hidden; }
.ld-card::after {
    content: "";
    position: absolute;
    top: -60%;
    left: -70%;
    width: 50%;
    height: 220%;
    background: linear-gradient(90deg, transparent, rgba(34,197,94,0.10), transparent);
    transform: rotate(18deg);
    transition: left 0.7s ease;
    pointer-events: none;
}
.ld-card:hover::after { left: 130%; }
.ld-card-ico { transition: transform 0.35s cubic-bezier(0.2,0.9,0.3,1.3), box-shadow 0.3s; }
.ld-card:hover .ld-card-ico {
    transform: rotate(-9deg) scale(1.12);
    box-shadow: 0 6px 20px rgba(34,197,94,0.3);
}
.ld-card h3 { transition: color 0.2s; }
.ld-card:hover h3 { color: #4ade80; }

/* 步骤连线流动 */
.ld-step-line {
    background: repeating-linear-gradient(90deg, var(--border) 0 5px, transparent 5px 11px);
    animation: dashFlow 2.4s linear infinite;
}
@keyframes dashFlow {
    from { background-position: 0 0; }
    to { background-position: 22px 0; }
}

/* 漂浮光点 */
.ld-spark {
    position: fixed;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(74, 222, 128, 0.85);
    box-shadow: 0 0 8px 2px rgba(34,197,94,0.45);
    pointer-events: none;
    z-index: 1;
    animation: sparkFloat linear infinite;
}
@keyframes sparkFloat {
    0% { transform: translateY(0) scale(1); opacity: 0; }
    12% { opacity: 0.9; }
    88% { opacity: 0.7; }
    100% { transform: translateY(-72vh) scale(0.5); opacity: 0; }
}

/* 标题轻微摆动 */
.ld-title { animation: none; }
.ld-title.rise { animation: riseIn 0.7s cubic-bezier(0.22,0.8,0.3,1) forwards; }

/* 兑换按钮 hover 光更强 */
.ld-btn-main:hover::after { animation-duration: 1.1s; }

@media (prefers-reduced-motion: reduce) {
    .ld-grid, .ld-logo, .ld-step-line, .ld-spark,
    .ld-title em, .ld-btn-main::after, .ld-card::after { animation: none !important; }
}
