/*
* css/style.css
* 深蓝色科技感动态背景 + 毛玻璃卡片 + 响应式
*/

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

body {
    min-height: 100vh;
    background: #0a0f1e;
    color: #e0f2fe;
    position: relative;
    overflow-x: hidden;
}

/* 动态背景：流动的蓝色光晕 */
.dynamic-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 40%, #0a2a44, #030614 80%);
    z-index: -2;
}
.dynamic-bg::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: repeating-linear-gradient(45deg, rgba(0, 255, 255, 0.02) 0%, rgba(0, 128, 255, 0.02) 5%, transparent 10%, transparent 20%);
    animation: moveBg 30s linear infinite;
    z-index: -1;
}
@keyframes moveBg {
    0% { transform: translate(-10%, -10%) rotate(0deg); }
    100% { transform: translate(10%, 10%) rotate(3deg); }
}

/* 毛玻璃卡片通用 */
.glass-card {
    background: rgba(8, 20, 48, 0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 255, 255, 0.25);
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0, 50, 100, 0.5), inset 0 0 30px rgba(0, 255, 255, 0.1);
}

.site-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
}

/* 导航栏 */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 2rem;
    margin-bottom: 2.5rem;
}
.logo {
    font-size: 1.6rem;
    font-weight: 700;
    background: linear-gradient(135deg, #a0f0ff, #4a90e2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}
.nav-links a {
    color: #b0e0ff;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 40px;
    transition: 0.3s;
}
.nav-links a.active, .nav-links a:hover {
    background: rgba(0, 255, 255, 0.15);
    color: #ffffff;
    box-shadow: 0 0 15px cyan;
}

/* 弹窗modal */
.modal {
    display: none;
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
    z-index: 1000;
}
.modal-content {
    max-width: 400px;
    padding: 2rem;
    text-align: center;
    color: white;
    animation: pop 0.4s ease;
}
.modal-icon {
    font-size: 4rem;
    color: #0ef;
}
.modal-btn {
    background: #0077ff;
    border: none;
    color: white;
    padding: 0.8rem 2rem;
    margin: 1rem 0.5rem;
    border-radius: 40px;
    cursor: pointer;
    font-weight: bold;
    transition: 0.2s;
    border: 1px solid cyan;
}
.modal-btn.secondary {
    background: transparent;
}
.close-btn {
    float: right;
    font-size: 2rem;
    cursor: pointer;
}

/* 首页hero */
.hero-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 2.5rem;
    margin-bottom: 2.5rem;
}
.glitch-text {
    font-size: 2.8rem;
    font-weight: 800;
    text-transform: uppercase;
    position: relative;
    text-shadow: 0 0 10px #0ef;
}
.countdown-card {
    background: rgba(0, 20, 40, 0.8);
    padding: 1rem 2rem;
    border-radius: 60px;
    font-size: 1.8rem;
    border: 1px solid cyan;
    box-shadow: 0 0 20px cyan;
}

/* 表格区域 */
.data-section {
    margin: 3rem 0;
}
.table-responsive {
    overflow-x: auto;
    border-radius: 24px;
    background: rgba(0,15,30,0.6);
    padding: 0.5rem;
}
.futur-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}
.futur-table th {
    background: rgba(0, 128, 255, 0.3);
    padding: 1rem;
    font-weight: 600;
    color: #a0f0ff;
}
.futur-table td {
    padding: 0.8rem;
    text-align: center;
    border-bottom: 1px solid rgba(0, 255, 255, 0.2);
}
.update-badge {
    font-size: 0.8rem;
    background: cyan;
    color: #000;
    padding: 0.2rem 0.8rem;
    border-radius: 40px;
    margin-left: 1rem;
}

/* 图表卡片 */
.chart-section {
    padding: 2rem;
    margin: 2.5rem 0;
}
.chart-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}
.chart-tab {
    background: transparent;
    border: 1px solid cyan;
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 40px;
    cursor: pointer;
}
.chart-tab.active {
    background: cyan;
    color: #000;
    font-weight: bold;
}

/* 网格布局 */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2rem 0;
}
.intro-card, .feedback-card, .faq-card {
    padding: 2rem;
}
.feedback-item {
    background: rgba(255,255,255,0.05);
    padding: 0.8rem;
    margin: 0.8rem 0;
    border-radius: 20px;
}
details {
    margin: 0.8rem 0;
    padding: 0.5rem;
    background: rgba(0,128,255,0.1);
    border-radius: 16px;
}
footer {
    text-align: center;
    padding: 1.5rem;
    margin-top: 3rem;
}

/* 大神推荐卡片 */
.experts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
    gap: 2rem;
    margin: 2rem 0;
}
.expert-card {
    padding: 1.5rem;
    text-align: center;
    transition: 0.3s;
}
.expert-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 40px cyan;
}
.expert-header {
    font-size: 1.8rem;
    border-bottom: 1px solid cyan;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}
.highlight {
    color: #ffd966;
    font-weight: bold;
    font-size: 1.4rem;
}

/* 响应式 */
@media (max-width: 800px) {
    .grid-2 { grid-template-columns: 1fr; }
    .hero-section { flex-direction: column; }
    .nav-links { gap: 0.5rem; }
    .site-container { padding: 0.8rem; }
}