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

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', -apple-system, sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    background: #f8f9fa;
}

.top-banner {
    background: linear-gradient(90deg, #1e88e5 0%, #1565c0 100%);
    color: white;
    text-align: center;
    padding: 12px;
    font-size: 14px;
}

.header-nav {
    background: white;
    padding: 18px 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 100;
}

.site-logo {
    height: 42px;
}

.nav-links {
    display: flex;
    gap: 35px;
}

.nav-links a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #1e88e5;
}

.register-btn {
    background: linear-gradient(135deg, #1e88e5, #1565c0);
    color: white;
    border: none;
    padding: 10px 28px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    transition: transform 0.2s;
    text-decoration: none;
    display: inline-block;
}

.register-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30,136,229,0.3);
}

.content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-area {
    display: flex;
    align-items: center;
    gap: 60px;
    padding: 60px 0;
}

.hero-left {
    flex: 1;
}

.hero-left h1 {
    font-size: 42px;
    color: #1a1a1a;
    margin-bottom: 20px;
    line-height: 1.3;
}

.hero-left p {
    font-size: 17px;
    color: #555;
    margin-bottom: 30px;
    line-height: 1.8;
}

.action-btns {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.btn-primary {
    background: #1e88e5;
    color: white;
    border: none;
    padding: 14px 32px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-primary:hover {
    background: #1565c0;
    transform: scale(1.05);
}

.btn-secondary {
    background: white;
    color: #1e88e5;
    border: 2px solid #1e88e5;
    padding: 14px 32px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-secondary:hover {
    background: #f0f8ff;
}

.trust-badges {
    display: flex;
    gap: 25px;
    font-size: 15px;
    color: #666;
}

.trust-badges span {
    display: flex;
    align-items: center;
}

.hero-right {
    flex: 1;
}

.price-ticker {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.ticker-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}

.ticker-item:last-child {
    border-bottom: none;
}

.coin-name {
    font-weight: 600;
    font-size: 16px;
}

.coin-price {
    font-size: 18px;
    font-weight: 700;
}

.price-change {
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
}

.price-change.up {
    background: #e8f5e9;
    color: #2e7d32;
}

.price-change.down {
    background: #ffebee;
    color: #c62828;
}

.market-section {
    padding: 60px 0;
}

.market-section h2 {
    font-size: 32px;
    margin-bottom: 30px;
    text-align: center;
}

.market-table {
    width: 100%;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.market-table thead {
    background: #f5f5f5;
}

.market-table th {
    padding: 16px;
    text-align: left;
    font-weight: 600;
    color: #666;
}

.market-table td {
    padding: 16px;
    border-bottom: 1px solid #f0f0f0;
}

.market-table tr:hover {
    background: #fafafa;
}

.green {
    color: #2e7d32;
    font-weight: 600;
}

.red {
    color: #c62828;
    font-weight: 600;
}

.trade-btn {
    background: #1e88e5;
    color: white;
    border: none;
    padding: 6px 18px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s;
    text-decoration: none;
    display: inline-block;
}

.trade-btn:hover {
    background: #1565c0;
}

.academy-section {
    padding: 60px 0;
    background: white;
    margin: 40px 0;
    border-radius: 12px;
}

.academy-section h2 {
    font-size: 32px;
    margin-bottom: 40px;
    text-align: center;
}

.course-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    padding: 0 30px;
}

.course-card {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    border-left: 4px solid #1e88e5;
    transition: all 0.3s;
}

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

.course-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.course-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: #1a1a1a;
}

.course-card p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 15px;
}

.learn-link {
    color: #1e88e5;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.learn-link:hover {
    color: #1565c0;
}

.news-section {
    padding: 60px 0;
}

.news-section h2 {
    font-size: 32px;
    margin-bottom: 30px;
    text-align: center;
}

.news-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 25px;
}

.featured-news {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.news-image {
    height: 250px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.news-content {
    padding: 25px;
}

.news-tag {
    background: #ff5252;
    color: white;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
}

.news-content h3 {
    font-size: 22px;
    margin: 15px 0 10px;
}

.news-content p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 10px;
}

.news-time {
    font-size: 13px;
    color: #999;
}

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

.news-item {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: all 0.3s;
    cursor: pointer;
}

.news-item:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    transform: translateX(5px);
}

.news-item h4 {
    font-size: 15px;
    margin-bottom: 8px;
    color: #333;
}

.milestone-section {
    padding: 60px 0;
    background: white;
    margin: 40px 0;
    border-radius: 12px;
}

.milestone-section h2 {
    font-size: 32px;
    margin-bottom: 50px;
    text-align: center;
}

.timeline {
    padding: 0 40px;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 100%;
    background: #e0e0e0;
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-year {
    flex: 1;
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    color: #1e88e5;
}

.timeline-content {
    flex: 1;
    background: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.timeline-content h4 {
    font-size: 18px;
    margin-bottom: 8px;
}

.timeline-content p {
    color: #666;
    font-size: 14px;
}

.faq-section {
    padding: 60px 0;
}

.faq-section h2 {
    font-size: 32px;
    margin-bottom: 30px;
    text-align: center;
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    overflow: hidden;
}

.faq-item summary {
    padding: 20px;
    cursor: pointer;
    font-weight: 600;
    font-size: 17px;
    list-style: none;
    transition: background 0.3s;
}

.faq-item summary:hover {
    background: #f5f5f5;
}

.faq-item summary::after {
    content: '+';
    float: right;
    font-size: 24px;
    color: #1e88e5;
}

.faq-item[open] summary::after {
    content: '−';
}

.faq-item p {
    padding: 0 20px 20px;
    color: #666;
    line-height: 1.7;
}

.testimonial-section {
    padding: 60px 0;
    background: white;
    margin: 40px 0;
    border-radius: 12px;
}

.testimonial-section h2 {
    font-size: 32px;
    margin-bottom: 40px;
    text-align: center;
}

.testimonial-slider {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    padding: 0 30px;
}

.testimonial-box {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

.rating {
    font-size: 18px;
    margin-bottom: 15px;
}

.testimonial-box p {
    color: #555;
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
}

.user-info {
    display: flex;
    flex-direction: column;
}

.user-info strong {
    font-size: 16px;
    color: #333;
}

.user-info span {
    font-size: 13px;
    color: #999;
}

.site-footer {
    background: #2c3e50;
    color: white;
    padding: 50px 5% 20px;
    margin-top: 60px;
}

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

.footer-col h4 {
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-col a {
    display: block;
    color: #bbb;
    text-decoration: none;
    margin-bottom: 10px;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: #1e88e5;
}

.footer-links {
    padding: 30px 0;
    border-top: 1px solid #444;
    border-bottom: 1px solid #444;
    margin-bottom: 30px;
}

.footer-links h4 {
    margin-bottom: 15px;
    font-size: 16px;
}

.footer-links a {
    color: #bbb;
    text-decoration: none;
    margin-right: 25px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #1e88e5;
}

.footer-bottom {
    text-align: center;
    font-size: 14px;
    color: #999;
}

.footer-bottom a {
    color: #1e88e5;
    text-decoration: none;
    margin: 0 8px;
}

@media (max-width: 768px) {
    .hero-area, .news-container, .course-grid, .testimonial-slider, .footer-main {
        grid-template-columns: 1fr;
    }
    
    .nav-links {
        display: none;
    }
}
