﻿/* ============================================================
   冠军专线主题宣传页 — 样式表
   色调：对齐 biubiu 官网深蓝青配色
   ============================================================ */

:root {
    --bg-main: #0a1628;
    --bg-nav: #0b1a2e;
    --bg-card: #0f1e2c;
    --bg-card-hover: #152a3e;
    --bg-footer: #07101e;
    --accent: #00c9ff;
    --accent-light: #00d1ff;
    --accent-glow: rgba(0, 201, 255, 0.35);
    --accent-glow-strong: rgba(0, 201, 255, 0.55);
    --text-primary: rgba(255, 255, 255, 0.9);
    --text-secondary: rgba(255, 255, 255, 0.65);
    --text-muted: rgba(255, 255, 255, 0.4);
    --border-card: rgba(0, 201, 255, 0.18);
    --border-card-hover: rgba(0, 201, 255, 0.4);
    --error: #ff5c5c;
    --error-bg: rgba(255, 92, 92, 0.1);
    --success: #4de6a0;
    --success-bg: rgba(77, 230, 160, 0.1);

    --radius-lg: 16px;
    --radius-md: 12px;
    --radius-sm: 8px;
    --nav-height: 70px;
}

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

body {
    background: var(--bg-main);
    color: var(--text-primary);
    font-family: 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
}

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

/* ============================================================
   顶部导航栏
   ============================================================ */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--nav-height);
    background: var(--bg-nav);
    border-bottom: 1px solid rgba(0, 201, 255, 0.08);
    z-index: 1000;
    backdrop-filter: blur(12px);
}

.navbar-inner {
    max-width: 1200px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
}

.navbar-left {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1px;
}

.nav-back {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px; height: 32px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.15);
    color: rgba(255,255,255,.55);
    font-size: 16px; cursor: pointer;
    transition: all .2s ease;
    text-decoration: none;
    margin-right: 4px;
}
.nav-back:hover {
    background: rgba(255,255,255,.06);
    border-color: rgba(255,255,255,.3);
    color: #fff;
}

.logo-tag {
    display: inline-block;
    background: #00c9ff;
    color: #0a1628;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 4px;
    line-height: 1.4;
}

.logo-sub {
    font-size: 13px;
    color: var(--text-secondary);
    white-space: nowrap;
}

.navbar-center {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-link {
    font-size: 15px;
    color: var(--text-secondary);
    padding: 8px 0;
    position: relative;
    transition: color 0.25s;
    cursor: pointer;
}

.nav-link:hover { color: #fff; }

.nav-link.nav-active {
    color: #fff;
    font-weight: 600;
}

.nav-link.nav-active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0; right: 0;
    height: 2px;
    background: #00c9ff;
    border-radius: 2px;
}

.nav-arrow { font-size: 12px; margin-left: 2px; }

.navbar-right { flex-shrink: 0; }

.btn-download-nav {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #00c9ff;
    color: #0a1628;
    border: none;
    padding: 9px 22px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.25s, box-shadow 0.25s;
    font-family: inherit;
}

.btn-download-nav:hover {
    background: #00d1ff;
    box-shadow: 0 0 20px rgba(0, 201, 255, 0.35);
}

.dl-arrow { font-size: 13px; }

/* ============================================================
   主内容区
   ============================================================ */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: calc(var(--nav-height) + 60px) 24px 0;
    min-height: calc(100vh - var(--nav-height));
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: var(--bg-main);
    color: var(--text-primary);
}

/* ============================================================
   背景氛围
   ============================================================ */
.bg-atmosphere {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.bg-spotlight {
    position: absolute;
    top: -10%;
    left: 50%;
    transform: translateX(-50%);
    width: 900px;
    height: 700px;
    background: radial-gradient(ellipse at center,
        rgba(0, 180, 255, 0.12) 0%,
        rgba(0, 150, 220, 0.06) 30%,
        rgba(0, 120, 200, 0.02) 60%,
        transparent 100%);
    pointer-events: none;
}

.bg-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.bg-particle {
    position: absolute;
    width: 2px;
    height: 2px;
    border-radius: 50%;
    pointer-events: none;
    animation: particleFloat linear infinite;
    background: rgba(0, 201, 255, 0.6);
    box-shadow: 0 0 4px rgba(0, 201, 255, 0.4);
}

@keyframes particleFloat {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-600px) translateX(40px);
        opacity: 0;
    }
}

/* ============================================================
   Hero 区域：冠军形象 + 标题 + 按钮
   ============================================================ */
.section-hero {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex: 1;
    padding: 20px 0;
}

/* --- 冠军形象卡片（矩形大卡片） --- */
.champion-portrait {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
    width: 200px;
}

.champion-avatar {
    position: relative;
    width: 200px;
    height: 260px;
    border-radius: 12px;
    background: linear-gradient(160deg, #111d2e 0%, #0a1628 100%);
    border: 1px solid rgba(0, 201, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(0, 160, 220, 0.08);
}

.champion-avatar-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--text-muted);
    letter-spacing: 3px;
}

.champion-halo {
    position: absolute;
    inset: -1px;
    z-index: 1;
    border-radius: 12px;
    background: linear-gradient(180deg,
        rgba(0, 201, 255, 0.1) 0%,
        transparent 30%,
        transparent 70%,
        rgba(0, 180, 240, 0.05) 100%);
    pointer-events: none;
}

.champion-avatar::after {
    content: '';
    position: absolute;
    inset: -1px;
    z-index: 3;
    border-radius: 12px;
    padding: 1px;
    background: linear-gradient(160deg,
        rgba(0, 201, 255, 0.2),
        transparent 40%,
        transparent 60%,
        rgba(0, 180, 240, 0.12));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.champion-id {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-size: 22px;
    font-weight: 500;
    color: #fff;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.champion-name-cn {
    font-size: 14px;
    color: var(--text-secondary);
    letter-spacing: 3px;
}

/* --- 中间标题区 --- */
.hero-center {
    text-align: center;
    flex: 0 1 auto;
    max-width: 520px;
}

.section-title {
    text-align: center;
    font-size: 42px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
    letter-spacing: 4px;
    background: linear-gradient(180deg, #fff 0%, rgba(200, 220, 240, 0.85) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tool-desc {
    font-size: 15px;
    color: var(--text-secondary);
    text-align: center;
    max-width: 420px;
    line-height: 1.8;
    margin: 0 auto 28px;
}

.hero-slogan {
    font-size: 18px;
    color: var(--text-secondary);
    letter-spacing: 2px;
    margin-bottom: 24px;
    font-weight: 400;
    text-align: center;
}

/* --- 菱形分隔线 --- */
.title-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 36px;
}

.divider-line {
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 201, 255, 0.4), transparent);
}

.divider-diamond {
    color: rgba(0, 201, 255, 0.55);
    font-size: 10px;
    line-height: 1;
}

/* --- 下载按钮 --- */
.btn-download-big {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #00c9ff 0%, #0080cc 100%);
    color: #fff;
    border: none;
    padding: 18px 64px;
    border-radius: 32px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.25s, box-shadow 0.35s;
    box-shadow: 0 0 32px var(--accent-glow), 0 4px 16px rgba(0, 120, 200, 0.3);
    font-family: inherit;
    letter-spacing: 3px;
    position: relative;
}

.btn-download-big::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 35px;
    background: linear-gradient(135deg, rgba(0, 201, 255, 0.3), transparent, rgba(0, 201, 255, 0.2));
    z-index: -1;
    opacity: 0;
    transition: opacity 0.35s;
}

.btn-download-big:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 48px var(--accent-glow-strong), 0 8px 28px rgba(0, 140, 220, 0.4);
}

.btn-download-big:hover::before {
    opacity: 1;
}

.btn-download-big:active {
    transform: translateY(0);
}

.btn-dl-svg {
    width: 20px;
    height: 20px;
}

/* ============================================================
   底部权益卡片
   ============================================================ */
.section-features {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 0 0 48px;
    flex-shrink: 0;
}

.feature-card {
    background: linear-gradient(170deg, rgba(15, 28, 48, 0.9) 0%, rgba(10, 20, 38, 0.95) 100%);
    border: 1px solid rgba(0, 201, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 28px 20px 24px;
    text-align: center;
    transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 201, 255, 0.3), transparent);
    transition: width 0.3s;
}

.feature-card:hover {
    border-color: rgba(0, 201, 255, 0.25);
    box-shadow: 0 4px 24px rgba(0, 180, 240, 0.1);
    transform: translateY(-2px);
}

.feature-card:hover::before {
    width: 80px;
}

.feature-icon {
    width: 40px;
    height: 40px;
    margin: 0 auto 16px;
    color: var(--accent);
    opacity: 0.8;
}

.feature-icon svg {
    width: 100%;
    height: 100%;
}

.feature-title {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.feature-desc {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ============================================================
   开通工具下载（三大权益下方）
   ============================================================ */
.section-download {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 8px 0 48px;
}

.btn-download-small {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 10px 28px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    font-family: inherit;
    letter-spacing: 1px;
    transition: all 0.3s;
}

.btn-download-small:hover {
    border-color: rgba(0, 201, 255, 0.3);
    color: var(--accent);
    background: rgba(0, 201, 255, 0.05);
}

.btn-download-small .btn-dl-svg {
    width: 14px;
    height: 14px;
}

/* ============================================================
   页脚
   ============================================================ */
.site-footer {
    background: var(--bg-footer);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 40px 24px 32px;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-main {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
}

.footer-left {
    flex: 1;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.footer-logo {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
}

.footer-sub {
    font-size: 12px;
    color: var(--text-muted);
}

.footer-health {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.9;
    margin-bottom: 20px;
    max-width: 520px;
}

.footer-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 20px;
}

.footer-links a {
    font-size: 13px;
    color: var(--text-secondary);
    transition: color 0.2s;
}

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

.link-sep {
    color: rgba(255, 255, 255, 0.12);
    font-size: 12px;
}

.footer-legal {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 2;
}

.footer-qr {
    display: flex;
    gap: 20px;
    flex-shrink: 0;
}

.qr-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.qr-item span {
    font-size: 11px;
    color: var(--text-muted);
}

.qr-placeholder {
    width: 64px;
    height: 64px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

.qr-placeholder svg {
    width: 28px;
    height: 28px;
}

/* ============================================================
   模态对话框
   ============================================================ */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(6px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.open {
    opacity: 1;
    pointer-events: all;
}

.modal-box {
    background: linear-gradient(170deg, #111d2e 0%, #0d1929 100%);
    border: 1px solid rgba(0, 201, 255, 0.15);
    border-radius: var(--radius-lg);
    width: 420px;
    max-width: 92vw;
    padding: 36px 32px 28px;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.6);
}

.modal-overlay.open .modal-box {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 14px; right: 16px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 22px;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s, color 0.2s;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-primary);
}

.modal-header {
    text-align: center;
    margin-bottom: 28px;
}

.modal-icon {
    width: 36px;
    height: 36px;
    color: #00c9ff;
    margin-bottom: 12px;
    display: inline-block;
}

.modal-title {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.modal-subtitle {
    font-size: 13px;
    color: var(--text-muted);
}

.modal-body {
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 18px;
}

.form-label {
    display: block;
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 6px;
    font-weight: 500;
}

.input-wrap {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: border-color 0.25s;
}

.input-wrap:focus-within {
    border-color: #00c9ff;
    box-shadow: 0 0 0 2px rgba(0, 201, 255, 0.12);
}

.input-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-left: 12px;
    color: var(--text-muted);
}

.form-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-primary);
    font-size: 14px;
    padding: 12px 0;
    font-family: inherit;
}

.form-input::placeholder {
    color: var(--text-muted);
}

.btn-toggle-pwd {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 12px;
    padding: 0 14px;
    cursor: pointer;
    font-family: inherit;
    transition: color 0.2s;
    flex-shrink: 0;
}

.btn-toggle-pwd:hover {
    color: #00c9ff;
}

.form-error {
    font-size: 13px;
    color: var(--error);
    background: var(--error-bg);
    border: 1px solid rgba(255, 92, 92, 0.2);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    margin-bottom: 8px;
    display: none;
}

.form-error.show {
    display: block;
    animation: shakeX 0.4s ease;
}

@keyframes shakeX {
    0%, 100% { transform: translateX(0); }
    20%      { transform: translateX(-6px); }
    40%      { transform: translateX(6px); }
    60%      { transform: translateX(-4px); }
    80%      { transform: translateX(4px); }
}

.form-success {
    font-size: 13px;
    color: var(--success);
    background: var(--success-bg);
    border: 1px solid rgba(77, 230, 160, 0.2);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    margin-bottom: 8px;
    display: none;
    align-items: center;
    gap: 8px;
}

.form-success.show {
    display: flex;
}

.success-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: var(--success);
}

.modal-footer {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.btn-cancel {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    padding: 10px 28px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.2s, color 0.2s;
}

.btn-cancel:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.btn-confirm {
    background: #00c9ff;
    border: none;
    color: #0a1628;
    padding: 10px 28px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.2s, box-shadow 0.2s;
}

.btn-confirm:hover {
    background: #00d1ff;
    box-shadow: 0 0 16px rgba(0, 201, 255, 0.35);
}

/* ============================================================
   Toast
   ============================================================ */
.toast {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(-80px);
    background: linear-gradient(135deg, #102a3e 0%, #0d1f30 100%);
    border: 1px solid rgba(77, 230, 160, 0.3);
    color: var(--success);
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 3000;
    opacity: 0;
    transition: transform 0.4s ease, opacity 0.4s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    pointer-events: none;
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.toast-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: var(--success);
}

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1100px) {
    .section-hero {
        gap: 20px;
    }
    .champion-portrait {
        width: 160px;
    }
    .champion-avatar {
        width: 160px;
        height: 210px;
    }
    .section-features {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .navbar-center { gap: 20px; }
    .nav-link { font-size: 13px; }

    .section-hero {
        flex-direction: column;
        gap: 24px;
        padding: 10px 0 30px;
    }
    .champion-portrait {
        flex-direction: row;
        width: auto;
        gap: 14px;
    }
    .champion-left {
        order: 0;
    }
    .hero-center {
        order: 1;
    }
    .champion-right {
        order: 2;
    }
    .champion-avatar {
        width: 64px;
        height: 64px;
        border-radius: 8px;
    }
    .champion-avatar::after {
        border-radius: 8px;
    }
    .champion-halo {
        border-radius: 8px;
    }
    .champion-avatar-inner {
        font-size: 12px;
    }
    .champion-id {
        font-size: 17px;
        letter-spacing: 2px;
    }
    .champion-name-cn {
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    .navbar-inner { padding: 0 16px; }
    .navbar-center { gap: 20px; }
    .nav-link { font-size: 14px; }
    .logo-sub { display: none; }

    .main-content {
        padding: calc(var(--nav-height) + 40px) 16px 60px;
    }

    .section-title {
        font-size: 28px;
        letter-spacing: 3px;
    }

    .tool-desc {
        font-size: 14px;
        max-width: 320px;
    }

    .btn-download-big {
        padding: 16px 44px;
        font-size: 16px;
    }

    .section-features {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .section-hero {
        gap: 20px;
        padding-bottom: 40px;
    }

    .footer-main {
        flex-direction: column;
        gap: 32px;
    }

    .footer-qr {
        align-self: flex-start;
    }

    .modal-box {
        padding: 28px 20px 24px;
    }
}

@media (max-width: 480px) {
    .navbar-center { gap: 12px; }
    .nav-link { font-size: 12px; }

    .btn-download-nav {
        padding: 7px 14px;
        font-size: 13px;
    }

    .logo-text { font-size: 20px; }

    .section-title {
        font-size: 24px;
    }
    .hero-slogan {
        font-size: 15px;
    }
    .btn-download-big {
        padding: 14px 36px;
        font-size: 15px;
        letter-spacing: 2px;
    }
}
