.page-header {
    text-align: center;
    margin: 40px 0;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #00b6ff;
    margin-bottom: 16px;
    text-shadow: 0 2px 8px rgba(0, 182, 255, 0.3);
    -webkit-text-stroke: 1px #0088cc;
}

.page-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 32px;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.game-card {
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.game-card:hover {
    transform: translateY(-4px);
}

.game-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.game-card-title-hover {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.8);
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    padding: 8px;
    text-align: center;
    border-radius: 0 0 8px 8px;
    pointer-events: none;
    z-index: 2;
}

.game-card:hover .game-card-title-hover {
    display: block;
}

.new-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: #ff4757;
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 3;
}

.game-link {
    text-decoration: none;
    color: inherit;
}

footer {
    margin-top: 80px;
    text-align: center;
    padding: 40px 0;
    background: #f8f9fa;
}

footer p {
    color: #666;
}

.gaming-benefits {
    background: #f0f9ff;
    padding: 24px;
    border-radius: 8px;
    margin: 24px 0;
    border-left: 4px solid #00b6ff;
}

.gaming-benefits h4 {
    color: #00b6ff;
    margin-bottom: 16px;
    font-size: 1.2rem;
}

.gaming-benefits ul {
    list-style: none;
    padding: 0;
}

.gaming-benefits li {
    margin-bottom: 12px;
    padding-left: 20px;
    position: relative;
    line-height: 1.5;
    color: #555;
}

.gaming-benefits li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #00b6ff;
    font-weight: bold;
}

.tips-section {
    background: #fff8e1;
    padding: 24px;
    border-radius: 8px;
    margin: 24px 0;
    border-left: 4px solid #ffc107;
}

.tips-section h4 {
    color: #f57c00;
    margin-bottom: 16px;
    font-size: 1.2rem;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
    margin-top: 16px;
}

.tip-item {
    background: #fff;
    padding: 16px;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    font-size: 0.9rem;
    line-height: 1.4;
    color: #666;
}

.tip-item strong {
    color: #f57c00;
    display: block;
    margin-bottom: 8px;
}

.content-section {
    max-width: 1200px;  /* 和 .games-grid 一致 */
    margin: 40px auto;
    padding: 0 24px;    /* 和 .games-grid 一致 */
}

.content-container {
    background: #fff;
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    margin-bottom: 32px;
    /* 移除额外的 margin 和宽度限制 */
}

/* 响应式调整 */
@media (max-width: 768px) {
    .content-section {
        padding: 0 24px;  /* 和游戏网格保持一致 */
    }
    
    .content-container {
        padding: 20px;
        margin: 0 0 24px 0;  /* 移除左右 margin */
    }
}