/* 基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    line-height: 1.6;
    color: #333333;
    background-color: #f0f8f0;
    background-image: radial-gradient(circle at 10% 20%, rgba(144, 238, 144, 0.3) 0%, rgba(240, 248, 240, 0.8) 90%);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 通用样式 */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2e7d32;
    position: relative;
    text-shadow: 0 0 10px rgba(46, 125, 50, 0.3);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #4caf50, #8bc34a, #4caf50);
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(76, 175, 80, 0.7);
}

/* 导航栏 */
.navbar {
    background: linear-gradient(90deg, #2e7d32 0%, #4caf50 50%, #8bc34a 100%);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(46, 125, 50, 0.5);
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.7);
}

.nav-logo i {
    font-size: 2rem;
    color: #fff9c4;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}


/* 汉堡菜单 */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #ffffff;
    margin: 3px 0;
    transition: 0.3s;
}

/* 英雄区域 */
.hero {
    background: linear-gradient(135deg, #4caf50 0%, #8bc34a 50%, #c8e6c9 100%);
    color: white;
    padding: 4rem 0;
    display: flex;
    align-items: center;
    min-height: 80vh;
    position: relative;
    overflow: hidden;
    border-bottom: 2px solid rgba(255, 255, 255, 0.5);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 10% 20%, rgba(255, 249, 196, 0.3) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(255, 255, 255, 0.3) 0%, transparent 20%),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.7;
}

.hero-content {
    flex: 1;
    padding-right: 2rem;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
    background: linear-gradient(90deg, #ffffff, #fff9c4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.8;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
    color: #1b5e20;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(90deg, #8bc34a 0%, #cddc39 100%);
    color: white;
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(139, 195, 74, 0.6);
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: #1b5e20;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: 0.5s;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    background: linear-gradient(90deg, #7cb342 0%, #c0ca33 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(139, 195, 74, 0.8);
}

.hero-image {
    flex: 1;
    position: relative;
    z-index: 2;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(46, 125, 50, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.7);
}

/* 游戏卡片和网格 */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.game-card {
    background: linear-gradient(135deg, #4caf50 0%, #8bc34a 100%);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(46, 125, 50, 0.5);
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(139, 195, 74, 0.7);
    border: 1px solid rgba(255, 249, 196, 0.8);
}

.game-card.featured {
    grid-column: span 1;
    background: linear-gradient(135deg, #8bc34a 0%, #c8e6c9 100%);
    border: 1px solid rgba(255, 249, 196, 0.7);
}

.game-card.featured:hover {
    box-shadow: 0 15px 40px rgba(255, 249, 196, 0.7);
    border: 1px solid rgba(255, 255, 255, 1);
}

.game-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.game-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.game-card:hover .game-image img {
    transform: scale(1.1);
}

.game-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(46, 125, 50, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.game-card:hover .game-overlay {
    opacity: 1;
}

.play-button {
    background: linear-gradient(135deg, #8bc34a 0%, #cddc39 100%);
    color: white;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 2rem;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(139, 195, 74, 0.7);
    border: 2px solid rgba(255, 255, 255, 0.7);
    color: #1b5e20;
}

.play-button:hover {
    transform: scale(1.1);
    background: linear-gradient(135deg, #7cb342 0%, #c0ca33 100%);
    box-shadow: 0 0 30px rgba(255, 249, 196, 0.8);
}

.game-info {
    padding: 1.5rem;
}

.game-info h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

.game-info p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.game-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.genre {
    background: linear-gradient(135deg, #2e7d32 0%, #4caf50 100%);
    color: #fff9c4;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(255, 249, 196, 0.5);
}

.rating {
    background: linear-gradient(135deg, #4caf50 0%, #8bc34a 100%);
    color: #fff9c4;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

/* 特色游戏区域 */
.featured-games {
    padding: 4rem 0;
    background: 
        radial-gradient(circle at 10% 20%, rgba(76, 175, 80, 0.3) 0%, rgba(240, 248, 240, 0.8) 90%);
    position: relative;
}

.featured-games::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 10% 20%, rgba(255, 249, 196, 0.2) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(255, 255, 255, 0.2) 0%, transparent 20%);
}

/* 最新资讯区域 */
.latest-news {
    padding: 4rem 0;
    background: 
        radial-gradient(circle at 10% 20%, rgba(46, 125, 50, 0.3) 0%, rgba(240, 248, 240, 0.8) 90%);
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.news-card {
    background: linear-gradient(135deg, #4caf50 0%, #8bc34a 100%);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(46, 125, 50, 0.5);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(46, 125, 50, 0.7);
    border: 1px solid rgba(255, 249, 196, 0.7);
}

.news-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.1);
}

.news-content {
    padding: 1.5rem;
}

.news-category {
    background: linear-gradient(135deg, #2e7d32 0%, #4caf50 100%);
    color: #fff9c4;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    display: inline-block;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 249, 196, 0.5);
}

.news-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    color: #ffffff;
    line-height: 1.4;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
}

.news-content p {
    color: #e8f5e9;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: #c8e6c9;
}

.read-more {
    color: #fff9c4;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.read-more::after {
    content: '→';
    margin-left: 5px;
    transition: margin-left 0.3s ease;
}

.read-more:hover {
    color: #ffffff;
}

.read-more:hover::after {
    margin-left: 10px;
}

/* 页脚 */
.footer {
    background: linear-gradient(135deg, #1b5e20 0%, #2e7d32 100%);
    color: #e8f5e9;
    padding: 3rem 0 1rem;
    position: relative;
    border-top: 2px solid rgba(255, 255, 255, 0.5);
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #4caf50, #8bc34a, #4caf50);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: #ffffff;
    font-size: 1.2rem;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, #8bc34a, #cddc39);
}

.footer-section p {
    margin-bottom: 0.5rem;
    color: #c8e6c9;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #c8e6c9;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 15px;
}

.footer-section ul li a::before {
    content: '▶';
    position: absolute;
    left: 0;
    top: 0;
    font-size: 0.8rem;
    color: #fff9c4;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.footer-section ul li a:hover::before {
    opacity: 1;
}

.footer-section ul li a:hover {
    color: #ffffff;
    padding-left: 20px;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #4caf50 0%, #8bc34a 100%);
    color: #fff9c4;
    border-radius: 50%;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 249, 196, 0.5);
}

.social-links a:hover {
    background: linear-gradient(135deg, #8bc34a 0%, #cddc39 100%);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(139, 195, 74, 0.5);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    color: #a5d6a7;
    font-size: 0.9rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 2rem 0;
        min-height: 60vh;
    }
    
    .hero-content {
        padding-right: 0;
        margin-bottom: 2rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .nav-menu {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-menu.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: linear-gradient(135deg, #2e7d32 0%, #4caf50 100%);
        padding: 1rem 0;
        box-shadow: 0 5px 20px rgba(46, 125, 50, 0.5);
        border-bottom: 2px solid rgba(255, 255, 255, 0.7);
    }
    
    .games-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .footer-section ul li a {
        padding-left: 0;
    }
    
    .footer-section ul li a::before {
        display: none;
    }
    
    .footer-section ul li a:hover {
        padding-left: 0;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .game-card {
        margin: 0 10px;
    }
    
    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    
    .nav-link {
        padding: 0.8rem;
        text-align: center;
    }
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(139, 195, 74, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(139, 195, 74, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(139, 195, 74, 0);
    }
}

.pulse {
    animation: pulse 2s infinite;
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #c8e6c9;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #4caf50 0%, #8bc34a 100%);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #2e7d32 0%, #7cb342 100%);
}

/* 页面头部样式 */
.page-header {
    background: linear-gradient(135deg, #4caf50 0%, #8bc34a 50%, #c8e6c9 100%);
    color: white;
    padding: 3rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 2px solid rgba(255, 255, 255, 0.5);
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 10% 20%, rgba(255, 249, 196, 0.3) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(255, 255, 255, 0.3) 0%, transparent 20%);
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
    position: relative;
    z-index: 2;
    color: #1b5e20;
}

.page-header p {
    font-size: 1.1rem;
    opacity: 0.9;
    position: relative;
    z-index: 2;
    color: #1b5e20;
}

/* 游戏筛选样式 */
.game-filters {
    padding: 2rem 0;
    background: linear-gradient(135deg, #4caf50 0%, #8bc34a 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: linear-gradient(135deg, #2e7d32 0%, #4caf50 100%);
    border: 2px solid rgba(255, 255, 255, 0.7);
    color: #e8f5e9;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.filter-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: 0.5s;
}

.filter-btn:hover::before {
    left: 100%;
}

.filter-btn:hover,
.filter-btn.active {
    background: linear-gradient(135deg, #8bc34a 0%, #cddc39 100%);
    color: #1b5e20;
    border-color: #fff9c4;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(139, 195, 74, 0.7);
}

/* 新闻分类样式 */
.news-categories {
    padding: 2rem 0;
    background: #e8f5e9;
    border-bottom: 1px solid #c8e6c9;
}

.category-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.category-tab {
    background: #f1f8e9;
    border: 2px solid #dcedc8;
    color: #2e7d32;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.category-tab:hover,
.category-tab.active {
    background: linear-gradient(135deg, #4caf50 0%, #8bc34a 100%);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
}

/* 新闻布局样式 */
.main-news {
    padding: 3rem 0;
}

.news-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.main-news-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.featured-news {
    background: #ffffff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(46, 125, 50, 0.3);
}

.news-image.large {
    height: 300px;
    position: relative;
}

.news-image.large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-image.large .news-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
}

.featured-news .news-content {
    padding: 2rem;
}

.featured-news h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2e7d32;
    line-height: 1.4;
}

/* 侧边栏样式 */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-section {
    background: #ffffff;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 5px 20px rgba(46, 125, 50, 0.2);
}

.sidebar-section h3 {
    margin-bottom: 1rem;
    color: #2e7d32;
    font-size: 1.2rem;
    border-bottom: 2px solid #e8f5e9;
    padding-bottom: 0.5rem;
}

.popular-news-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem 0;
    border-bottom: 1px solid #e8f5e9;
}

.popular-news-item:last-child {
    border-bottom: none;
}

.rank {
    background: linear-gradient(135deg, #4caf50 0%, #8bc34a 100%);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
}

.news-info h4 {
    font-size: 0.9rem;
    color: #2e7d32;
    margin-bottom: 0.3rem;
    line-height: 1.4;
}

.news-info .views {
    font-size: 0.8rem;
    color: #757575;
}

.latest-releases {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.release-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem 0;
    border-bottom: 1px solid #e8f5e9;
}

.release-item:last-child {
    border-bottom: none;
}

.release-item img {
    width: 80px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
}

.release-info h4 {
    font-size: 0.9rem;
    color: #2e7d32;
    margin-bottom: 0.3rem;
}

.release-info .platform {
    font-size: 0.8rem;
    color: #757575;
}

/* 游戏详情页样式 */
.game-header {
    background: linear-gradient(135deg, #4caf50 0%, #8bc34a 100%);
    color: white;
    padding: 3rem 0;
}

.game-header-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
    align-items: start;
}

.game-cover img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(46, 125, 50, 0.5);
}

.game-info-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    color: #1b5e20;
}

.game-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 1.5rem;
    color: #2e7d32;
}

.game-meta-header {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    opacity: 0.9;
    color: #1b5e20;
}

.game-rating {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.rating-score .score {
    font-size: 2rem;
    font-weight: bold;
    color: #fff9c4;
}

.rating-score .max-score {
    font-size: 1.2rem;
    opacity: 0.9;
    color: #e8f5e9;
}

.rating-stars {
    color: #ffeb3b;
    font-size: 1.2rem;
}

.game-genres,
.game-platforms {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.genre-tag,
.platform-tag {
    background: rgba(255, 255, 255, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: #1b5e20;
}

.game-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.play-button-large {
    background: linear-gradient(135deg, #8bc34a 0%, #cddc39 100%);
    color: #1b5e20;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 5px 20px rgba(139, 195, 74, 0.6);
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.play-button-large:hover {
    background: linear-gradient(135deg, #7cb342 0%, #c0ca33 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(139, 195, 74, 0.8);
}

.wishlist-button {
    background: rgba(255, 255, 255, 0.3);
    color: #1b5e20;
    border: 2px solid rgba(255, 255, 255, 0.5);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.wishlist-button:hover,
.wishlist-button.active {
    background: rgba(255, 255, 255, 0.5);
    border-color: #fff9c4;
}

/* 游戏详情内容区域 */
.game-details {
    padding: 3rem 0;
    background: #f1f8e9;
}

.game-content-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.game-main-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.game-section {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(46, 125, 50, 0.2);
}

.game-section h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #2e7d32;
    border-bottom: 2px solid #e8f5e9;
    padding-bottom: 0.5rem;
}

.game-section p {
    color: #333333;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.feature-item {
    text-align: center;
    padding: 1.5rem;
    background: #f1f8e9;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    background: #ffffff;
    box-shadow: 0 5px 20px rgba(46, 125, 50, 0.2);
}

.feature-item i {
    font-size: 2.5rem;
    color: #4caf50;
    margin-bottom: 1rem;
}

.feature-item h3 {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    color: #2e7d32;
}

.feature-item p {
    font-size: 0.9rem;
    color: #333333;
    line-height: 1.6;
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.screenshot-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease;
    cursor: pointer;
    border: 2px solid #c8e6c9;
}

.screenshot-item img:hover {
    transform: scale(1.05);
    border-color: #8bc34a;
}

.system-requirements {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.req-section h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #2e7d32;
}

.req-section ul {
    list-style: none;
}

.req-section ul li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #e8f5e9;
    color: #333333;
}

.req-section ul li:last-child {
    border-bottom: none;
}

.req-section ul li strong {
    color: #2e7d32;
}

/* 游戏侧边栏 */
.game-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.game-stats {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: #f1f8e9;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: white;
    box-shadow: 0 3px 15px rgba(46, 125, 50, 0.2);
}

.stat-label {
    color: #333333;
    font-size: 0.9rem;
}

.stat-value {
    color: #2e7d32;
    font-weight: bold;
    font-size: 1.1rem;
}

.related-games {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.related-game-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f1f8e9;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.related-game-item:hover {
    background: white;
    box-shadow: 0 3px 15px rgba(46, 125, 50, 0.2);
}

.related-game-item img {
    width: 80px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
}

.related-game-info h4 {
    font-size: 0.9rem;
    color: #2e7d32;
    margin-bottom: 0.3rem;
}

.related-game-info .rating {
    background: #8bc34a;
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
}

.purchase-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.purchase-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    background: white;
    border: 2px solid #dcedc8;
    border-radius: 10px;
    text-decoration: none;
    color: #2e7d32;
    font-weight: 500;
    transition: all 0.3s ease;
}

.purchase-btn:hover {
    border-color: #4caf50;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(46, 125, 50, 0.2);
}

.purchase-btn.steam {
    border-color: #4caf50;
}

.purchase-btn.steam:hover {
    background: #4caf50;
    color: white;
}

.purchase-btn.epic {
    border-color: #2e7d32;
}

.purchase-btn.epic:hover {
    background: #2e7d32;
    color: white;
}

.purchase-btn.gog {
    border-color: #8bc34a;
}

.purchase-btn.gog:hover {
    background: #8bc34a;
    color: white;
}

.purchase-btn .price {
    font-weight: bold;
    color: #2e7d32;
}

.purchase-btn:hover .price {
    color: white;
}

/* 游戏试玩页面样式 */
.play-header {
    background: linear-gradient(135deg, #4caf50 0%, #8bc34a 100%);
    color: white;
    padding: 3rem 0;
}

.play-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.game-info-play h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    color: #1b5e20;
}

.game-info-play p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 1.5rem;
    color: #2e7d32;
}

.play-meta {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.play-meta span {
    background: rgba(255, 255, 255, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: #1b5e20;
}

.play-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.back-button,
.fullscreen-button {
    background: rgba(255, 255, 255, 0.3);
    color: #1b5e20;
    border: 2px solid rgba(255, 255, 255, 0.5);
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.back-button:hover,
.fullscreen-button:hover {
    background: rgba(255, 255, 255, 0.5);
    border-color: #fff9c4;
    transform: translateY(-2px);
}

/* 游戏试玩区域 */
.game-play-area {
    padding: 3rem 0;
    background: #f1f8e9;
}

.play-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.game-canvas {
    background: #2e7d32;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(46, 125, 50, 0.5);
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.game-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: white;
    text-align: center;
}

.game-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.game-loading i {
    color: #8bc34a;
    margin-bottom: 1rem;
}

.game-loading h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.game-loading p {
    color: #c8e6c9;
    margin-bottom: 1.5rem;
}

.loading-bar {
    width: 300px;
    height: 8px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    overflow: hidden;
}

.loading-progress {
    height: 100%;
    background: linear-gradient(135deg, #4caf50 0%, #8bc34a 100%);
    width: 0%;
    transition: width 0.3s ease;
}

.game-controls {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.control-instructions h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #e8f5e9;
}

.control-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.control-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.key {
    background: #4caf50;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: bold;
    font-size: 0.9rem;
    min-width: 60px;
    text-align: center;
}

.action {
    color: #e8f5e9;
    font-size: 0.9rem;
    text-align: center;
}

/* 游戏信息面板 */
.game-info-panel {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.panel-section {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 5px 20px rgba(46, 125, 50, 0.2);
}

.panel-section h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #2e7d32;
    border-bottom: 2px solid #e8f5e9;
    padding-bottom: 0.5rem;
}

.panel-section p {
    color: #333333;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.panel-section ul {
    list-style: none;
}

.panel-section ul li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #e8f5e9;
    color: #333333;
    position: relative;
    padding-left: 1.5rem;
}

.panel-section ul li:last-child {
    border-bottom: none;
}

.panel-section ul li::before {
    content: '•';
    color: #4caf50;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.system-check {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.check-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem;
    background: #f1f8e9;
    border-radius: 8px;
}

.check-label {
    color: #333333;
    font-size: 0.9rem;
}

.check-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.check-status.success {
    color: #2e7d32;
}

.check-status.success i {
    color: #4caf50;
}

/* 游戏特色展示 */
.game-features-showcase {
    padding: 3rem 0;
    background: white;
}

.game-features-showcase h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: #2e7d32;
}

.features-showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-showcase-item {
    text-align: center;
    padding: 2rem;
    background: #f1f8e9;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.feature-showcase-item:hover {
    transform: translateY(-10px);
    background: white;
    box-shadow: 0 10px 30px rgba(46, 125, 50, 0.2);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #4caf50 0%, #8bc34a 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.feature-icon i {
    font-size: 2rem;
    color: white;
}

.feature-showcase-item h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #2e7d32;
}

.feature-showcase-item p {
    color: #333333;
    line-height: 1.6;
}

/* 购买提示 */
.purchase-prompt {
    padding: 3rem 0;
    background: linear-gradient(135deg, #4caf50 0%, #8bc34a 100%);
    color: white;
}

.prompt-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.prompt-text h3 {
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
    color: #1b5e20;
}

.prompt-text p {
    font-size: 1.1rem;
    opacity: 0.9;
    color: #2e7d32;
}

.prompt-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.learn-more-btn,
.buy-now-btn {
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.learn-more-btn {
    background: rgba(255, 255, 255, 0.3);
    color: #1b5e20;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.learn-more-btn:hover {
    background: rgba(255, 255, 255, 0.5);
    border-color: #fff9c4;
    transform: translateY(-3px);
}

.buy-now-btn {
    background: linear-gradient(135deg, #8bc34a 0%, #cddc39 100%);
    color: #1b5e20;
    box-shadow: 0 5px 20px rgba(139, 195, 74, 0.6);
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.buy-now-btn:hover {
    background: linear-gradient(135deg, #7cb342 0%, #c0ca33 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(139, 195, 74, 0.8);
}

/* 发现更多游戏页面样式 */
.search-filters {
    padding: 2rem 0;
    background: white;
    border-bottom: 1px solid #e0e0e0;
}

.search-container {
    margin-bottom: 2rem;
}

.search-box {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
    background: #f1f8e9;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(46, 125, 50, 0.2);
}

.search-input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    background: transparent;
    font-size: 1rem;
    outline: none;
    color: #2e7d32;
}

.search-input::placeholder {
    color: #757575;
}

.search-button {
    background: linear-gradient(135deg, #4caf50 0%, #8bc34a 100%);
    color: white;
    border: none;
    padding: 1rem 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-button:hover {
    background: linear-gradient(135deg, #2e7d32 0%, #7cb342 100%);
}

.advanced-filters {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filter-group label {
    font-weight: 500;
    color: #2e7d32;
    font-size: 0.9rem;
}

.filter-select {
    padding: 0.8rem;
    border: 2px solid #dcedc8;
    border-radius: 8px;
    background: white;
    color: #2e7d32;
    font-size: 0.9rem;
    transition: border-color 0.3s ease;
}

.filter-select:focus {
    outline: none;
    border-color: #4caf50;
}

.filter-tags {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-tag {
    background: #f1f8e9;
    border: 2px solid #dcedc8;
    color: #2e7d32;
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.9rem;
}

.filter-tag:hover,
.filter-tag.active {
    background: linear-gradient(135deg, #4caf50 0%, #8bc34a 100%);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
}

/* 发现结果样式 */
.discovery-results {
    padding: 3rem 0;
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.results-header h2 {
    font-size: 2rem;
    color: #2e7d32;
}

.results-info {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.results-count {
    color: #333333;
    font-size: 1rem;
}

.sort-options {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sort-options label {
    color: #333333;
    font-size: 0.9rem;
}

.sort-select {
    padding: 0.5rem;
    border: 2px solid #dcedc8;
    border-radius: 8px;
    background: white;
    color: #2e7d32;
    font-size: 0.9rem;
}

.discovery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.discovery-game-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(46, 125, 50, 0.2);
    transition: all 0.3s ease;
    position: relative;
}

.discovery-game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(46, 125, 50, 0.3);
}

.game-badges {
    position: absolute;
    top: 1rem;
    left: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.badge {
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
    color: white;
}

.badge.new {
    background: #4caf50;
}

.badge.discount {
    background: #f57c00;
}

.badge.free {
    background: #8bc34a;
}

.badge.upcoming {
    background: #039be5;
}

.badge.indie {
    background: #9c27b0;
}

.badge.hot {
    background: #f44336;
}

.game-price {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.original-price {
    color: #757575;
    text-decoration: line-through;
    font-size: 0.9rem;
}

.current-price {
    color: #2e7d32;
    font-weight: bold;
    font-size: 1.1rem;
}

/* 分页样式 */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.page-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #f1f8e9;
    border: 2px solid #dcedc8;
    color: #2e7d32;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.page-btn:hover,
.page-btn.active {
    background: linear-gradient(135deg, #4caf50 0%, #8bc34a 100%);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
}

.page-btn.next {
    width: auto;
    padding: 0 1rem;
}

/* 推荐发现样式 */
.recommended-discovery {
    padding: 3rem 0;
    background: #f1f8e9;
}

.recommended-discovery h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: #2e7d32;
}

.recommendation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.recommendation-item {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(46, 125, 50, 0.2);
}

.recommendation-item h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: #2e7d32;
    border-bottom: 2px solid #e8f5e9;
    padding-bottom: 0.5rem;
}

.recommended-games {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mini-game-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f1f8e9;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.mini-game-card:hover {
    background: white;
    box-shadow: 0 3px 15px rgba(46, 125, 50, 0.2);
}

.mini-game-card img {
    width: 120px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
}

.mini-game-info h4 {
    font-size: 1rem;
    color: #2e7d32;
    margin-bottom: 0.5rem;
}

.mini-rating {
    background: #8bc34a;
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
}

.trending-games {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.trending-game {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f1f8e9;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.trending-game:hover {
    background: white;
    box-shadow: 0 3px 15px rgba(46, 125, 50, 0.2);
}

.trend-rank {
    background: linear-gradient(135deg, #4caf50 0%, #8bc34a 100%);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
}

.trend-name {
    flex: 1;
    color: #2e7d32;
    font-weight: 500;
}

.trend-change {
    font-weight: bold;
    font-size: 0.9rem;
}

.trend-change.up {
    color: #2e7d32;
}

.trend-change.down {
    color: #f44336;
}

/* 额外的响应式修复 */
@media (max-width: 768px) {
    .news-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .game-header-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .play-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .game-content-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .system-requirements {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .screenshots-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 0.8rem;
    }
    
    .advanced-filters {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .discovery-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .recommendation-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .prompt-content {
        flex-direction: column;
        text-align: center;
    }
    
    .control-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    
    .loading-bar {
        width: 250px;
    }
}

@media (max-width: 480px) {
    .game-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .play-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-buttons,
    .category-tabs {
        flex-direction: column;
        align-items: center;
    }
    
    .filter-btn,
    .category-tab {
        width: 200px;
        text-align: center;
    }
    
    .game-badges {
        position: static;
        margin: 1rem;
        flex-direction: row;
        justify-content: center;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
}

/* 修复图片加载问题 */
img {
    max-width: 100%;
    height: auto;
}

/* 确保占位图正确显示 */
img[src*="placeholder"] {
    background: #e8f5e9;
    border: 1px solid #c8e6c9;
}

/* 加载状态 */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* 错误状态 */
.error {
    border: 2px solid #f44336;
    background: #ffebee;
}

/* 成功状态 */
.success {
    border: 2px solid #4caf50;
    background: #e8f5e9;
}

.ad-box{
    position: relative;
    max-width: 100%;
    overflow: hidden;
    text-align: center;
    margin: 20px auto;
}