/* 全局样式 */
:root {
    --primary-blue: #1a365d;
    --secondary-blue: #2c5282;
    --accent-blue: #4299e1;
    --text-light: #f7fafc;
    --text-dark: #2d3748;
}

/* 复古背景图案 */
body {
    background-color: var(--primary-blue);
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%232c5282' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* Logo样式 */
#logo {
    font-family: 'Press Start 2P', cursive;
    background: linear-gradient(45deg, var(--accent-blue), #63b3ed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

#logo:hover {
    transform: scale(1.05);
}

/* 语言切换器样式 */
#language-switcher {
    display: flex;
    gap: 0.5rem;
}

.lang-btn {
    background-color: var(--secondary-blue);
    border: 2px solid var(--accent-blue);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    background-color: var(--accent-blue);
    transform: translateY(-2px);
}

.lang-btn.active {
    background-color: var(--accent-blue);
    box-shadow: 0 0 10px rgba(66, 153, 225, 0.5);
}

/* 游戏容器样式 */
#game-container {
    border: 4px solid var(--accent-blue);
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(66, 153, 225, 0.3);
    overflow: hidden;
}

/* 全屏按钮样式 */
#fullscreen-btn {
    background: linear-gradient(45deg, var(--secondary-blue), var(--accent-blue));
    border: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}

#fullscreen-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(66, 153, 225, 0.5);
}

/* 内容区域样式 */
.content-section {
    background: rgba(26, 54, 93, 0.8);
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* 游戏截图样式 */
.screenshot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.screenshot-item {
    border: 3px solid var(--accent-blue);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.screenshot-item:hover {
    transform: scale(1.05);
}

/* 用户评论样式 */
.testimonial {
    background: rgba(44, 82, 130, 0.5);
    border-left: 4px solid var(--accent-blue);
    padding: 1.5rem;
    margin: 1rem 0;
    border-radius: 0 8px 8px 0;
}

/* FAQ样式 */
.faq-item {
    border-bottom: 1px solid var(--accent-blue);
    padding: 1rem 0;
}

.faq-question {
    color: var(--accent-blue);
    font-weight: bold;
    cursor: pointer;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .screenshot-grid {
        grid-template-columns: 1fr;
    }
    
    #logo {
        font-size: 1.5rem;
    }
    
    .content-section {
        padding: 1rem;
    }
}

/* 动画效果 */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.content-section {
    animation: fadeIn 0.5s ease-out;
} 