/* ===== 租号租 · 游戏账号租赁 — 全站共享样式 ===== */

:root {
    --bg: #07070f;
    --bg-2: #0c0c1a;
    --surface: rgba(255, 255, 255, 0.04);
    --surface-2: rgba(255, 255, 255, 0.07);
    --border: rgba(255, 255, 255, 0.08);
    --primary: #a855f7;
    --primary-2: #7c3aed;
    --accent: #22d3ee;
    --accent-2: #06b6d4;
    --text: #e8e9f3;
    --muted: #9aa0bf;
    --good: #34d399;
    --warn: #fbbf24;
    --radius: 16px;
    --shadow: 0 20px 50px -20px rgba(124, 58, 237, 0.45);
    --maxw: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
        "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* 背景装饰：粒子 canvas + 渐变光斑 */
#bg-canvas {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    opacity: 0.55;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(60vw 60vw at 12% -5%, rgba(124, 58, 237, 0.22), transparent 60%),
        radial-gradient(55vw 55vw at 95% 8%, rgba(34, 211, 238, 0.16), transparent 60%),
        radial-gradient(50vw 50vw at 50% 110%, rgba(168, 85, 247, 0.16), transparent 60%);
    pointer-events: none;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* 矢量图标 */
.svg-icon { width: 1em; height: 1em; display: block; flex: none; }
.i-inline { display: inline-flex; align-items: center; justify-content: center; font-size: 1.05em; vertical-align: -0.16em; }

.container {
    width: 100%;
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 24px;
}

.gradient-text {
    background: linear-gradient(120deg, #fff 0%, #c4b5fd 35%, #67e8f9 75%, #fff 100%);
    background-size: 220% 220%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 6s ease infinite;
}

@keyframes shimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* ===== 导航栏 ===== */
.nav {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    background: rgba(7, 7, 15, 0.7);
    border-bottom: 1px solid var(--border);
}

.nav-inner {
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.logo .mark {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    font-size: 18px;
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    box-shadow: 0 6px 18px -4px rgba(124, 58, 237, 0.7);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-links a {
    position: relative;
    padding: 9px 16px;
    border-radius: 10px;
    color: var(--muted);
    font-weight: 500;
    transition: color 0.25s, background 0.25s;
}

.nav-links a:hover { color: var(--text); background: var(--surface); }
.nav-links a.active { color: #fff; }
.nav-links a.active::after {
    content: "";
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 2px;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}

.nav-cta {
    padding: 9px 18px !important;
    color: #fff !important;
    background: linear-gradient(135deg, var(--primary), var(--primary-2)) !important;
    box-shadow: 0 8px 20px -8px rgba(124, 58, 237, 0.8);
}

.nav-toggle {
    display: none;
    place-items: center;
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text);
    width: 42px;
    height: 42px;
    border-radius: 10px;
    font-size: 20px;
    cursor: pointer;
}

/* ===== 按钮 ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 26px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    border: 1px solid transparent;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
    white-space: nowrap;
}

.btn-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    box-shadow: 0 12px 28px -12px rgba(124, 58, 237, 0.9);
}

.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 36px -12px rgba(124, 58, 237, 1); }

.btn-ghost {
    color: var(--text);
    background: var(--surface);
    border-color: var(--border);
}

.btn-ghost:hover { background: var(--surface-2); transform: translateY(-2px); }

/* ===== 通用区块 ===== */
.section { padding: 88px 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }

.eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent);
    padding: 6px 14px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--surface);
    margin-bottom: 18px;
}

.section-head h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; line-height: 1.25; }
.section-head p { color: var(--muted); margin-top: 14px; font-size: 17px; }

/* ===== Hero ===== */
.hero { padding: 96px 0 72px; }
.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
    align-items: center;
}

.hero h1 {
    font-size: clamp(38px, 6vw, 66px);
    line-height: 1.1;
    font-weight: 900;
    letter-spacing: -0.01em;
}

.hero .lead { color: var(--muted); font-size: 19px; margin: 22px 0 32px; max-width: 520px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-stats {
    display: flex;
    gap: 36px;
    margin-top: 44px;
    flex-wrap: wrap;
}

.hero-stats .num {
    font-size: 30px;
    font-weight: 800;
    background: linear-gradient(120deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-stats .lbl { color: var(--muted); font-size: 14px; }

/* Hero 右侧卡片 */
.hero-card {
    position: relative;
    border-radius: 22px;
    padding: 26px;
    background: linear-gradient(160deg, rgba(168, 85, 247, 0.14), rgba(34, 211, 238, 0.08));
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    backdrop-filter: blur(8px);
}

.hero-card .floating {
    position: absolute;
    right: -14px;
    top: 26px;
    display: flex;
    align-items: center;
    gap: 7px;
    background: rgba(7, 7, 15, 0.85);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 12px 16px;
    font-size: 13px;
    box-shadow: var(--shadow);
    animation: float 4s ease-in-out infinite;
}
.hero-card .floating [data-icon] { color: var(--accent); font-size: 16px; }

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.mini-account {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px;
    border-radius: 14px;
    background: var(--surface);
    border: 1px solid var(--border);
    margin-bottom: 12px;
}

.mini-account:last-child { margin-bottom: 0; }
.mini-account .cover {
    width: 56px; height: 56px; border-radius: 13px; flex-shrink: 0;
    display: grid; place-items: center; font-size: 25px; color: #fff;
    background: linear-gradient(140deg, #3a1d73, #0e3550);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
}
.mini-account .meta { flex: 1; min-width: 0; }
.mini-account .meta b { font-size: 15px; }
.mini-account .meta span { display: block; color: var(--muted); font-size: 12.5px; }
.mini-account .price { color: var(--accent); font-weight: 800; font-size: 16px; }

/* ===== 卡片网格 ===== */
.grid {
    display: grid;
    gap: 22px;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 26px;
    transition: transform 0.25s, border-color 0.25s, background 0.25s;
}

.card:hover { transform: translateY(-6px); border-color: rgba(168, 85, 247, 0.5); background: var(--surface-2); }

.feature .ico {
    width: 54px; height: 54px; border-radius: 15px;
    display: grid; place-items: center; font-size: 25px; margin-bottom: 16px;
    color: #dccffb;
    background: linear-gradient(150deg, rgba(168, 85, 247, 0.28), rgba(34, 211, 238, 0.16));
    border: 1px solid rgba(168, 85, 247, 0.25);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 10px 24px -16px rgba(124, 58, 237, 0.9);
}
.feature h3 { font-size: 19px; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 15px; }

/* ===== 产品 / 账号卡片 ===== */
.product-card { padding: 0; overflow: hidden; }
.product-card .cover {
    height: 172px;
    display: grid; place-items: center;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(130% 130% at 22% 4%, rgba(255, 255, 255, 0.16), transparent 46%),
        linear-gradient(135deg, #2a1356 0%, #5a2496 46%, #161a4d 100%);
}
/* 网格光影纹理 */
.product-card .cover::before {
    content: "";
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
    background-size: 26px 26px;
    -webkit-mask-image: radial-gradient(135% 120% at 50% -12%, #000, transparent 72%);
    mask-image: radial-gradient(135% 120% at 50% -12%, #000, transparent 72%);
}
/* 柔光斑 */
.product-card .cover::after {
    content: "";
    position: absolute; width: 180px; height: 180px;
    right: -48px; bottom: -68px; border-radius: 50%;
    background: radial-gradient(circle, rgba(34, 211, 238, 0.4), transparent 70%);
    filter: blur(6px);
}
.cover-icon {
    position: relative; z-index: 1;
    font-size: 46px; color: #fff;
    filter: drop-shadow(0 8px 22px rgba(0, 0, 0, 0.5));
}
.cover-icon .svg-icon { stroke-width: 1.4; }
.cover[data-theme="moba"]   { background: radial-gradient(130% 130% at 22% 4%, rgba(255,255,255,0.16), transparent 46%), linear-gradient(135deg, #3a0f53, #7a1f6e 48%, #241456); }
.cover[data-theme="fps"]    { background: radial-gradient(130% 130% at 22% 4%, rgba(255,255,255,0.14), transparent 46%), linear-gradient(135deg, #0b2a4a, #155e75 48%, #0a1f3c); }
.cover[data-theme="rpg"]    { background: radial-gradient(130% 130% at 22% 4%, rgba(255,255,255,0.16), transparent 46%), linear-gradient(135deg, #1e1b4b, #4338ca 48%, #0f2e4a); }
.cover[data-theme="battle"] { background: radial-gradient(130% 130% at 22% 4%, rgba(255,255,255,0.14), transparent 46%), linear-gradient(135deg, #0c2a22, #1a5e43 48%, #0a1f2c); }
.product-card .tag {
    position: absolute; top: 12px; left: 12px;
    font-size: 12px; font-weight: 600; padding: 4px 10px;
    border-radius: 999px; background: rgba(7, 7, 15, 0.75); color: #fff;
    border: 1px solid var(--border);
}
.product-card .tag.hot { background: rgba(239, 68, 68, 0.85); border-color: transparent; }
.product-card .body { padding: 20px; }
.product-card h3 { font-size: 17px; margin-bottom: 6px; }
.product-card .desc { color: var(--muted); font-size: 13.5px; min-height: 38px; }
.product-card .chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0; }
.chip {
    font-size: 12px; color: var(--muted);
    padding: 3px 10px; border-radius: 999px;
    background: var(--surface-2); border: 1px solid var(--border);
}
.product-card .foot {
    display: flex; align-items: center; justify-content: space-between;
    margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border);
}
.product-card .price { font-size: 22px; font-weight: 800; color: var(--accent); }
.product-card .price small { font-size: 13px; color: var(--muted); font-weight: 500; }

/* 价格表 */
.rating { color: var(--warn); font-size: 13px; }

/* 分类筛选 */
.filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 40px; }
.filter-btn {
    padding: 9px 20px; border-radius: 999px; cursor: pointer;
    background: var(--surface); border: 1px solid var(--border); color: var(--muted);
    font-size: 14px; font-weight: 500; transition: all 0.2s;
}
.filter-btn:hover { color: var(--text); }
.filter-btn.active { color: #fff; background: linear-gradient(135deg, var(--primary), var(--primary-2)); border-color: transparent; }

/* ===== 步骤 ===== */
.steps { counter-reset: step; }
.step { position: relative; padding-left: 12px; }
.step .n {
    width: 46px; height: 46px; border-radius: 12px; margin-bottom: 14px;
    display: grid; place-items: center; font-weight: 800; font-size: 18px; color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--accent));
}
.step h3 { font-size: 18px; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 14.5px; }

/* ===== 关于我们 ===== */
.about-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.about-hero h1 { font-size: clamp(30px, 5vw, 48px); font-weight: 900; line-height: 1.15; }
.about-hero p { color: var(--muted); margin-top: 18px; font-size: 17px; }

.stat-box { text-align: center; padding: 30px 18px; }
.stat-box .num { font-size: 38px; font-weight: 900; background: linear-gradient(120deg, var(--primary), var(--accent)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat-box .lbl { color: var(--muted); margin-top: 6px; }

.value-card .ico {
    width: 54px; height: 54px; border-radius: 15px;
    display: grid; place-items: center; font-size: 25px; margin-bottom: 16px;
    color: #dccffb;
    background: linear-gradient(150deg, rgba(168, 85, 247, 0.28), rgba(34, 211, 238, 0.16));
    border: 1px solid rgba(168, 85, 247, 0.25);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 10px 24px -16px rgba(124, 58, 237, 0.9);
}
.value-card h3 { font-size: 18px; margin-bottom: 8px; }
.value-card p { color: var(--muted); font-size: 14.5px; }

.timeline { max-width: 760px; margin: 0 auto; position: relative; padding-left: 30px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--primary), var(--accent)); }
.tl-item { position: relative; padding: 0 0 30px 24px; }
.tl-item::before { content: ""; position: absolute; left: -30px; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 4px rgba(168, 85, 247, 0.2); }
.tl-item .yr { color: var(--accent); font-weight: 800; font-size: 15px; }
.tl-item h3 { font-size: 17px; margin: 4px 0; }
.tl-item p { color: var(--muted); font-size: 14.5px; }

/* ===== 联系我们 ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: start; }
.contact-info .item {
    display: flex; gap: 16px; align-items: flex-start;
    padding: 20px; border-radius: var(--radius);
    background: var(--surface); border: 1px solid var(--border); margin-bottom: 16px;
}
.contact-info .item .ico {
    width: 48px; height: 48px; flex-shrink: 0; border-radius: 13px;
    display: grid; place-items: center; font-size: 21px;
    color: #dccffb;
    background: linear-gradient(150deg, rgba(168, 85, 247, 0.28), rgba(34, 211, 238, 0.16));
    border: 1px solid rgba(168, 85, 247, 0.25);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.contact-info .item h3 { font-size: 16px; margin-bottom: 3px; }
.contact-info .item p { color: var(--muted); font-size: 14.5px; }

.form-card { padding: 30px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.field input, .field select, .field textarea {
    width: 100%; padding: 13px 15px; border-radius: 12px;
    background: var(--bg-2); border: 1px solid var(--border); color: var(--text);
    font-size: 15px; font-family: inherit; transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
    outline: none; border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.18);
}
.field textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { display: none; margin-top: 14px; padding: 13px 16px; border-radius: 12px; font-size: 14px; background: rgba(52, 211, 153, 0.12); border: 1px solid rgba(52, 211, 153, 0.4); color: var(--good); }
.form-note.show { display: block; }

/* FAQ */
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; margin-bottom: 12px; overflow: hidden; }
.faq-q { padding: 18px 20px; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq-q .pm { color: var(--accent); font-size: 20px; transition: transform 0.25s; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s ease; color: var(--muted); padding: 0 20px; }
.faq-item.open .faq-a { max-height: 240px; padding: 0 20px 18px; }
.faq-item.open .faq-q .pm { transform: rotate(45deg); }

/* CTA 横幅 */
.cta-banner {
    text-align: center;
    border-radius: 24px;
    padding: 56px 32px;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.25), rgba(6, 182, 212, 0.18));
    border: 1px solid var(--border);
}
.cta-banner h2 { font-size: clamp(26px, 4vw, 38px); font-weight: 800; }
.cta-banner p { color: var(--muted); margin: 12px 0 26px; font-size: 17px; }

/* ===== 页脚 ===== */
.footer { border-top: 1px solid var(--border); background: rgba(7, 7, 15, 0.6); margin-top: 40px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; padding: 56px 0 36px; }
.footer .logo { margin-bottom: 14px; }
.footer-about p { color: var(--muted); font-size: 14.5px; max-width: 320px; }
.footer h4 { font-size: 15px; margin-bottom: 16px; }
.footer-col a, .footer-col p { display: block; color: var(--muted); font-size: 14.5px; padding: 5px 0; transition: color 0.2s; }
.footer-col a:hover { color: var(--accent); }
.socials { display: flex; gap: 10px; margin-top: 16px; }
.socials span {
    width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center;
    background: var(--surface); border: 1px solid var(--border); font-size: 18px; color: var(--muted);
    cursor: pointer; transition: all 0.2s;
}
.socials span:hover { background: var(--surface-2); color: var(--accent); border-color: rgba(34, 211, 238, 0.4); transform: translateY(-2px); }

.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 22px 0;
    display: flex; flex-wrap: wrap; gap: 10px 24px;
    align-items: center; justify-content: space-between;
    color: var(--muted); font-size: 13.5px;
}
.footer-bottom .beian {
    color: var(--muted);
    transition: color 0.25s, text-shadow 0.25s;
}
.footer-bottom .beian:hover { color: var(--accent); text-shadow: 0 0 10px rgba(34, 211, 238, 0.5); }

/* 进入动画 */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }
.shot-mode .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }

/* ===== 响应式 ===== */
@media (max-width: 960px) {
    .hero-grid, .about-hero, .contact-grid { grid-template-columns: 1fr; }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .footer-top { grid-template-columns: 1fr 1fr; }
    .hero-card { max-width: 460px; }
}

@media (max-width: 720px) {
    .nav-links {
        position: absolute;
        top: 68px; left: 0; right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        padding: 14px 24px 20px;
        background: rgba(7, 7, 15, 0.97);
        border-bottom: 1px solid var(--border);
        transform: translateY(-12px);
        opacity: 0;
        pointer-events: none;
        transition: all 0.25s;
    }
    .nav-links.open { transform: none; opacity: 1; pointer-events: auto; }
    .nav-links a { padding: 12px 14px; }
    .nav-links a.active::after { display: none; }
    .nav-toggle { display: grid; }
    .section { padding: 64px 0; }
    .hero { padding: 64px 0 48px; }
}

@media (max-width: 540px) {
    .grid-2, .grid-3, .grid-4, .form-row, .footer-top { grid-template-columns: 1fr; }
    .hero-stats { gap: 24px; }
}
