body {
    background-image: url('/images/background.jpg') !important;
    background-color: transparent !important;
    background-size: cover !important;
    background-position: center center !important;
    background-attachment: fixed !important;
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #333;
}

.page-container {
    padding: 25px 95px;
}

@media (max-width: 760px) {
    .page-container {
        padding: 25px !important;
    }
}

/* 游戏详情页面样式 */
/* .game-detail-container is now handled by .page-container in detail-page.css */

.game-article-header {
    margin-bottom: 20px;
    padding: 15px;
    background-color: #f0f0f0;
    border-radius: 4px;
}

.game-title-main {
    font-size: 24px;
    font-weight: 600;
    color: #1c1c1c;
    margin-top: 0;
    margin-bottom: 10px;
    line-height: 1.3;
}

.game-meta-info {
    font-size: 12px;
    color: #666;
    margin-bottom: 15px;
}

.game-meta-info span.game-meta-item {
    margin-right: 15px;
}

.game-description-lead {
    font-size: 15px;
    color: #444;
    margin-top: 15px;
    margin-bottom: 20px;
    padding: 10px 0px;
    background-color: transparent;
    line-height: 1.6;
}

.game-main-image-section {
    margin-bottom: 25px;
}

.game-main-image-section img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

.game-content-section>* {
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-bottom: 1.2em !important;
}

.game-content-section p {
    text-align: left;
}

.game-content-section img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.game-content-section h1,
.game-content-section h2,
.game-content-section h3,
.game-content-section h4,
.game-content-section h5,
.game-content-section h6 {
    margin-bottom: 0.8em;
    font-weight: 600;
    line-height: 1.4;
    text-align: left;
    width: 100%;
}

.game-content-section h2 {
    font-size: 1.8em;
    margin-top: 0.6em;
    margin-bottom: 0.6em;
}

.game-content-section h3 {
    font-size: 1.5em;
}

/* text-align: left and width: 100% are inherited now */
.game-content-section a,
.game-content-section a:link,
.game-content-section a:visited {
    color: #007bff !important;
    text-decoration: underline !important;
}

.game-content-section a:hover,
.game-content-section a:active {
    color: #0056b3 !important;
    text-decoration: none !important;
}

.game-pros-cons {
    margin-top: 20px;
    margin-bottom: 20px;
}

.game-pros-cons h4 {
    font-size: 1.2em;
    color: #333;
    margin-bottom: 8px;
}

.game-pros-cons ul {
    list-style-type: none;
    padding-left: 0;
}

.game-pros-cons ul li {
    margin-bottom: 5px;
    padding-left: 20px;
    position: relative;
}

.game-pros-cons .pros li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: #28a745;
    position: absolute;
    left: 0;
}

.game-pros-cons .cons li::before {
    content: '\f00d';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: #dc3545;
    position: absolute;
    left: 0;
}

/* 游戏头部信息 - 更新为类似图2的样式 */
.game-header {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    background-color: #222;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    padding: 25px;
    color: #fff;
}

.game-cover {
    position: relative;
    width: 150px;
    height: 150px;
    flex-shrink: 0;
    margin-right: 30px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.game-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.game-info {
    padding: 0;
    /* Remove previous padding, handled by .game-header */
    flex-grow: 1;
}

.game-info h1 {
    margin-top: 0;
    margin-bottom: 10px;
    /* Adjusted margin */
    font-size: 32px;
    /* Keep font size or adjust as needed */
    color: #fff;
    /* Title color against dark background */
}

.game-meta {
    display: flex;
    flex-direction: column;
    /* Stack meta items vertically */
    margin-bottom: 0;
    /* Remove bottom margin as items are stacked */
    color: #ccc;
    /* Lighter meta text color */
}

.game-meta span {
    margin-right: 0;
    /* Remove right margin */
    margin-bottom: 5px;
    /* Keep bottom margin for spacing between stacked items */
}

.game-tags {
    display: flex;
    flex-wrap: wrap;
    margin-top: 15px;
    /* Add some space above tags */
}

.game-tag {
    background-color: #555;
    /* Darker tag background */
    color: #fff;
    /* Tag text color */
    padding: 5px 10px;
    border-radius: 15px;
    margin-right: 10px;
    margin-bottom: 10px;
    font-size: 13px;
    /* Slightly smaller tags */
}

/* 游戏内容区域 */
.game-content {
    margin-bottom: 40px;
}

.review-summary,
.game-media,
.full-review,
.game-specs {
    margin-bottom: 30px;
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.review-summary h2,
.game-media h2,
.full-review h2,
.game-specs h2,
.related-games h2 {
    color: #333;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 22px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
}

.review-summary p {
    font-size: 16px;
    line-height: 1.6;
    color: #444;
    max-width: 100%;
    /* Adjusted for better readability */
    margin-bottom: 15px;
    /* Center the text and add bottom margin */
}

/* 游戏截图画廊 */
.screenshot-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}

.screenshot {
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.2s;
}

.screenshot:hover {
    transform: scale(1.03);
}

.screenshot img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    /* Ensure image fits within its container while maintaining aspect ratio */
}

/* 详细评测内容 */
.full-review p {
    font-size: 16px;
    line-height: 1.7;
    color: #333;
    margin-bottom: 2em;
    /* Limit line length and center for better readability */
    max-width: 100%;
    /* Adjusted for better readability */
    /* Limit line length for better readability */
}

/* Ensure images within the full-review content align with text width */
.full-review #reviewContent img {
    max-width: 100%;
    /* 合并margin属性，设置上下间距为30px并居中显示 */
    margin: 30px auto;
    height: auto;
    display: block;
    /* Ensure images align with text content width */
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.full-review h3 {
    font-size: 20px;
    color: #333;
    margin-top: 25px;
    margin-bottom: 15px;
}

/* 游戏信息表格 */
.game-specs table {
    width: 100%;
    border-collapse: collapse;
}

.game-specs th,
.game-specs td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.game-specs th {
    width: 120px;
    color: #666;
    font-weight: 600;
}

/* 相关游戏推荐 */
.related-games {
    margin-bottom: 40px;
}

.game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.related-game-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
    cursor: pointer;
}

.related-game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.related-game-card img {
    width: 100%;
    height: 120px;
    object-fit: cover;
}

.related-game-info {
    padding: 12px;
}

.related-game-info h3 {
    margin: 0 0 5px 0;
    font-size: 16px;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.related-game-info p {
    margin: 0;
    font-size: 14px;
    color: #666;
}

/* Add specific rules for content within .game-content-section */
.game-content-section p {
    max-width: 100%;
    /* Ensure paragraphs within the main content section are constrained */
}

.game-content-section img {
    max-width: 100%;
    /* Ensure images within the main content section are constrained */
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Comment form actions are now handled by detail-page.css */

/* 响应式设计 */
@media (max-width: 768px) {
    .game-detail-container {
        padding: 0 !important;
        margin: 0 !important;
        /* Reset margin for full width */
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        /* Ensure it takes full width */
    }

    .game-header {
        flex-direction: column;
        padding: 15px 0 !important;
        /* Ensures left/right padding are 0 and important */
        /* Reduced padding for mobile, removed side padding */
        margin-left: 0 !important;
        margin-right: 0 !important;
        margin-bottom: 20px;
        width: 100% !important;
        box-sizing: border-box !important;
        /* Adjusted margin */
    }

    .game-info {
        padding-top: 15px;
        /* Add some space above title when stacked */
        text-align: center;
        /* Center info text on mobile */
    }

    .game-info h1 {
        font-size: 24px;
        /* Reduced font size for mobile */
        margin-bottom: 8px;
    }

    .game-meta span {
        font-size: 13px;
        /* Slightly smaller meta text */
        margin-bottom: 4px;
    }

    .game-tags {
        justify-content: center;
        /* Center tags on mobile */
        margin-top: 10px;
    }

    .review-summary,
    .game-media,
    .full-review,
    .game-specs,
    .related-games {
        /* Added .related-games */
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Adjust max-width for smaller screens */
    .game-content-section p,
    .game-content-section img,
    .review-summary p,
    .full-review p,
    .full-review img {
        max-width: 100% !important;
        /* Changed from 95% for full width */
        /* Use a percentage for responsiveness */
    }

    .game-cover {
        width: 100%;
        max-width: 300px;
        /* Max width for the cover image on mobile */
        height: 200px;
        /* Reduced height for mobile */
        margin-right: 0;
        /* Remove right margin as it's stacked */
        margin-bottom: 15px;
        /* Add bottom margin when stacked */
    }

    .screenshot-gallery {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }

    .game-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
}