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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #e0e0e0;
    background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
    overflow-x: hidden;
}

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

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(15, 12, 41, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

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

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #ffd700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: #e0e0e0;
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
}

.nav-links a:hover {
    color: #ffd700;
}

/* Hero区域 */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 100px 20px 50px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255, 215, 0, 0.1), transparent 50%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.hero-content {
    text-align: center;
    z-index: 1;
    max-width: 800px;
}

.hero-title {
    font-size: 5rem;
    font-weight: bold;
    color: #ffd700;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5), 0 0 40px rgba(255, 215, 0, 0.3);
    margin-bottom: 1rem;
    letter-spacing: 0.1em;
}

.hero-subtitle {
    font-size: 2rem;
    color: #b8b8d1;
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.2rem;
    color: #9999aa;
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
    font-size: 1.1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #1a1a2e;
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.6);
}

/* 通用区域样式 */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #ffd700;
    margin-bottom: 3rem;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

/* 游戏介绍 */
.about {
    padding: 100px 20px;
    background: rgba(0, 0, 0, 0.3);
}

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

.about-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 215, 0, 0.2);
    transition: all 0.3s;
}

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

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.about-card h3 {
    color: #ffd700;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.about-card p {
    color: #b8b8d1;
    line-height: 1.8;
}

/* 特色功能 */
.features {
    padding: 100px 20px;
}

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

.feature-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 215, 0, 0.1);
    transition: all 0.3s;
}

.feature-item:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 215, 0, 0.3);
    background: rgba(255, 255, 255, 0.08);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-item h3 {
    color: #ffd700;
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
}

.feature-item p {
    color: #9999aa;
    line-height: 1.6;
}

/* 下载区域 */
.download {
    padding: 100px 20px;
    background: rgba(0, 0, 0, 0.3);
    text-align: center;
}

.download-subtitle {
    font-size: 1.3rem;
    color: #b8b8d1;
    margin-bottom: 3rem;
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 2.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 15px;
    text-decoration: none;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
}

.download-btn:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 215, 0, 0.6);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
}

.btn-icon {
    font-size: 2.5rem;
}

.btn-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.btn-label {
    font-size: 0.9rem;
    color: #9999aa;
}

.btn-platform {
    font-size: 1.2rem;
    color: #ffd700;
    font-weight: 600;
}

/* 页脚 */
.footer {
    background: rgba(0, 0, 0, 0.5);
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid rgba(255, 215, 0, 0.2);
}

.footer p {
    color: #9999aa;
    margin: 0.5rem 0;
}

.footer-links {
    margin-top: 1rem;
}

.footer-links a {
    color: #b8b8d1;
    text-decoration: none;
    margin: 0 0.5rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #ffd700;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.5rem;
    }

    .nav-links {
        gap: 1rem;
    }

    .about-content,
    .features-grid {
        grid-template-columns: 1fr;
    }

    .download-buttons {
        flex-direction: column;
        align-items: center;
    }

    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .logo {
        font-size: 1.5rem;
    }

    .nav-links {
        font-size: 0.9rem;
    }
}

