/* CSS变量定义 - 3QCHAIN的戏剧化主题定制的深色主题 */
/* 灵感来自传说中的360-Tencent战争(2010-2011)，融合2010年代互联网设计风格 */
:root {
    /* 3Q大战核心配色 - 360 vs 腾讯 */
    --360-red: #E60012;
    --360-green: #2DB800;
    --tencent-blue: #12B7F5;
    --tencent-green: #00C800;
    --bitcoin-orange: #F7931A;
    
    /* 主配色方案 */
    --primary-color: #4b0082; /* 紫色，代表戏剧和神秘 */
    --secondary-color: #8a2be2; /* 深紫色，代表冲突和对抗 */
    --accent-color: #9370db; /* 浅紫色，代表讽刺和幽默 */
    
    /* 2010年代互联网风格背景 */
    --bg-dark: #050508; /* 深黑色背景，代表互联网战争的黑暗时代 */
    --bg-light: #101020; /* 浅黑色，代表戏剧舞台的聚光灯 */
    --text-primary: #ffffff; /* 白色文字，代表真相和讽刺 */
    --text-secondary: #c0c0c0; /* 灰色文字，代表被动攻击 */
    --border-color: #301934; /* 紫色边框，代表戏剧的框架 */
    
    /* 3Q大战主题渐变 */
    --gradient: linear-gradient(135deg, var(--360-red) 0%, var(--tencent-blue) 50%, var(--360-green) 100%); /* 360-腾讯冲突渐变 */
    --gradient-360: linear-gradient(135deg, var(--360-red) 0%, var(--360-green) 100%); /* 360品牌渐变 */
    --gradient-tencent: linear-gradient(135deg, var(--tencent-blue) 0%, var(--tencent-green) 100%); /* 腾讯品牌渐变 */
    
    /* 阴影和过渡效果 */
    --shadow: 0 4px 15px rgba(230, 0, 18, 0.2), 0 4px 15px rgba(18, 183, 245, 0.2); /* 双色调阴影，代表360-腾讯冲突 */
    --transition: all 0.3s ease; /* 平滑的过渡，就像戏剧的剧情转折 */
    --watermark-opacity: 0.08; /* 水印透明度，代表隐藏的戏剧 */
    
    /* 背景图片 */
    --blockchain-bg: url('../images/20251215002432_6_66.jpg'); /* 区块链背景，充满冲突的视觉效果 */
    --blockchain-watermark: url('../images/20251215002431_5_66.jpg'); /* 区块链水印，代表隐藏的戏剧 */
    --logo-watermark: url('../images/logo.jpg'); /* Logo水印，代表我们的戏剧品牌 */
    
    /* 2010年代互联网特色效果 */
    --drama-intensity: 1.0; /* 戏剧强度，可调节 */
    --skeuomorphic: 1px solid var(--gradient); /* 拟物化边框效果 */
    --glass-effect: rgba(5, 5, 8, 0.98); /* 玻璃态效果 */
    --backdrop: blur(15px); /* 背景模糊效果 */
    
    /* 2011时间标记 */
    --year-2011: '2011 - 3Q大战 vs 比特币诞生';
}

/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* 所有元素都准备好迎接戏剧化的人生 */
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark); /* 互联网战争的黑暗背景 */
    background-image: var(--blockchain-bg), var(--blockchain-watermark); /* 充满冲突的背景图 */
    background-size: cover, 300px;
    background-attachment: fixed, fixed;
    background-position: center, center;
    background-repeat: no-repeat, repeat; /* 重复的水印，就像重复的互联网战争 */
    color: var(--text-primary); /* 戏剧性的白色文字 */
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    background-blend-mode: overlay; /* 背景混合模式，就像360和QQ混合在一起的冲突 */
    /* 为3QCHAIN的戏剧化主题量身定制的背景 */
}

/* 戏剧性的body:before效果，就像舞台上的聚光灯 */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: var(--logo-watermark); /* Logo水印，代表我们的品牌戏剧 */
    background-size: 200px;
    background-repeat: space;
    opacity: calc(var(--watermark-opacity) * 0.8); /* 半透明水印，增加神秘感 */
    z-index: -1;
    pointer-events: none;
    animation: watermarkMove 20s linear infinite; /* 移动的水印，就像移动的戏剧舞台 */
    /* 这个水印效果就像360和QQ的图标在后台不断移动，代表它们永不停息的战争 */
}



/* 水印移动动画 - 就像360和QQ的图标在互相追逐 */
@keyframes watermarkMove {
    0% {
        transform: translate(0, 0) rotate(0deg); /* 初始位置 */
    }
    50% {
        transform: translate(100px, 50px) rotate(180deg); /* 追逐到一半 */
    }
    100% {
        transform: translate(50px, 50px) rotate(360deg); /* 追逐结束，又开始新一轮追逐 */
    }
}

/* 戏剧性的脉冲动画 - 用于强调关键元素 */
@keyframes dramaPulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(75, 0, 130, 0.4);
    }
    50% {
        transform: scale(1.05); /* 戏剧性的放大 */
        box-shadow: 0 0 0 10px rgba(75, 0, 130, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(75, 0, 130, 0);
    }
}

/* 讽刺性的按钮悬停效果 - 就像按下了戏剧的按钮 */
.btn:hover {
    animation: dramaPulse 0.6s ease-in-out;
    /* 悬停时的脉冲效果，增加戏剧性 */
}

/* 为卡片添加戏剧性的悬停效果 */
.feature-card:hover, .spec-item:hover, .news-card:hover, .ecosystem-item:hover, .blog-post:hover {
    animation: dramaPulse 0.6s ease-in-out;
    /* 卡片悬停时的戏剧性效果 */
}

/* 为导航链接添加讽刺性的悬停效果 */
.navbar a:hover {
    /* 导航链接悬停时的戏剧性效果 */
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    /* 渐变文字效果，增加戏剧性 */
}

/* 容器样式 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏样式 - 增强的区块链风格设计 */
.navbar {
    background-color: rgba(5, 5, 8, 0.98);
    backdrop-filter: blur(15px);
    border-bottom: 2px solid var(--gradient);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: var(--transition);
    box-shadow: 0 2px 20px rgba(75, 0, 130, 0.1);
}

.navbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: var(--blockchain-watermark);
    background-size: 200px;
    opacity: 0.1;
    z-index: -1;
}

/* 为主要内容区域添加增强的半透明背景与区块链元素 */
.hero,
.features,
.tech-specs,
.news,
.ecosystem-preview,
.page-header,
.partners,
.dev-tools,
.dapps,
.community-projects,
.join-ecosystem,
.social-media,
.developer-community,
.events,
.community-contribute,
.faq-section,
.blog-main {
    background-color: rgba(5, 5, 8, 0.9);
    backdrop-filter: blur(8px);
    position: relative;
    z-index: 1;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 15px rgba(75, 0, 130, 0.15);
}

/* 为内容区域添加区块链风格的背景图案 */
.hero::before,
.features::before,
.tech-specs::before,
.news::before,
.ecosystem-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: var(--blockchain-watermark);
    background-size: 250px;
    opacity: 0.05;
    z-index: -1;
    pointer-events: none;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--gradient);
    transition: var(--transition);
}

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

.mobile-menu {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-primary);
}

/* 英雄区域样式 */
.hero {
    padding: 120px 0 80px;
    background: radial-gradient(circle at 50% 50%, rgba(0, 123, 255, 0.1) 0%, transparent 50%);
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn.primary {
    background: var(--gradient);
    color: white;
}

.btn.secondary {
    background-color: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border-color);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn.center {
    display: block;
    margin: 40px auto 0;
    width: fit-content;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.blockchain-visual {
    display: flex;
    gap: 20px;
    align-items: center;
}

.block {
    width: 80px;
    height: 100px;
    background: var(--gradient);
    border-radius: 10px;
    position: relative;
    animation: blockFade 2s ease-in-out infinite;
}

.block:nth-child(2) {
    animation-delay: 0.3s;
    height: 120px;
}

.block:nth-child(3) {
    animation-delay: 0.6s;
    height: 80px;
}

.block::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
}

@keyframes blockFade {
    0%, 100% {
        opacity: 0.6;
        transform: translateY(0);
    }
    50% {
        opacity: 1;
        transform: translateY(-10px);
    }
}

/* 核心优势样式 */
.features {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.features h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 50px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: rgba(16, 16, 32, 0.85);
    background-image: var(--blockchain-bg), var(--logo-watermark);
    background-size: cover, 150px;
    background-position: center, center;
    background-blend-mode: overlay, overlay;
    padding: 30px;
    border-radius: 15px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(75, 0, 130, 0.1);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(16, 16, 32, 0.95);
    z-index: -1;
    border-radius: 15px;
}

.feature-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient);
    border-radius: 15px 15px 0 0;
    z-index: 2;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(75, 0, 130, 0.2);
    border-color: var(--primary-color);
    animation: cardGlow 1.5s ease-in-out infinite alternate;
}

@keyframes cardGlow {
    from {
        box-shadow: 0 8px 25px rgba(75, 0, 130, 0.2);
    }
    to {
        box-shadow: 0 8px 35px rgba(147, 112, 219, 0.3);
    }
}

.feature-card i {
    font-size: 2.5rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Hero Section - 3Q War Style */
.3q-war-title {
    font-size: 2.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--360-red) 0%, var(--tencent-blue) 50%, var(--bitcoin-orange) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.year-badge {
    display: inline-block;
    background: linear-gradient(45deg, var(--360-red), var(--tencent-blue));
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.3q-war-desc {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
    line-height: 1.8;
}

.hero-meta {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.meta-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

/* 3Q War Visual Elements */
.3q-war-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.warring-logos {
    display: flex;
    align-items: center;
    gap: 30px;
    background: rgba(0, 0, 0, 0.3);
    padding: 20px 40px;
    border-radius: 50px;
    border: 2px solid var(--gradient);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.logo-360, .logo-tencent {
    font-size: 2rem;
    font-weight: 900;
    padding: 15px 30px;
    border-radius: 40px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.logo-360 {
    background: linear-gradient(135deg, var(--360-red), var(--360-green));
    color: white;
    border: 3px solid var(--360-red);
}

.logo-tencent {
    background: linear-gradient(135deg, var(--tencent-blue), var(--tencent-green));
    color: white;
    border: 3px solid var(--tencent-blue);
}

.vs-symbol {
    font-size: 2.5rem;
    font-weight: 900;
    color: white;
    text-shadow: 0 0 10px var(--bitcoin-orange);
}

/* 3Q War Timeline Style */
.timeline {
    padding: 80px 0;
    background-color: var(--bg-light);
    position: relative;
    overflow: hidden;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: var(--gradient);
    z-index: 0;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

.timeline h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    background: linear-gradient(135deg, var(--360-red), var(--tencent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
}

.timeline-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
    position: relative;
    z-index: 1;
}

.timeline-item {
    display: flex;
    position: relative;
    gap: 40px;
}

.timeline-item.left {
    justify-content: flex-end;
}

.timeline-item.right {
    justify-content: flex-start;
}

.timeline-content {
    background: rgba(5, 5, 8, 0.95);
    padding: 30px;
    border-radius: 15px;
    border: 2px solid var(--border-color);
    width: calc(50% - 40px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    position: relative;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5);
    border-color: var(--primary-color);
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 50%;
    width: 0;
    height: 0;
    border: 15px solid transparent;
    transform: translateY(-50%);
}

.timeline-item.left .timeline-content::before {
    right: -30px;
    border-left-color: var(--border-color);
}

.timeline-item.right .timeline-content::before {
    left: -30px;
    border-right-color: var(--border-color);
}

.timeline-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--bitcoin-orange);
    margin-bottom: 10px;
}

.timeline-content h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: white;
    margin-bottom: 15px;
}

.timeline-content p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.timeline-item::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background: var(--gradient);
    border-radius: 50%;
    border: 4px solid var(--bg-dark);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    z-index: 2;
}

/* Technical Specs */
.tech-specs {
    padding: 80px 0;
}

.tech-specs h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 50px;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
}

.spec-item {
    background-color: rgba(16, 16, 32, 0.85);
    background-image: var(--blockchain-watermark), var(--blockchain-bg);
    background-size: 200px, cover;
    background-position: center, center;
    background-blend-mode: overlay, overlay;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(75, 0, 130, 0.1);
}

.spec-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(16, 16, 32, 0.95);
    z-index: -1;
    border-radius: 12px;
}

.spec-item::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: var(--gradient);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: all 0.5s ease;
    z-index: -2;
}

.spec-item:hover {
    transform: scale(1.08);
    border-color: var(--primary-color);
}

.spec-item:hover::after {
    width: 300px;
    height: 300px;
    opacity: 0.1;
}

.spec-item h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--text-secondary);
}

.spec-item p {
    font-size: 1.3rem;
    font-weight: 600;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 最新动态样式 */
.news {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.news h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 50px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.news-card {
    background-color: var(--bg-dark);
    background-image: var(--blockchain-watermark);
    background-size: 150px;
    background-position: center;
    background-blend-mode: overlay;
    padding: 25px;
    border-radius: 15px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(75, 0, 130, 0.1);
}

.news-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(5, 5, 8, 0.95);
    z-index: -1;
    border-radius: 15px;
}

.news-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient);
    border-radius: 15px 0 0 15px;
    z-index: 2;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(75, 0, 130, 0.2);
    border-color: var(--primary-color);
}

.news-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    transition: var(--transition);
}

.news-card:hover h3 {
    color: var(--primary-color);
}

.news-card p:nth-child(2) {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.news-card p:nth-child(3) {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.5;
}

.news-card a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.news-card a:hover {
    text-decoration: underline;
}

/* 生态系统预览样式 */
.ecosystem-preview {
    padding: 80px 0;
}

.ecosystem-preview h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 50px;
}

.ecosystem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.ecosystem-item {
    background-color: var(--bg-light);
    background-image: var(--logo-watermark), var(--blockchain-bg);
    background-size: 150px, cover;
    background-position: center, center;
    background-blend-mode: overlay, overlay;
    padding: 30px;
    border-radius: 15px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(75, 0, 130, 0.1);
}

.ecosystem-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(16, 16, 32, 0.95);
    z-index: -1;
    border-radius: 15px;
}

.ecosystem-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient);
    border-radius: 0 0 15px 15px;
    z-index: 2;
}

.ecosystem-item:hover {
    transform: scale(1.08);
    border-color: var(--primary-color);
    box-shadow: 0 8px 25px rgba(75, 0, 130, 0.2);
}

.ecosystem-item h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.ecosystem-item p {
    color: var(--text-secondary);
}

/* 底部样式 - 增强的区块链风格设计 */
.footer {
    background-color: var(--bg-light);
    background-image: var(--blockchain-bg), var(--blockchain-watermark);
    background-size: cover, 200px;
    background-position: center, center;
    background-blend-mode: overlay, overlay;
    padding: 60px 0 30px;
    border-top: 3px solid var(--gradient);
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(16, 16, 32, 0.95);
    z-index: -1;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.footer-logo img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(147, 112, 219, 0.3);
    transition: var(--transition);
}

.footer-logo img:hover {
    transform: rotate(360deg);
    box-shadow: 0 0 30px rgba(147, 112, 219, 0.5);
}

.footer-logo h3 {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-links h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--text-primary);
    position: relative;
    display: inline-block;
}

.footer-links h4::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--gradient);
    transition: var(--transition);
}

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

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 15px;
}

.footer-links li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: 0.8rem;
    transition: var(--transition);
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
    position: relative;
}

.footer-links a:hover {
    color: var(--primary-color);
    margin-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 0.9rem;
    position: relative;
    z-index: 1;
}

.footer-bottom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--gradient);
    border-radius: 5px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background-color: var(--bg-dark);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu {
        display: block;
    }

    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-content h2 {
        font-size: 2rem;
    }

    .blockchain-visual {
        margin-top: 40px;
    }

    .features-grid,
    .specs-grid,
    .news-grid,
    .ecosystem-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-logo {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    /* Timeline Responsive */
    .timeline::before {
        left: 30px;
    }

    .timeline-item {
        justify-content: flex-start;
        gap: 20px;
    }

    .timeline-item.left, .timeline-item.right {
        justify-content: flex-start;
    }

    .timeline-content {
        width: calc(100% - 70px);
        margin-left: 70px;
    }

    .timeline-content::before {
        left: -30px;
        right: auto;
        border-right-color: var(--border-color);
        border-left-color: transparent;
    }

    .timeline-item::after {
        left: 30px;
    }

    /* 3Q War Visual Responsive */
    .3q-war-title {
        font-size: 2.2rem;
    }

    .warring-logos {
        flex-direction: column;
        gap: 15px;
        padding: 20px;
    }

    .logo-360, .logo-tencent {
        font-size: 1.5rem;
        padding: 10px 20px;
    }

    .vs-symbol {
        font-size: 2rem;
    }

    /* Hero Buttons Responsive */
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .hero-content h2 {
        font-size: 1.8rem;
    }

    .3q-war-title {
        font-size: 1.8rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .blockchain-visual {
        gap: 10px;
    }

    .block {
        width: 60px;
        height: 80px;
    }

    .block:nth-child(2) {
        height: 100px;
    }

    .block:nth-child(3) {
        height: 60px;
    }

    /* Timeline Mobile */
    .timeline-content {
        width: calc(100% - 60px);
        margin-left: 60px;
        padding: 20px;
    }

    .timeline::before {
        left: 25px;
    }

    .timeline-item::after {
        left: 25px;
        width: 15px;
        height: 15px;
    }

    .timeline-content::before {
        border-width: 10px;
        left: -20px;
    }

    /* 3Q War Mobile */
    .warring-logos {
        padding: 15px;
    }

    .logo-360, .logo-tencent {
        font-size: 1.2rem;
        padding: 8px 16px;
    }

    .vs-symbol {
        font-size: 1.5rem;
    }
}

/* 通用动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}