/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 黑色主题基础设置 */
body {
    font-family: 'Arial', sans-serif;
    background-color: #000;
    color: #fff;
    overflow-x: hidden;
    line-height: 1.6;
}

/* 太阳系容器 */
#solar-system-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(1);
    transform-origin: center center;
}

#solar-system-container canvas {
    width: 100%;
    height: 100%;
    display: block;
}

/* 导航栏 */
nav {
    position: relative;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 0;
    z-index: 100;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: #fff;
    text-decoration: none;
    font-size: 1.8rem;
    font-weight: bold;
    letter-spacing: 2px;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #4a90e2;
}

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

/* 页面内容容器 */
#page-content-wrapper {
    position: relative;
    z-index: 10;
}

/* 主页内容 */
.main-content {
    position: relative;
    z-index: 10;
    opacity: 1;
    transition: opacity 0.5s ease;
}

.hero {
    text-align: center;
    padding: 8rem 2rem 6rem;
}

.hero h1 {
    font-size: 5rem;
    margin-bottom: 1rem;
    letter-spacing: 4px;
    text-shadow: 0 0 20px rgba(74, 144, 226, 0.5);
}

.subtitle {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

.about {
    background: rgba(0, 0, 0, 0.7);
    padding: 4rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.about h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.about p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.model-preview {
    padding: 4rem 2rem;
    text-align: center;
}

.model-preview h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.model-card {
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 3rem;
    max-width: 600px;
    margin: 0 auto;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.model-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(74, 144, 226, 0.2);
}

.model-card h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #4a90e2;
}

.model-card p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.8);
}

.btn {
    display: inline-block;
    background: linear-gradient(45deg, #4a90e2, #50e3c2);
    color: #000;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(74, 144, 226, 0.5);
}

.mission {
    background: rgba(0, 0, 0, 0.7);
    padding: 4rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mission h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
}

.mission ul {
    max-width: 800px;
    margin: 0 auto;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.mission li {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease, background 0.3s ease;
}

.mission li:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.08);
}

/* Koss-Earth1页面样式 */
.earth1-content {
    position: relative;
    z-index: 10;
}

.earth1-intro {
    text-align: center;
    padding: 8rem 2rem 6rem;
}

.earth1-intro h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    letter-spacing: 3px;
    text-shadow: 0 0 20px rgba(74, 144, 226, 0.5);
}

.model-info {
    max-width: 800px;
    margin: 3rem auto 0;
    font-size: 1.2rem;
    line-height: 1.8;
}

.model-info p {
    margin-bottom: 1.5rem;
}

.coming-soon {
    background: rgba(0, 0, 0, 0.7);
    padding: 4rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.coming-soon h2 {
    font-size: 3rem;
    margin-bottom: 3rem;
    text-align: center;
    color: #4a90e2;
}

.features, .applications, .future {
    max-width: 800px;
    margin: 0 auto 4rem;
}

.features h3, .applications h3, .future h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #50e3c2;
}

.features ul, .applications ul, .future ul {
    list-style: none;
}

.features li, .applications li, .future li {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

.features li::before, .applications li::before, .future li::before {
    content: "→";
    color: #4a90e2;
    position: absolute;
    left: 0;
}

/* 页脚 */
footer {
    background: rgba(0, 0, 0, 0.9);
    padding: 2rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 10;
}

footer p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 3rem;
    }
    
    .subtitle {
        font-size: 1.2rem;
    }
    
    .about h2, .model-preview h2, .mission h2 {
        font-size: 2rem;
    }
    
    .model-card {
        padding: 2rem;
    }
    
    .earth1-intro h1 {
        font-size: 3rem;
    }
    
    .coming-soon h2 {
        font-size: 2.5rem;
    }
    
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    nav ul {
        gap: 1rem;
    }
    
    nav ul li {
        margin-left: 0;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .about p, .model-info p {
        font-size: 1rem;
    }
    
    .mission ul {
        grid-template-columns: 1fr;
    }
}