/* theme-a2.css - 博彩通风格 */
:root {
    --bg: #f0f4f7;
    --card: #ffffff;
    --head: #0a7e50;
    --accent: #0a7e50;
    --accent-light: #0ca362;
    --text: #1e293b;
    --text-dim: #64748b;
    --border: #e2e8f0;
    --btn-1-bg: #f1c40f;
    --btn-1-text: #4a3e00;
    --btn-2-bg: #e74c3c;
    --btn-2-text: #ffffff;
    --radius: 16px;
    --head-text: #ffffff;
    --badge-bg: var(--accent);
    --badge-border: var(--accent);
    --badge-color: #ffffff;
    --desc-bg: #f8fafc;
    --desc-border: var(--accent);
    --card-hover-shadow: 0 15px 30px rgba(10,126,80,0.1);
    --live-bg: transparent;
    --feature-bg: #ffffff;
    --ticker-bg: #075a39;
    --footer-bg: #ffffff;
}

body {
    font-family: -apple-system, system-ui, 'PingFang SC', sans-serif;
    background: var(--bg); color: var(--text); margin: 0; padding-top: 70px;
}

/* 顶部导航 */
.top-bar {
    position: fixed; top: 0; width: 100%; z-index: 1000;
    background: rgba(225,230,235,0.85);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    display: flex; justify-content: space-between; align-items: center;
    padding: 10px 20px;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    box-sizing: border-box;
    padding: 12px 20px;
    margin: 0;
}
.top-bar .site-name { font-size: 14px; font-weight: 700; color: var(--accent); letter-spacing: 3px; }
.apply-btn {
    background: var(--accent); color: #fff; padding: 8px 18px;
    text-decoration: none; border-radius: 8px; font-size: 13px;
    font-weight: bold; transition: 0.3s;
}
.apply-btn:hover { background: #08633f; transform: translateY(-1px); }

/* 滚动播报 */
.ticker-wrap {
    background: var(--ticker-bg); height: 32px; line-height: 32px;
    font-size: 11px; color: #fff; overflow: hidden;
}
.ticker { display: inline-block; white-space: nowrap; animation: tickerMove 40s linear infinite; font-weight: bold; }
@keyframes tickerMove { 0% { transform: translateX(100vw); } 100% { transform: translateX(-100%); } }

/* 头部 */
header {
    background: var(--head); padding: 50px 20px; text-align: center;
    border-bottom: 5px solid #08633f;
}
.logo { font-size: 2.2rem; font-weight: 900; letter-spacing: 10px; color: var(--head-text); margin: 0; }
.sub-logo { font-size: 11px; opacity: 0.9; color: var(--head-text); margin-top: 10px; letter-spacing: 2px; }

/* 功能矩阵 */
.features {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
    max-width: 900px; margin: -30px auto 30px; padding: 0 15px;
}
.f-item {
    background: var(--feature-bg); border: 2px solid var(--border);
    border-radius: var(--radius); padding: 15px 5px; text-align: center;
    cursor: pointer; transition: 0.3s; box-shadow: 0 8px 15px rgba(0,0,0,0.05);
}
.f-item:hover { transform: translateY(-5px); border-color: var(--accent); }
.f-icon-box { font-size: 20px; margin-bottom: 5px; display: block; }
.f-item span { font-size: 11px; font-weight: bold; color: var(--accent); }

/* 容器 */
.container { max-width: 1000px; margin: 0 auto; padding: 0 15px 100px; }
.audit-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 25px; }
@media (max-width: 768px) {
    .audit-grid { grid-template-columns: 1fr; }
    .features { grid-template-columns: repeat(2, 1fr); }
}

/* 卡片 */
.card {
    background: var(--card); border: 1px solid var(--border);
    border-radius: var(--radius); overflow: hidden;
    display: flex; flex-direction: column; transition: 0.3s;
}
.card:hover { transform: translateY(-5px); border-color: var(--accent); box-shadow: var(--card-hover-shadow); }
.card-head {
    padding: 12px 15px; background: #f8fafc;
    display: flex; justify-content: space-between; align-items: center;
    border-bottom: 1px solid var(--border);
}
.tag { font-size: 10px; font-weight: bold; color: var(--accent); }
.badge { font-size: 10px; background: var(--badge-bg); color: var(--badge-color); padding: 3px 8px; border-radius: 5px; }
.card-main { padding: 25px; flex-grow: 1; }
.app-row { display: flex; gap: 20px; align-items: center; margin-bottom: 20px; }
.icon {
    width: 75px; height: 75px; background: #f8fafc;
    border-radius: 18px; display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; overflow: hidden;
}
.icon img { width: 100%; height: 100%; object-fit: cover; border-radius: 18px; }
.name-wrapper { display: flex; flex-direction: column; justify-content: space-between; }
.name h3 { margin: 0; font-size: 1.3rem; font-weight: 800; color: #0f172a; }
.live { font-size: 10px; color: var(--text-dim); display: flex; align-items: center; gap: 6px; margin-top: 8px; }
.dot { width: 8px; height: 8px; background: #2ecc71; border-radius: 50%; display: inline-block; animation: blink 1.2s infinite; }
@keyframes blink { 50% { opacity: 0.3; } }
.stars { color: #f1c40f; font-size: 13px; margin-top: 8px; }
.desc {
    font-size: 13px; color: var(--text-dim); line-height: 1.7;
    background: var(--desc-bg); padding: 15px; border-radius: 12px;
    margin-bottom: 15px; border-left: 4px solid var(--desc-border);
    min-height: 60px;
}
.card-btns { padding: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; background: #f8fafc; }
.btn {
    padding: 12px; border-radius: 10px; font-size: 13px; font-weight: bold;
    text-decoration: none; text-align: center; display: block; transition: 0.3s;
}
.btn-1 { background: var(--btn-1-bg); color: var(--btn-1-text); }
.btn-1:hover { opacity: 0.85; }
.btn-2 { background: var(--btn-2-bg); color: var(--btn-2-text); }
.btn-2:hover { opacity: 0.85; }

/* 底部 */
footer { text-align: center; padding: 60px 20px; font-size: 11px; color: var(--text-dim); background: var(--footer-bg); border-top: 1px solid var(--border); }
.footer-auth { display: flex; justify-content: center; align-items: center; gap: 12px; margin-bottom: 30px; flex-wrap: wrap; }
.auth-node { display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 75px; }
.auth-icon { width: 55px; height: 55px; background: #f0f4f7; border: 1px solid #e2e8f0; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 24px; }
.auth-icon img { width: 35px; height: 35px; object-fit: contain; }
.auth-node span { font-size: 9px; font-weight: bold; color: var(--text-dim); white-space: nowrap; }
.footer-copy { opacity: 0.8; font-size: 10px; }


/* 弹窗 */
.modal-overlay {
    display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.6); z-index: 2000;
    justify-content: center; align-items: center; backdrop-filter: blur(4px);
}
.modal {
    background: #fff; width: 90%; max-width: 450px;
    border-radius: 20px; padding: 30px; animation: slideUp 0.3s;
}
@keyframes slideUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.modal h2 { color: var(--accent); border-bottom: 2px solid var(--bg); padding-bottom: 10px; margin-top: 0; }
.modal-body { font-size: 14px; color: var(--text-dim); line-height: 1.8; }
.close-btn {
    width: 100%; padding: 14px; background: var(--accent); color: #fff;
    border: none; border-radius: 12px; font-weight: bold; cursor: pointer; margin-top: 20px;
}

.modal-overlay {
    display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.6); z-index: 2000;
    justify-content: center; align-items: center; backdrop-filter: blur(4px);
}
.modal {
    background: #fff; width: 90%; max-width: 450px;
    border-radius: 20px; padding: 30px; animation: slideUp 0.3s;
}
@keyframes slideUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.modal h2 { color: var(--accent); border-bottom: 2px solid var(--bg); padding-bottom: 10px; margin-top: 0; }
.modal-body { font-size: 14px; color: var(--text-dim); line-height: 1.8; }
.close-btn {
    width: 100%; padding: 14px; background: var(--accent); color: #fff;
    border: none; border-radius: 12px; font-weight: bold; cursor: pointer; margin-top: 20px;
}

