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

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    background-color: #f5f5f5;
    color: #333;
}

/* 头部样式 */
header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}

.logo-letter {
    font-size: 2rem;
    font-weight: bold;
    color: #4CAF50;
    margin: 0 2px;
    transition: transform 0.3s ease;
}

.logo-letter:hover {
    transform: translateY(-5px);
}

nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 2rem;
    padding: 0 1rem;
}

nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

nav a:hover {
    background-color: #4CAF50;
    color: white;
}

nav a.active {
    background-color: #4CAF50;
    color: white;
}

/* 语言选择器样式 */
.language-selector {
    position: relative;
}

.language-toggle {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.language-toggle:hover {
    background-color: #f0f0f0;
}

.language-text {
    font-weight: 500;
}

.language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: white;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    display: none;
    min-width: 120px;
    z-index: 1000;
}

.language-dropdown.active {
    display: block;
}

.language-dropdown a {
    display: block;
    padding: 0.5rem 1rem;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
}

.language-dropdown a:hover {
    background-color: #f0f0f0;
}

/* 面包屑导航样式 */
.breadcrumb {
    display: flex;
    align-items: center;
    padding: 1rem 2rem;
    background-color: #fff;
    margin-bottom: 2rem;
}

.breadcrumb-item {
    text-decoration: none;
    color: #666;
}

.breadcrumb-item.active {
    color: #4CAF50;
    font-weight: 500;
}

.breadcrumb-separator {
    margin: 0 0.5rem;
    color: #666;
}

/* 主要内容区域样式 */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* 页脚样式 */
footer {
    background-color: #333;
    color: white;
    padding: 2rem 0;
    margin-top: 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.footer-content p {
    color: white;
    margin: 0.5rem 0;
}

.footer-content a {
    color: white;
    text-decoration: none;
}

.footer-content a:hover {
    text-decoration: underline;
}

/* 响应式设计 */
@media (max-width: 768px) {
    nav ul {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .logo-letter {
        font-size: 1.5rem;
    }

    main {
        padding: 0 1rem;
    }
}

/* 游戏容器样式 */
.game-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.game-container::before {
    content: '';
    display: block;
    padding-top: 75%; /* 4:3 宽高比 */
}

.game-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* 游戏状态提示 */
.game-message {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 1rem 2rem;
    border-radius: 5px;
    font-size: 1.5rem;
    text-align: center;
    display: none;
}

/* 游戏介绍页面样式 */
.game-intro-section {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.section-title {
    font-size: 2rem;
    color: #4CAF50;
    margin: 2rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #4CAF50;
}

.game-overview {
    margin-bottom: 3rem;
}

.game-title {
    font-size: 2.5rem;
    color: #4CAF50;
    margin-bottom: 1.5rem;
}

.game-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
}

.gameplay-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.gameplay-text {
    padding: 1rem;
}

.gameplay-text h3 {
    color: #4CAF50;
    margin: 1.5rem 0 1rem;
}

.gameplay-text ul {
    list-style-type: disc;
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.gameplay-text li {
    margin-bottom: 0.5rem;
    color: #666;
}

.gameplay-images {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.screenshot {
    background-color: #f5f5f5;
    padding: 1rem;
    border-radius: 5px;
}

.screenshot img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 0.5rem;
}

.screenshot p {
    text-align: center;
    color: #666;
    font-size: 0.9rem;
}

.history-content {
    background-color: #f5f5f5;
    padding: 2rem;
    border-radius: 5px;
    margin-top: 1rem;
}

.history-content p {
    margin-bottom: 1.5rem;
    color: #666;
    line-height: 1.8;
}

.history-content ul {
    list-style-type: disc;
    margin-left: 1.5rem;
}

.history-content li {
    margin-bottom: 0.5rem;
    color: #666;
}

.team-info {
    background-color: #f5f5f5;
    padding: 2rem;
    border-radius: 5px;
    margin-top: 1rem;
}

.team-description {
    margin-bottom: 2rem;
}

.team-description p {
    color: #666;
    line-height: 1.8;
}

.team-members h3 {
    color: #4CAF50;
    margin-bottom: 1rem;
}

.team-members ul {
    list-style: none;
}

.team-members li {
    margin-bottom: 1.5rem;
}

.team-members strong {
    color: #4CAF50;
    display: block;
    margin-bottom: 0.5rem;
}

.team-members p {
    color: #666;
    line-height: 1.6;
}

/* 响应式设计补充 */
@media (max-width: 768px) {
    .gameplay-details {
        grid-template-columns: 1fr;
    }
    
    .game-title {
        font-size: 2rem;
    }
    
    .game-intro-section {
        padding: 1rem;
    }
} 