/* css/style.css - 霓虹粉紫新配色 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', 'Segoe UI', sans-serif;
}

body {
    min-height: 100vh;
    background: #0f0a1e;  /* 深紫黑背景 */
    color: #f0eaff;
    position: relative;
    overflow-x: hidden;
}

/* 动态粒子画布背景 (稍加深) */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    background: radial-gradient(circle at 30% 40%, #2a1b3d, #030014);
}

/* 毛玻璃效果 - 边框光效改为粉/青 */
.glass {
    background: rgba(25, 10, 30, 0.45);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    border: 1px solid rgba(255, 94, 125, 0.25);
    border-radius: 24px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 94, 125, 0.2) inset;
}

/* 导航栏 */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 2rem;
    margin: 1.5rem 2rem;
    border-radius: 60px;
    background: rgba(20, 5, 30, 0.6);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid #ff5e7d40;
}

.logo {
    font-size: 1.6rem;
    font-weight: 600;
    background: linear-gradient(135deg, #ff9aa8, #c77dff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 1px;
}

.navbar ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.navbar a {
    color: #d9c9ff;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
    padding: 0.5rem 0.2rem;
    border-bottom: 2px solid transparent;
}

.navbar a.active, .navbar a:hover {
    color: #ff5e7d;  /* 粉红高亮 */
    border-bottom-color: #ff5e7d;
    text-shadow: 0 0 8px #ff5e7d;
}

.menu-toggle {
    display: none;
    font-size: 1.8rem;
    color: #ff5e7d;
}

/* 通用部分 */
main {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem 3rem;
}

.section {
    margin: 4rem 0;
}

.section-title {
    font-size: 2.2rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-shadow: 0 0 10px #ff5e7d;
    border-left: 6px solid #00e5ff;  /* 青绿侧边 */
    padding-left: 1.5rem;
    color: #ffffff;
}

.badge {
    background: #ff5e7d30;
    border: 1px solid #ff5e7d;
    font-size: 0.9rem;
    padding: 0.2rem 0.8rem;
    border-radius: 40px;
    color: #ffb6c1;
}

/* hero区域 */
.hero {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 2rem;
    background: rgba(30, 10, 40, 0.35);
    border-radius: 48px;
    backdrop-filter: blur(10px);
    border: 1px solid #ff5e7d20;
}

.hero-text h1 {
    font-size: 3.2rem;
    line-height: 1.2;
}

.glow {
    color: #00e5ff;
    text-shadow: 0 0 20px #00e5ff;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    padding: 2rem 3rem;
}

.hero-stats div {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-stats strong {
    font-size: 2rem;
    color: #ff5e7d;
}

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    margin-right: 1rem;
    transition: 0.3s;
    border: 1px solid transparent;
}

.primary {
    background: linear-gradient(145deg, #ff5e7d, #c44b6b);
    color: #0f0a1e;
    box-shadow: 0 0 20px #ff5e7d;
}

.outline {
    border: 1px solid #00e5ff;
    color: #00e5ff;
}

.primary:hover { background: #ff7a94; color: #000; box-shadow: 0 0 30px #ff9eb0; }
.outline:hover { background: #00e5ff20; }

/* 专家推荐卡片 */
.expert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.8rem;
}

.expert-card {
    padding: 1.8rem 1rem;
    text-align: center;
    border-radius: 32px;
    transition: 0.2s;
}

.avatar {
    font-size: 3rem;
    color: #ff5e7d;
}

.pick .num {
    display: inline-block;
    background: #ff5e7d20;
    border: 1px solid #ff5e7d;
    padding: 0.3rem 0.7rem;
    border-radius: 20px;
    margin: 0.2rem;
    font-weight: 700;
    color: #ffb6c1;
}

/* 动态列表 */
.dynamic-list {
    padding: 1.5rem;
}

.dynamic-item {
    padding: 0.8rem;
    border-bottom: 1px solid #ff5e7d30;
    display: flex;
    gap: 1rem;
}

.time { color: #00e5ff; font-weight: 600; }

/* 表格 */
.table-responsive {
    overflow-x: auto;
    padding: 1.2rem;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th { color: #ff5e7d; font-weight: 600; padding: 1rem 0.5rem; }
td { padding: 0.8rem 0.5rem; text-align: center; border-bottom: 1px solid #3f2a5a; }

/* 玩家反馈 */
.testi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.testi-card {
    padding: 1.5rem;
    border-radius: 28px;
}

.user { margin-top: 1rem; color: #00e5ff; }

/* 功能/公益 */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.2rem;
    margin-bottom: 2rem;
}

.feature-item {
    text-align: center;
    padding: 2rem 1rem;
    border-radius: 28px;
}

.feature-item i { font-size: 2.4rem; color: #ff5e7d; margin-bottom: 0.8rem; }

.welfare {
    padding: 1.5rem;
    text-align: center;
    font-size: 1.2rem;
    color: #e0c0ff;
}

/* footer */
.footer {
    text-align: center;
    padding: 1.8rem;
    margin: 2rem 2rem 1.5rem;
    border-radius: 60px;
    color: #b89fd0;
}

/* 走势分析专用 */
.chart-container {
    padding: 1.8rem;
    height: 300px;
}
.freq-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 1rem;
}
.freq-bar {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 28px;
    background: #2a1b3d;
    border-radius: 12px 12px 4px 4px;
    height: calc(1rem + var(--height));
    min-height: 30px;
    position: relative;
    justify-content: flex-end;
    background: linear-gradient(to top, #ff5e7d, #c1549c);
}
.freq-bar .num {
    font-size: 0.7rem;
    color: white;
}
.freq-bar .count {
    font-size: 0.6rem;
    background: #00000070;
    padding: 2px 4px;
    border-radius: 10px;
}

/* AI页面 */
.ai-picks-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    margin: 2rem 0;
}
.ai-pick-card {
    flex: 1 1 200px;
    padding: 1.5rem;
}
.ai-header { font-size: 1.4rem; margin-bottom: 1rem; color: #ff5e7d; }
.sim-chart .progress-bar {
    background: #ff5e7d;
    color: #0f0a1e;
    padding: 0.5rem;
    margin: 0.8rem 0;
    border-radius: 30px;
    font-weight: 600;
    text-align: center;
}
.ai-long-text { padding: 2rem; line-height: 1.8; }

/* 免责声明 */
.legal-content {
    padding: 2.5rem;
    line-height: 2;
}
.legal-content h2 { color: #ff5e7d; margin-top: 2rem; }

/* 移动端适配 */
@media (max-width: 768px) {
    .navbar ul { display: none; }
    .menu-toggle { display: block; }
    .hero-text h1 { font-size: 2.4rem; }
    .section-title { font-size: 1.8rem; }
    .feature-grid { grid-template-columns: 1fr 1fr; }
}

/* 小工具 */
.update-note { margin-top: 0.8rem; font-size: 0.9rem; color: #b89fd0; }
.spin { animation: spin 3s infinite linear; display: inline-block; }
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }