* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f5f7fa;
}

a {
    text-decoration: none;
    color: #0066cc;
}

a:hover {
    color: #004499;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background: linear-gradient(135deg, #0a1628 0%, #1a2d5a 100%);
    color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    background: rgba(0, 0, 0, 0.2);
    padding: 8px 0;
    font-size: 14px;
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-top-links a {
    color: #b0c4de;
    margin-left: 20px;
}

.header-top-links a:hover {
    color: #fff;
}

.header-main {
    padding: 15px 0;
}

.header-main .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo h1 {
    font-size: 28px;
    color: #00d4ff;
    font-weight: bold;
}

.logo span {
    color: #ff9900;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: #fff;
    font-size: 16px;
    padding: 8px 15px;
    border-radius: 4px;
    transition: background 0.3s;
}

nav ul li a:hover,
nav ul li a.active {
    background: rgba(0, 212, 255, 0.2);
    color: #00d4ff;
}

.header-buttons {
    display: flex;
    gap: 15px;
}

.btn {
    display: inline-block;
    padding: 10px 25px;
    border-radius: 6px;
    font-weight: bold;
    font-size: 14px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, #ff9900 0%, #ff6600 100%);
    color: #fff;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 153, 0, 0.4);
    color: #fff;
}

.btn-secondary {
    background: transparent;
    color: #00d4ff;
    border: 2px solid #00d4ff;
}

.btn-secondary:hover {
    background: #00d4ff;
    color: #0a1628;
}

.breadcrumb {
    background: #fff;
    padding: 15px 0;
    border-bottom: 1px solid #e0e0e0;
}

.breadcrumb .container {
    display: flex;
    align-items: center;
    font-size: 14px;
}

.breadcrumb a {
    color: #666;
}

.breadcrumb a:hover {
    color: #0066cc;
}

.breadcrumb span {
    margin: 0 10px;
    color: #999;
}

.breadcrumb .current {
    color: #333;
    font-weight: 500;
}

.hero {
    background: linear-gradient(135deg, #0a1628 0%, #1a2d5a 50%, #0d1f3c 100%);
    padding: 80px 0;
    color: #fff;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-content h2 {
    font-size: 42px;
    margin-bottom: 20px;
    line-height: 1.3;
}

.hero-content h2 span {
    color: #00d4ff;
}

.hero-content p {
    font-size: 18px;
    color: #b0c4de;
    margin-bottom: 30px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.hero-image-placeholder {
    width: 400px;
    height: 300px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, rgba(255, 153, 0, 0.1) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 212, 255, 0.3);
}

.hero-image-placeholder i {
    font-size: 80px;
    color: #00d4ff;
}

section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 32px;
    color: #1a2d5a;
    margin-bottom: 15px;
}

.section-title p {
    color: #666;
    font-size: 16px;
}

.features {
    background: #fff;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-item {
    background: #f8f9fa;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s;
    border: 1px solid #e0e0e0;
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: #00d4ff;
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #00d4ff 0%, #0099cc 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.feature-icon i {
    font-size: 30px;
    color: #fff;
}

.feature-item h3 {
    font-size: 18px;
    color: #1a2d5a;
    margin-bottom: 15px;
}

.feature-item p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

.market-overview {
    background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
}

.market-table {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.market-table-header {
    display: grid;
    grid-template-columns: 150px 1fr 1fr 1fr 1fr;
    background: #1a2d5a;
    color: #fff;
    padding: 20px;
    font-weight: bold;
}

.market-table-row {
    display: grid;
    grid-template-columns: 150px 1fr 1fr 1fr 1fr;
    padding: 20px;
    border-bottom: 1px solid #f0f0f0;
    align-items: center;
    transition: background 0.3s;
}

.market-table-row:hover {
    background: #f8f9fa;
}

.coin-name {
    display: flex;
    align-items: center;
    gap: 10px;
}

.coin-icon {
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, #ff9900 0%, #ff6600 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: bold;
    font-size: 14px;
}

.price-up {
    color: #00c853;
}

.price-down {
    color: #ff5252;
}

.cta-section {
    background: linear-gradient(135deg, #0a1628 0%, #1a2d5a 100%);
    text-align: center;
    color: #fff;
}

.cta-section h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 18px;
    color: #b0c4de;
    margin-bottom: 30px;
}

.news-section {
    background: #fff;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.news-item {
    background: #f8f9fa;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e0e0e0;
    transition: all 0.3s;
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.news-image {
    height: 180px;
    background: linear-gradient(135deg, #1a2d5a 0%, #2d4a7c 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00d4ff;
}

.news-image i {
    font-size: 50px;
}

.news-content {
    padding: 25px;
}

.news-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 14px;
    color: #999;
}

.news-content h3 {
    font-size: 18px;
    color: #1a2d5a;
    margin-bottom: 15px;
    line-height: 1.4;
}

.news-content h3 a {
    color: #1a2d5a;
}

.news-content h3 a:hover {
    color: #00d4ff;
}

.news-content p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

.about-section {
    background: #fff;
}

.about-content {
    display: flex;
    gap: 60px;
    align-items: center;
}

.about-text {
    flex: 1;
}

.about-text h3 {
    font-size: 28px;
    color: #1a2d5a;
    margin-bottom: 20px;
}

.about-text p {
    color: #666;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
    padding: 30px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e8ecf1 100%);
    border-radius: 12px;
}

.stat-item h4 {
    font-size: 36px;
    color: #00d4ff;
    margin-bottom: 10px;
}

.stat-item p {
    color: #666;
    font-size: 14px;
}

.page-content {
    background: #fff;
    min-height: 600px;
}

.page-header {
    text-align: center;
    margin-bottom: 50px;
}

.page-header h1 {
    font-size: 36px;
    color: #1a2d5a;
    margin-bottom: 15px;
}

.page-header p {
    color: #666;
    font-size: 16px;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.contact-card {
    text-align: center;
    padding: 40px 30px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
}

.contact-card .icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #00d4ff 0%, #0099cc 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: #fff;
    font-size: 28px;
}

.contact-card h3 {
    font-size: 18px;
    color: #1a2d5a;
    margin-bottom: 10px;
}

.contact-card p {
    color: #666;
    font-size: 14px;
}

.contact-form-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.contact-form {
    background: #f8f9fa;
    padding: 50px;
    border-radius: 12px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    color: #333;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.news-list-item {
    display: flex;
    gap: 30px;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s;
}

.news-list-item:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.news-list-image {
    width: 280px;
    height: 180px;
    background: linear-gradient(135deg, #1a2d5a 0%, #2d4a7c 100%);
    border-radius: 8px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00d4ff;
}

.news-list-content {
    flex: 1;
}

.news-list-content h2 {
    font-size: 22px;
    margin-bottom: 15px;
}

.news-list-content h2 a {
    color: #1a2d5a;
}

.news-list-content h2 a:hover {
    color: #00d4ff;
}

.news-detail-content {
    max-width: 900px;
    margin: 0 auto;
}

.news-detail-header {
    text-align: center;
    margin-bottom: 40px;
}

.news-detail-header h1 {
    font-size: 32px;
    color: #1a2d5a;
    margin-bottom: 20px;
    line-height: 1.4;
}

.news-detail-body {
    font-size: 16px;
    line-height: 2;
    color: #444;
}

.news-detail-body p {
    margin-bottom: 25px;
}

.news-detail-body h3 {
    color: #1a2d5a;
    font-size: 22px;
    margin: 40px 0 20px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.product-card {
    background: #f8f9fa;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e0e0e0;
    transition: all 0.3s;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.product-image {
    height: 200px;
    background: linear-gradient(135deg, #0a1628 0%, #1a2d5a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00d4ff;
}

.product-image i {
    font-size: 60px;
}

.product-info {
    padding: 30px;
}

.product-info h3 {
    font-size: 20px;
    color: #1a2d5a;
    margin-bottom: 15px;
}

.product-info p {
    color: #666;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.product-tags span {
    background: #e8ecf1;
    color: #1a2d5a;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
}

footer {
    background: #0a1628;
    color: #b0c4de;
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 40px;
}

.footer-brand h3 {
    font-size: 24px;
    color: #00d4ff;
    margin-bottom: 20px;
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-links h4 {
    color: #fff;
    font-size: 16px;
    margin-bottom: 25px;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: #b0c4de;
    font-size: 14px;
}

.footer-links ul li a:hover {
    color: #00d4ff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    font-size: 14px;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
}

@media (max-width: 1024px) {
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-info {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hero .container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        margin-bottom: 40px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-image {
        justify-content: center;
    }

    .about-content {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    nav {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .header-main .container {
        flex-wrap: wrap;
    }

    .header-buttons {
        margin-top: 15px;
        width: 100%;
        justify-content: center;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .market-table-header,
    .market-table-row {
        grid-template-columns: 100px 1fr;
    }

    .market-table-header > div:nth-child(3),
    .market-table-header > div:nth-child(4),
    .market-table-header > div:nth-child(5),
    .market-table-row > div:nth-child(3),
    .market-table-row > div:nth-child(4),
    .market-table-row > div:nth-child(5) {
        display: none;
    }

    .contact-info {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .news-list-item {
        flex-direction: column;
    }

    .news-list-image {
        width: 100%;
        height: 200px;
    }

    .hero-content h2 {
        font-size: 32px;
    }

    .contact-form {
        padding: 30px;
    }
}

.float-buttons {
    position: fixed;
    right: 20px;
    bottom: 50%;
    transform: translateY(50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}

.float-buttons .btn {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    padding: 12px 20px;
    font-size: 13px;
}

@media (max-width: 768px) {
    .float-buttons {
        position: fixed;
        right: 0;
        left: 0;
        bottom: 0;
        transform: none;
        flex-direction: row;
        justify-content: center;
        gap: 10px;
        padding: 15px;
        background: rgba(10, 22, 40, 0.95);
    }

    .float-buttons .btn {
        flex: 1;
        max-width: 180px;
    }
}