/* ============================================
   比特币行情预测中心 - 主样式表
   面向百度SEO优化的加密货币行情分析平台
   ============================================ */

/* === 基础重置与变量 === */
:root {
    --bg-primary: #0a0e17;
    --bg-secondary: #111827;
    --bg-card: #1a2332;
    --bg-card-hover: #1f2b3d;
    --bg-input: #0d1421;
    --border-color: #2a3a50;
    --border-light: #1e2d42;
    --text-primary: #e8edf5;
    --text-secondary: #8899aa;
    --text-muted: #5a6a7a;
    --accent-blue: #3b82f6;
    --accent-blue-light: #60a5fa;
    --accent-cyan: #06b6d4;
    --accent-purple: #8b5cf6;
    --green: #10b981;
    --green-light: #34d399;
    --green-bg: rgba(16, 185, 129, 0.1);
    --red: #ef4444;
    --red-light: #f87171;
    --red-bg: rgba(239, 68, 68, 0.1);
    --yellow: #f59e0b;
    --yellow-bg: rgba(245, 158, 11, 0.1);
    --orange: #f97316;
    --gradient-primary: linear-gradient(135deg, #3b82f6, #8b5cf6);
    --gradient-green: linear-gradient(135deg, #10b981, #06b6d4);
    --gradient-red: linear-gradient(135deg, #ef4444, #f97316);
    --gradient-gold: linear-gradient(135deg, #f59e0b, #f97316);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.4);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.5);
    --shadow-glow-blue: 0 0 20px rgba(59, 130, 246, 0.15);
    --shadow-glow-green: 0 0 20px rgba(16, 185, 129, 0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* === 背景动画 === */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(59, 130, 246, 0.05) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(139, 92, 246, 0.05) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(6, 182, 212, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* === 容器 === */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* === 顶部导航 === */
.header {
    background: rgba(17, 24, 39, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-primary);
}

.logo-icon {
    width: 42px;
    height: 42px;
    background: var(--gradient-gold);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.logo-text {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.logo-text span {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav a {
    color: var(--text-secondary);
    text-decoration: none;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav a:hover,
.nav a.active {
    color: var(--text-primary);
    background: rgba(59, 130, 246, 0.1);
}

.nav a.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: var(--accent-blue);
    border-radius: 1px;
}

/* === 行情滚动条 === */
.ticker-bar {
    background: rgba(10, 14, 23, 0.6);
    border-bottom: 1px solid var(--border-light);
    overflow: hidden;
    height: 44px;
    position: relative;
}

.ticker-track {
    display: flex;
    align-items: center;
    height: 100%;
    animation: tickerScroll 30s linear infinite;
    white-space: nowrap;
}

.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 24px;
    font-size: 13px;
    flex-shrink: 0;
}

.ticker-item .symbol {
    font-weight: 600;
    color: var(--text-primary);
}

.ticker-item .price {
    color: var(--text-secondary);
}

.ticker-item .change {
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
}

.ticker-item .change.up {
    color: var(--green);
    background: var(--green-bg);
}

.ticker-item .change.down {
    color: var(--red);
    background: var(--red-bg);
}

@keyframes tickerScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* === 英雄区域 === */
.hero {
    padding: 60px 0 40px;
    text-align: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero h1 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -1px;
    line-height: 1.2;
}

.hero h1 .highlight {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero .subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 650px;
    margin: 0 auto 30px;
    line-height: 1.6;
}

.hero .keywords-badge {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.keywords-badge .badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 20px;
    font-size: 13px;
    color: var(--accent-blue-light);
    font-weight: 500;
}

.badge .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--green);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* === 币种选择器 === */
.coin-selector {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.coin-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}

.coin-btn:hover {
    background: var(--bg-card-hover);
    border-color: var(--accent-blue);
    color: var(--text-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow-blue);
}

.coin-btn.active {
    background: rgba(59, 130, 246, 0.15);
    border-color: var(--accent-blue);
    color: var(--accent-blue-light);
    box-shadow: var(--shadow-glow-blue);
}

.coin-btn .coin-icon {
    font-size: 18px;
}

/* === 主价格面板 === */
.price-hero-panel {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 36px 40px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.price-hero-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
}

.price-hero-content {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 30px;
}

.price-main {
    flex: 1;
}

.price-main .coin-name {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 4px;
    font-weight: 500;
}

.price-main .price-value {
    font-size: 48px;
    font-weight: 800;
    letter-spacing: -2px;
    line-height: 1.1;
    margin-bottom: 8px;
}

.price-main .price-cny {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.price-change-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
}

.price-change-badge.up {
    background: var(--green-bg);
    color: var(--green);
}

.price-change-badge.down {
    background: var(--red-bg);
    color: var(--red);
}

.price-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    min-width: 320px;
}

.stat-item {
    background: var(--bg-input);
    border-radius: var(--radius-sm);
    padding: 14px 18px;
}

.stat-item .stat-label {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-item .stat-value {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
}

/* === 网格布局 === */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 30px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 30px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

/* === 卡片 === */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.card:hover {
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: var(--shadow-glow-blue);
    transform: translateY(-2px);
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-light);
}

.card-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-title .icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.card-title .icon.blue { background: rgba(59, 130, 246, 0.15); color: var(--accent-blue); }
.card-title .icon.green { background: rgba(16, 185, 129, 0.15); color: var(--green); }
.card-title .icon.purple { background: rgba(139, 92, 246, 0.15); color: var(--accent-purple); }
.card-title .icon.orange { background: rgba(249, 115, 22, 0.15); color: var(--orange); }
.card-title .icon.cyan { background: rgba(6, 182, 212, 0.15); color: var(--accent-cyan); }

.card .time-range {
    display: flex;
    gap: 4px;
}

.time-btn {
    padding: 5px 12px;
    border: 1px solid var(--border-color);
    background: transparent;
    color: var(--text-secondary);
    border-radius: 6px;
    font-size: 12px;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}

.time-btn:hover,
.time-btn.active {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
    color: #fff;
}

/* === 图表区域 === */
.chart-container {
    width: 100%;
    height: 380px;
    position: relative;
    margin-top: 10px;
}

.chart-container canvas {
    width: 100% !important;
    height: 100% !important;
}

/* === 预测面板 === */
.prediction-panel {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 32px;
    margin-bottom: 30px;
}

.prediction-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-green);
}

.prediction-signal {
    text-align: center;
    margin-bottom: 30px;
}

.signal-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    border-radius: var(--radius-md);
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.signal-badge.strong-bullish {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(6, 182, 212, 0.2));
    color: var(--green);
    border: 1px solid rgba(16, 185, 129, 0.3);
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.15);
}

.signal-badge.bullish {
    background: var(--green-bg);
    color: var(--green);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.signal-badge.neutral {
    background: var(--yellow-bg);
    color: var(--yellow);
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.signal-badge.bearish {
    background: var(--red-bg);
    color: var(--red);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.signal-badge.strong-bearish {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.2), rgba(249, 115, 22, 0.2));
    color: var(--red);
    border: 1px solid rgba(239, 68, 68, 0.3);
    box-shadow: 0 0 30px rgba(239, 68, 68, 0.15);
}

.signal-arrow {
    font-size: 24px;
}

/* === 技术指标 === */
.indicators-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.indicator-card {
    background: var(--bg-input);
    border-radius: var(--radius-md);
    padding: 18px 20px;
    border: 1px solid var(--border-light);
}

.indicator-card .ind-label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.indicator-card .ind-value {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 4px;
}

.indicator-card .ind-desc {
    font-size: 12px;
    color: var(--text-secondary);
}

/* === 预测表格 === */
.prediction-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-top: 20px;
}

.prediction-table thead th {
    background: var(--bg-input);
    padding: 14px 18px;
    text-align: left;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid var(--border-color);
}

.prediction-table thead th:first-child {
    border-radius: var(--radius-sm) 0 0 0;
}

.prediction-table thead th:last-child {
    border-radius: 0 var(--radius-sm) 0 0;
}

.prediction-table tbody td {
    padding: 14px 18px;
    border-bottom: 1px solid var(--border-light);
    font-size: 14px;
}

.prediction-table tbody tr:hover {
    background: rgba(59, 130, 246, 0.05);
}

.prediction-table tbody tr:last-child td {
    border-bottom: none;
}

.change-up { color: var(--green); font-weight: 600; }
.change-down { color: var(--red); font-weight: 600; }

/* === 市场概览币种卡片 === */
.coin-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 22px;
    transition: var(--transition);
    cursor: pointer;
}

.coin-card:hover {
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow-blue);
}

.coin-card .coin-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.coin-card .coin-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.coin-card .coin-avatar {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    background: var(--gradient-gold);
    color: #fff;
}

.coin-card .coin-name-wrap .coin-name {
    font-size: 15px;
    font-weight: 700;
}

.coin-card .coin-name-wrap .coin-symbol {
    font-size: 12px;
    color: var(--text-muted);
}

.coin-card .coin-price {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 8px;
}

.coin-card .coin-change {
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

.coin-card .mini-chart {
    height: 50px;
    margin-top: 10px;
}

/* === 进度条/仪表盘 === */
.gauge-container {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.gauge {
    width: 200px;
    height: 100px;
    position: relative;
}

.score-bar {
    width: 100%;
    height: 8px;
    background: var(--bg-input);
    border-radius: 4px;
    overflow: hidden;
    margin-top: 8px;
}

.score-bar .fill {
    height: 100%;
    border-radius: 4px;
    transition: width 1s ease;
}

.score-bar .fill.bullish { background: var(--gradient-green); }
.score-bar .fill.bearish { background: var(--gradient-red); }
.score-bar .fill.neutral { background: var(--gradient-gold); }

/* === SEO内容区域 === */
.seo-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 40px;
    margin-bottom: 30px;
}

.seo-content h2 {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.seo-content h3 {
    font-size: 20px;
    font-weight: 700;
    margin: 28px 0 14px;
    color: var(--text-primary);
}

.seo-content p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}

.seo-content ul {
    padding-left: 24px;
    margin-bottom: 16px;
}

.seo-content ul li {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 6px;
}

/* === FAQ手风琴 === */
.faq-section {
    margin-top: 30px;
}

.faq-item {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    margin-bottom: 10px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: rgba(59, 130, 246, 0.3);
}

.faq-question {
    width: 100%;
    background: var(--bg-card);
    border: none;
    padding: 18px 24px;
    text-align: left;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: inherit;
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--bg-card-hover);
}

.faq-question .arrow {
    font-size: 12px;
    transition: transform 0.3s;
    color: var(--text-muted);
}

.faq-item.active .faq-question .arrow {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: var(--bg-input);
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 18px 24px;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* === 页脚 === */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 50px 0 30px;
    margin-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand .footer-logo {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.footer-brand .footer-logo span {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-brand p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
}

.footer-col h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-col a {
    display: block;
    font-size: 14px;
    color: var(--text-muted);
    text-decoration: none;
    padding: 4px 0;
    transition: var(--transition);
}

.footer-col a:hover {
    color: var(--accent-blue-light);
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid var(--border-light);
    padding-top: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    color: var(--text-muted);
}

.footer-bottom .disclaimer {
    max-width: 600px;
    font-size: 12px;
    line-height: 1.6;
}

/* === 更新时间标签 === */
.update-time {
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.update-time .live-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--green);
    border-radius: 50%;
    margin-right: 6px;
    animation: pulse 2s infinite;
}

/* === 加载动画 === */
.loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border-color);
    border-top-color: var(--accent-blue);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* === 面包屑导航 === */
.breadcrumb {
    padding: 16px 0;
    font-size: 13px;
    color: var(--text-muted);
}

.breadcrumb a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumb a:hover {
    color: var(--accent-blue-light);
}

.breadcrumb .separator {
    margin: 0 8px;
}

/* === 工具提示 === */
.tooltip {
    position: relative;
    cursor: help;
}

.tooltip::after {
    content: attr(data-tip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg-secondary);
    color: var(--text-primary);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
    border: 1px solid var(--border-color);
    z-index: 100;
}

.tooltip:hover::after {
    opacity: 1;
}

/* === 响应式设计 === */
@media (max-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
    .price-hero-content { flex-direction: column; }
    .price-stats { min-width: 100%; }
}

@media (max-width: 768px) {
    .hero h1 { font-size: 28px; }
    .hero .subtitle { font-size: 15px; }
    .grid-2 { grid-template-columns: 1fr; }
    .grid-3 { grid-template-columns: 1fr; }
    .grid-4 { grid-template-columns: 1fr; }
    .nav { display: none; }
    .container { padding: 0 16px; }
    .card { padding: 20px; }
    .price-hero-panel { padding: 24px 20px; }
    .price-main .price-value { font-size: 32px; }
    .seo-content { padding: 24px; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
    .indicators-grid { grid-template-columns: 1fr 1fr; }
    .coin-selector { gap: 6px; }
    .coin-btn { padding: 8px 14px; font-size: 13px; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 24px; }
    .price-main .price-value { font-size: 28px; }
    .indicators-grid { grid-template-columns: 1fr; }
    .prediction-table { font-size: 13px; }
    .prediction-table thead th,
    .prediction-table tbody td { padding: 10px 12px; }
}

/* === 打印样式 === */
@media print {
    body { background: #fff; color: #333; }
    .header, .footer, .nav, .coin-selector, .time-range { display: none; }
    .card { border: 1px solid #ddd; box-shadow: none; }
}
