/* ========== 全局样式 ========== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 面包屑导航 */
.breadcrumb {
    margin: 16px 0;
    font-size: 14px;
    color: #7c8b9c;
}

.breadcrumb a {
    color: #ff6b3d;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    margin: 0 6px;
}

/* ========== 左右两列布局 ========== */
.gameshow {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.gameshow_left {
    flex: 2.5;
    min-width: 0; /* 防止内容溢出 */
}

.gameshow_right {
    /*flex: 1;*/
    width: 322px;
    /*min-width: 0;*/
    /* 不添加任何内部样式，完全由外部CSS控制 */
}

/* 主卡片 */
.detail-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    /*margin-bottom: 32px;*/
}

/* 顶部游戏基础信息区 (左右结构) */
.game-header {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    padding: 28px 32px;
    border-bottom: 1px solid #eff3f8;
}

.game-cover {
    flex-shrink: 0;
    width: 140px;
    height: 140px;
    border-radius: 24px;
    background: #f0f3f8;
    overflow: hidden;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

.game-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.game-info {
    flex: 1;
    min-width: 200px;
}

.game-title {
    font-size: 28px;
    font-weight: 700;
    color: #1a2c3e;
    margin-bottom: 12px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.discount-badge {
    background: linear-gradient(135deg, #ff5e3a, #ff3b1f);
    border-radius: 40px;
    padding: 4px 14px;
    font-size: 18px;
    font-weight: 700;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 2px;
    box-shadow: 0 2px 8px rgba(255, 59, 31, 0.2);
}

.discount-badge i {
    font-size: 14px;
    font-weight: 500;
    font-style: normal;
}

.game-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px 32px;
    margin: 16px 0 20px;
    background: #f9fafc;
    padding: 12px 18px;
    border-radius: 20px;
}

.meta-item {
    display: flex;
    align-items: baseline;
    gap: 8px;
    font-size: 14px;
}

.meta-label {
    color: #6f8faa;
    font-weight: 500;
}

.meta-value {
    color: #1f2f3a;
    font-weight: 600;
}

.game-type-badge {
    background: #fff0ea;
    color: #ff6b3d;
    padding: 4px 12px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    display: inline-block;
}

.download-area {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin-top: 10px;
}

.btn-download {
    background: linear-gradient(105deg, #2d6a4f, #1b4d3e);
    border: none;
    padding: 12px 32px;
    border-radius: 60px;
    font-size: 16px;
    font-weight: 700;
    color: white;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 6px 12px rgba(27, 77, 62, 0.2);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-download:hover {
    background: linear-gradient(105deg, #1f543f, #0f3a2e);
    transform: translateY(-2px);
}

.qrcode-tip {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f8fafd;
    padding: 6px 16px 6px 12px;
    border-radius: 50px;
    border: 1px solid #eef2f6;
}

.qrcode-tip span {
    font-size: 13px;
    color: #3e5a6b;
}

.qrcode-icon {
    width: 36px;
    height: 36px;
    background: #ffffff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

/* 内容主体 (简介、特色) */
.game-content {
    padding: 30px;
    font-family: inherit;
}
.game-content p {
    font-size: 15px;
    line-height: 1.65;
    color: #3c5a70;
    margin-bottom: 1.2em;
    text-align: justify;
}
.game-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1a2c3e;
    margin: 1.5em 0 0.8em 0;
    padding-left: 12px;
    border-left: 5px solid #ff6b3d;
}
.game-content h4 {
    font-size: 18px;
    font-weight: 600;
    color: #2b4b6e;
    margin: 1.2em 0 0.6em;
}
.game-content ul,
.game-content ol {
    margin: 0.8em 0 1.2em 1.5em;
    padding-left: 0;
}
.game-content li {
    font-size: 15px;
    line-height: 1.6;
    color: #3c5a70;
    margin-bottom: 0.4em;
}
.game-content table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    margin: 1.2em 0;
    font-size: 14px;
    background: #fff;
}
.game-content th,
.game-content td {
    border: 1px solid #eef2f6;
    padding: 12px 16px;
    text-align: left;
    vertical-align: top;
}
.game-content th {
    background: #f8fafd;
    font-weight: 600;
    color: #1f2f3a;
}
.game-content tr:nth-child(even) {
    background-color: #fafcff;
}
.game-content tr:hover {
    background-color: #f5f9ff;
}
.game-content table td:last-child,
.game-content table th:last-child {
    word-break: break-word;
}
.game-content strong,
.game-content b {
    color: #ff6b3d;
    font-weight: 600;
}
.game-content blockquote {
    margin: 1em 0;
    padding: 12px 20px;
    background: #f9fafc;
    border-left: 4px solid #ffb89a;
    border-radius: 16px;
    color: #4a627a;
    font-style: normal;
    font-size: 14px;
}
.game-content code {
    background: #f0f3f8;
    padding: 2px 6px;
    border-radius: 8px;
    font-family: monospace;
    font-size: 13px;
    color: #e54b20;
}
.game-content img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    margin: 1em 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.section {
    margin-bottom: 32px;
}
.section-title {
    font-size: 20px;
    font-weight: 700;
    color: #1a2c3e;
    margin-bottom: 16px;
    padding-left: 12px;
    border-left: 5px solid #ff6b3d;
}
.section-text {
    font-size: 15px;
    color: #3c5a70;
    line-height: 1.65;
    margin-bottom: 24px;
}
.feature-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    background: #fafcff;
    padding: 20px 24px;
    border-radius: 24px;
    border: 1px solid #eff3f8;
}
.feature-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}
.feature-icon {
    font-size: 20px;
    flex-shrink: 0;
}
.feature-text {
    font-size: 15px;
    color: #2b4b6e;
    line-height: 1.5;
}
.screenshots {
    margin-top: 24px;
}
.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 16px;
    margin-top: 16px;
}
.screenshot-item {
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #eef2f6;
}
.screenshot-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 上下篇导航卡片 */
.post-nav-card {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin: 0px auto 20px auto;
    width: 95%;
}
.post-nav-card-prev,
.post-nav-card-next {
    flex: 1;
}
.card-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: #fff;
    border-radius: 20px;
    border: 1px solid #eef2f6;
    transition: all 0.2s;
    text-decoration: none;
}
.card-link:hover {
    background: #fff9f5;
    border-color: #ffd6c8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.card-thumb {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    overflow: hidden;
    background: #f0f3f8;
}
.card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.card-thumb.placeholder {
    background: #f0f3f8;
    position: relative;
}
.card-info {
    flex: 1;
    min-width: 0;
}
.card-label {
    font-size: 11px;
    font-weight: 500;
    color: #ff8a5c;
    background: #fff0ea;
    padding: 2px 8px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 6px;
}
.card-title {
    font-size: 15px;
    font-weight: 600;
    color: #1a2c3e;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 4px;
}
.bate_tags.mini {
    padding: 2px 6px;
}
.bate_tags.mini .list-centre-span {
    font-size: 10px;
}
.card-link.disabled {
    opacity: 0.6;
    cursor: default;
}

/* ========== 响应式：移动端改为上下布局 ========== */
@media (max-width: 768px) {
    .gameshow {
        flex-direction: column;
    }
    .game-header {
        padding: 20px;
        gap: 20px;
    }
    .game-cover {
        width: 100px;
        height: 100px;
    }
    .game-title {
        font-size: 22px;
    }
    .discount-badge {
        font-size: 14px;
        padding: 3px 10px;
    }
    .game-meta {
        gap: 12px;
    }
    .btn-download {
        padding: 10px 20px;
        font-size: 14px;
    }
    .game-content {
        padding: 20px;
    }
    .post-nav-card {
        width: 100%;
        flex-direction: column;
    }
    .card-title {
        white-space: normal;
        word-break: break-word;
    }
}