/* 导入像素风格CSS */
@import url('pixel-style.css');

/* 游戏iframe容器样式 */
.game-iframe-container {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 宽高比 */
    margin-bottom: 2rem;
    border: 4px solid var(--border-color);
    box-shadow: 0 0 0 4px var(--shadow-color);
    overflow: hidden;
}

.game-iframe-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* 全屏按钮样式 */
.fullscreen-btn {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    z-index: 10;
    padding: 0.5rem 1rem;
    background-color: var(--primary-color);
    color: white;
    border: 2px solid var(--border-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.fullscreen-btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

/* 新闻图片容器样式 */
.news-image-container {
    width: 100%;
    height: 200px;
    overflow: hidden;
    margin-bottom: 1rem;
    border: 2px solid var(--border-color);
    box-shadow: 0 0 0 2px var(--shadow-color);
}

/* 新闻图片样式 */
.news-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-image:hover {
    transform: scale(1.05);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .news-image-container {
        height: 150px;
    }
    
    .news-title {
        font-size: 1.1rem;
    }
    
    .news-content {
        font-size: 0.9rem;
    }
}

/* 像素风格装饰元素 */
.pixel-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--border-color);
}

.pixel-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--border-color);
}

/* 像素风格图标 */
.feature-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: inline-block;
    image-rendering: pixelated;
}

/* 像素风格卡片 */
.feature-card {
    padding: 1.5rem;
    border: 2px solid var(--border-color);
    box-shadow: 0 0 0 2px var(--shadow-color);
    transition: transform 0.3s ease;
    background-color: white;
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-5px);
}

/* 游戏规则列表样式 */
.game-rules {
    font-family: var(--pixel-font);
    line-height: 1.6;
}

/* 团队成员卡片样式 */
.team-member-card {
    padding: 1.5rem;
    border: 2px solid var(--border-color);
    box-shadow: 0 0 0 2px var(--shadow-color);
    transition: transform 0.3s ease;
    background-color: white;
}

.team-member-card:hover {
    transform: translateY(-5px);
}

/* 技巧部分样式 */
.tips-section {
    background-color: var(--light-color);
    padding: 2rem;
    border: 2px solid var(--border-color);
    box-shadow: 0 0 0 2px var(--shadow-color);
}

/* 社区统计样式 */
.community-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    text-align: center;
}

/* 新闻卡片样式 */
.news-card {
    padding: 1.5rem;
    border: 2px solid var(--border-color);
    box-shadow: 0 0 0 2px var(--shadow-color);
    transition: transform 0.3s ease;
    background-color: white;
}

.news-card:hover {
    transform: translateY(-5px);
}

/* 页脚链接样式 */
.footer-links a {
    color: var(--light-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-color);
}

/* 面包屑导航样式 */
.breadcrumb {
    font-family: var(--pixel-font);
    color: var(--dark-color);
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--secondary-color);
}

/* 语言选择器样式 */
.language-selector button {
    background-color: var(--light-color);
    border: 2px solid var(--border-color);
    font-family: var(--pixel-font);
    transition: all 0.2s ease;
}

.language-selector button:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Logo样式 */
.logo {
    font-family: var(--pixel-font);
    text-decoration: none;
    transition: all 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
    color: var(--secondary-color);
}

/* 按钮样式 */
.button {
    font-family: var(--pixel-font);
    transition: all 0.3s ease;
    border: 2px solid var(--border-color);
    box-shadow: 0 0 0 2px var(--shadow-color);
}

.button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* 新闻标题 */
.news-title {
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* 新闻日期 */
.news-date {
    font-size: 0.875rem;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

/* 新闻内容 */
.news-content {
    color: var(--dark-color);
    line-height: 1.6;
}

/* 像素风格装饰 */
.pixel-decoration {
    position: absolute;
    width: 32px;
    height: 32px;
    background-color: var(--primary-color);
    border: 2px solid var(--border-color);
    z-index: -1;
}

.pixel-decoration-top-left {
    top: -16px;
    left: -16px;
}

.pixel-decoration-top-right {
    top: -16px;
    right: -16px;
}

.pixel-decoration-bottom-left {
    bottom: -16px;
    left: -16px;
}

.pixel-decoration-bottom-right {
    bottom: -16px;
    right: -16px;
}

/* 页面标题 */
.page-title {
    font-size: 2rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

.page-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background-color: var(--primary-color);
}

/* 页面描述 */
.page-description {
    text-align: center;
    color: var(--dark-color);
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* 特色卡片 */
.feature-card {
    background-color: white;
    border: 2px solid var(--border-color);
    box-shadow: 0 0 0 2px var(--shadow-color);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feature-title {
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.feature-description {
    color: var(--dark-color);
    line-height: 1.6;
}

/* 游戏规则列表 */
.game-rules {
    list-style-type: none;
    padding-left: 0;
}

.game-rules li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.game-rules li::before {
    content: '■';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

/* 团队成员卡片 */
.team-member-card {
    background-color: white;
    border: 2px solid var(--border-color);
    box-shadow: 0 0 0 2px var(--shadow-color);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
    text-align: center;
}

.team-member-card:hover {
    transform: translateY(-5px);
}

.team-member-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-bottom: 1rem;
    border: 2px solid var(--border-color);
}

.team-member-name {
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.team-member-role {
    font-size: 0.875rem;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.team-member-description {
    color: var(--dark-color);
    line-height: 1.6;
}

/* 游戏技巧卡片 */
.tip-card {
    background-color: white;
    border: 2px solid var(--border-color);
    box-shadow: 0 0 0 2px var(--shadow-color);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.tip-card:hover {
    transform: translateY(-5px);
}

.tip-title {
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.tip-content {
    color: var(--dark-color);
    line-height: 1.6;
}

/* 社区统计 */
.community-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background-color: white;
    border: 2px solid var(--border-color);
    box-shadow: 0 0 0 2px var(--shadow-color);
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--dark-color);
}

/* 页脚链接 */
.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.footer-link-group {
    margin-bottom: 1.5rem;
}

.footer-link-title {
    font-size: 1.25rem;
    color: white;
    margin-bottom: 1rem;
}

.footer-link-list {
    list-style-type: none;
    padding-left: 0;
}

.footer-link-list li {
    margin-bottom: 0.5rem;
}

.footer-link-list a {
    color: var(--light-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link-list a:hover {
    color: var(--accent-color);
}

/* 面包屑导航 */
.breadcrumb {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    padding: 0.5rem 0;
}

.breadcrumb-item {
    color: var(--dark-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-item:hover {
    color: var(--primary-color);
}

.breadcrumb-separator {
    margin: 0 0.5rem;
    color: var(--dark-color);
}

/* 语言选择器 */
.language-selector {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.language-selector select {
    padding: 0.5rem;
    border: 2px solid var(--border-color);
    background-color: white;
    color: var(--dark-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.language-selector select:hover {
    border-color: var(--primary-color);
}

/* 响应式导航 */
@media (max-width: 768px) {
    .nav-menu {
        flex-direction: column;
        align-items: center;
    }
    
    .nav-menu a {
        margin: 0.5rem 0;
    }
    
    .community-stats {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .page-title {
        font-size: 1.5rem;
    }
    
    .team-member-image {
        width: 120px;
        height: 120px;
    }
} 