/* 重置和基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

/* 头部样式 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

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

.logo h1 {
    font-size: 24px;
    font-weight: 700;
    color: #1a365d;
    margin-bottom: 2px;
}

.logo span {
    font-size: 12px;
    color: #718096;
    font-weight: 500;
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-menu a {
    text-decoration: none;
    color: #4a5568;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: #3182ce;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #3182ce;
    transition: width 0.3s ease;
}

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

/* 英雄区域 */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;

}

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

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 40px;
    opacity: 0.9;
    line-height: 1.6;
}

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

.btn {
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: #fff;
    color: #667eea;
}

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

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-secondary:hover {
    background: #fff;
    color: #667eea;
    transform: translateY(-2px);
}

.game-preview {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 20px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.game-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 15px;
}

.game-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.7);
    padding: 15px;
    border-radius: 10px;
    color: white;
}

.game-overlay h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.game-overlay p {
    opacity: 0.9;
    font-size: 0.9rem;
}

/* 区域样式 */
.game-section,
.about-section,
.contact-section {
    padding: 100px 0;
}

.game-section {
    background: #f7fafc;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a365d;
    margin-bottom: 20px;
}

.section-divider {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    margin: 0 auto;
    border-radius: 2px;
}

.game-card {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    max-width: 900px;
    margin: 0 auto;
}

.game-images {
    display: grid;
    /* grid-template-columns: 1fr 1fr; */
    gap: 20px;
    margin-bottom: 30px;
}

.game-screenshot {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.game-screenshot:hover {
    transform: scale(1.05);
}

.game-card h3 {
    font-size: 2rem;
    color: #1a365d;
    margin-bottom: 20px;
    text-align: center;
}

.game-intro {
    font-size: 1.1rem;
    color: #4a5568;
    margin-bottom: 40px;
    text-align: center;
    font-weight: 500;
}

.game-features {
    display: grid;
    gap: 30px;
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.feature-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.feature-text h4 {
    font-size: 1.2rem;
    color: #1a365d;
    margin-bottom: 8px;
}

.feature-text p {
    color: #4a5568;
    line-height: 1.6;
}

/* 关于我们 */
.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.company-info h3 {
    font-size: 2rem;
    color: #1a365d;
    margin-bottom: 20px;
}

.company-info p {
    font-size: 1.1rem;
    color: #4a5568;
    line-height: 1.8;
}

/* 联系我们 */
.contact-section {
    background: #f7fafc;
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.contact-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-text h4 {
    font-size: 1.2rem;
    color: #1a365d;
    margin-bottom: 8px;
}

.contact-text p {
    color: #4a5568;
    line-height: 1.6;
}

/* 底部 */
.footer {
    background: #1a365d;
    color: #fff;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #e2e8f0;
}

.footer-section p {
    color: #a0aec0;
    line-height: 1.6;
    margin-bottom: 8px;
}

.footer-bottom {
    border-top: 1px solid #2d3748;
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    color: #a0aec0;
    margin-bottom: 5px;
}

.beian-link {
    color: #a0aec0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.beian-link:hover {
    color: #e2e8f0;
    text-decoration: underline;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .game-card {
        padding: 30px 20px;
    }
    
    .game-images {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-bottom: 25px;
    }
    
    .game-screenshot {
        height: 180px;
    }
    
    .feature {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .game-section,
    .about-section,
    .contact-section {
        padding: 60px 0;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .game-card {
        padding: 25px 15px;
    }
    
    .game-images {
        margin-bottom: 20px;
    }
    
    .game-screenshot {
        height: 150px;
    }
}

/* 平滑滚动 */
html {
    scroll-behavior: smooth;
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.game-card,
.contact-item,
.company-info {
    animation: fadeInUp 0.6s ease-out;
}