/* 全局样式 */
:root {
    --gold-primary: #D4AF37;
    --gold-secondary: #CFB53B;
    --gold-light: #F5F1DE;
    --gold-dark: #996515;
    --dark-bg: #212529;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding-top: 56px;
    color: #333;
}

/* 导航栏样式 */
.navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: 700;
    color: var(--gold-primary) !important;
}

.nav-link {
    font-weight: 500;
}

.nav-link:hover {
    color: var(--gold-primary) !important;
}

/* 英雄区域样式 */
.hero-section {
    background: linear-gradient(135deg, var(--dark-bg) 0%, #000 100%);
    color: white;
    padding: 100px 0 60px;
    margin-bottom: 30px;
}

.hero-section h1 {
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--gold-primary);
}

.hero-section .lead {
    font-size: 1.25rem;
    margin-bottom: 30px;
}

.current-price {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 15px 25px;
    display: inline-block;
    margin-top: 20px;
}

.price-label {
    font-size: 1.1rem;
    margin-right: 10px;
}

.price-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold-primary);
    margin-right: 10px;
}

.price-change {
    font-size: 1.1rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 5px;
}

.price-change.positive {
    background-color: rgba(40, 167, 69, 0.2);
    color: #28a745;
}

.price-change.negative {
    background-color: rgba(220, 53, 69, 0.2);
    color: #dc3545;
}

/* 章节标题样式 */
.section-title {
    position: relative;
    margin-bottom: 40px;
    padding-bottom: 15px;
    text-align: center;
    font-weight: 700;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--gold-primary);
}

/* 卡片样式 */
.card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.card-header {
    font-weight: 600;
    border-bottom: none;
}

.card-title {
    font-weight: 700;
}

/* 价格列表样式 */
.price-list {
    list-style-type: none;
    padding-left: 0;
}

.price-list li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.price-list li:last-child {
    border-bottom: none;
}

/* 关键发现样式 */
.key-findings {
    background-color: var(--gold-light);
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
}

.key-findings h5 {
    color: var(--gold-dark);
    margin-bottom: 10px;
}

.key-findings ul {
    margin-bottom: 0;
}

/* 趋势部分样式 */
.trend-section {
    padding-bottom: 30px;
}

.trend-section h3 {
    color: var(--gold-dark);
    margin-bottom: 25px;
    font-weight: 600;
}

.chart-container {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
}

.chart-container img {
    width: 100%;
    height: auto;
}

/* 预测卡片样式 */
.forecast-card {
    height: 100%;
}

.forecast-card .card-header {
    color: white;
    font-weight: 700;
}

.price-forecast {
    background-color: var(--gold-light);
    padding: 10px 15px;
    border-radius: 8px;
    margin-top: 15px;
    text-align: center;
}

.forecast-range {
    display: block;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--gold-dark);
    margin-top: 5px;
}

/* 页脚样式 */
footer {
    margin-top: 50px;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .hero-section {
        padding: 80px 0 40px;
    }
    
    .price-value {
        font-size: 1.3rem;
    }
    
    .section-title {
        margin-bottom: 30px;
    }
    
    .trend-section h3 {
        font-size: 1.4rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 70px 0 30px;
    }
    
    .current-price {
        padding: 10px 15px;
    }
    
    .price-label, .price-change {
        font-size: 0.9rem;
    }
    
    .price-value {
        font-size: 1.1rem;
    }
}
