/* css/style.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', 'Poppins', system-ui, sans-serif;
}

body {
    position: relative;
    min-height: 100vh;
    color: #fff;
    overflow-x: hidden;
}

/* 动态粒子画布 */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
    background: #000411; /* 深色基底 */
}

/* 内容层 */
.content-wrapper {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    backdrop-filter: blur(0px); /* 保留清晰度，毛玻璃在卡片上实现 */
}

/* 玻璃拟态卡片共用 */
.glass-card, .navbar, footer {
    background: rgba(10, 20, 40, 0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 255, 255, 0.15);
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(0, 230, 255, 0.2);
    margin: 20px 0;
    padding: 24px;
    transition: all 0.3s;
}

.glass-card:hover, .navbar:hover {
    border-color: rgba(0, 255, 255, 0.5);
    box-shadow: 0 0 25px #00e0ff;
}

/* 导航 */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 30px;
    margin-top: 20px;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-shadow: 0 0 15px cyan;
}
.logo i {
    color: #0ef;
    margin-right: 8px;
}

.nav ul {
    display: flex;
    gap: 30px;
    list-style: none;
}
.nav a {
    color: #ddd;
    text-decoration: none;
    font-size: 1.1rem;
    padding: 8px 16px;
    border-radius: 30px;
    transition: 0.3s;
}
.nav a i {
    margin-right: 6px;
}
.nav a.active, .nav a:hover {
    background: rgba(0, 255, 255, 0.15);
    color: #0ef;
    box-shadow: 0 0 15px cyan;
}
.menu-toggle {
    display: none;
    font-size: 1.8rem;
    color: #0ef;
    cursor: pointer;
}

/* 移动端导航 */
@media (max-width: 768px) {
    .nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 80px;
        right: 20px;
        background: rgba(10, 20, 40, 0.9);
        backdrop-filter: blur(10px);
        border-radius: 20px;
        padding: 20px;
        width: 200px;
        border: 1px solid cyan;
        z-index: 100;
    }
    .nav ul.show {
        display: flex;
    }
    .menu-toggle {
        display: block;
    }
}

/* 首页区块 */
.hero-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
.hero-text h1 {
    font-size: 2.8rem;
    text-transform: uppercase;
    background: linear-gradient(45deg, #0ef, #f0f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
}
.neon-btn {
    display: inline-block;
    padding: 14px 36px;
    margin: 10px;
    border-radius: 50px;
    background: transparent;
    border: 2px solid #0ef;
    color: #0ef;
    font-weight: bold;
    text-decoration: none;
    letter-spacing: 2px;
    transition: 0.3s;
    box-shadow: 0 0 15px #0ef;
}
.neon-btn:hover {
    background: #0ef;
    color: #000;
    box-shadow: 0 0 40px #0ef;
}
.neon-btn.outline {
    border-color: #f0f;
    color: #f0f;
    box-shadow: 0 0 15px #f0f;
}
.neon-btn.outline:hover {
    background: #f0f;
    color: #000;
}

/* 开奖区域 */
.live-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 30px;
}
.current-draw {
    background: rgba(0,20,40,0.6);
    border-radius: 24px;
    padding: 20px;
    text-align: center;
}
.draw-number {
    font-size: 6rem;
    font-weight: 900;
    color: #0ef;
    text-shadow: 0 0 30px cyan;
    margin: 20px 0;
}
.history-table table {
    width: 100%;
    border-collapse: collapse;
}
.history-table th, .history-table td {
    padding: 10px;
    text-align: center;
    border-bottom: 1px solid rgba(0,255,255,0.3);
}
.history-table th {
    color: #0ef;
    font-weight: 500;
}
.badge-number {
    background: #0ef;
    color: #000;
    padding: 4px 12px;
    border-radius: 40px;
    font-weight: bold;
}

/* 帮助中心网格 */
.help-grid, .features-grid, .partner-logos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 20px;
}
.help-item, .feature-card, .logo-item {
    background: rgba(0, 30, 50, 0.5);
    border-radius: 20px;
    padding: 20px;
    text-align: center;
    border: 1px solid rgba(0,255,200,0.2);
    transition: 0.3s;
}
.help-item i, .feature-card i {
    font-size: 2rem;
    color: #0ef;
    margin-bottom: 15px;
}
.help-item a {
    color: #0ef;
    text-decoration: none;
}
.logo-item {
    font-size: 1.3rem;
    padding: 30px 10px;
    background: rgba(0,0,0,0.3);
    border: 1px dashed #0ef;
}

/* 走势分析页面 */
.chart-container {
    height: 300px;
    margin: 30px 0;
}
.stat-cards {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}
.stat-item {
    background: #0a1f2f;
    border-radius: 16px;
    padding: 15px 25px;
    display: flex;
    flex-direction: column;
    border-left: 4px solid #0ef;
}
.stat-item span { font-size: 0.9rem; color: #aaa; }
.stat-item strong { font-size: 1.6rem; color: #0ef; }

/* 预测工具 */
.tool-box {
    text-align: center;
    padding: 40px 0;
}
.predict-result {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin: 40px 0;
    flex-wrap: wrap;
}
.pred-num {
    display: inline-block;
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    background: rgba(0,255,255,0.2);
    border: 2px solid #0ef;
    font-size: 2rem;
    font-weight: bold;
    color: #0ef;
    box-shadow: 0 0 30px #0ef;
}
.hint {
    color: #aaa;
}

/* 关于/帮助 */
.about-page p, .faq-item {
    font-size: 1.2rem;
    line-height: 1.8;
    margin: 25px 0;
}
.faq-item h4 {
    color: #0ef;
    margin-bottom: 5px;
}

/* 页脚 */
footer {
    text-align: center;
    padding: 15px;
    margin-bottom: 20px;
    color: #ccc;
}
.footer-links a {
    color: #0ef;
    text-decoration: none;
    margin: 0 10px;
}

/* 通用响应式 */
@media (max-width: 600px) {
    .live-grid {
        grid-template-columns: 1fr;
    }
    .hero-text h1 {
        font-size: 1.8rem;
    }
    .neon-btn {
        padding: 10px 20px;
    }
}