.game-detail {
    padding: 60px 0;
}

.game-intro-section {
    display: flex;
    gap: 40px;
    align-items: stretch;
    margin-bottom: 40px;
    justify-content: center;
}

.game-cover-section {
    flex: 0 0 350px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    padding: 30px;
}

.game-cover-image {
    width: 100%;
    height: auto;
    max-width: 100%;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    object-fit: contain;
}

.game-cover-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.game-header {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
}

.game-cover {
    flex: 0 0 300px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.game-info {
    flex: 1;
}

.game-info h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.game-info p {
    margin-bottom: 15px;
    line-height: 1.8;
}

.game-meta {
    margin: 20px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.meta-item {
    background-color: #f8f9fa;
    padding: 10px 15px;
    border-radius: 5px;
    font-size: 0.9rem;
}

.meta-item i {
    margin-right: 5px;
    color: var(--primary-color);
}

.game-description {
    margin-bottom: 40px;
}

.description-section {
    display: flex;
    gap: 30px;
    align-items: center;
    margin-bottom: 40px;
}

.description-section.reverse {
    flex-direction: row-reverse;
}

.description-section .text-content {
    flex: 1;
}

.description-section .text-content p {
    margin: 0;
    line-height: 1.8;
    font-size: 1rem;
}

.description-section .image-content {
    flex: 0 0 45%;
    text-align: center;
}

.description-section .inline-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.description-section .inline-image:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.game-features {
    margin-bottom: 40px;
}

.game-features h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.feature-item {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.feature-item h4 {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.feature-item h4 i {
    margin-right: 10px;
}

.game-history {
    margin-bottom: 40px;
}

.game-history h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.history-timeline {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.history-item {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    border-left: 4px solid var(--primary-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.history-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.history-item h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--secondary-color);
    font-weight: 600;
}

.history-item p {
    line-height: 1.6;
    color: #666;
    margin: 0;
}

.game-story {
    margin-bottom: 40px;
}

.game-story h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.game-story p {
    margin-bottom: 15px;
    line-height: 1.8;
}

.scene-preview {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.scene-item {
    text-align: center;
}

.scene-item h4 {
    margin-bottom: 10px;
    color: var(--primary-color);
    font-weight: 500;
}

.scene-item img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.screenshots {
    margin-bottom: 40px;
}

.screenshots h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.screenshot-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

/* 新的截图布局样式 */
.screenshot-layout {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.screenshot-row {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.screenshot-item.large {
    flex: 1;
    max-width: calc(50% - 10px);
}

.screenshot-item.medium {
    flex: 1;
    max-width: calc(33.333% - 14px);
}

.screenshot-item {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: var(--transition);
    background-color: transparent;
}

.screenshot-item:hover {
    transform: scale(1.02);
}

.screenshot-item img {
    width: 100%;
    height: auto;
    display: block;
    background-color: transparent;
}

.promotional-materials {
    margin-bottom: 40px;
}

.promotional-materials h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.material-gallery {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.material-item {
    background-color: transparent;
    border-radius: 0;
    overflow: visible;
    box-shadow: none;
    transition: transform 0.3s ease;
}

.material-item:hover {
    transform: translateY(-3px);
}

.material-item img {
    width: 80%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.material-description {
    padding: 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.material-description h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--primary-color);
    font-weight: 600;
}

.material-description p {
    line-height: 1.6;
    color: #666;
    margin: 0;
}

.material-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: flex-start;
}

.material-item.half-width {
    flex: 1;
    min-width: 300px;
}

.material-description.full-width {
    width: 100%;
    margin-top: 15px;
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.material-text {
    background-color: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    margin: 30px 0;
    text-align: left;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.game-intro-section .material-text {
    flex: 1;
    max-width: 450px;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.material-text h4 {
    font-size: 1.6rem;
    margin-bottom: 25px;
    color: var(--primary-color);
    font-weight: 600;
    text-align: center;
    line-height: 1.4;
}

.material-text p {
    line-height: 1.8;
    color: #666;
    margin-bottom: 20px;
    font-size: 1.1rem;
    text-align: justify;
}

.material-text p:last-child {
    margin-bottom: 0;
}

.download-section, .play-section {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    margin-bottom: 40px;
}

.download-section h3, .play-section h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.download-buttons, .play-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.download-btn, .play-btn {
    display: flex;
    align-items: center;
    background-color: var(--primary-color);
    color: white;
    padding: 12px 25px;
    border-radius: 5px;
    transition: var(--transition);
    font-weight: 500;
}

.download-btn i, .play-btn i {
    margin-right: 10px;
    font-size: 1.2rem;
}

.download-btn:hover, .play-btn:hover {
    background-color: var(--secondary-color);
    color: white;
}

.qrcode-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.qrcode-item {
    text-align: center;
}

.qrcode-item img {
    width: 150px;
    height: 150px;
    border: 1px solid #eee;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.qrcode-item p {
    margin-top: 10px;
    font-weight: 500;
}

/* 截图预览模态框样式 */
.screenshot-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.modal-content img {
    max-width: 100%;
    max-height: 90vh;
    display: block;
}

.close-modal {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 30px;
    cursor: pointer;
}

/* 游戏故事背景样式 */
.game-story-section {
    margin-bottom: 40px;
}

.game-story-section h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--secondary-color);
    text-align: center;
    font-weight: 600;
}

.story-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.story-chapter {
    background-color: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.story-chapter:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.story-chapter h4 {
    font-size: 1.4rem;
    margin-bottom: 20px;
    color: var(--primary-color);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.story-chapter h4 i {
    font-size: 1.2rem;
    color: var(--secondary-color);
}

.story-chapter p {
    line-height: 1.8;
    color: #666;
    margin-bottom: 15px;
    font-size: 1.05rem;
    text-align: justify;
}

.story-chapter p:last-child {
    margin-bottom: 0;
}

/* 故事穿插图片样式 */
.story-image {
    text-align: center;
    margin: 30px 0;
    padding: 20px;
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.story-image:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.story-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.story-image:hover img {
    transform: scale(1.02);
}

/* 诗歌引用样式 */
.poem-quote {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-left: 4px solid var(--primary-color);
    padding: 20px;
    margin: 20px 0;
    border-radius: 8px;
    font-style: italic;
}

.poem-quote p {
    margin-bottom: 8px;
    color: #495057;
    font-size: 1.1rem;
    line-height: 1.6;
    text-align: center;
}

.poem-quote p:last-child {
    margin-bottom: 0;
}

/* 角色列表样式 */
.character-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.character-list li {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    margin-bottom: 10px;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.character-list li:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.character-list li strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* 角色介绍区域样式 */
.character-section {
    margin-bottom: 40px;
}

.character-section h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--secondary-color);
    text-align: center;
    font-weight: 600;
}

.character-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.character-card {
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.character-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.character-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
    position: relative;
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.character-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.character-card:hover .character-image img {
    transform: scale(1.05);
}

.character-info {
    padding: 25px;
}

.character-info h4 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--primary-color);
    font-weight: 600;
    text-align: center;
}

.character-info p {
    line-height: 1.7;
    color: #666;
    margin-bottom: 12px;
    font-size: 1rem;
    text-align: justify;
}

.character-info p:last-child {
    margin-bottom: 0;
    font-weight: 500;
    color: #555;
    border-top: 1px solid #eee;
    padding-top: 12px;
    margin-top: 12px;
}

@media (max-width: 768px) {
    .game-intro-section {
        flex-direction: column;
        gap: 30px;
        align-items: stretch;
    }

    .game-cover-section {
        flex: none;
        max-width: 100%;
        margin-bottom: 0;
    }
    
    .game-cover-image {
        border-radius: 10px;
    }
    
    .game-intro-section .material-text {
        flex: none;
        max-width: 100%;
    }
    
    .game-header {
        flex-direction: column;
    }
    
    .game-cover {
        flex: 0 0 auto;
        max-width: 100%;
    }
    
    .material-row {
        flex-direction: column;
    }
    
    .material-item.half-width {
        min-width: auto;
        width: 100%;
    }
    
    .material-description {
        padding: 15px;
    }
    
    .material-description h4 {
        font-size: 1.1rem;
    }
    
    .material-text {
        padding: 25px;
        margin: 20px 0;
        max-width: 100%;
    }
    
    .material-text h4 {
        font-size: 1.3rem;
        margin-bottom: 20px;
    }
    
    .material-text p {
        font-size: 1rem;
        line-height: 1.7;
        margin-bottom: 18px;
    }
    
    .feature-list {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .description-section {
        flex-direction: column;
        gap: 20px;
    }
    
    .description-section.reverse {
        flex-direction: column;
    }
    
    .description-section .image-content {
        flex: 0 0 auto;
        width: 100%;
    }
    
    .description-section .text-content {
        order: 1;
    }
    
    .description-section .image-content {
        order: 2;
    }
    
    /* 移动端角色卡片样式 */
    .character-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    @media (max-width: 480px) {
        .character-grid {
            grid-template-columns: 1fr;
            gap: 15px;
        }
    }
    
    .character-image {
        height: 250px;
    }
    
    /* 移动端截图布局 */
    .screenshot-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .screenshot-item.large,
    .screenshot-item.medium {
        max-width: 100%;
    }
    
    .character-info {
        padding: 20px;
    }
    
    .character-info h4 {
        font-size: 1.3rem;
        margin-bottom: 12px;
    }
    
    .character-info p {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 10px;
    }
    
    /* 移动端游戏故事样式 */
    .story-chapter {
        padding: 20px;
    }
    
    .story-chapter h4 {
        font-size: 1.2rem;
        margin-bottom: 15px;
    }
    
    .story-chapter p {
        font-size: 1rem;
        line-height: 1.7;
        margin-bottom: 12px;
    }
    
    /* 移动端诗歌引用样式 */
    .poem-quote {
        padding: 15px;
        margin: 15px 0;
    }
    
    .poem-quote p {
        font-size: 1rem;
        line-height: 1.5;
    }
    
    /* 移动端故事图片样式 */
    .story-image {
        margin: 20px 0;
        padding: 15px;
    }
    
    .story-image img {
        border-radius: 8px;
    }
    
    /* 移动端角色列表样式 */
    .character-list li {
        padding: 12px;
        margin-bottom: 8px;
    }
    
    .character-list li:hover {
        transform: translateX(3px);
    }
}