
:root {
    --primary: #D4AF37;       
    --primary-hover: #b5952f;
    --bg-base: #0a0a0a;       
    --bg-card: #141414;       
    --bg-card-hover: #1c1c1c;
    --text-main: #ffffff;     
    --text-muted: #888888;    
    --border-color: #2a2a2a;  
    --border-gold: rgba(212, 175, 55, 0.3);
    --shadow-gold: 0 4px 20px rgba(212, 175, 55, 0.1);
    --radius-lg: 30px; --radius-md: 16px; --radius-sm: 8px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; color: var(--text-main); background: var(--bg-base); line-height: 1.6; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* 导航与框架 */
.header { background: rgba(10, 10, 10, 0.95); backdrop-filter: blur(10px); position: sticky; top: 0; z-index: 1000; border-bottom: 1px solid var(--border-gold); }
.header-container { display: flex; justify-content: space-between; align-items: center; height: 70px; }
.logo { font-size: 1.6rem; font-weight: bold; display: flex; align-items: center; gap: 8px; color: var(--text-main); letter-spacing: 1px;}
.logo i { color: var(--primary); }
.logo .accent { color: var(--primary); }
.nav-list { display: flex; list-style: none; gap: 25px; }
.nav-link { color: var(--text-muted); font-weight: 600; transition: 0.3s; padding-bottom: 5px; font-size: 1rem;}
.nav-link:hover, .nav-link.active { color: var(--primary); border-bottom: 2px solid var(--primary); text-shadow: 0 0 10px rgba(212, 175, 55, 0.3); }

/* 页面公用标题区 */
.page-hero { background: radial-gradient(circle at center, #1a1a1a 0%, #0a0a0a 100%); padding: 50px 0; text-align: center; border-bottom: 1px solid var(--border-color); }
.page-title { font-size: 2.5rem; font-weight: 700; color: var(--primary); margin-bottom: 10px; letter-spacing: 2px; }
.page-subtitle { font-size: 1.1rem; color: var(--text-muted); }

/* 按钮 */
.btn { padding: 10px 24px; border-radius: 30px; font-weight: bold; cursor: pointer; transition: 0.3s; border: none; display: inline-flex; align-items: center; gap: 8px; }
.btn-large { padding: 12px 35px; font-size: 1.1rem; }
.btn-primary { background: linear-gradient(135deg, #E6C27A, #D4AF37); color: #000; box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-gold); filter: brightness(1.1); }
.btn-outline { background: transparent; border: 1px solid var(--primary); color: var(--primary); }
.btn-soft { background: var(--bg-card); color: var(--text-main); border: 1px solid var(--border-color); }

/* 首页 Hero 区 */
.hero-section { background: radial-gradient(circle at center, #1a1a1a 0%, #0a0a0a 100%); position: relative; padding: 60px 0 100px 0; overflow: hidden; border-bottom: 1px solid var(--border-color); }
.hero-container { display: flex; align-items: center; justify-content: space-between; }
.hero-content { flex: 1; z-index: 2; }
.hero-title { font-size: 3.5rem; color: var(--primary); font-weight: 800; margin-bottom: 15px; letter-spacing: 1px; }
.hero-subtitle { font-size: 1.2rem; color: var(--text-muted); margin-bottom: 30px; }
.hero-stats { display: flex; gap: 40px; margin-bottom: 40px; }
.stat-value { font-size: 2.2rem; color: var(--primary); font-weight: bold; }
.stat-label { font-size: 0.9rem; color: var(--text-muted); }
.hero-image { flex: 1; text-align: right; z-index: 2; }

/* 赛车动画 */
@keyframes wheelSpin { 100% { transform: rotate(360deg); } }
@keyframes carBounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@keyframes windMove { 0% { transform: translateX(50px); opacity: 0; } 10% { opacity: 1; } 100% { transform: translateX(-350px); opacity: 0; } }
@keyframes neonPulse { 0%, 100% { fill: #D4AF37; filter: drop-shadow(0 0 2px #D4AF37); } 50% { fill: #E6C27A; filter: drop-shadow(0 0 10px #E6C27A); } }
.svg-wheel { animation: wheelSpin 0.3s linear infinite; transform-origin: center; transform-box: fill-box; }
.svg-car-body { animation: carBounce 0.5s ease-in-out infinite; }
.svg-wind { animation: windMove 0.8s linear infinite; }
.svg-wind-2 { animation: windMove 1.2s linear infinite 0.3s; }
.svg-wind-3 { animation: windMove 0.9s linear infinite 0.6s; }
.svg-neon { animation: neonPulse 2s infinite; }

/* 卡片系统 */
.quick-cards-section { margin-top: -60px; position: relative; z-index: 10; padding-bottom: 40px; }
.section-title { font-size: 1.8rem; color: var(--primary); margin-bottom: 30px; display: flex; align-items: center; gap: 10px; }
.title-badge { background: rgba(212, 175, 55, 0.2); color: var(--primary); font-size: 0.8rem; padding: 4px 10px; border-radius: 12px; border: 1px solid var(--primary); margin-left:10px; }
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.quick-card { background: var(--bg-card); border-radius: var(--radius-md); padding: 35px 20px; text-align: center; border: 1px solid var(--border-color); transition: 0.3s; }
.quick-card:hover { transform: translateY(-8px); border-color: var(--primary); box-shadow: var(--shadow-gold); background: var(--bg-card-hover); }
.card-icon { width: 70px; height: 70px; background: rgba(212, 175, 55, 0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; color: var(--primary); font-size: 1.8rem; border: 1px solid var(--border-gold); }
.quick-card h3 { color: var(--text-main); margin-bottom: 10px; font-size: 1.3rem; }
.quick-card p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 20px; }

/* 跑马灯 */
.bg-light-warm { background: var(--bg-base); padding: 40px 0; border-top: 1px solid var(--border-color); }
.hot-scroll { display: flex; gap: 20px; overflow-x: auto; padding-bottom: 15px; }
.hot-scroll::-webkit-scrollbar { height: 6px; }
.hot-scroll::-webkit-scrollbar-thumb { background: var(--border-color); border-radius: 10px; }
.hot-item { background: var(--bg-card); border: 1px solid var(--border-gold); border-radius: 40px; padding: 15px 25px; display: flex; align-items: center; gap: 15px; white-space: nowrap; box-shadow: 0 4px 10px rgba(0,0,0,0.5); }
.hot-item .label { color: var(--primary); font-weight: bold; }

/* 工具页与表格 */
.circle-input { width: 60px; height: 60px; border-radius: 30px; border: 2px solid var(--border-color); background: #000; color: var(--primary); font-size: 1.5rem; font-weight: bold; text-align: center; outline: none; transition: 0.3s; box-shadow: inset 0 2px 5px rgba(0,0,0,0.5); margin: 5px;}
.circle-input:focus { border-color: var(--primary); box-shadow: 0 0 15px rgba(212, 175, 55, 0.3); transform: scale(1.05); }
.result-box { background: #000; border-radius: var(--radius-lg); padding: 30px; text-align: center; font-size: 1.5rem; margin-top: 30px; border: 1px dashed var(--primary); color: var(--primary); }
.table-responsive { overflow-x: auto; background: var(--bg-card); border-radius: var(--radius-md); border: 1px solid var(--border-color); }
.result-table { width: 100%; border-collapse: collapse; text-align: center; }
.result-table th { background: rgba(212, 175, 55, 0.05); color: var(--primary); padding: 15px; border-bottom: 1px solid var(--border-gold); }
.result-table td { padding: 12px; border-bottom: 1px solid var(--border-color); color: var(--text-muted); }
.result-table tr:hover td { background: rgba(255, 255, 255, 0.02); }

/* 彩球系统 */
.ball { width: 32px; height: 32px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: #fff; font-weight: bold; font-size: 1rem; margin: 0 2px; text-shadow: 0 1px 2px rgba(0,0,0,0.8);}
.ball.large { width: 60px; height: 60px; font-size: 1.8rem; }
.ball-1 { background: linear-gradient(135deg, #ff5e5e, #c0392b); } .ball-2 { background: linear-gradient(135deg, #9c27b0, #6a1b9a); } .ball-3 { background: linear-gradient(135deg, #2196f3, #1565c0); }
.ball-4 { background: linear-gradient(135deg, #00bcd4, #00838f); } .ball-5 { background: linear-gradient(135deg, #4caf50, #2e7d32); } .ball-6 { background: linear-gradient(135deg, #8bc34a, #558b2f); }
.ball-7 { background: linear-gradient(135deg, #ffeb3b, #fbc02d); color: #000; text-shadow: none;} .ball-8 { background: linear-gradient(135deg, #ff9800, #ef6c00); } .ball-9 { background: linear-gradient(135deg, #ff5722, #d84315); } .ball-10 { background: linear-gradient(135deg, #795548, #4e342e); }

.fade-in { animation: fadeIn 0.8s ease forwards; opacity: 0; }
@keyframes fadeIn { from { opacity:0; transform:translateY(20px); } to { opacity:1; transform:translateY(0); } }

/* 资讯与关于我们专属卡片 */
.info-card { background: var(--bg-card); border-radius: var(--radius-lg); padding: 30px; border: 1px solid var(--border-gold); box-shadow: var(--shadow-gold); }
.news-item { background: var(--bg-card); border-radius: var(--radius-md); padding: 30px; border: 1px solid var(--border-color); box-shadow: 0 5px 15px rgba(0,0,0,0.3); transition: 0.3s; margin-bottom: 20px;}
.news-item:hover { border-color: var(--primary); transform: translateY(-3px); }
