* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #0a0e27;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background: linear-gradient(135deg, #1a1f3a 0%, #0d1228 100%);
    border-bottom: 2px solid #ffd700;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    background: #0d1228;
    padding: 10px 0;
    border-bottom: 1px solid #2a2f4a;
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #aaa;
}

.header-top a {
    color: #ffd700;
    text-decoration: none;
}

.header-main {
    padding: 20px 0;
}

.header-main .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    font-size: 28px;
    font-weight: bold;
    color: #ffd700;
    text-decoration: none;
}

.logo span {
    color: #fff;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
    flex-wrap: wrap;
}

nav a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover,
nav a.active {
    color: #ffd700;
}

.header-buttons {
    display: flex;
    gap: 15px;
}

.btn {
    padding: 12px 28px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
    display: inline-block;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, #ffd700 0%, #ffaa00 100%);
    color: #1a1f3a;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #ffd700;
    border: 2px solid #ffd700;
}

.btn-secondary:hover {
    background: #ffd700;
    color: #1a1f3a;
}

.hero {
    background: linear-gradient(135deg, #1a1f3a 0%, #0d1228 50%, #1a1f3a 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
    top: -200px;
    right: -200px;
}

.hero::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.08) 0%, transparent 70%);
    bottom: -100px;
    left: -100px;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 48px;
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero h1 span {
    color: #ffd700;
}

.hero p {
    font-size: 18px;
    color: #aaa;
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 36px;
    color: #fff;
    margin-bottom: 15px;
}

.section-title p {
    color: #aaa;
    font-size: 16px;
}

.section-title span {
    color: #ffd700;
}

.features {
    background: #0d1228;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card {
    background: linear-gradient(135deg, #1a1f3a 0%, #151a32 100%);
    padding: 40px 30px;
    border-radius: 10px;
    border: 1px solid #2a2f4a;
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: #ffd700;
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #ffd700 0%, #ffaa00 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin-bottom: 25px;
}

.feature-card h3 {
    color: #fff;
    font-size: 22px;
    margin-bottom: 15px;
}

.feature-card p {
    color: #aaa;
    line-height: 1.8;
}

.market-section {
    background: #1a1f3a;
}

.market-table {
    background: #0d1228;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #2a2f4a;
}

.market-header {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    padding: 20px;
    background: #151a32;
    border-bottom: 1px solid #2a2f4a;
    font-weight: bold;
    color: #ffd700;
}

.market-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    padding: 20px;
    border-bottom: 1px solid #2a2f4a;
    align-items: center;
    transition: background 0.3s;
}

.market-row:hover {
    background: #151a32;
}

.market-row:last-child {
    border-bottom: none;
}

.market-name {
    color: #fff;
    font-weight: 500;
}

.market-name span {
    color: #aaa;
    font-size: 14px;
}

.market-price {
    color: #fff;
}

.market-change {
    font-weight: 500;
}

.market-change.up {
    color: #00d084;
}

.market-change.down {
    color: #ff4757;
}

.market-volume {
    color: #aaa;
}

.about-section {
    background: #0d1228;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h3 {
    color: #ffd700;
    font-size: 24px;
    margin-bottom: 20px;
}

.about-text p {
    color: #aaa;
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-list {
    list-style: none;
    margin-top: 30px;
}

.about-list li {
    color: #fff;
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
}

.about-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #ffd700;
    font-weight: bold;
}

.about-image {
    background: linear-gradient(135deg, #1a1f3a 0%, #151a32 100%);
    border-radius: 10px;
    padding: 60px;
    text-align: center;
    border: 1px solid #2a2f4a;
}

.about-image .icon {
    font-size: 100px;
    margin-bottom: 20px;
}

.stats {
    background: linear-gradient(135deg, #1a1f3a 0%, #0d1228 100%);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 48px;
    font-weight: bold;
    color: #ffd700;
    margin-bottom: 10px;
}

.stat-label {
    color: #aaa;
    font-size: 16px;
}

.cta-section {
    background: linear-gradient(135deg, #ffd700 0%, #ffaa00 100%);
    text-align: center;
}

.cta-section h2 {
    color: #1a1f3a;
    font-size: 36px;
    margin-bottom: 20px;
}

.cta-section p {
    color: #1a1f3a;
    font-size: 18px;
    margin-bottom: 40px;
}

.cta-section .btn-primary {
    background: #1a1f3a;
    color: #ffd700;
}

.cta-section .btn-primary:hover {
    background: #0d1228;
}

.breadcrumb {
    background: #0d1228;
    padding: 20px 0;
    border-bottom: 1px solid #2a2f4a;
}

.breadcrumb a {
    color: #aaa;
    text-decoration: none;
}

.breadcrumb a:hover {
    color: #ffd700;
}

.breadcrumb span {
    color: #ffd700;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.news-card {
    background: #1a1f3a;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #2a2f4a;
    transition: all 0.3s;
}

.news-card:hover {
    transform: translateY(-5px);
    border-color: #ffd700;
}

.news-image {
    height: 200px;
    background: linear-gradient(135deg, #2a2f4a 0%, #1a1f3a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
}

.news-content {
    padding: 25px;
}

.news-meta {
    display: flex;
    gap: 20px;
    color: #aaa;
    font-size: 14px;
    margin-bottom: 15px;
}

.news-card h3 {
    color: #fff;
    font-size: 20px;
    margin-bottom: 15px;
}

.news-card h3 a {
    color: #fff;
    text-decoration: none;
}

.news-card h3 a:hover {
    color: #ffd700;
}

.news-card p {
    color: #aaa;
    line-height: 1.8;
}

.news-detail {
    background: #1a1f3a;
    padding: 40px;
    border-radius: 10px;
    border: 1px solid #2a2f4a;
}

.news-detail-header {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #2a2f4a;
}

.news-detail-header h1 {
    color: #fff;
    font-size: 32px;
    margin-bottom: 20px;
}

.news-detail-content p {
    color: #aaa;
    margin-bottom: 20px;
    line-height: 2;
}

.news-detail-content h2,
.news-detail-content h3 {
    color: #ffd700;
    margin: 30px 0 15px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.product-card {
    background: #1a1f3a;
    padding: 40px 30px;
    border-radius: 10px;
    border: 1px solid #2a2f4a;
    text-align: center;
    transition: all 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: #ffd700;
}

.product-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #ffd700 0%, #ffaa00 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
    margin: 0 auto 25px;
}

.product-card h3 {
    color: #fff;
    font-size: 24px;
    margin-bottom: 15px;
}

.product-card p {
    color: #aaa;
    margin-bottom: 25px;
    line-height: 1.8;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h3 {
    color: #ffd700;
    font-size: 24px;
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    align-items: flex-start;
}

.contact-item-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #ffd700 0%, #ffaa00 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.contact-item h4 {
    color: #fff;
    margin-bottom: 5px;
}

.contact-item p {
    color: #aaa;
}

.contact-form {
    background: #1a1f3a;
    padding: 40px;
    border-radius: 10px;
    border: 1px solid #2a2f4a;
}

.contact-form h3 {
    color: #ffd700;
    font-size: 24px;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: #fff;
    margin-bottom: 10px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    background: #0d1228;
    border: 1px solid #2a2f4a;
    border-radius: 5px;
    color: #fff;
    font-size: 16px;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ffd700;
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

footer {
    background: #0d1228;
    padding: 60px 0 30px;
    border-top: 1px solid #2a2f4a;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-about h3 {
    color: #ffd700;
    font-size: 28px;
    margin-bottom: 20px;
}

.footer-about p {
    color: #aaa;
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-links h4 {
    color: #fff;
    font-size: 18px;
    margin-bottom: 25px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #ffd700;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #2a2f4a;
    color: #aaa;
}

.fixed-buttons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 999;
}

.fixed-btn {
    padding: 15px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    white-space: nowrap;
}

@media (max-width: 992px) {
    .hero h1 {
        font-size: 36px;
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    nav ul {
        width: 100%;
        margin-top: 20px;
        justify-content: center;
    }

    .header-buttons {
        width: 100%;
        margin-top: 20px;
        justify-content: center;
    }

    .hero h1 {
        font-size: 28px;
    }

    .section-title h2 {
        font-size: 28px;
    }

    .market-header,
    .market-row {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .fixed-buttons {
        left: 20px;
        right: 20px;
        bottom: 0;
        flex-direction: row;
        border-radius: 0;
    }

    .fixed-btn {
        flex: 1;
        text-align: center;
        border-radius: 0;
    }
}
