/* ============================================================
   LolipopoChat · 单页下载站样式
   设计:现代简洁、强调对比 + 渐变强调色,响应式
   ============================================================ */

:root {
    --c-bg: #0b1020;
    --c-bg-2: #0f1530;
    --c-surface: #ffffff;
    --c-surface-2: #f6f8fc;
    --c-border: #e6e9f2;
    --c-text: #1a1f36;
    --c-text-2: #5b6478;
    --c-text-3: #8a93a6;
    --c-primary: #0f8a5f;
    --c-primary-2: #f5b800;
    --c-success: #16a34a;
    --c-warning: #ef4444;
    --c-poker-green: #0a6b48;
    --c-poker-green-2: #0f8a5f;
    --c-poker-gold: #f5b800;
    --c-poker-red: #c1272d;
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, .04), 0 1px 3px rgba(15, 23, 42, .06);
    --shadow-md: 0 6px 16px rgba(15, 23, 42, .08), 0 2px 4px rgba(15, 23, 42, .04);
    --shadow-lg: 0 20px 40px rgba(15, 23, 42, .12), 0 6px 12px rgba(15, 23, 42, .06);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-xl: 24px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

/* 修复:让 [hidden] 始终生效,不被类选择器里的 display 覆盖 */
[hidden] { display: none !important; }

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei",
                 "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
    color: var(--c-text);
    background: var(--c-surface-2);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

a { color: var(--c-primary); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; display: block; }

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}
.container-narrow { max-width: 820px; }

/* ---------- 顶部导航 ---------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, .86);
    backdrop-filter: saturate(160%) blur(12px);
    -webkit-backdrop-filter: saturate(160%) blur(12px);
    border-bottom: 1px solid var(--c-border);
}
.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    gap: 16px;
}
.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--c-text);
    font-weight: 700;
}
.brand:hover { text-decoration: none; }
.brand-logo {
    width: 32px;
    height: 32px;
    display: inline-flex;
    border-radius: 8px;
    overflow: hidden;
}
.brand-logo svg { width: 100%; height: 100%; }
.brand-name {
    font-size: 17px;
    letter-spacing: .2px;
    background: linear-gradient(135deg, var(--c-primary), var(--c-primary-2));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.nav-links {
    display: flex;
    gap: 22px;
    flex: 1;
    justify-content: center;
}
.nav-links a {
    color: var(--c-text-2);
    font-size: 14px;
    font-weight: 500;
    padding: 6px 2px;
}
.nav-links a:hover { color: var(--c-primary); text-decoration: none; }
.nav-cta {
    padding: 9px 18px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--c-primary), var(--c-primary-2));
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 6px 16px rgba(124, 92, 255, .35);
    transition: transform .15s ease, box-shadow .2s ease;
}
.nav-cta:hover { text-decoration: none; transform: translateY(-1px); }

/* ---------- Hero ---------- */

.hero {
    position: relative;
    overflow: hidden;
    padding: 64px 0 96px;
    background:
        radial-gradient(1200px 600px at 12% -10%, rgba(15, 138, 95, .35), transparent 60%),
        radial-gradient(900px 500px at 100% 0%, rgba(245, 184, 0, .22), transparent 60%),
        linear-gradient(180deg, #062a1e 0%, #03150e 100%);
    color: #fff;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
    background-size: 32px 32px;
    mask-image: radial-gradient(900px 400px at 50% 30%, #000, transparent);
    -webkit-mask-image: radial-gradient(900px 400px at 50% 30%, #000, transparent);
    pointer-events: none;
}
.hero-inner {
    position: relative;
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 48px;
    align-items: center;
}
.hero-tag {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(15, 138, 95, .18);
    border: 1px solid rgba(245, 184, 0, .45);
    color: #ffd76e;
    font-size: 13px;
    margin-bottom: 18px;
}
.hero h1 {
    font-size: 42px;
    line-height: 1.15;
    font-weight: 800;
    margin: 0 0 16px;
    letter-spacing: -.5px;
    background: linear-gradient(120deg, #fff 30%, #ffe9a8 90%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero-subtitle {
    color: #c8d8ce;
    font-size: 16px;
    max-width: 540px;
    margin: 0 0 22px;
}
.hero-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    color: #c8d8ce;
    font-size: 14px;
    margin-bottom: 22px;
}
.hero-meta em { font-style: normal; color: #fbbf24; font-weight: 700; }
.hero-meta .rating { color: #fbbf24; }
.hero-meta .sep { color: #2a4438; }

.hero-actions {
    display: flex;
    gap: 12px;
    margin-bottom: 22px;
    flex-wrap: wrap;
}
.hero-points {
    list-style: none;
    padding: 0;
    margin: 0;
    color: #c8d8ce;
    font-size: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}
.hero-points li { white-space: nowrap; }

/* 手机 mockup */
.hero-mock {
    display: flex;
    justify-content: center;
}
.phone {
    position: relative;
    width: 280px;
    height: 560px;
    border-radius: 42px;
    background: linear-gradient(160deg, #1c2c25, #07140d);
    padding: 14px;
    box-shadow:
        0 30px 60px rgba(0, 0, 0, .35),
        inset 0 0 0 2px rgba(255, 255, 255, .08);
    transform: rotate(-3deg);
}
.poker-phone::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 42px;
    background: linear-gradient(160deg, rgba(15, 138, 95, .55), rgba(245, 184, 0, .35));
    filter: blur(40px);
    opacity: .45;
    z-index: -1;
}
.phone-notch {
    position: absolute;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    width: 110px;
    height: 22px;
    background: #03150e;
    border-radius: 14px;
    z-index: 2;
}
.phone-screen {
    width: 100%;
    height: 100%;
    border-radius: 30px;
    background: #f7f8fc;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.poker-screen { background: #0a4a32; }

/* 扑克桌 mockup */
.pk-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 32px 14px 8px;
    color: #ffd76e;
    font-size: 12px;
    background: linear-gradient(180deg, #053824, #0a4a32);
}
.pk-table-name { font-weight: 700; }
.pk-blinds { background: rgba(255, 215, 110, .15); padding: 3px 8px; border-radius: 10px; }

.pk-table {
    flex: 1;
    position: relative;
    background:
        radial-gradient(ellipse at center, #0a6b48 0%, #053824 100%);
    border: 2px solid rgba(255, 215, 110, .3);
    margin: 6px;
    border-radius: 18px;
}

.pk-player {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: #fff;
}
.pk-player-top { top: 14px; left: 50%; transform: translateX(-50%); }
.pk-player-left { top: 60%; left: 12px; }
.pk-player-right { top: 60%; right: 12px; }

.pk-avatar {
    width: 34px; height: 34px;
    border-radius: 50%;
    border: 2px solid #ffd76e;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, .3);
}
.pa-1 { background: linear-gradient(135deg, #f87171, #dc2626); }
.pa-2 { background: linear-gradient(135deg, #fbbf24, #f59e0b); }
.pa-3 { background: linear-gradient(135deg, #60a5fa, #2563eb); }
.pk-stack {
    background: rgba(0, 0, 0, .6);
    color: #ffd76e;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}

.pk-community {
    position: absolute;
    top: 58px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 4px;
}
.pk-hand {
    position: absolute;
    bottom: 78px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
}

.pk-card {
    width: 28px;
    height: 38px;
    background: #fff;
    border-radius: 5px;
    color: #1a1f36;
    font-weight: 800;
    text-align: center;
    font-size: 13px;
    line-height: 1.05;
    padding-top: 3px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .3);
    border: 1px solid rgba(0, 0, 0, .1);
}
.pk-card.c-red { color: var(--c-poker-red); }
.c-suit { font-size: 11px; }
.pk-card.back {
    background:
        repeating-linear-gradient(45deg, #1e4d8b, #1e4d8b 4px, #2d68b0 4px, #2d68b0 8px);
    color: transparent;
}

.pk-pot {
    position: absolute;
    bottom: 130px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, .55);
    border: 1px solid #ffd76e;
    border-radius: 10px;
    padding: 4px 12px;
    text-align: center;
    color: #fff;
}
.pk-pot-label { font-size: 9px; color: #ffd76e; letter-spacing: 1px; }
.pk-pot-amount { font-size: 13px; font-weight: 700; white-space: nowrap; }

.pk-actions {
    padding: 10px 12px;
    background: #053824;
    display: grid;
    grid-template-columns: 1fr 1fr 1.4fr;
    gap: 6px;
}
.pk-btn {
    border: 0;
    padding: 9px 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, .1);
    color: #ffd76e;
    font-weight: 700;
    font-size: 12px;
    cursor: pointer;
    letter-spacing: 1px;
}
.pk-btn-primary {
    background: linear-gradient(135deg, #f5b800, #f59e0b);
    color: #1a1f36;
    box-shadow: 0 4px 10px rgba(245, 184, 0, .4);
}

/* ---------- 通用 Section ---------- */

.section { padding: 88px 0; }
.section-features { background: var(--c-surface); }
.section-shots { background: linear-gradient(180deg, #f6f8fc, #ffffff); }
.section-download {
    background: linear-gradient(180deg, #03150e, #062a1e);
    color: #fff;
}
.section-faq { background: var(--c-surface); }
.section-reviews { background: var(--c-surface-2); }
.section-about { background: var(--c-surface); }

.section-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 48px;
}
.section-head h2 {
    font-size: 32px;
    margin: 0 0 12px;
    letter-spacing: -.5px;
}
.section-head p {
    color: var(--c-text-2);
    margin: 0;
    font-size: 16px;
}
.section-download .section-head h2 { color: #fff; }
.section-download .section-head p { color: #b8c0d6; }

/* ---------- 功能卡片 ---------- */

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.feature-card {
    background: #fff;
    padding: 28px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--c-border);
    box-shadow: var(--shadow-sm);
    transition: transform .2s ease, box-shadow .2s ease;
}
.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.feature-icon {
    width: 52px; height: 52px;
    border-radius: var(--radius-md);
    display: grid; place-items: center;
    font-size: 24px;
    margin-bottom: 14px;
}
.icon-1 { background: linear-gradient(135deg, #d1fae5, #6ee7b7); }
.icon-2 { background: linear-gradient(135deg, #fef3c7, #fde68a); }
.icon-3 { background: linear-gradient(135deg, #dcfce7, #86efac); }
.icon-4 { background: linear-gradient(135deg, #cffafe, #67e8f9); }
.icon-5 { background: linear-gradient(135deg, #fee2e2, #fca5a5); }
.icon-6 { background: linear-gradient(135deg, #ede9fe, #c4b5fd); }
.feature-card h3 {
    margin: 0 0 8px;
    font-size: 18px;
}
.feature-card p {
    margin: 0;
    color: var(--c-text-2);
    font-size: 14px;
    line-height: 1.6;
}

/* ---------- 截图 ---------- */

.shots-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 32px;
}
.shot-tab {
    padding: 9px 18px;
    border: 1px solid var(--c-border);
    background: #fff;
    color: var(--c-text-2);
    border-radius: 999px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all .2s ease;
}
.shot-tab:hover { color: var(--c-primary); border-color: var(--c-primary); }
.shot-tab.active {
    background: linear-gradient(135deg, var(--c-primary), var(--c-primary-2));
    color: #fff;
    border-color: transparent;
    box-shadow: 0 6px 14px rgba(124, 92, 255, .3);
}
.shots-stage {
    display: flex;
    justify-content: center;
}
.shot-frame {
    width: 320px;
    height: 600px;
    border-radius: 36px;
    background: linear-gradient(160deg, #1f2547, #0f1530);
    padding: 12px;
    box-shadow: var(--shadow-lg);
    position: relative;
}
.shot-placeholder {
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    bottom: 12px;
    border-radius: 26px;
    background: #f7f8fc;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    z-index: 1;
}
.shot-placeholder:not([hidden]) { z-index: 2; }
.ph-bar {
    height: 56px;
    background: linear-gradient(135deg, #0f8a5f, #f5b800);
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
}
.ph-bar.center {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
}
.poker-bar { padding: 0 16px; display: flex; align-items: center; color: #fff; font-weight: 700; font-size: 15px; letter-spacing: .5px; }
.poker-frame { background: linear-gradient(160deg, #1c2c25, #07140d); }
.poker-ph { background: #0a4a32; }
.ph-list { padding: 16px; display: flex; flex-direction: column; gap: 16px; }
.ph-item { display: flex; gap: 12px; align-items: center; }
.ph-av {
    width: 44px; height: 44px; border-radius: 50%;
    background: linear-gradient(135deg, #c7d2fe, #a5b4fc);
    flex-shrink: 0;
}
.ph-av.b { background: linear-gradient(135deg, #fbcfe8, #f9a8d4); }
.ph-av.c { background: linear-gradient(135deg, #a7f3d0, #6ee7b7); }
.ph-av.d { background: linear-gradient(135deg, #fde68a, #fcd34d); }
.ph-lines { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.ph-line {
    height: 9px;
    background: #e2e7f3;
    border-radius: 4px;
}
.ph-line.w70 { width: 70%; }
.ph-line.w50 { width: 50%; }
.ph-line.w80 { width: 80%; }
.ph-line.w40 { width: 40%; }
.ph-line.w60 { width: 60%; }
.ph-line.w75 { width: 75%; }
.ph-line.w45 { width: 45%; }

.ph-chat {
    padding: 20px 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}
.ph-bubble {
    max-width: 75%;
    padding: 10px 14px;
    border-radius: 16px;
    font-size: 13px;
    box-shadow: var(--shadow-sm);
}
.ph-bubble.other { background: #fff; align-self: flex-start; border-bottom-left-radius: 4px; }
.ph-bubble.me {
    background: linear-gradient(135deg, #7c5cff, #22d3ee);
    color: #fff;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.ph-call {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px;
    color: var(--c-text);
}
.ph-circle {
    width: 110px; height: 110px;
    border-radius: 50%;
    background: linear-gradient(135deg, #7c5cff, #22d3ee);
    margin-bottom: 18px;
    box-shadow: 0 0 0 12px rgba(124, 92, 255, .15);
}
.ph-name { font-size: 18px; font-weight: 700; }
.ph-time { color: var(--c-text-2); font-size: 13px; margin-top: 4px; }
.ph-controls { display: flex; gap: 22px; margin-top: 28px; }
.ph-ctrl {
    width: 48px; height: 48px;
    border-radius: 50%;
    background: #e7ebf6;
    box-shadow: var(--shadow-sm);
}
.ph-ctrl.on { background: linear-gradient(135deg, #22c55e, #16a34a); }

.ph-files { padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.ph-file {
    display: flex; align-items: center; gap: 12px;
    background: #fff;
    padding: 12px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}
.ph-file-ic {
    width: 40px; height: 40px;
    border-radius: 8px;
    background: linear-gradient(135deg, #c7d2fe, #a5b4fc);
    flex-shrink: 0;
}
.ph-file-ic.b { background: linear-gradient(135deg, #fbcfe8, #f9a8d4); }
.ph-file-ic.c { background: linear-gradient(135deg, #a7f3d0, #6ee7b7); }
.ph-file-ic.d { background: linear-gradient(135deg, #fde68a, #fcd34d); }
.ph-file-name { font-size: 13px; color: var(--c-text); font-weight: 500; }

.ph-settings { padding: 16px; display: flex; flex-direction: column; }
.ph-set-item {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 4px;
    border-bottom: 1px solid #eef0f7;
}
.ph-set-item:last-child { border-bottom: 0; }
.ph-set-item > span:first-child {
    display: block;
    width: 60%;
    height: 9px;
    background: #e2e7f3;
    border-radius: 4px;
}
.ph-toggle {
    width: 38px; height: 22px;
    border-radius: 999px;
    background: #d1d6e3;
    position: relative;
}
.ph-toggle::after {
    content: "";
    position: absolute;
    width: 18px; height: 18px;
    background: #fff;
    border-radius: 50%;
    top: 2px; left: 2px;
    box-shadow: var(--shadow-sm);
}
.ph-toggle.on { background: linear-gradient(135deg, #7c5cff, #22d3ee); }
.ph-toggle.on::after { left: 18px; }

/* ---------- 截图 · 扑克主题专用样式 ---------- */

/* Lobi (tab 0) */
.pk-lobby { padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.pk-lobby-item {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    box-shadow: var(--shadow-sm);
    border: 1px solid transparent;
}
.pk-lobby-item.highlight {
    border-color: #f5b800;
    box-shadow: 0 4px 12px rgba(245, 184, 0, .25);
}
.lobby-name { font-weight: 700; color: #1a1f36; font-size: 14px; }
.lobby-meta { font-size: 11px; color: var(--c-text-3); margin-top: 3px; }
.lobby-btn {
    background: linear-gradient(135deg, #0f8a5f, #0a6b48);
    color: #fff;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    flex-shrink: 0;
}
.lobby-btn.warn { background: linear-gradient(135deg, #f5b800, #d97706); color: #1a1f36; }

/* Meja mini (tab 1) */
.pk-mini-table {
    flex: 1;
    margin: 14px;
    background:
        radial-gradient(ellipse at center, #0a6b48 0%, #053824 100%);
    border: 2px solid rgba(245, 184, 0, .35);
    border-radius: 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    color: #fff;
    padding: 18px;
}
.pk-mini-pots {
    background: rgba(0, 0, 0, .55);
    border: 1px solid #ffd76e;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 12px;
    color: #fff;
}
.pk-mini-pots b { color: #ffd76e; margin-left: 6px; }
.pk-mini-community, .pk-mini-hand {
    display: flex;
    gap: 6px;
}
.pk-mini-hand { gap: 8px; }
.mini-card {
    width: 36px;
    height: 50px;
    background: #fff;
    border-radius: 6px;
    color: #1a1f36;
    font-weight: 800;
    font-size: 13px;
    display: grid;
    place-items: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, .3);
    border: 1px solid rgba(0, 0, 0, .1);
}
.mini-card.c-red { color: var(--c-poker-red); }
.mini-card.big { width: 56px; height: 80px; font-size: 18px; }
.mini-card.back {
    background: repeating-linear-gradient(45deg, #1e4d8b, #1e4d8b 5px, #2d68b0 5px, #2d68b0 10px);
    color: transparent;
}

/* Kamar (tab 2) */
.pk-rooms { padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.pk-room {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 14px;
    box-shadow: var(--shadow-sm);
}
.room-row1 { display: flex; justify-content: space-between; align-items: center; }
.room-title { font-weight: 700; color: #1a1f36; font-size: 14px; }
.room-state {
    font-size: 10px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 999px;
    letter-spacing: 1px;
}
.room-state.open { background: #dcfce7; color: #16a34a; }
.room-state.play { background: #fef3c7; color: #d97706; }
.room-state.closed { background: #fee2e2; color: #dc2626; }
.room-meta { font-size: 11px; color: var(--c-text-3); margin-top: 6px; }
.create-room-btn {
    background: linear-gradient(135deg, #0f8a5f, #0a6b48);
    color: #fff;
    border: 0;
    padding: 12px;
    border-radius: var(--radius-md);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 4px;
}

/* Statistik (tab 3) */
.pk-stats { padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.stat-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}
.stat-card {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 12px 8px;
    text-align: center;
    box-shadow: var(--shadow-sm);
}
.stat-label { font-size: 10px; color: var(--c-text-3); }
.stat-num {
    font-size: 18px;
    font-weight: 800;
    color: #1a1f36;
    margin-top: 3px;
}
.stat-num.up { color: #16a34a; }
.stat-graph {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 14px;
    box-shadow: var(--shadow-sm);
}
.graph-title {
    font-size: 11px;
    color: var(--c-text-3);
    margin-bottom: 10px;
}
.graph-bars {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    height: 70px;
}
.gbar {
    flex: 1;
    height: var(--h);
    background: linear-gradient(180deg, #e5e7eb, #cbd5e1);
    border-radius: 4px 4px 0 0;
}
.gbar.up { background: linear-gradient(180deg, #34d399, #0f8a5f); }
.stat-row {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 10px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow-sm);
    font-size: 12px;
}
.stat-row-label { color: var(--c-text-3); }
.stat-row-value { font-weight: 700; color: #1a1f36; }

/* Liga / Leaderboard (tab 4) */
.pk-leader { padding: 16px; display: flex; flex-direction: column; gap: 6px; }
.lb-row {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    padding: 10px 14px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    font-size: 13px;
}
.lb-row.top1 { background: linear-gradient(135deg, #fef3c7, #fde68a); }
.lb-row.top2 { background: linear-gradient(135deg, #f1f5f9, #e2e8f0); }
.lb-row.top3 { background: linear-gradient(135deg, #fce7f3, #fbcfe8); }
.lb-row.me {
    border: 2px solid #f5b800;
    box-shadow: 0 4px 10px rgba(245, 184, 0, .25);
}
.lb-rank {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(0, 0, 0, .08);
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 12px;
    flex-shrink: 0;
}
.lb-name { flex: 1; }
.lb-score { font-weight: 700; color: #0f8a5f; }

.shots-note {
    text-align: center;
    color: var(--c-text-3);
    font-size: 13px;
    margin-top: 28px;
}

/* ---------- 下载 ---------- */

.dl-summary {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-bottom: 36px;
}
.dl-stat {
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: var(--radius-md);
    padding: 18px 16px;
    text-align: center;
    backdrop-filter: blur(8px);
}
.dl-num {
    font-size: 22px;
    font-weight: 800;
    background: linear-gradient(135deg, #fff, #a5b4fc);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.dl-lbl {
    font-size: 13px;
    color: #b8c0d6;
    margin-top: 4px;
}

.dl-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-bottom: 36px;
}
.dl-card {
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: var(--radius-lg);
    padding: 26px 22px;
    color: #fff;
    position: relative;
    transition: transform .2s ease, border-color .2s ease;
}
.dl-card:hover {
    transform: translateY(-3px);
    border-color: rgba(124, 92, 255, .55);
}
.dl-badge {
    position: absolute;
    top: 14px; right: 14px;
    padding: 4px 10px;
    background: linear-gradient(135deg, #7c5cff, #22d3ee);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    letter-spacing: .5px;
}
.dl-ic { font-size: 32px; margin-bottom: 8px; }
.dl-card h3 {
    margin: 0 0 14px;
    font-size: 18px;
}
.dl-spec {
    list-style: none;
    padding: 0;
    margin: 0 0 18px;
    font-size: 13px;
    color: #c4cbe0;
}
.dl-spec li {
    display: flex;
    justify-content: space-between;
    padding: 7px 0;
    border-bottom: 1px dashed rgba(255, 255, 255, .1);
}
.dl-spec li:last-child { border-bottom: 0; }
.dl-spec b {
    color: #fff;
    font-weight: 600;
}
.hash { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; }

.dl-tips {
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: var(--radius-md);
    padding: 18px 22px;
    margin-bottom: 36px;
    color: #d8def0;
    font-size: 14px;
}
.dl-tips h4 {
    margin: 0 0 10px;
    color: #fff;
    font-size: 15px;
}
.dl-tips ul {
    margin: 0;
    padding-left: 22px;
    line-height: 1.8;
}

.version-log h3 {
    font-size: 22px;
    margin: 0 0 18px;
    color: #fff;
}
.log-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.log-list li {
    display: flex;
    gap: 14px;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: var(--radius-md);
    padding: 16px 18px;
}
.log-tag {
    flex-shrink: 0;
    padding: 4px 10px;
    background: linear-gradient(135deg, #7c5cff, #22d3ee);
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    height: fit-content;
    color: #fff;
}
.log-tag:not(:first-child) { background: rgba(255, 255, 255, .15); }
.log-title { color: #fff; font-weight: 600; margin-bottom: 4px; }
.log-desc { color: #c4cbe0; font-size: 13px; }

/* ---------- 按钮 ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 22px;
    border-radius: 999px;
    border: 1px solid transparent;
    font: inherit;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
    text-decoration: none;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
    background: linear-gradient(135deg, #7c5cff, #22d3ee);
    color: #fff;
    box-shadow: 0 10px 24px rgba(124, 92, 255, .35);
}
.btn-primary:hover { text-decoration: none; }
.btn-ghost {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, .4);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .08); }
.section:not(.section-download) .btn-ghost {
    color: var(--c-text);
    border-color: var(--c-border);
    background: #fff;
}
.section:not(.section-download) .btn-ghost:hover {
    background: var(--c-surface-2);
    border-color: var(--c-primary);
    color: var(--c-primary);
}
.btn-block { width: 100%; }

/* ---------- FAQ ---------- */

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.faq-item {
    background: #fff;
    border: 1px solid var(--c-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.faq-item[open] { border-color: var(--c-primary); box-shadow: var(--shadow-sm); }
.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 16px 20px;
    font-weight: 600;
    color: var(--c-text);
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: "+";
    font-size: 22px;
    font-weight: 400;
    color: var(--c-text-3);
    transition: transform .2s ease;
    flex-shrink: 0;
}
.faq-item[open] summary::after { content: "−"; color: var(--c-primary); }
.faq-item summary:hover { color: var(--c-primary); }
.faq-answer {
    padding: 0 20px 18px;
    color: var(--c-text-2);
    font-size: 14px;
    line-height: 1.7;
}

/* ---------- 评价 ---------- */

.review-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}
.review-card {
    background: #fff;
    padding: 24px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--c-border);
    box-shadow: var(--shadow-sm);
    transition: transform .2s ease, box-shadow .2s ease;
}
.review-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}
.review-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}
.review-head .avatar {
    width: 44px; height: 44px; border-radius: 50%;
}
.avatar-1 { background: linear-gradient(135deg, #fbcfe8, #f9a8d4); }
.avatar-2 { background: linear-gradient(135deg, #bae6fd, #7dd3fc); }
.avatar-3 { background: linear-gradient(135deg, #c7d2fe, #a5b4fc); }
.avatar-4 { background: linear-gradient(135deg, #a7f3d0, #6ee7b7); }
.review-name { font-weight: 700; }
.review-meta { font-size: 12px; color: var(--c-text-3); }
.review-card h4 {
    margin: 0 0 6px;
    font-size: 16px;
}
.review-card p {
    margin: 0 0 12px;
    color: var(--c-text-2);
    font-size: 14px;
}
.review-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.review-tags span {
    padding: 3px 10px;
    border-radius: 999px;
    background: var(--c-surface-2);
    color: var(--c-text-2);
    font-size: 12px;
}

/* ---------- 关于 ---------- */

.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}
.about-card {
    background: #fff;
    border: 1px solid var(--c-border);
    border-radius: var(--radius-md);
    padding: 18px 20px;
    box-shadow: var(--shadow-sm);
}
.about-card h3 {
    margin: 0 0 6px;
    font-size: 13px;
    color: var(--c-text-3);
    text-transform: uppercase;
    letter-spacing: .5px;
    font-weight: 600;
}
.about-card p {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--c-text);
}
.about-story {
    background: #fff;
    border: 1px solid var(--c-border);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-sm);
}
.about-story h3 {
    margin: 0 0 12px;
    font-size: 18px;
}
.about-story p {
    margin: 0;
    color: var(--c-text-2);
    line-height: 1.8;
}

/* ---------- 页脚 ---------- */

.site-footer {
    background: #03150e;
    color: #c4d4c8;
    padding-top: 56px;
}
.footer-inner {
    display: grid;
    grid-template-columns: 1.2fr 2fr;
    gap: 48px;
    padding-bottom: 36px;
}
.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}
.footer-brand .brand-name {
    font-size: 18px;
    background: linear-gradient(135deg, #fff, #a5b4fc);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.brand-slogan { color: #8a93a6; font-size: 13px; margin-top: 2px; }
.footer-cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.footer-col h5 {
    margin: 0 0 12px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
}
.footer-col a {
    display: block;
    color: #b8c0d6;
    font-size: 13px;
    padding: 4px 0;
    transition: color .15s ease;
}
.footer-col a:hover { color: #fff; text-decoration: none; }
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .08);
    padding: 18px 0;
    font-size: 13px;
    color: #8a93a6;
}
.footer-bottom .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
}
.footer-bottom a { color: #8a93a6; }
.footer-bottom a:hover { color: #fff; }
.footer-bottom .sep { margin: 0 8px; color: #4a5275; }

/* ---------- 模态框 ---------- */

.modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: none;
    place-items: center;
    padding: 20px;
}
.modal:not([hidden]) {
    display: grid;
}
.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(11, 16, 32, .65);
    backdrop-filter: blur(4px);
    animation: fadeIn .2s ease;
}
.modal-panel {
    position: relative;
    max-width: 420px;
    width: 100%;
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 32px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    animation: popIn .25s ease;
}
.modal-icon {
    width: 64px; height: 64px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: linear-gradient(135deg, #7c5cff, #22d3ee);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 28px;
    box-shadow: 0 10px 24px rgba(124, 92, 255, .35);
}
.modal-panel h3 {
    margin: 0 0 10px;
    font-size: 20px;
}
.modal-text {
    margin: 0 0 22px;
    color: var(--c-text-2);
    font-size: 14px;
}
.modal-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 14px;
}
.modal-hint {
    margin: 0;
    font-size: 12px;
    color: var(--c-text-3);
}
.modal-close {
    position: absolute;
    top: 14px; right: 14px;
    width: 32px; height: 32px;
    border-radius: 50%;
    border: 0;
    background: var(--c-surface-2);
    color: var(--c-text-2);
    font-size: 22px;
    cursor: pointer;
    line-height: 1;
}
.modal-close:hover { background: var(--c-border); }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes popIn {
    from { opacity: 0; transform: scale(.95); }
    to { opacity: 1; transform: scale(1); }
}

/* ---------- 响应式 ---------- */

@media (max-width: 960px) {
    .nav-links { display: none; }
    .hero-inner { grid-template-columns: 1fr; }
    .hero-mock { order: -1; }
    .hero h1 { font-size: 36px; }
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .dl-grid { grid-template-columns: 1fr; }
    .dl-summary { grid-template-columns: repeat(2, 1fr); }
    .review-grid { grid-template-columns: 1fr; }
    .about-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-inner { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .container { padding: 0 18px; }
    .section { padding: 64px 0; }
    .hero { padding: 48px 0 64px; }
    .hero h1 { font-size: 30px; }
    .section-head h2 { font-size: 26px; }
    .feature-grid { grid-template-columns: 1fr; }
    .about-grid { grid-template-columns: 1fr; }
    .footer-cols { grid-template-columns: repeat(2, 1fr); }
    .nav-cta { padding: 7px 14px; font-size: 13px; }
    .dl-summary { grid-template-columns: 1fr 1fr; }
    .phone { transform: rotate(0); }
}
