/* theme-a3.css - 暗黑专业风格 */
:root {
    --bg: #07080a;
    --card: #12141a;
    --head: #0a0b0e;
    --accent: #d4a853;
    --accent-light: #e8c06a;
    --text: #ffffff;
    --text-dim: #999999;
    --border: #1e2028;
    --btn-1-bg: #1a1a1a;
    --btn-1-text: #bbbbbb;
    --btn-2-bg: linear-gradient(135deg, #d4a853 0%, #b8860b 100%);
    --btn-2-text: #ffffff;
    --radius: 12px;
    --head-text: #d4a853;
    --badge-bg: rgba(212,168,83,0.12);
    --badge-border: #d4a853;
    --badge-color: #d4a853;
    --desc-bg: rgba(255,255,255,0.02);
    --desc-border: rgba(212,168,83,0.3);
    --card-hover-shadow: 0 12px 40px rgba(0,0,0,0.7), 0 0 20px rgba(212,168,83,0.1);
    --live-bg: rgba(255,255,255,0.03);
    --feature-bg: #12141a;
    --ticker-bg: #0a0b0e;
    --footer-bg: #0a0b0e;
}

body {
    font-family: 'SF Pro Display', 'Helvetica Neue', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    background: var(--bg);
    color: var(--text);
    margin: 0;
    padding-top: 85px;
    -webkit-font-smoothing: antialiased;
}

/* 顶部导航 */
.top-bar {
    position: fixed; top: 0; width: 100%; z-index: 1000;
    background: rgba(10,11,14,0.95);
    backdrop-filter: blur(20px);
    display: flex; justify-content: space-between; align-items: center;
    padding: 12px 20px;
    border-bottom: 1px solid rgba(212,168,83,0.15);
    box-sizing: border-box;
    margin: 0;
}
.top-bar .site-name { font-size: 14px; font-weight: 700; color: var(--accent); letter-spacing: 3px; }
.apply-btn {
    text-decoration: none;
    border: 1px solid rgba(212,168,83,0.5);
    background: rgba(212,168,83,0.05);
    color: var(--accent);
    padding: 6px 16px; border-radius: 20px;
    font-size: 11px; letter-spacing: 1px;
    transition: 0.3s;
}
.apply-btn:hover { background: var(--accent); color: #fff; box-shadow: 0 0 15px rgba(212,168,83,0.4); }

/* 滚动播报 */
.ticker-wrap {
    position: fixed; top: 48px; width: 100%; z-index: 999;
    background: var(--ticker-bg); height: 30px; line-height: 30px;
    font-size: 11px; color: var(--accent);
    border-bottom: 1px solid var(--border);
    overflow: hidden; opacity: 0.8;
}
.ticker { display: inline-block; white-space: nowrap; animation: tickerMove 35s linear infinite; }
@keyframes tickerMove { 0% { transform: translateX(100vw); } 100% { transform: translateX(-100%); } }

/* 头部 */
header {
    background: var(--head); padding: 40px 20px 70px;
    text-align: center; border-bottom: 1px solid var(--border);
}
.logo {
    font-size: 1.6rem; font-weight: 800; letter-spacing: 6px;
    color: var(--head-text); margin: 0;
    text-shadow: 0 0 20px rgba(212,168,83,0.3);
}
.sub-logo { font-size: 9px; opacity: 0.4; color: var(--text-dim); margin-top: 8px; letter-spacing: 3px; text-transform: uppercase; }

/* 功能矩阵 */
.features {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px;
    max-width: 850px; margin: -40px auto 30px; padding: 0 12px;
}
.f-item {
    background: var(--feature-bg); border: 1px solid var(--border);
    border-radius: 10px; padding: 15px 4px; text-align: center;
    cursor: pointer; transition: 0.3s;
}
.f-item:hover { border-color: var(--accent); transform: translateY(-2px); }
.f-icon-box {
    width: 40px; height: 40px; background: #000; border: 1px solid var(--border);
    border-radius: 8px; display: flex; align-items: center; justify-content: center;
    font-size: 18px; margin: 0 auto 10px;
}
.f-item span { font-size: 11px; color: #ccc; }

/* 容器 */
.container { max-width: 1050px; margin: 0 auto; padding: 0 12px 60px; }
.audit-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
/* 轮播广告 */
.mobile-banner-wrap { display: none; }

@media (max-width: 768px) {
    .audit-grid { grid-template-columns: 1fr; }
    .features { grid-template-columns: repeat(2, 1fr); }
    body { padding-top: 50px; }
    .top-bar { padding: 10px 12px; }
    .top-bar .site-name { font-size: 13px; letter-spacing: 1px; }
    .apply-btn { padding: 5px 10px; font-size: 10px; }
    .ticker-wrap { position: sticky; top: 0; }
    header { display: none; }
    .mobile-banner-wrap { display: block; margin: 8px 0; overflow: hidden; height: 120px; }
    .mobile-banner-track { display: flex; height: 120px; transition: transform 0.4s ease; }
    .mobile-banner-track.no-transition { transition: none; }
    .mobile-banner-track img { width: 100vw; height: 120px; object-fit: cover; flex-shrink: 0; }
}

/* 卡片 */
.card {
    background: var(--card); border: 1px solid var(--border);
    border-top: 2px solid var(--accent);
    border-radius: var(--radius); overflow: hidden;
    transition: 0.3s; display: flex; flex-direction: column;
    box-shadow: 0 2px 16px rgba(0,0,0,0.5);
}
.card:hover {
    border-color: rgba(212,168,83,0.5);
    border-top-color: var(--accent);
    box-shadow: var(--card-hover-shadow);
    transform: translateY(-3px);
}
.card-link { text-decoration: none !important; color: inherit; display: block; -webkit-tap-highlight-color: transparent; }
.card-link:hover, .card-link:active, .card-link * { text-decoration: none !important; }
.card-head {
    padding: 10px 15px; background: rgba(255,255,255,0.04);
    display: flex; justify-content: space-between; align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.tag { font-size: 10px; color: #777; letter-spacing: 1px; font-family: monospace; }
.badge {
    font-size: 9px; background: var(--badge-bg); border: 1px solid var(--badge-border);
    color: var(--badge-color); padding: 2px 8px; border-radius: 4px; font-weight: 600;
    letter-spacing: 0.5px;
}
.card-main { padding: 20px; flex-grow: 1; }
.app-row { display: flex; gap: 20px; align-items: stretch; margin-bottom: 20px; }
.icon {
    width: 100px; height: 100px; background: #000;
    border: 1px solid rgba(212,168,83,0.2);
    border-radius: 18px; display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3), inset 0 0 20px rgba(0,0,0,0.5);
}
.icon img { width: 100%; height: 100%; object-fit: cover; }
.name-wrapper { display: flex; flex-direction: column; justify-content: space-between; padding: 2px 0; }
.name h3 { margin: 0; font-size: 1.25rem; font-weight: 600; color: #fff; letter-spacing: 1px; text-shadow: 0 1px 2px rgba(0,0,0,0.3); }
.live {
    font-size: 11px; color: #888; display: flex; align-items: center; gap: 6px;
    background: var(--live-bg); padding: 5px 10px; border-radius: 6px; width: fit-content;
}
.dot { width: 7px; height: 7px; background: #00e676; border-radius: 50%; animation: blink 2s infinite; }
@keyframes blink { 50% { opacity: 0.3; } }
.stars { color: #ffd700; font-size: 11px; letter-spacing: 2px; opacity: 0.8; }
.desc {
    font-size: 13px; color: var(--text-dim); line-height: 1.75;
    background: var(--desc-bg); padding: 15px; border-radius: 8px;
    border-left: 3px solid var(--desc-border); min-height: 75px;
    display: flex; align-items: center; letter-spacing: 0.5px;
}
.card-btns {
    padding: 15px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
    background: rgba(0,0,0,0.25);
    border-top: 1px solid rgba(255,255,255,0.05);
}
.btn {
    padding: 11px; border-radius: 8px; font-size: 13px; font-weight: 500;
    text-decoration: none; text-align: center; transition: 0.3s; display: block;
}
.btn-1 { background: var(--btn-1-bg); color: var(--btn-1-text); border: 1px solid var(--border); }
.btn-1:hover { background: #222; color: #fff; }
.btn-2 { background: var(--btn-2-bg); color: var(--btn-2-text); }
.btn-2:hover { opacity: 0.9; transform: translateY(-1px); }

/* 底部 */
footer { text-align: center; padding: 50px 20px; border-top: 1px solid var(--border); background: var(--footer-bg); }
.footer-auth { display: flex; justify-content: center; gap: 30px; margin-bottom: 20px; opacity: 0.6; }
.auth-node { font-size: 10px; color: #888; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.auth-icon { width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; border: 1px solid #333; font-size: 14px; }
.auth-icon img { width: 24px; height: 24px; object-fit: contain; }
.footer-copy { font-size: 10px; opacity: 0.3; letter-spacing: 1px; }

/* 弹窗 */
.modal-overlay {
    display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.95); z-index: 2000;
    justify-content: center; align-items: center; backdrop-filter: blur(15px);
}
.modal {
    background: var(--card); border: 1px solid var(--border);
    width: 85%; max-width: 400px; border-radius: 20px; padding: 35px; text-align: center;
}
.modal h2 { margin-top: 0; font-size: 1.2rem; color: #fff; letter-spacing: 1px; }
.modal-body { text-align: left; color: #999; line-height: 1.8; font-size: 13px; margin: 20px 0; }
.stat-line {
    background: rgba(0,0,0,0.3); padding: 10px; border-radius: 6px;
    font-family: monospace; font-size: 10px; color: var(--accent);
    border: 1px solid rgba(212,168,83,0.1);
}
.close-btn {
    width: 100%; padding: 12px; background: var(--btn-2-bg); color: var(--btn-2-text);
    border: none; border-radius: 8px; font-weight: bold; cursor: pointer; margin-top: 20px;
}
