* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 头部样式 */
.header {
    background: linear-gradient(135deg, #d4af37, #ffd700);
    color: white;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo i {
    font-size: 2rem;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: bold;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s;
}

.nav a:hover {
    opacity: 0.8;
}

/* 英雄区域样式 */
.hero {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
    url('data:image/svg+xml,<svg xmlns=" http://www.w3.org/2000/svg " viewBox="0 0 1000 600"><rect fill="%23d4af37" width="1000" height="600"/><circle fill="%23ffd700" cx="200" cy="150" r="3"/><circle fill="%23ffed4e" cx="800" cy="100" r="2"/><circle fill="%23fff200" cx="600" cy="300" r="2.5"/></svg>');
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    align-items: center;
    color: white;
    text-align: center;
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease-out;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.price-display {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 3rem 0;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.price-item {
    background: rgba(255,255,255,0.1);
    padding: 1.5rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.price-item .label {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.price-item .price {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    color: #ffd700;
}

.price-item .unit {
    font-size: 0.9rem;
    opacity: 0.8;
}

.cta-button {
    background: linear-gradient(45deg, #d4af37, #ffd700);
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 50px;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(212,175,55,0.3);
}

/* 实时金价区域样式 */
.price-board {
    padding: 5rem 0;
    background: white;
}

.price-board h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333;
}

.board-container {
    max-width: 1000px;
    margin: 0 auto;
}

.digital-board {
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.board-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    color: #00ff88;
    font-family: 'Courier New', monospace;
}

.board-header h3 {
    font-size: 1.5rem;
}

.update-time {
    font-size: 0.9rem;
    opacity: 0.8;
}

.price-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.price-card {
    background: linear-gradient(145deg, #2a2a2a, #1e1e1e);
    border-radius: 15px;
    padding: 1.5rem;
    border: 1px solid #444;
    transition: transform 0.3s, box-shadow 0.3s;
}

.price-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,255,136,0.1);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    color: #ffd700;
}

.card-header i {
    font-size: 1.2rem;
}

.card-header h4 {
    font-size: 1.1rem;
}

.card-price {
    display: flex;
    align-items: baseline;
    margin-bottom: 1rem;
}

.currency {
    font-size: 1.2rem;
    color: #00ff88;
    margin-right: 0.2rem;
}

.amount {
    font-size: 2.5rem;
    font-weight: bold;
    color: #00ff88;
    font-family: 'Courier New', monospace;
}

.card-change {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.card-change.positive {
    color: #00ff88;
}

.card-change.negative {
    color: #ff4757;
}

/* 产品展示区域样式 */
.products {
    padding: 5rem 0;
    background: #f8f9fa;
}

.products h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.product-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.product-image {
    color: #d4af37;
    margin-bottom: 1.5rem;
}

.product-image i {
    transition: transform 0.3s;
}

.product-card:hover .product-image i {
    transform: scale(1.1);
}

.product-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #333;
}

.product-card p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.feature-tag {
    background: linear-gradient(45deg, #d4af37, #ffd700);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* 关于我们区域样式 */
.about {
    padding: 5rem 0;
    background: white;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #333;
}

.about-text p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.advantages {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.advantage-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #333;
    font-weight: 500;
}

.advantage-item i {
    color: #d4af37;
    font-size: 1.2rem;
}

/* 页脚样式 */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: #ffd700;
}

.footer-section p {
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.footer-section i {
    margin-right: 0.5rem;
    color: #d4af37;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
    opacity: 0.7;
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav ul {
        gap: 1rem;
    }

    .hero-content h2 {
        font-size: 2rem;
    }

    .price-display {
        flex-direction: column;
        align-items: center;
    }

    .board-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .price-grid {
        grid-template-columns: 1fr;
    }

    .advantages {
        flex-direction: column;
        gap: 1rem;
    }

    .amount {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 0 1rem;
    }

    .hero-content h2 {
        font-size: 1.5rem;
    }

    .price-board h2,
    .products h2,
    .about-text h2 {
        font-size: 2rem;
    }

    .digital-board {
        padding: 1rem;
    }

    .product-card {
        padding: 1.5rem;
    }
}
