/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Exo 2', sans-serif;
    background: #0a0a0a;
    color: #e0e0e0;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Background Animation */
.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(0, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 0, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(0, 255, 0, 0.05) 0%, transparent 50%);
    animation: backgroundPulse 8s ease-in-out infinite;
    z-index: -1;
}

@keyframes backgroundPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

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

/* Hero Container - 确保浏览器兼容性 */
.hero-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    position: relative;
    z-index: 1;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background: linear-gradient(45deg, rgba(0, 255, 255, 0.05), rgba(255, 0, 255, 0.05));
    width: 100%;
    box-sizing: border-box;
}

.main-title {
    font-family: 'Orbitron', monospace;
    font-size: 4rem;
    font-weight: 900;
    background: linear-gradient(45deg, #00ffff, #ff00ff, #00ff00);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 4s ease-in-out infinite;
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
}

.subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 3rem;
    color: #b0b0b0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.hint-text {
    font-size: 1rem;
    color: #00ffff;
    font-weight: 400;
    margin-top: 0.8rem;
    display: inline-block;
    animation: hintPulse 2s ease-in-out infinite;
    opacity: 0.8;
}

@keyframes hintPulse {
    0%, 100% { 
        opacity: 0.8;
        transform: scale(1);
    }
    50% { 
        opacity: 1;
        transform: scale(1.02);
    }
}

.hero-visual {
    margin: 2rem 0;
}

.hero-play-button {
    display: inline-block !important;
    text-decoration: none !important;
    text-align: center !important;
    transition: all 0.4s ease;
    position: relative;
    cursor: pointer;
    padding: 0;
    margin: 2rem 0;
}

.hero-play-button:hover {
    transform: scale(1.05) !important;
}

/* 大脑容器 */
.brain-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 200px;
    height: 200px;
    margin: -20px auto 0 auto;
    transition: all 0.4s ease;
}

/* 大脑SVG样式 */
.cyber-brain {
    transition: all 0.4s ease;
}

/* 大脑顶部区域 - 与标题渐变保持一致的彩色流转动画 */
.cyber-brain .brain-top {
    fill: #00ffff; /* 青色 */
    animation: colorFlow 12s ease-in-out infinite;
}

/* 大脑齿轮部分 - 脉冲效果 */
.cyber-brain .brain-gear {
    fill: #ff00ff; /* 粉色 */
    animation: connectionPulse 9s ease-in-out infinite;
}

/* 大脑主体结构 */
.cyber-brain .brain-structure {
    fill: #2d5a3d; /* 墨绿色 */
    animation: nodeBlink 8s ease-in-out infinite;
}

/* 大脑连接节点 */
.cyber-brain .brain-node {
    fill: #00ffff; /* 青色 */
    animation: gearCenterGlow 10s ease-in-out infinite;
}

/* 大脑详细部分 */
.cyber-brain .brain-details {
    fill: #ff00ff; /* 粉色 */
    animation: detailFlicker 6s ease-in-out infinite;
}

/* 动画定义 - 与标题渐变保持一致，减少绿色频率，使用墨绿色 */
@keyframes colorFlow {
    0%, 100% { 
        fill: #00ffff; /* 青色 */
    }
    40% { 
        fill: #ff00ff; /* 粉色 */
    }
    70% { 
        fill: #2d5a3d; /* 墨绿色 */
    }
    85% { 
        fill: #ff00ff; /* 粉色 */
    }
}

@keyframes connectionPulse {
    0%, 100% { 
        fill: #ff00ff; /* 粉色 */
        opacity: 0.8;
    }
    30% { 
        fill: #2d5a3d; /* 墨绿色 */
        opacity: 1;
    }
    60% { 
        fill: #ff00ff; /* 粉色 */
        opacity: 0.9;
    }
}

@keyframes nodeBlink {
    0%, 100% { 
        fill: #00ffff; /* 青色 */
        opacity: 0.7;
    }
    25% { 
        fill: #ff00ff; /* 粉色 */
        opacity: 1;
    }
    50% { 
        fill: #2d5a3d; /* 墨绿色 */
        opacity: 0.8;
    }
    75% { 
        fill: #00ffff; /* 青色 */
        opacity: 1;
    }
}

@keyframes gearCenterGlow {
    0%, 100% { 
        fill: #00ffff; /* 青色 */
    }
    50% { 
        fill: #ff00ff; /* 粉色 */
    }
}

@keyframes brainGlow {
    0%, 100% { 
        stroke: #00ffff; /* 青色 */
    }
    50% { 
        stroke: #ff00ff; /* 粉色 */
    }
}

@keyframes detailFlicker {
    0%, 100% { 
        fill: #ff00ff; /* 粉色 */
        opacity: 0.6;
    }
    20% { 
        fill: #2d5a3d; /* 墨绿色 */
        opacity: 1;
    }
    40% { 
        fill: #ff00ff; /* 粉色 */
        opacity: 0.8;
    }
    80% { 
        fill: #00ffff; /* 青色 */
        opacity: 0.7;
    }
}

/* 悬停时大脑消失，Play文字出现 */
.hero-play-button:hover .brain-container {
    opacity: 0;
    transform: scale(0.8);
}

.hero-play-button .play-main {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: all 0.4s ease;
    pointer-events: none;
}

.hero-play-button:hover .play-main {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    pointer-events: auto;
}

.hero-play-button .play-main {
    display: block !important;
    font-size: 4rem !important;
    font-weight: 900 !important;
    font-family: 'Orbitron', monospace !important;
    letter-spacing: 0.2rem !important;
    /* 兜底颜色 */
    color: #00ffff;
    /* 渐变效果 */
    background: linear-gradient(45deg, #00ffff, #ff00ff, #00ff80, #ff0080, #80ff00);
    background-size: 300% 300%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: rainbowGradient 3s ease-in-out infinite;
    text-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
    white-space: nowrap;
    user-select: none;
}



@keyframes rainbowGradient {
    0%, 100% { 
        background-position: 0% 50%; 
    }
    50% { 
        background-position: 100% 50%; 
    }
}

@keyframes playFloat {
    0%, 100% { 
        transform: translateY(0px);
    }
    50% { 
        transform: translateY(-5px);
    }
}



.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: 'Orbitron', monospace;
    font-size: 2.5rem;
    font-weight: 700;
    color: #00ffff;
    margin-bottom: 0.5rem;
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}



/* Navigation */
.main-nav {
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    padding: 0.8rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 255, 255, 0.2);
}

.nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.2rem;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 0 1rem;
}

.nav-divider {
    width: 1px;
    height: 20px;
    background: rgba(0, 255, 255, 0.4);
    margin: 0 0.5rem;
    flex-shrink: 0;
}

.nav-links a {
    color: #e0e0e0;
    text-decoration: none;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    transition: all 0.3s ease;
    font-weight: 500;
    border: 1px solid transparent;
    font-size: 0.9rem;
    white-space: nowrap;
    flex-shrink: 0;
}

.nav-links a.detail-link {
    color: #00ffff;
    font-size: 0.85rem;
    padding: 0.3rem 0.6rem;
}

.nav-links a:hover {
    background: linear-gradient(45deg, rgba(0, 255, 255, 0.2), rgba(255, 0, 255, 0.2));
    border-color: rgba(0, 255, 255, 0.5);
    transform: translateY(-2px);
}

/* Sections */
.section {
    padding: 4rem 0;
    position: relative;
}

.alt-bg {
    background: rgba(255, 255, 255, 0.02);
}

.section-title {
    font-family: 'Orbitron', monospace;
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: #00ffff;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

/* Content Grid */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.content-card {
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 15px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.content-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 255, 255, 0.6);
    box-shadow: 0 10px 30px rgba(0, 255, 255, 0.2);
}

.content-card h3 {
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #ff00ff;
}

.quote-box {
    background: rgba(0, 255, 255, 0.1);
    border-left: 4px solid #00ffff;
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 0 10px 10px 0;
}

.quote-box blockquote {
    font-style: italic;
    margin-bottom: 0.5rem;
    color: #e0e0e0;
}

.quote-box cite {
    font-size: 0.9rem;
    color: #00ffff;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.feature-list li:before {
    content: "▶";
    position: absolute;
    left: 0;
    color: #00ff00;
}

.timeline-preview {
    background: rgba(0, 0, 0, 0.4);
    padding: 1rem;
    border-radius: 10px;
}

.timeline-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.timeline-item:last-child {
    border-bottom: none;
}

.timeline-item .year {
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    color: #00ffff;
}

.timeline-item .event {
    color: #e0e0e0;
}

/* Game Description */
.game-description {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.game-visual {
    text-align: center;
}

.test-diagram {
    width: 100%;
    max-width: 400px;
    height: auto;
    filter: drop-shadow(0 0 15px rgba(0, 255, 255, 0.3));
}

.diagram-caption {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #888;
    font-style: italic;
}

.test-steps {
    margin: 2rem 0;
}

.step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    gap: 1rem;
}

.step-number {
    background: linear-gradient(45deg, #00ffff, #ff00ff);
    color: #000;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h4 {
    font-family: 'Orbitron', monospace;
    color: #00ff00;
    margin-bottom: 0.5rem;
}

.turing-prediction {
    background: rgba(255, 0, 255, 0.1);
    border: 1px solid rgba(255, 0, 255, 0.3);
    padding: 1.5rem;
    border-radius: 10px;
    margin-top: 2rem;
}

.turing-prediction h4 {
    font-family: 'Orbitron', monospace;
    color: #ff00ff;
    margin-bottom: 0.5rem;
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline:before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #00ffff, #ff00ff, #00ff00);
    transform: translateX(-50%);
}

.timeline-event {
    position: relative;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
}

.timeline-event:nth-child(odd) {
    flex-direction: row;
}

.timeline-event:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-date {
    background: linear-gradient(45deg, #00ffff, #ff00ff);
    color: #000;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    margin: 0 2rem;
    min-width: 80px;
    text-align: center;
    z-index: 2;
    position: relative;
}

.timeline-content {
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(0, 255, 255, 0.3);
    padding: 1.5rem;
    border-radius: 15px;
    flex: 1;
    backdrop-filter: blur(10px);
}

.timeline-content h3 {
    font-family: 'Orbitron', monospace;
    color: #00ff00;
    margin-bottom: 0.5rem;
}

/* Modern Grid */
.modern-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.modern-card {
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 15px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.modern-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 255, 255, 0.6);
    box-shadow: 0 10px 30px rgba(0, 255, 255, 0.2);
}

.modern-card h3 {
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #ff00ff;
}

.progress-stats {
    margin-top: 1rem;
}

.progress-stats .stat {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.progress-stats .number {
    font-family: 'Orbitron', monospace;
    font-size: 2rem;
    font-weight: 700;
    color: #00ffff;
}

.progress-stats .label {
    font-size: 0.9rem;
    color: #888;
}

.card-link {
    display: inline-block;
    margin-top: 1rem;
    color: #00ffff;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.card-link:hover {
    color: #ff00ff;
}

/* CTA Section */
.cta-section {
    text-align: center;
    padding: 4rem 0;
    background: linear-gradient(45deg, rgba(0, 255, 255, 0.05), rgba(255, 0, 255, 0.05));
}

.cta-section h2 {
    font-family: 'Orbitron', monospace;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #00ffff;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #b0b0b0;
}

.cta-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.cta-button {
    background: linear-gradient(45deg, #00ffff, #ff00ff);
    color: #000;
    padding: 1rem 2rem;
    border-radius: 25px;
    text-decoration: none;
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 255, 255, 0.3);
}

/* Footer */
footer {
    background: rgba(0, 0, 0, 0.8);
    padding: 3rem 0 1rem;
    border-top: 1px solid rgba(0, 255, 255, 0.2);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    font-family: 'Orbitron', monospace;
    color: #00ffff;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #b0b0b0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #00ffff;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #888;
}

/* Animations */
@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

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

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

/* Responsive Design */
@media (max-width: 768px) {
    .hero-container {
        padding: 1rem 1rem;
    }
    
    .main-title {
        font-size: 2.5rem;
    }
    
    .subtitle {
        font-size: 1.2rem;
    }
    
    .hero-stats {
        gap: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .hero-play-button .play-main {
        font-size: 3rem;
        letter-spacing: 0.15rem;
    }
    
    .cyber-brain {
        width: 150px;
        height: 150px;
    }
    
    .nav-links {
        gap: 0.8rem;
        padding: 0 0.5rem;
    }
    
    .nav-links a {
        padding: 0.3rem 0.5rem;
        font-size: 0.8rem;
    }
    
    .nav-links a.detail-link {
        font-size: 0.75rem;
        padding: 0.25rem 0.4rem;
    }
    
    .nav-divider {
        height: 16px;
        margin: 0 0.3rem;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
    }
    
    .game-description {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .timeline:before {
        left: 20px;
    }
    
    .timeline-event {
        flex-direction: row !important;
        margin-left: 40px;
    }
    
    .timeline-date {
        position: absolute;
        left: -60px;
        margin: 0;
    }
    
    .cta-links {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-container {
        padding: 0.5rem 1rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .main-title {
        font-size: 2rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-play-button .play-main {
        font-size: 2.5rem;
        letter-spacing: 0.1rem;
    }
    
    .cyber-brain {
        width: 120px;
        height: 120px;
    }
    
    .section {
        padding: 2rem 0;
    }
    
    .content-card,
    .modern-card {
        padding: 1.5rem;
    }
}

 