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

body {
    font-family: Arial, sans-serif;
    background-color: #0a0a0a;
    color: #ffffff;
    line-height: 1.6;
}

/* 导航栏样式 */
header {
    background-color: #1a1a1a;
    border-bottom: 1px solid #333;
    padding: 10px 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo img {
    height: 40px;
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-menu li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.nav-menu li a:hover {
    color: #00bfff;
}

/* 横幅样式 */
.banner {
    background-image: linear-gradient(135deg, #ff6b6b, #ee5a24, #f368e0);
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/banner-bg.png') no-repeat center center;
    background-size: cover;
    opacity: 0.3;
}

.banner-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.banner-content h1 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.banner-content p {
    font-size: 18px;
    margin-bottom: 10px;
    color: #ffffff;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 20px;
}

.btn-primary {
    background-color: #00bfff;
    color: #ffffff;
}

.btn-primary:hover {
    background-color: #0099cc;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,191,255,0.3);
}

.btn-secondary {
    background-color: #ffd700;
    color: #000000;
}

.btn-secondary:hover {
    background-color: #ffc107;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255,215,0,0.3);
}

/* 主内容区域 */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

section {
    margin-bottom: 60px;
}

section h2 {
    font-size: 24px;
    margin-bottom: 30px;
    text-align: center;
    color: #ffffff;
}

/* 加密货币列表样式 */
.crypto-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.crypto-item {
    background-color: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s;
}

.crypto-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.3);
    border-color: #00bfff;
}

.crypto-item img {
    height: 60px;
    margin-bottom: 15px;
}

.crypto-item p {
    font-size: 14px;
    margin-bottom: 5px;
    color: #cccccc;
}

.crypto-item span {
    font-size: 12px;
    color: #999;
    background-color: #333;
    padding: 3px 8px;
    border-radius: 10px;
}

/* 活动列表样式 */
.activity-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.activity-item {
    background-color: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s;
}

.activity-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.3);
    border-color: #ffd700;
}

.activity-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 15px;
}

.activity-item h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #ffffff;
}

.activity-item p {
    font-size: 14px;
    margin-bottom: 20px;
    color: #cccccc;
}

/* 新闻列表样式 */
.news-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.news-item {
    background-color: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 15px;
    transition: all 0.3s;
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.3);
    border-color: #00bfff;
}

.news-item img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 10px;
}

.news-item h3 {
    font-size: 16px;
    margin-bottom: 5px;
    color: #ffffff;
}

.news-item h3 a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s;
}

.news-item h3 a:hover {
    color: #00bfff;
    text-decoration: none;
}

.news-item p {
    font-size: 12px;
    color: #cccccc;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

/* 新闻列表部分样式 */
.news-list-section {
    margin-top: 40px;
}

.news-list-section h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #ffffff;
    text-align: left;
}

.news-articles {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.news-articles .news-item {
    background-color: transparent;
    border: none;
    border-bottom: 1px solid #333;
    border-radius: 0;
    padding: 15px 0;
    transition: all 0.3s;
}

.news-articles .news-item:hover {
    transform: none;
    box-shadow: none;
    border-color: #00bfff;
}

.news-articles .news-item a {
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s;
}

.news-articles .news-item a:hover {
    color: #00bfff;
}

/* 页脚样式 */
footer {
    background-color: #1a1a1a;
    border-top: 1px solid #333;
    padding: 30px 20px;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-content p {
    font-size: 12px;
    color: #999;
    margin-bottom: 10px;
}

.footer-content a {
    color: #00bfff;
    text-decoration: none;
}

.footer-content a:hover {
    text-decoration: underline;
}

/* 新闻中心页面样式 */
.news-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

.news-main {
    background-color: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 20px;
}

.news-sidebar {
    background-color: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 20px;
}

.news-sidebar h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #ffffff;
}

.sidebar-menu {
    list-style: none;
}

.sidebar-menu li {
    margin-bottom: 10px;
}

.sidebar-menu li a {
    color: #cccccc;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.sidebar-menu li a:hover {
    color: #00bfff;
}

.sidebar-menu li span {
    float: right;
    color: #999;
    font-size: 12px;
}

/* 资讯行情页面样式 */
.market-sidebar {
    background-color: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 20px;
    height: fit-content;
}

.market-sidebar h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #ffffff;
}

.market-list {
    list-style: none;
}

.market-list li {
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #333;
}

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

.market-list li a {
    color: #cccccc;
    text-decoration: none;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s;
}

.market-list li a:hover {
    color: #00bfff;
}

.market-list li span {
    color: #999;
    font-size: 12px;
}

.market-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.market-tab {
    background-color: #333;
    color: #ffffff;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
}

.market-tab.active {
    background-color: #00bfff;
}

.market-tab:hover {
    background-color: #444;
}

.market-tab.active:hover {
    background-color: #0099cc;
}

/* 分页样式 */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.pagination a {
    background-color: #333;
    color: #ffffff;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 4px;
    transition: all 0.3s;
}

.pagination a:hover {
    background-color: #00bfff;
}

.pagination a.active {
    background-color: #00bfff;
}

/* 欧易下载页面样式 */
.download-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

.download-main {
    background-color: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 20px;
}

.download-main img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.download-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.download-features {
    margin-top: 30px;
}

.download-features h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #ffffff;
}

.download-features ul {
    list-style: none;
    padding-left: 20px;
}

.download-features li {
    font-size: 14px;
    color: #cccccc;
    margin-bottom: 10px;
    position: relative;
}

.download-features li::before {
    content: '•';
    color: #00bfff;
    font-weight: bold;
    position: absolute;
    left: -20px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    
    .banner-content h1 {
        font-size: 24px;
    }
    
    .banner-content p {
        font-size: 14px;
    }
    
    .news-container,
    .market-container,
    .download-container {
        grid-template-columns: 1fr;
    }
    
    .crypto-list,
    .activity-list,
    .news-list {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .download-buttons {
        flex-direction: column;
        align-items: center;
    }
}