/* style.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #f8fafc;
    color: #1e293b;
    line-height: 1.5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* 导航栏 */
.site-header {
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(226,232,240,0.6);
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo a {
    font-size: 1.8rem;
    font-weight: 700;
    text-decoration: none;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.5px;
}

.logo span {
    background: #1e293b;
    color: white;
    font-size: 1rem;
    padding: 2px 8px;
    border-radius: 20px;
    margin-left: 6px;
    background: linear-gradient(135deg, #f97316, #f59e0b);
    color: white;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 8px;
}

.main-nav a {
    text-decoration: none;
    color: #334155;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 30px;
    transition: all 0.2s;
}

.main-nav a:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.main-nav a.active {
    background: #3b82f6;
    color: white;
    box-shadow: 0 4px 10px rgba(59,130,246,0.3);
}

/* 底部 */
.site-footer {
    background: #1e293b;
    color: #cbd5e1;
    padding: 40px 0;
    margin-top: 60px;
    border-top: 1px solid #334155;
}

.footer-disclaimer {
    text-align: center;
    font-size: 0.9rem;
}

.footer-disclaimer strong {
    color: #facc15;
}

.copyright {
    margin-top: 20px;
    font-size: 0.8rem;
    opacity: 0.7;
}

/* 卡片圆润玻璃效果 */
.glass {
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,0.9);
    box-shadow: 0 10px 25px -5px rgba(0,0,0,0.05), 0 8px 10px -6px rgba(0,0,0,0.02);
    border-radius: 32px;
    padding: 24px;
}

.card {
    background: white;
    border-radius: 32px;
    padding: 24px;
    box-shadow: 0 20px 35px -10px rgba(0,0,0,0.05);
    transition: transform 0.2s;
}

.card:hover {
    transform: translateY(-4px);
}

.card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: #0f172a;
}

/* 首页缩略图 */
.hero-thumb {
    padding: 40px 0 20px;
}

.thumb-wrapper {
    display: flex;
    align-items: center;
    gap: 40px;
    background: linear-gradient(110deg, #dbeafe, #ede9fe);
    border-radius: 48px;
    padding: 30px 40px;
    box-shadow: 0 25px 40px -15px #94a3b8;
}

.thumb-img {
    width: 280px;
    height: auto;
    border-radius: 28px;
    box-shadow: 0 20px 30px -10px #1e293b;
    border: 4px solid white;
}

.thumb-text h1 {
    font-size: 2.2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #1e293b, #3b82f6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 12px;
}

.thumb-text p {
    font-size: 1.2rem;
    color: #334155;
}

/* 卡片网格 */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin: 40px 0;
}

.hot-numbers {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.number-big {
    display: inline-block;
    width: 60px;
    height: 60px;
    background: #3b82f6;
    color: white;
    font-size: 1.8rem;
    font-weight: 700;
    text-align: center;
    line-height: 60px;
    border-radius: 30px;
    box-shadow: 0 8px 14px #93c5fd;
}

.heat-bars {
    margin-top: 12px;
}

.bar-item {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    font-size: 0.9rem;
}

.bar-item span {
    width: 45px;
}

.bar {
    flex: 1;
    height: 12px;
    background: #e2e8f0;
    border-radius: 20px;
    overflow: hidden;
}

.bar div {
    height: 100%;
    background: linear-gradient(90deg, #f97316, #facc15);
    border-radius: 20px;
}

/* SEO 强调区 */
.seo-highlight {
    background: white;
    border-radius: 48px;
    padding: 40px;
    margin: 40px 0;
    text-align: center;
    border: 1px solid #e2e8f0;
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 24px;
}

.tag-cloud span {
    background: #f1f5f9;
    padding: 6px 18px;
    border-radius: 40px;
    font-weight: 500;
    color: #2563eb;
    border: 1px solid #b1c5e0;
}

/* 预测页面专用 */
.pred-numbers {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin: 20px 0;
    flex-wrap: wrap;
}

.pred-numbers span {
    width: 55px;
    height: 55px;
    background: #1e293b;
    color: white;
    font-size: 1.6rem;
    font-weight: 600;
    border-radius: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 12px #94a3b8;
}

.prob-bar {
    height: 12px;
    background: #e2e8f0;
    border-radius: 20px;
    width: 100%;
    margin-top: 16px;
    position: relative;
}

.prob-bar::after {
    content: '';
    display: block;
    width: 68%;
    height: 100%;
    background: linear-gradient(90deg, #10b981, #3b82f6);
    border-radius: 20px;
}

.insight-box {
    padding: 32px;
    background: #f1f4f9;
    border-radius: 40px;
}

.keyword-strip {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.keyword-strip span {
    background: #dbeafe;
    padding: 5px 15px;
    border-radius: 30px;
}

/* 走势页面 */
.chart-container {
    margin: 30px 0;
    padding: 24px;
}

.table-wrapper {
    overflow-x: auto;
    padding: 20px;
}

table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.95rem;
}

th {
    background: #f1f5f9;
    padding: 12px;
    font-weight: 600;
}

td {
    padding: 10px 12px;
    border-bottom: 1px solid #e2e8f0;
}

tr:last-child td {
    border-bottom: none;
}

/* about页面 */
.about-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    margin: 40px 0;
}

.about-text, .about-stats {
    padding: 32px;
    background: white;
    border-radius: 36px;
}

.about-stats ul {
    list-style: none;
    margin-top: 20px;
}

.about-stats li {
    margin-bottom: 16px;
    font-size: 1.1rem;
    border-bottom: 1px dashed #cbd5e1;
    padding-bottom: 8px;
}

.page-header {
    padding: 40px 0 20px;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #0f172a;
}

/* 响应式 */
@media (max-width: 700px) {
    .thumb-wrapper {
        flex-direction: column;
        text-align: center;
    }
    .about-grid {
        grid-template-columns: 1fr;
    }
    .main-nav ul {
        gap: 4px;
    }
    .main-nav a {
        padding: 6px 12px;
        font-size: 0.9rem;
    }
}