/* css/style.css - 完整版 (新增术语词典样式 & 页脚网格) */
:root {
    --bg-light: #f8faff;
    --card-white: #ffffff;
    --primary-soft: #6c5ce7;
    --primary-light: #8b7cf0;
    --secondary-mint: #00cec9;
    --accent-gold: #fdcb6e;
    --text-dark: #1e272e;
    --text-soft: #485460;
    --shadow-sm: 0 12px 28px -8px rgba(0, 0, 0, 0.06), 0 4px 12px rgba(0, 0, 0, 0.02);
    --shadow-hover: 0 24px 48px -12px rgba(108, 92, 231, 0.25);
    --radius-xl: 32px;
    --radius-lg: 24px;
    --radius-md: 20px;
    --radius-sm: 16px;
    --font-main: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

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

/* 头部 (与之前相同，略作保留) */
.header {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(255,255,255,0.6);
}
.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}
.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 1.6rem;
}
.logo-icon {
    font-size: 2rem;
    color: var(--primary-soft);
    background: linear-gradient(145deg, #6c5ce7, #a29bfe);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.brand-text {
    letter-spacing: -0.02em;
}
.brand-highlight {
    background: linear-gradient(130deg, #fd79a8, #e84342);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.main-nav .nav-list {
    display: flex;
    gap: 8px;
    list-style: none;
}
.nav-item a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 40px;
    color: var(--text-soft);
    font-weight: 500;
    text-decoration: none;
    transition: 0.2s;
    background: transparent;
}
.nav-item.active a, .nav-item a:hover {
    background: var(--primary-soft);
    color: white;
    box-shadow: 0 10px 20px -10px var(--primary-soft);
}
.user-actions {
    display: flex;
    gap: 12px;
}
.btn {
    padding: 10px 24px;
    border-radius: 40px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid transparent;
}
.btn-primary {
    background: var(--primary-soft);
    color: white;
    box-shadow: 0 10px 20px -10px var(--primary-soft);
}
.btn-outline {
    border: 1px solid #d8dff3;
    color: var(--text-soft);
    background: white;
}
.btn-small {
    padding: 8px 18px;
    font-size: 0.9rem;
}
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--primary-soft);
}

/* hero 区域 (同上) */
.hero-section {
    background: linear-gradient(115deg, #e0e7ff 0%, #f5f0ff 100%);
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
    margin: 0 0 40px;
    position: relative;
    overflow: hidden;
}
.hero-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 60px 24px;
    gap: 40px;
}
.hero-text {
    flex: 1 1 300px;
}
.hero-tagline {
    background: rgba(255,255,255,0.6);
    backdrop-filter: blur(4px);
    padding: 8px 20px;
    border-radius: 40px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-soft);
    display: inline-block;
    margin-bottom: 24px;
}
.hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 32px;
}
.gradient-text {
    background: linear-gradient(140deg, #6c5ce7, #e84342);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-countdown-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 24px 32px;
    display: inline-block;
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(4px);
}
.countdown-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-soft);
    margin-bottom: 8px;
}
.countdown-timer {
    font-size: 3.8rem;
    font-weight: 700;
    font-feature-settings: "tnum";
    color: var(--primary-soft);
    line-height: 1;
}
.next-period {
    margin-top: 10px;
    color: #7f8c8d;
}
.hero-predict-card {
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(16px);
    border-radius: var(--radius-xl);
    padding: 32px 36px;
    box-shadow: var(--shadow-hover);
    border: 1px solid rgba(255,255,255,0.6);
    flex: 1 1 320px;
}
.predict-badge {
    font-weight: 600;
    color: var(--primary-soft);
    margin-bottom: 16px;
    letter-spacing: 0.5px;
}
.predict-main-number {
    font-size: 5rem;
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(145deg, #2d3436, #636e72);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 12px;
}
.predict-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}
.tag {
    background: white;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(0,0,0,0.02);
}
.tag-big { background: #ffeaa7; color: #b7791f; }
.tag-even { background: #a8e6cf; color: #1d8355; }
.tag-combo { background: #dcd6ff; color: #4a3b9c; }
.predict-detail {
    display: flex;
    gap: 24px;
    margin-bottom: 20px;
    font-size: 1rem;
}
.detail-item span { color: var(--text-soft); margin-right: 4px; }
.predict-footer {
    border-top: 1px dashed #b2bec3;
    padding-top: 16px;
    color: var(--text-soft);
}
.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40px;
    background: var(--bg-light);
    border-radius: 40px 40px 0 0;
}

/* 快捷卡片、走势、冷热、专家等样式沿用，此处省略重复，仅新增术语词典与页脚样式 */
/* 术语词典网格 */
.glossary-section {
    margin: 48px 0;
}
.glossary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 24px;
}
.glossary-item {
    background: white;
    border-radius: var(--radius-lg);
    padding: 28px 20px;
    box-shadow: var(--shadow-sm);
    transition: 0.2s;
    border: 1px solid #f0f0fa;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.glossary-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}
.glossary-icon {
    font-size: 2.2rem;
    color: var(--primary-soft);
    background: #eeebff;
    width: 60px;
    height: 60px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.glossary-item h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
}
.glossary-item p {
    color: var(--text-soft);
    margin-bottom: 16px;
    line-height: 1.6;
}
.glossary-tag {
    background: #e8eaf6;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--primary-soft);
    margin-top: auto;
}

/* 页脚多列 */
.footer {
    background: white;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    padding: 60px 0 30px;
    margin-top: 60px;
    box-shadow: 0 -8px 30px rgba(0,0,0,0.02);
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}
.footer-col h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-dark);
    position: relative;
    padding-bottom: 8px;
}
.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary-soft);
    border-radius: 20px;
}
.footer-col ul {
    list-style: none;
}
.footer-col ul li {
    margin-bottom: 12px;
}
.footer-col ul li a {
    text-decoration: none;
    color: var(--text-soft);
    transition: 0.2s;
}
.footer-col ul li a:hover {
    color: var(--primary-soft);
    padding-left: 4px;
}
.footer-col ul li i {
    width: 24px;
    color: var(--primary-light);
}
.footer-copyright {
    margin-top: 20px;
    font-size: 0.8rem;
    color: #b2bec3;
}
.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #edf0f7;
    color: #95a5a6;
    font-size: 0.9rem;
}

/* 保留原有响应式等，此处省略部分重复样式，但实际文件中全部存在 */
@media (max-width: 800px) {
    .main-nav { display: none; }
    .mobile-menu-toggle { display: block; }
    .hero-title { font-size: 2.2rem; }
    .footer-grid { gap: 30px; }
}