:root {
    --primary-color: #888888;
    --secondary-color: #555555;
    --bg-color: #000000;
    --card-bg: #111111;
    --text-main: #ffffff;
    --text-muted: #aaaaaa;
    --font-family: 'Noto Sans SC', sans-serif;
}

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

body {
    font-family: var(--font-family);
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* 宇宙背景动画（星星、尘埃、流星） */
.universe-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    overflow: hidden;
    pointer-events: none;
    background: radial-gradient(circle at bottom, #0a0a0a 0%, #000000 100%);
}

/* 闪烁的星星 */
.stars {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    /* 使用多重阴影模拟星星，这里生成了一批随机分布的白点 */
    box-shadow: 10vw 10vh #fff, 20vw 80vh #fff, 30vw 20vh #fff, 40vw 60vh #fff, 
                50vw 30vh #fff, 60vw 90vh #fff, 70vw 15vh #fff, 80vw 70vh #fff, 
                90vw 40vh #fff, 95vw 85vh #fff, 15vw 50vh #fff, 25vw 5vh #fff, 
                35vw 75vh #fff, 45vw 25vh #fff, 55vw 65vh #fff, 65vw 10vh #fff, 
                75vw 55vh #fff, 85vw 95vh #fff, 5vw 35vh #fff, 88vw 5vh #fff,
                12vw 92vh rgba(255,255,255,0.5), 32vw 45vh rgba(255,255,255,0.5), 
                52vw 85vh rgba(255,255,255,0.5), 72vw 25vh rgba(255,255,255,0.5),
                92vw 65vh rgba(255,255,255,0.5), 2vw 75vh rgba(255,255,255,0.5),
                42vw 15vh rgba(255,255,255,0.5), 62vw 45vh rgba(255,255,255,0.5),
                82vw 35vh rgba(255,255,255,0.5), 22vw 65vh rgba(255,255,255,0.5);
    width: 2px;
    height: 2px;
    border-radius: 50%;
    animation: twinkle 4s infinite alternate;
}

@keyframes twinkle {
    0% { opacity: 0.3; }
    50% { opacity: 1; }
    100% { opacity: 0.3; }
}

/* 漂浮的尘埃/星云 */
.dust {
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 200%;
    background-image: 
        radial-gradient(circle at 15% 50%, rgba(255, 255, 255, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 85% 30%, rgba(255, 255, 255, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 50% 80%, rgba(255, 255, 255, 0.02) 0%, transparent 50%);
    animation: float-dust 60s linear infinite;
    transform-origin: center;
}

@keyframes float-dust {
    0% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-5%, -5%) rotate(5deg); }
    100% { transform: translate(0, 0) rotate(0deg); }
}

/* 流星雨动画 */
.meteor-shower {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.meteor {
    position: absolute;
    top: -50px;
    left: 50%;
    width: 2px;
    height: 2px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.1), 
                0 0 0 8px rgba(255, 255, 255, 0.1), 
                0 0 20px rgba(255, 255, 255, 1);
    animation: meteor-fall 3s linear infinite;
}

.meteor::before {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 300px;
    height: 1px;
    background: linear-gradient(90deg, #fff, transparent);
}

@keyframes meteor-fall {
    0% {
        transform: rotate(315deg) translateX(0);
        opacity: 1;
    }
    70% {
        opacity: 1;
    }
    100% {
        transform: rotate(315deg) translateX(-1000px);
        opacity: 0;
    }
}

/* 分别设置流星的位置和动画延迟 */
.meteor:nth-child(1) { top: 0; left: 10%; animation-delay: 0s; animation-duration: 2s; }
.meteor:nth-child(2) { top: 0; left: 20%; animation-delay: 0.5s; animation-duration: 3s; }
.meteor:nth-child(3) { top: 0; left: 30%; animation-delay: 1.2s; animation-duration: 2.5s; }
.meteor:nth-child(4) { top: 0; left: 40%; animation-delay: 0.2s; animation-duration: 2s; }
.meteor:nth-child(5) { top: 0; left: 50%; animation-delay: 1.8s; animation-duration: 3.5s; }
.meteor:nth-child(6) { top: 0; left: 60%; animation-delay: 2.1s; animation-duration: 2s; }
.meteor:nth-child(7) { top: 0; left: 70%; animation-delay: 0.8s; animation-duration: 2.8s; }
.meteor:nth-child(8) { top: 0; left: 80%; animation-delay: 1.5s; animation-duration: 2.2s; }
.meteor:nth-child(9) { top: 0; left: 90%; animation-delay: 2.5s; animation-duration: 3s; }
.meteor:nth-child(10) { top: 0; left: 100%; animation-delay: 0.3s; animation-duration: 2.4s; }

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* 按钮样式 */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    padding: 10px 24px;
    border-radius: 30px;
    font-weight: bold;
    display: inline-block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.btn-large {
    padding: 16px 40px;
    font-size: 1.2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.btn-large .version {
    font-size: 0.8rem;
    font-weight: normal;
    opacity: 0.8;
}

/* 导航栏 */
.navbar {
    background-color: rgba(17, 17, 17, 0.85);
    backdrop-filter: blur(15px);
    position: fixed;
    width: 90%;
    max-width: 1200px;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 40px;
    z-index: 1000;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    padding: 0 30px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-main);
}

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

.nav-links a {
    font-weight: 500;
    transition: color 0.3s;
}

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

/* 下拉菜单 */
.dropdown {
    position: relative;
    padding: 20px 0;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background-color: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    list-style: none;
    padding: 10px 0;
    min-width: 150px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu li {
    padding: 0;
    text-align: center;
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    white-space: nowrap;
    transition: background-color 0.3s, color 0.3s;
}

.dropdown-menu a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--primary-color);
}

/* 头部横幅 */
.hero {
    padding: 150px 0 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.hero-content {
    text-align: left;
    flex: 1;
    max-width: 600px;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.highlight {
    background: linear-gradient(to right, #333333, #888888);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.hero-actions {
    display: flex;
    justify-content: flex-start;
    gap: 20px;
}

.hero-image-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.5s ease;
}

.hero-image:hover {
    transform: perspective(1000px) rotateY(0deg);
}

/* 游戏展示区域 */
.features {
    padding: 150px 0;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.features-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
    position: relative;
}

.games-showcase {
    flex: 1;
    position: relative;
}

.games-image-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
    transform: perspective(1000px) rotateY(5deg) scale(0.95);
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.games-image-wrapper:hover {
    transform: perspective(1000px) rotateY(0deg) scale(1);
}

.games-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    opacity: 0.8;
    filter: contrast(1.1) brightness(0.9);
}

/* 渐变遮罩，实现图片与背景/文字的融合感 */
.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0) 100%);
    pointer-events: none;
}

.features-text-content {
    flex: 1;
    max-width: 500px;
    position: relative;
    z-index: 2;
}

/* 将标题与图片产生交叠感 */
.features-text-content .section-title {
    text-align: left;
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 30px;
    margin-left: -100px; /* 向左偏移，覆盖在图片上方 */
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
    background: linear-gradient(135deg, #ffffff 30%, #555555 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -2px;
}

.features-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 40px;
    padding-left: 20px;
    border-left: 3px solid rgba(255, 255, 255, 0.2);
}

.features-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    padding-left: 20px;
}

.tag {
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    font-size: 0.9rem;
    color: #fff;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.tag:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* 节点展示区域 */
.nodes-section {
    padding: 120px 0;
    position: relative;
    z-index: 1;
    background: linear-gradient(to bottom, transparent, rgba(17, 17, 17, 0.8));
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* 地图容器 */
.map-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    height: 600px;
    margin: 0 auto;
    background: transparent;
    overflow: hidden;
}

/* 融合在地图左侧的文字浮层 */
.map-info-overlay {
    position: absolute;
    top: 50%;
    left: 2%;
    transform: translateY(-50%);
    z-index: 10;
    max-width: 400px;
    pointer-events: none; /* 让鼠标可以穿透文字点击底下的地图元素 */
}

.map-info-overlay .section-title {
    text-align: left;
    margin-bottom: 20px;
}

/* 关于页面样式 */
.about-page {
    padding-top: 150px;
    min-height: 80vh;
}

.about-hero {
    text-align: center;
    padding: 60px 0;
}

.about-hero .section-title {
    font-size: 3rem;
    margin-bottom: 60px;
    background: linear-gradient(135deg, #ffffff 30%, #555555 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.about-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 60px 40px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, border-color 0.3s ease;
    text-align: center;
}

.about-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.3);
}

.about-card h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--text-main);
}

.about-card p {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.6;
}
    margin-left: 0;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.2;
    background: linear-gradient(135deg, #ffffff 30%, #555555 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nodes-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.map-stats {
    display: flex;
    gap: 30px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--text-main);
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    background: linear-gradient(to right, #ffffff, #aaaaaa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* SVG 连接线 */
.map-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.connection-line {
    fill: none;
    stroke: rgba(255, 255, 255, 0.2);
    stroke-width: 2;
    stroke-dasharray: 5, 5;
    animation: dash-flow 20s linear infinite;
}

@keyframes dash-flow {
    from { stroke-dashoffset: 1000; }
    to { stroke-dashoffset: 0; }
}

.signal-dot {
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.8));
}

/* 节点样式 */
.map-node {
    position: absolute;
    z-index: 3;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.node-dot {
    width: 12px;
    height: 12px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.8);
    position: relative;
    z-index: 2;
}

.node-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 25px;
    height: 25px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    animation: pulse-ring 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
    z-index: 1;
}

.center-node .node-dot {
    width: 12px;
    height: 12px;
    background: var(--primary-color);
    box-shadow: 0 0 15px var(--primary-color);
}

.center-node .node-pulse {
    width: 35px;
    height: 35px;
    background: rgba(136, 136, 136, 0.3);
    animation: pulse-ring 1.5s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

@keyframes pulse-ring {
    0% { transform: translate(-50%, -50%) scale(0.5); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(2.0); opacity: 0; }
}

.node-label {
    margin-top: 6px;
    font-size: 0.75rem;
    color: var(--text-muted);
    background: rgba(0, 0, 0, 0.6);
    padding: 3px 8px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    white-space: nowrap;
    backdrop-filter: blur(4px);
    transition: color 0.3s, border-color 0.3s;
}

.map-node:hover .node-label {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.5);
}

/* 底部区域 */
.footer {
    padding: 60px 0 20px;
    background-color: #050505;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-info h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-main);
}

.footer-info p {
    color: var(--text-muted);
    max-width: 300px;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: var(--text-muted);
    transition: color 0.3s;
}

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

.footer-bottom {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.icp-link {
    color: var(--text-muted);
    transition: color 0.3s;
}

.icp-link:hover {
    color: var(--primary-color);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero-container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-actions {
        justify-content: center;
    }

    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-desc {
        font-size: 1rem;
    }

    .features-container {
        flex-direction: column;
    }

    .features-text-content .section-title {
        margin-left: 0;
        font-size: 2.5rem;
        text-align: center;
    }

    .features-desc {
        text-align: left;
    }

    .features-tags {
        justify-content: center;
        padding-left: 0;
    }
    
    .map-info-overlay {
        position: relative;
        top: 0;
        left: 0;
        transform: none;
        text-align: center;
        margin: 0 auto 40px;
    }

    .map-info-overlay .section-title {
        text-align: center;
        font-size: 2.5rem;
    }

    .map-stats {
        justify-content: center;
    }
    
    .map-container {
        height: auto;
        padding-bottom: 300px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-info p {
        margin: 0 auto;
    }
    
    .footer-links {
        justify-content: center;
        flex-wrap: wrap;
    }
}