/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', 'Microsoft YaHei', 'Helvetica Neue', sans-serif;
}

body {
    background-color: #0a0e17;
    color: #e0e0e0;
    line-height: 1.6;
    min-height: 100vh;
    background-image: linear-gradient(to bottom, #0a0e17 0%, #121828 100%);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 头部样式 */
.site-header {
    background-color: rgba(10, 14, 23, 0.95);
    border-bottom: 1px solid #1e2a44;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo h1 {
    color: #4fd1c7;
    font-size: 24px;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(79, 209, 199, 0.3);
}

.logo span {
    color: #9f7aea;
}

/* 导航样式 */
.main-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.main-nav a {
    color: #cbd5e0;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
}

.main-nav a:hover {
    color: #4fd1c7;
    background-color: rgba(79, 209, 199, 0.1);
}

.main-nav a.active {
    color: #4fd1c7;
    background-color: rgba(79, 209, 199, 0.15);
}

/* 按钮样式 */
.btn-primary {
    background: linear-gradient(135deg, #4fd1c7 0%, #319795 100%);
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(79, 209, 199, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(79, 209, 199, 0.4);
}

.btn-secondary {
    background: linear-gradient(135deg, #9f7aea 0%, #805ad5 100%);
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(159, 122, 234, 0.3);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(159, 122, 234, 0.4);
}

.button-group {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* 主要内容区域 */
.main-content {
    padding: 40px 0;
    min-height: 70vh;
}

.section-title {
    color: #4fd1c7;
    font-size: 36px;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #4fd1c7, #9f7aea);
}

/* 卡片样式 */
.card {
    background: rgba(18, 24, 40, 0.8);
    border-radius: 12px;
    padding: 25px;
    border: 1px solid rgba(79, 209, 199, 0.2);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.card:hover {
    border-color: rgba(79, 209, 199, 0.4);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* 新闻样式 */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.news-item {
    background: rgba(18, 24, 40, 0.8);
    border-radius: 12px;
    padding: 25px;
    border: 1px solid rgba(79, 209, 199, 0.2);
    transition: all 0.3s ease;
}

.news-item:hover {
    border-color: rgba(79, 209, 199, 0.4);
    transform: translateY(-5px);
}

.news-date {
    color: #9f7aea;
    font-size: 14px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.news-title {
    color: #4fd1c7;
    font-size: 20px;
    margin-bottom: 15px;
    line-height: 1.4;
}

.news-excerpt {
    color: #a0aec0;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* 面包屑导航 */
.breadcrumb {
    background: rgba(18, 24, 40, 0.5);
    padding: 15px 0;
    margin-bottom: 30px;
    border-radius: 8px;
}

.breadcrumb ol {
    display: flex;
    list-style: none;
    gap: 10px;
}

.breadcrumb li:not(:last-child)::after {
    content: '>';
    margin-left: 10px;
    color: #9f7aea;
}

.breadcrumb a {
    color: #cbd5e0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #4fd1c7;
}

.breadcrumb li:last-child a {
    color: #4fd1c7;
    font-weight: 600;
}

/* 产品网格 */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.product-card {
    background: rgba(18, 24, 40, 0.8);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    border: 1px solid rgba(79, 209, 199, 0.2);
    transition: all 0.3s ease;
}

.product-card:hover {
    border-color: rgba(79, 209, 199, 0.4);
    transform: translateY(-5px);
}

.product-icon {
    font-size: 40px;
    color: #4fd1c7;
    margin-bottom: 15px;
}

.product-title {
    color: #4fd1c7;
    font-size: 20px;
    margin-bottom: 10px;
}

/* 页脚样式 */
.site-footer {
    background: rgba(10, 14, 23, 0.95);
    border-top: 1px solid #1e2a44;
    padding: 40px 0;
    margin-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-section h3 {
    color: #4fd1c7;
    font-size: 18px;
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: #cbd5e0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #4fd1c7;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    margin-top: 30px;
    border-top: 1px solid #1e2a44;
    color: #a0aec0;
    font-size: 14px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 20px;
    }
    
    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    
    .main-nav a {
        padding: 6px 12px;
        font-size: 14px;
    }
    
    .button-group {
        flex-direction: column;
        width: 100%;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .logo h1 {
        font-size: 20px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .btn-primary, .btn-secondary {
        padding: 10px 20px;
        font-size: 14px;
    }
}

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* 数字货币相关样式 */
.crypto-badge {
    display: inline-block;
    background: rgba(79, 209, 199, 0.1);
    color: #4fd1c7;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    margin-right: 8px;
    margin-bottom: 8px;
}

.price-up {
    color: #48bb78;
}

.price-down {
    color: #f56565;
}

/* 表单样式 */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: #cbd5e0;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    background: rgba(18, 24, 40, 0.8);
    border: 1px solid rgba(79, 209, 199, 0.2);
    border-radius: 8px;
    color: #e0e0e0;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: #4fd1c7;
    box-shadow: 0 0 0 3px rgba(79, 209, 199, 0.1);
}

/* 特色区域 */
.feature-section {
    background: linear-gradient(135deg, rgba(18, 24, 40, 0.8) 0%, rgba(10, 14, 23, 0.9) 100%);
    padding: 60px 0;
    margin: 40px 0;
    border-radius: 16px;
}

.feature-item {
    text-align: center;
    padding: 30px;
}

.feature-icon {
    font-size: 48px;
    color: #9f7aea;
    margin-bottom: 20px;
}

.feature-title {
    color: #4fd1c7;
    font-size: 22px;
    margin-bottom: 15px;
}