:root {
    --primary: #0a0e17;
    --secondary: #131a2c;
    --accent-blue: #00c6ff;
    --accent-purple: #7700ff;
    --accent-pink: #ff00c8;
    --text: #e0e0e0;
    --text-secondary: #a0a0b0;
    --card-bg: rgba(19, 26, 44, 0.7);
    --header-height: 80px;
    --glow: 0 0 10px rgba(0, 198, 255, 0.7);
}

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

body {
    background-color: var(--primary);
    color: var(--text);
    overflow-x: hidden;
    position: relative;
    line-height: 1.6;
    font-family: 'Exo 2', sans-serif;
}

#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: -1;
}

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

/* 头部导航 */
header {
    background-color: rgba(10, 14, 23, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    height: var(--header-height);
    border-bottom: 1px solid rgba(0, 198, 255, 0.2);
    display: flex;
    align-items: center;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: bold;
    color: var(--text);
    text-decoration: none;
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.logo-icon {
    color: var(--accent-blue);
    font-size: 28px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { text-shadow: var(--glow); }
    50% { text-shadow: 0 0 20px var(--accent-blue), 0 0 30px var(--accent-blue); }
    100% { text-shadow: var(--glow); }
}

.desktop-nav {
    display: flex;
}

.desktop-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.desktop-nav a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: 'Exo 2', sans-serif;
}

.desktop-nav a:hover {
    color: var(--accent-blue);
}

.desktop-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-purple));
    transition: width 0.3s;
}

.desktop-nav a:hover::after {
    width: 100%;
}

.language-selector {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
}

.language-selector select {
    background-color: var(--secondary);
    color: var(--text);
    border: 1px solid var(--accent-blue);
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    appearance: none;
    padding-right: 30px;
}

.language-selector::after {
    content: '\f0d7';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: var(--accent-blue);
}

.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text);
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.mobile-nav-toggle:hover {
    background-color: rgba(0, 198, 255, 0.1);
}

.mobile-nav {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background-color: rgba(10, 14, 23, 0.98);
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    z-index: 999;
    backdrop-filter: blur(10px);
}

.mobile-nav.active {
    display: block;
    animation: slideDown 0.5s ease;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.mobile-nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mobile-nav a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 18px;
    transition: color 0.3s;
}

.mobile-nav a:hover {
    color: var(--accent-blue);
}

/* 主内容区域 */
main {
    margin-top: var(--header-height);
}

section {
    padding: 100px 0;
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
    font-size: 2.8rem;
    position: relative;
    background: linear-gradient(45deg, var(--accent-blue), var(--accent-purple));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 700;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 1px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease;
}

.section-title.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(45deg, var(--accent-blue), var(--accent-purple));
    border-radius: 2px;
}

.hero {
    padding: 150px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(19, 26, 44, 0.8) 0%, rgba(10, 14, 23, 0.9) 70%);
    z-index: -1;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    background: linear-gradient(45deg, var(--accent-blue), var(--accent-purple), var(--accent-pink));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 800;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 2px;
    line-height: 1.2;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease 0.5s forwards;
}

.hero p {
    font-size: 1.3rem;
    margin: 0 auto 40px;
    line-height: 1.6;
    color: var(--text-secondary);
    max-width: 800px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease 0.8s forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.btn {
    display: inline-block;
    padding: 16px 40px;
    background: linear-gradient(45deg, var(--accent-blue), var(--accent-purple));
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-family: 'Exo 2', sans-serif;
    position: relative;
    overflow: hidden;
    z-index: 1;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease 1.1s forwards;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--accent-purple), var(--accent-blue));
    transition: all 0.6s;
    z-index: -1;
}

.btn:hover::before {
    left: 0;
}

.btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* 卡片网格布局 */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.card {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 30px;
    transition: all 0.4s;
    border: 1px solid rgba(0, 198, 255, 0.1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    opacity: 0;
    transform: translateY(30px);
}

.card.visible {
    opacity: 1;
    transform: translateY(0);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(45deg, var(--accent-blue), var(--accent-purple));
}

.card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    border-color: rgba(0, 198, 255, 0.3);
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--accent-blue);
    font-family: 'Orbitron', sans-serif;
}

.card p, .card li {
    color: var(--text-secondary);
    line-height: 1.6;
}

.card ul {
    padding-left: 20px;
    margin: 15px 0;
}

.card li {
    margin-bottom: 8px;
    position: relative;
}

.card li::before {
    content: '•';
    color: var(--accent-blue);
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

/* 特色部分样式 */
.features {
    background: radial-gradient(circle at top right, rgba(19, 26, 44, 0.8), rgba(10, 14, 23, 0.9));
}

.tokenomics {
    background: radial-gradient(circle at bottom left, rgba(19, 26, 44, 0.8), rgba(10, 14, 23, 0.9));
}

/* 页脚样式 */
footer {
    background-color: var(--secondary);
    padding: 80px 0 30px;
    text-align: center;
    position: relative;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.footer-links {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    color: var(--text);
    text-decoration: none;
    transition: color 0.3s;
    font-size: 16px;
    position: relative;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent-blue);
    transition: width 0.3s;
}

.footer-links a:hover {
    color: var(--accent-blue);
}

.footer-links a:hover::after {
    width: 100%;
}

.copyright {
    margin-top: 30px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .desktop-nav {
        display: none;
    }
    
    .mobile-nav-toggle {
        display: block;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .card-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 15px;
    }
}

/* 回到顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--accent-blue), var(--accent-purple));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
}

/* 语言切换动画 */
.language-selector select {
    transition: all 0.3s;
}

.language-selector select:hover {
    box-shadow: var(--glow);
}