:root {
    --primary: #bcff2f;         /* 荧光绿主色 */
    --dark-bg: #0c0f15;         /* 深空黑背景 */
    --card-bg: #1a1e28;         /* 卡片背景 */
    --text-primary: #eef4fd;    /* 主文本 */
    --text-secondary: #8ca0b5;  /* 辅助文本 */
    --border-color: #252d3a;    /* 边框颜色 */
}
a{text-decoration: none;}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', system-ui, sans-serif;
}

body {
    background-color: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ===== 导航栏 ===== */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background-color: rgba(12, 15, 21, 0.95);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(90deg, var(--primary), #d1ff8c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 1px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav li a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    padding: 8px 12px;
    border-radius: 4px;
}

nav li a:hover {
    color: var(--primary);
    background-color: rgba(188, 255, 47, 0.1);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.lang-switcher {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
}

.btn-login {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--primary);
    padding: 10px 25px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-register {
    background-color: var(--primary);
    color: var(--dark-bg);
    border: none;
    margin-left: 10px;
    padding: 10px 25px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

/* ===== 核心功能区 ===== */
.hero {
    padding: 120px 10% 100px;
    text-align: center;
    background: radial-gradient(circle at top right, #0c0f15 0%, #141a25 100%);
    position: relative;
}
.hero .hero-box{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.hero .hero-left{width: 54%}
.hero .hero-right{width: 45%}
.hero .hero-right img{width: 480px;height: auto}
.hero h1 {
    font-size: 3rem;
    margin-bottom: 25px;
    background: linear-gradient(90deg, var(--primary), #d1ff8c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
}

.hero p {
    font-size: 1.3rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto 50px;
}

.action-buttons {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.btn {
    padding: 18px 45px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-primary {
    background: linear-gradient(90deg, var(--primary), #d1ff8c);
    color: #0c0f15;
}

.btn-secondary {
    background-color: rgba(188, 255, 47, 0.15);
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-tertiary {
    background-color: rgba(140, 160, 181, 0.15);
    color: var(--text-primary);
    border: 2px solid var(--border-color);
}

.btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(188, 255, 47, 0.25);
}

/* ===== 平台特点 ===== */
.features-section {
    padding: 100px 5%;
}

.section-title {
    text-align: center;
    margin-bottom: 70px;
}

.section-title h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: var(--primary);
}

.section-title p {
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.feature-card {
    background-color: var(--card-bg);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    transition: all 0.4s;
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.feature-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), #d1ff8c);
}

.feature-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 30px;
}

.feature-card h3 {
    font-size: 1.6rem;
    margin-bottom: 20px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.9;
}

/* ===== 币种行情列表 ===== */
.market-section {
    padding: 80px 5%;
    background: radial-gradient(circle at top right, #0c0f15 0%, #141a25 100%);
}

.coin-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 1200px;
    margin: 0 auto;
}

.list-header {
    display: flex;
    padding: 20px;
    background-color: rgba(26, 30, 40, 0.5);
    border-radius: 12px;
    font-weight: 600;
    margin-bottom: 15px;
    border-bottom: 2px solid var(--primary);
}

.list-header div {
    flex: 1;
    text-align: right;
}

.list-header div:first-child {
    text-align: left;
    flex: 2;
}

.coin-row {
    display: flex;
    align-items: center;
    background-color: var(--card-bg);
    border-radius: 16px;
    padding:10px 25px;
    border: 1px solid var(--border-color);
    transition: all 0.3s;
}

.coin-row:hover {
    transform: translateX(8px);
    border-color: var(--primary);
}

.coin-rank {
    width: 50px;
    font-weight: 700;
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.coin-header {
    display: flex;
    align-items: center;
    flex: 1;
}

.coin-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), #d1ff8c);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    font-weight: bold;
    color: #0c0f15;
    font-size: 1.3rem;
}
.coin-icon img{width: 100%;height: 100%}

.coin-info {
    flex: 1;
    text-align: left;
}

.coin-name {
    font-size: 1.3rem;
    font-weight: 600;
}

.coin-symbol {
    color: var(--text-secondary);
    font-size: 1rem;
}

.coin-price {
    font-size: 1.3rem;
    font-weight: 700;
    width: 200px;
    text-align: left;
}

.coin-change {
    font-weight: 600;
    width: 150px;
    text-align: right;
    font-size: 1.2rem;
}

.green {
    color: var(--primary);
}

.red {
    color: #e74c3c;
}

/* ===== 指南与安全 ===== */
.guide-section {
    padding: 100px 5%;
}

.guide-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 50px;
    max-width: 1400px;
    margin: 0 auto;
}

.guide-box {
    background-color: var(--card-bg);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid var(--border-color);
}

.guide-box h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 15px;
}

.guide-box h3 i {
    font-size: 2rem;
}

.guide-item {
    margin-bottom: 35px;
    padding-bottom: 35px;
    border-bottom: 1px solid var(--border-color);
}

.guide-item h4 {
    font-size: 1.4rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.guide-item h4 i {
    color: var(--primary);
}

.guide-item p {
    color: var(--text-secondary);
    line-height: 1.9;
    font-size: 1.1rem;
}

/* ===== 数据展示 ===== */
.stats-section {
    padding: 100px 5%;
    background: radial-gradient(circle at bottom left, #0c0f15 0%, #141a25 100%);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-card {
    background-color: rgba(26, 30, 40, 0.7);
    padding: 40px 30px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    text-align: center;
    backdrop-filter: blur(10px);
}

.stat-value {
    font-size: 3.3rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--primary);
    font-family: 'Arial', sans-serif;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 1.2rem;
}

/* ===== 常见问题 ===== */
.faq-section {
    padding: 80px 5%;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 25px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 25px;
}

.faq-item h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary);
    display: flex;
    align-items: center;
    cursor: pointer;
}

.faq-item h4 i {
    margin-right: 10px;
    transition: transform 0.3s;
}

.faq-item.active h4 i {
    transform: rotate(90deg);
}

.faq-item p {
    color: var(--text-secondary);
    line-height: 1.8;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active p {
    max-height: 300px;
}

/* ===== 页脚 ===== */
footer {
    background-color: #09161a;
    padding: 80px 5% 40px;
    border-top: 1px solid var(--border-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
    max-width: 1400px;
    margin: 0 auto 50px;
}

.footer-column h5 {
    font-size: 1.2rem;
    margin-bottom: 25px;
    color: var(--primary);
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 15px;
}

.footer-column a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
    display: flex;
    align-items: center;
}

.footer-column a i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.footer-column a:hover {
    color: var(--primary);
}

.security-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin: 30px 0 40px;
}

.badge {
    background: linear-gradient(135deg, var(--primary), #a1e021);
    padding: 10px 25px;
    border-radius: 30px;
    font-size: 0.9rem;
    color: var(--dark-bg);
    font-weight: 600;
    display: flex;
    align-items: center;
}

.badge i {
    margin-right: 8px;
}

.copyright {
    text-align: center;
    color: var(--text-secondary);
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    max-width: 1200px;
    margin: 0 auto;
}

.social-media {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-top: 30px;
}

.social-media a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(188, 255, 47, 0.1);
    color: var(--primary);
    border-radius: 50%;
    font-size: 1.3rem;
    transition: all 0.3s;
}

.social-media a:hover {
    background: var(--primary);
    color: var(--dark-bg);
    transform: translateY(-5px);
}

/* ===== 响应式设计 ===== */
@media (max-width: 1100px) {
    nav ul {
        gap: 15px;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .guide-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    header {
        flex-wrap: wrap;
        gap: 20px;
    }

    nav ul, .lang-switcher{
        display: none;
    }
    .hero .hero-box{flex-direction: column}
    .hero .hero-box .hero-left,.hero .hero-box .hero-right{width: 100%}
    .hero .hero-right img {width: 100%;margin-top: 30px}
    .hero h1 {font-size: 1.6rem;}
    .hero p {font-size: 1rem;}
    .hero, .security-section, .features-section, .market-section, .faq-section, .ecosystem-section{padding: 30px 5%}
    .section-title h2{font-size: 1.8rem;}
    .action-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 350px;
        justify-content: center;
    }

    .list-header {
        display: none;
    }

    .coin-row {
        flex-wrap: wrap;
        position: relative;
        padding-left: 70px;
    }

    .coin-rank {
        position: absolute;
        left: 25px;
        top: 25px;
    }

    .coin-price,
    .coin-change {
        width: 100%;
        text-align: left;
        margin-top: 20px;
        padding-left: 70px;
    }

    .footer-column {
        margin-bottom: 30px;
    }
}