/* 游戏列表页面样式 */

/* 面包屑导航 */
.crumbsBox {
    height: 56px;
    padding: 21px 0;
    font-size: 14px;
    line-height: 14px;
    font-weight: 400;
    color: #999999;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.crumbsBox .center {
    width: 1480px;
    margin: 0 auto;
    padding: 0 20px;
}

.crumbsBox i {
    width: 4px;
    height: 6px;
    display: inline-block;
    background-image: url(../images/icon.png);
    background-repeat: no-repeat;
    background-size: 1000px 1000px;
    background-position: -35px -129px;
    vertical-align: 2px;
    margin: 0 7px;
}

.crumbsBox i:first-child {
    width: 12px;
    height: 14px;
    background-position: -194px -4px;
    vertical-align: -2px;
    margin: 0 7px 0 3px;
}

.crumbsBox > a,
.crumbsBox a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.crumbsBox > a:hover,
.crumbsBox a:hover {
    color: var(--defColor);
}

/* 页面布局 */
.gameListPage {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    width: 1480px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.gameListPage .center {
    flex: 1;
    width: 1080px;
    max-width: 1080px;
}

/* 页面头部 */
.pageHeader {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.headerLeft {
    flex: 1;
}

.pageTitle {
    font-size: 32px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.pageTitle .title-icon::before {
    content: "🎮";
    font-size: 28px;
}

.pageTitle .subtitle {
    font-size: 16px;
    font-weight: normal;
    color: var(--defColor);
    margin-left: 10px;
}

.pageDesc {
    color: #666;
    font-size: 16px;
    margin: 0;
}

.headerRight {
    flex-shrink: 0;
}

.gameStats {
    display: flex;
    gap: 30px;
}

.statItem {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    min-width: 100px;
}

.statNum {
    display: block;
    font-size: 24px;
    font-weight: bold;
    color: var(--defColor);
    margin-bottom: 5px;
}

.statLabel {
    font-size: 14px;
    color: #666;
}

/* 筛选区域 */
.gameFilter {
    background: linear-gradient(135deg, #fff 0%, #f8fafb 100%);
    border-radius: 12px;
    padding: 25px 30px;
    margin-bottom: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f2f5;
    position: relative;
    overflow: hidden;
}

.gameFilter::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--defColor) 0%, #2d8f47 50%, var(--defColor) 100%);
}

.filterSection {
    display: flex;
    align-items: center;
    gap: 20px;
}

.filterLabel {
    font-weight: 600;
    color: #2c3e50;
    font-size: 16px;
    min-width: 70px;
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
}

.filterLabel::before {
    content: "🏷️";
    font-size: 18px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

.filterTags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    flex: 1;
}

.filterTag {
    padding: 10px 20px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fb 100%);
    color: #5a6c7d;
    text-decoration: none;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid #e8ecf0;
    position: relative;
    overflow: hidden;
    min-width: 80px;
    text-align: center;
}

.filterTag::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, var(--defShallowColor) 0%, transparent 70%);
    transition: all 0.4s ease;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 0;
}

.filterTag span {
    position: relative;
    z-index: 1;
}

.filterTag:hover {
    color: var(--defColor);
    border-color: var(--defColor);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(3, 183, 82, 0.2);
}

.filterTag:hover::before {
    width: 100%;
    height: 100%;
}

.filterTag.active {
    background: linear-gradient(135deg, var(--defColor) 0%, #2d8f47 100%);
    color: white;
    border-color: var(--defColor);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(3, 183, 82, 0.3);
    font-weight: 600;
}

.filterTag.active::before {
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.2) 100%);
    width: 100%;
    height: 100%;
}

.filterTag.active:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 25px rgba(3, 183, 82, 0.4);
}

/* 游戏列表容器 */
.gameListContainer {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* 游戏列表网格 */
.gameList {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

/* 游戏项目 */
.gameItem {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    width: 100%;
}

.gameItem:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: var(--defColor);
}

.gameLink {
    display: block;
    text-decoration: none;
    color: inherit;
}

/* 游戏图片区域 */
.gameImg {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.gameImg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gameItem:hover .gameImg img {
    transform: scale(1.1);
}

/* 游戏覆盖层 */
.gameOverlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.8) 100%);
    display: flex;
    align-items: flex-end;
    padding: 15px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gameItem:hover .gameOverlay {
    opacity: 1;
}

.overlayContent {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.downloadBtn {
    background: var(--defColor);
    color: white;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: all 0.3s ease;
}

.downloadBtn:hover {
    background: #2d8f47;
    transform: scale(1.05);
}

.downloadBtn .download-icon::before {
    content: "⬇";
    font-size: 10px;
}

.gameRating {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #ffd700;
}

.stars {
    font-size: 12px;
}

.rating {
    color: white;
    font-size: 10px;
}

/* 游戏分类标签 */
.gameCategory {
    position: absolute;
    top: 8px;
    left: 8px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 3px 6px;
    border-radius: 3px;
    font-size: 12px;
}

/* 热门标识 */
.hotBadge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: linear-gradient(45deg, #ff6b6b, #ff5722);
    color: white;
    padding: 3px 6px;
    border-radius: 10px;
    font-size: 9px;
    font-weight: bold;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* 游戏信息区域 */
.gameInfo {
    padding: 15px;
}

.gameTitle {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 6px;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    height: 42px;
}

.gameDesc {
    color: #666;
    font-size: 12px;
    line-height: 1.4;
    margin-bottom: 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    height: 34px;
}

/* 游戏元信息 */
.gameMeta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 14px;
    color: #999;
}

.gameMeta span {
    display: flex;
    align-items: center;
    gap: 2px;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.size-icon::before { content: "💾"; font-size: 8px; }
.time-icon::before { content: "🕒"; font-size: 8px; }
.view-icon::before { content: "👁"; font-size: 8px; }

/* 游戏标签 */
.gameTags {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}

.gameTag {
    padding: 2px 6px;
    border-radius: 8px;
    font-size: 9px;
    font-weight: bold;
}

.gameTag.recommended {
    background: #e3f2fd;
    color: #1976d2;
}

.gameTag.hot {
    background: #ffebee;
    color: #f44336;
}

.gameTag.new {
    background: #e8f5e8;
    color: #4caf50;
}

/* 侧边栏 */
.gameSidebar {
    width: 380px;
    flex-shrink: 0;
}

.sidebarBox {
    background: #fff;
    border-radius: 8px;
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.sidebarBox .boxTitle {
    background: linear-gradient(135deg, var(--defColor) 0%, #2d8f47 100%);
    color: white;
    padding: 15px 20px;
    margin: 0;
}

.sidebarBox .boxTitle h4 {
    margin: 0;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.fire-icon::before { content: "🔥"; }
.new-icon::before { content: "🆕"; }
.category-icon::before { content: "📂"; }

/* 热门游戏列表 */
.hotGameList {
    padding: 20px;
}

.hotGameItem {
    display: flex;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.hotGameItem:last-child {
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 0;
}

.hotGameItem a {
    display: flex;
    width: 100%;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.hotGameItem a:hover {
    color: var(--defColor);
}

.hotGameImg {
    position: relative;
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    margin-right: 12px;
    flex-shrink: 0;
}

.hotGameImg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}



.hotGameInfo {
    flex: 1;
    overflow: hidden;
}

.hotGameInfo h5 {
    font-size: 14px;
    margin: 0 0 5px 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hotGameInfo p {
    font-size: 12px;
    color: #666;
    margin: 0 0 5px 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.downloadCount {
    font-size: 11px;
    color: #999;
}

/* 最新游戏列表 */
.newGameList {
    padding: 20px;
}

.newGameItem {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.newGameItem:last-child {
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 0;
}

.newGameItem a {
    display: flex;
    width: 100%;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.newGameItem a:hover {
    color: var(--defColor);
}

.newGameItem img {
    width: 50px;
    height: 50px;
    border-radius: 6px;
    object-fit: cover;
    margin-right: 12px;
    flex-shrink: 0;
}

.newGameInfo {
    flex: 1;
    overflow: hidden;
}

.newGameInfo h5 {
    font-size: 14px;
    margin: 0 0 5px 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.newGameInfo p {
    font-size: 12px;
    color: #666;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 分类列表 */
.categoryList {
    padding: 20px;
}

.categoryItem {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
}

.categoryItem:last-child {
    border-bottom: none;
}

.categoryItem:hover {
    color: var(--defColor);
    background: var(--defShallowColor);
    margin: 0 -20px;
    padding-left: 20px;
    padding-right: 20px;
}

.categoryName {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.categoryCount {
    color: #999;
    font-size: 12px;
    flex-shrink: 0;
    margin-left: 10px;
}

/* EyouCMS分页通用样式 */
.pageCode * {
    box-sizing: border-box;
}

.pageCode span:not(.current):not(.active) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    line-height: 38px;
    color: #999;
    padding: 0 5px;
    font-size: 14px;
}

/* 确保分页数字按钮的统一样式 */
.pageCode a[href],
.pageCode li a[href] {
    cursor: pointer;
}

.pageCode .pageNum {
    width: 40px !important;
    padding: 0 !important;
}

/* 禁用状态 */
.pageCode .disabled,
.pageCode li.disabled a {
    color: #ccc !important;
    cursor: not-allowed !important;
    background: #f8f9fa !important;
    border-color: #e9ecef !important;
}

.pageCode .disabled:hover,
.pageCode li.disabled a:hover {
    color: #ccc !important;
    background: #f8f9fa !important;
    border-color: #e9ecef !important;
    transform: none !important;
    box-shadow: none !important;
}

/* 响应式设计 */
@media (max-width: 1480px) {
    .gameListPage {
        width: 100%;
        max-width: 1480px;
        margin: 20px auto 0;
        padding: 0 20px;
    }
    
    .crumbsBox .center {
        width: 100%;
        max-width: 1480px;
    }
}

@media (max-width: 1200px) {
    .gameListPage {
        flex-direction: column;
        padding: 0 15px;
    }
    
    .gameListPage .center {
        width: 100%;
        max-width: 100%;
    }
    
    .gameSidebar {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 20px;
    }
    
    .gameList {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .crumbsBox .center {
        padding: 0 15px;
    }
}

@media (max-width: 768px) {
    .gameList {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 15px;
    }
    
    .gameImg {
        height: 150px;
    }
    
    .gameFilter {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .filterSection {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .filterLabel {
        font-size: 15px;
        min-width: auto;
    }
    
    .filterTags {
        gap: 8px;
    }
    
    .filterTag {
        padding: 8px 16px;
        font-size: 13px;
        min-width: 70px;
    }
    
    .crumbsBox {
        padding: 15px 0;
        height: auto;
    }
    
    .crumbsBox .center {
        padding: 0 15px;
    }
    
    .crumbsBox {
        font-size: 12px;
    }
    
    .pageCode {
        padding: 20px 0 15px;
        gap: 6px;
        flex-wrap: wrap;
    }
    
    .pageCode ul {
        gap: 6px;
    }
    
    .pageCode a,
    .pageCode li a {
        height: 36px;
        line-height: 34px;
        padding: 0 12px;
        font-size: 13px;
        min-width: 36px;
    }
    
    .pageCode a.pageNum,
    .pageCode li a.pageNum {
        width: 36px;
    }
}

@media (max-width: 480px) {
    .gameList {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .gameItem {
        margin: 0;
    }
    
    .gameImg {
        height: 120px;
    }
    
    .gameInfo {
        padding: 10px;
    }
    
    .gameTitle {
        font-size: 14px;
    }
    
    .gameDesc {
        font-size: 11px;
    }
    
    .gameFilter {
        padding: 15px;
        margin-bottom: 15px;
    }
    
    .filterSection {
        gap: 12px;
    }
    
    .filterLabel {
        font-size: 14px;
    }
    
    .filterTags {
        gap: 6px;
    }
    
    .filterTag {
        padding: 6px 12px;
        font-size: 12px;
        min-width: 60px;
    }
    
    .crumbsBox .center {
        padding: 0 10px;
    }
    
    .crumbsBox {
        font-size: 11px;
    }
    
    .pageCode {
        gap: 4px;
        padding: 15px 0 10px;
    }
    
    .pageCode ul {
        gap: 4px;
    }
    
    .pageCode a,
    .pageCode li a {
        height: 32px;
        line-height: 30px;
        padding: 0 8px;
        font-size: 12px;
        min-width: 32px;
    }
    
    .pageCode a.pageNum,
    .pageCode li a.pageNum {
        width: 32px;
    }
}

/* 分页样式 */
.pageCode {
    display: flex;
    justify-content: center;
    font-size: 14px;
    padding: 30px 0 20px;
    gap: 6px;
    flex-wrap: wrap;
    align-items: center;
}

.pageCode ul {
    display: flex;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
    align-items: center;
}

.pageCode li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.pageCode > span,
.pageCode li > span {
    line-height: 40px;
    margin-right: 0;
    color: #999;
    padding: 0 5px;
}

.pageCode a,
.pageCode li a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    height: 40px;
    line-height: 38px;
    background: #FFFFFF;
    color: #666666;
    border: 1px solid #EAEAEA;
    border-radius: 8px;
    padding: 0 15px;
    margin-right: 0;
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 40px;
    text-align: center;
    font-weight: 500;
}

.pageCode a.pageNum,
.pageCode li a.pageNum {
    font-weight: bold;
    width: 40px;
    padding: 0;
    text-align: center;
}

.pageCode a:hover,
.pageCode li a:hover {
    color: var(--defColor);
    border-color: var(--defColor);
    background: var(--defShallowColor);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(3, 183, 82, 0.2);
}

/* 当前页样式 - 支持current和active类 */
.pageCode a.current,
.pageCode li a.current,
.pageCode .current,
.pageCode li.current a,
.pageCode a.active,
.pageCode li a.active,
.pageCode .active,
.pageCode li.active a,
.pageCode span.active,
.pageCode li span.active,
.pageCode span.current,
.pageCode li span.current {
    background: linear-gradient(135deg, var(--defColor) 0%, #2d8f47 100%);
    border: 1px solid var(--defColor);
    color: #FFFFFF !important;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(3, 183, 82, 0.3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    height: 40px;
    line-height: 38px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 40px;
    text-align: center;
    cursor: default;
}

.pageCode a.current:hover,
.pageCode li a.current:hover,
.pageCode li.current a:hover,
.pageCode a.active:hover,
.pageCode li a.active:hover,
.pageCode li.active a:hover,
.pageCode span.active:hover,
.pageCode li span.active:hover,
.pageCode span.current:hover,
.pageCode li span.current:hover {
    transform: none;
    box-shadow: 0 4px 15px rgba(3, 183, 82, 0.4);
    color: #FFFFFF !important;
}

.pageCode a:last-child,
.pageCode li:last-child a {
    margin-right: 0;
}

/* 分页导航按钮 */
.pageCode .prev,
.pageCode .next {
    padding: 0 12px;
    font-weight: 600;
}

/* ==================== 游戏详情页样式 - 新布局 ==================== */

/* 游戏详情页面布局 */
.gameDetailPage {
    width: 1480px;
    margin: 20px auto 0;
    padding: 0 20px;
}

.gameDetailPage .center {
    width: 100%;
}

/* 游戏顶部信息区域 */
.gameTopInfo {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    height: auto;
}

.gameIcon {
    position: relative;
    width: 120px;
    height: 120px;
    border-radius: 15px;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.gameIcon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gameLabel {
    position: absolute;
    top: 8px;
    left: 8px;
    background: linear-gradient(45deg, #ff6b6b, #ff5722);
    color: white;
    padding: 4px 8px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: bold;
}

.gameMainInfo {
    flex: 1;
    padding-left: 10px;
}

.gameTitle {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin: 0 0 15px 0;
    line-height: 1.2;
}

.gameLabels {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.label {
    color: #666;
    font-size: 14px;
}

.labelItem {
    background: #f0f2f5;
    color: #666;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 12px;
}

.gameSpecs {
    margin-bottom: 20px;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.spec {
    color: #999;
    font-size: 14px;
}

.downloadButtons {
    display: flex;
    gap: 15px;
}

.downloadBtn {
    padding: 12px 25px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    min-width: 120px;
    text-align: center;
}

.downloadBtn.primary {
    background: #52c41a;
    color: white;
}

.downloadBtn.primary:hover {
    background: #45a316;
    transform: translateY(-2px);
}

.downloadBtn.secondary {
    background: #1890ff;
    color: white;
}

.downloadBtn.secondary:hover {
    background: #146aaa;
    transform: translateY(-2px);
}

.gameActions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    margin: 30px 0;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border-top: 1px solid #eee;
    flex-wrap: wrap;
    gap: 20px;
}

.shareButtons {
    display: flex;
    align-items: center;
    gap: 15px;
}

.shareTitle {
    color: #666;
    font-size: 14px;
    font-weight: 500;
}

.shareBtn {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.shareBtn.wechat {
    background: #07c160;
    color: #fff;
}

.shareBtn.weibo {
    background: #e6162d;
    color: #fff;
}

.shareBtn.qq {
    background: #12b7f5;
    color: #fff;
}

.shareBtn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.gameOps {
    display: flex;
    gap: 15px;
}

.opBtn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: 1px solid #4CAF50;
    background: #fff;
    color: #4CAF50;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
}

.opBtn:hover {
    background: #4CAF50;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

.opBtn i {
    width: 16px;
    height: 16px;
    background-size: contain;
}

.like-icon {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M1 21h4V9H1v12zm22-11c0-1.1-.9-2-2-2h-6.31l.95-4.57.03-.32c0-.41-.17-.79-.44-1.06L14.17 1 7.59 7.59C7.22 7.95 7 8.45 7 9v10c0 1.1.9 2 2 2h9c.83 0 1.54-.5 1.84-1.22l3.02-7.05c.09-.23.14-.47.14-.73v-1.91l-.01-.01L23 10z"/></svg>');
}

.collect-icon {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M17 3H7c-1.1 0-1.99.9-1.99 2L5 21l7-3 7 3V5c0-1.1-.9-2-2-2z"/></svg>');
}

/* 游戏详情页面 - 上下篇导航 */
.gameNavigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 30px 0;
    padding: 0;
}

.gameNavigation .navItem {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    overflow: hidden;
}

.gameNavigation .navLink {
    display: block;
    padding: 20px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    height: 100%;
    box-sizing: border-box;
}

.gameNavigation .navLink:hover:not(.disabled) {
    background: #4CAF50;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.2);
}

.gameNavigation .navLink.disabled {
    color: #999;
    cursor: not-allowed;
    opacity: 0.6;
    background: #f8f9fa;
}

.gameNavigation .navLabel {
    display: block;
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
    font-weight: 500;
}

.gameNavigation .navLink:hover:not(.disabled) .navLabel {
    color: #fff;
}

.gameNavigation .navTitle {
    display: block;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .gameActions {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        padding: 20px;
    }
    
    .shareButtons,
    .gameOps {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .gameNavigation {
        grid-template-columns: 1fr;
        gap: 15px;
        margin: 20px 0;
    }
    
    .gameNavigation .navLink {
        padding: 15px;
    }
    
    .gameNavigation .navTitle {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .gameActions {
        padding: 15px;
    }
    
    .shareBtn {
        padding: 6px 12px;
        font-size: 13px;
    }
    
    .opBtn {
        padding: 8px 16px;
        font-size: 13px;
    }
    
    .gameNavigation .navLink {
        padding: 12px;
    }
    
    .gameNavigation .navLabel {
        font-size: 13px;
    }
    
    .gameNavigation .navTitle {
        font-size: 14px;
    }
}

/* 内容区域 */
.gameContentArea {
    display: flex;
    gap: 20px;
}

.gameContentLeft {
    flex: 1;
    width: 1080px;
    max-width: 1080px;
}

.gameContentRight {
    width: 380px;
    flex-shrink: 0;
}

/* 游戏截图区域 - 恢复完整版 */
.gameScreenshots {
    margin-bottom: 30px;
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.gameScreenshots .sectionTitle {
    margin-bottom: 20px;
}

.section-icon.gallery::before {
    content: "🖼️";
}

/* 幻灯片容器 */
.gameScreenshotsSlider {
    position: relative;
}

/* 主幻灯片 */
.game-screenshots-main {
    width: 100%;
    height: 400px;
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.game-screenshots-main .swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.screenshot-item {
    position: relative;
    width: 100%;
    height: 100%;
    cursor: pointer;
    overflow: hidden;
}

.screenshot-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #f5f5f5;
    transition: transform 0.3s ease;
}

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

.screenshot-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: white;
}

.screenshot-item:hover .screenshot-overlay {
    opacity: 1;
}

.zoom-icon::before {
    content: "🔍";
    font-size: 32px;
    margin-bottom: 8px;
    display: block;
}

.screenshot-overlay span {
    font-size: 14px;
    font-weight: 500;
}

/* 缩略图幻灯片 */
.game-screenshots-thumbs {
    height: 80px;
    box-sizing: border-box;
    padding: 10px 0;
}

.game-screenshots-thumbs .swiper-slide {
    width: 120px;
    height: 60px;
    opacity: 0.4;
    cursor: pointer;
    border-radius: 6px;
    overflow: hidden;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.game-screenshots-thumbs .swiper-slide-thumb-active {
    opacity: 1;
    border-color: var(--defColor);
    transform: scale(1.1);
}

.thumb-item {
    width: 100%;
    height: 100%;
}

.thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Swiper 导航按钮自定义 */
.game-screenshots-main .swiper-button-next,
.game-screenshots-main .swiper-button-prev {
    color: var(--defColor);
    background: rgba(255, 255, 255, 0.9);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-top: -20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.game-screenshots-main .swiper-button-next:after,
.game-screenshots-main .swiper-button-prev:after {
    font-size: 14px !important;
    color: var(--defColor) !important;
}

.game-screenshots-main .swiper-button-next:hover,
.game-screenshots-main .swiper-button-prev:hover {
    background: white;
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Swiper 分页器自定义 */
.game-screenshots-main .swiper-pagination {
    bottom: 15px;
}

.game-screenshots-main .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.7);
    width: 10px;
    height: 10px;
    margin: 0 4px;
    transition: all 0.3s ease;
}

.game-screenshots-main .swiper-pagination-bullet-active {
    background: var(--defColor);
    transform: scale(1.3);
    box-shadow: 0 2px 8px rgba(3, 183, 82, 0.4);
}

/* 无截图提示 */
.noScreenshotsMessage {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    border: 2px dashed #dee2e6;
}

.noScreenshotsMessage .icon {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.6;
}

.noScreenshotsMessage .text {
    font-size: 16px;
    color: #6c757d;
    margin-bottom: 20px;
    font-weight: 500;
}

.noScreenshotsMessage .placeholder-img {
    max-width: 200px;
    margin: 0 auto;
    border-radius: 8px;
    overflow: hidden;
    opacity: 0.7;
}

.noScreenshotsMessage .placeholder-img img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .game-screenshots-main {
        height: 250px;
    }
    
    .game-screenshots-thumbs {
        height: 60px;
    }
    
    .game-screenshots-thumbs .swiper-slide {
        width: 80px;
        height: 45px;
    }
    
    .game-screenshots-main .swiper-button-next,
    .game-screenshots-main .swiper-button-prev {
        width: 30px;
        height: 30px;
        margin-top: -15px;
    }
    
    .game-screenshots-main .swiper-button-next:after,
    .game-screenshots-main .swiper-button-prev:after {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .game-screenshots-main {
        height: 200px;
    }
    
    .gameScreenshots {
        padding: 15px;
    }
    
    .game-screenshots-thumbs .swiper-slide {
        width: 60px;
        height: 35px;
    }
}

/* 游戏介绍内容 */
.gameDescription {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.sectionTitle {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin: 0 0 20px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f2f5;
}

.section-icon {
    width: 20px;
    height: 20px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.section-icon.desc {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.section-icon.desc::before {
    content: "📖";
}

.section-icon.related {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.section-icon.related::before {
    content: "🎯";
}

.descContent {
    line-height: 1.8;
    color: #333;
}

.descContent p {
    margin-bottom: 15px;
}

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

.descContent img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 15px 0;
}

/* 相关游戏区域 */
.relatedGamesSection {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.relatedGamesList {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 18px;
}

.relatedGameItem {
    background: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.relatedGameItem:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.relatedGameLink {
    display: block;
    text-decoration: none;
    color: inherit;
}

.relatedGameImg {
    height: 100px;
    overflow: hidden;
}

.relatedGameImg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.relatedGameInfo {
    padding: 10px;
}

.relatedGameInfo h4 {
    margin: 0 0 4px 0;
    font-size: 13px;
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.relatedGameInfo p {
    margin: 0 0 4px 0;
    font-size: 11px;
    color: #666;
}

.downloadCount {
    font-size: 10px;
    color: #999;
}

/* 右侧排行榜 */
.rankingPanel,
.hotPanel {
    background: #fff;
    border-radius: 12px;
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.panelHeader {
    background: linear-gradient(135deg, var(--defColor) 0%, #2d8f47 100%);
    color: white;
    padding: 15px 20px;
}

.panelHeader h3 {
    margin: 0;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.panel-icon {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    background: rgba(255, 255, 255, 0.2);
}

.panel-icon.ranking::before {
    content: "🏆";
}

.panel-icon.hot::before {
    content: "🔥";
}

.rankingList,
.hotList {
    padding: 15px;
}

.rankingItem,
.hotItem {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f2f5;
}

.rankingItem:last-child,
.hotItem:last-child {
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 0;
}

.rankNum {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    color: white;
    margin-right: 10px;
    flex-shrink: 0;
}

.rank-1 {
    background: linear-gradient(135deg, #ffd700 0%, #ffb347 100%);
}

.rank-2 {
    background: linear-gradient(135deg, #c0c0c0 0%, #a8a8a8 100%);
}

.rank-3 {
    background: linear-gradient(135deg, #cd7f32 0%, #b8860b 100%);
}

.rankNum:not(.rank-1):not(.rank-2):not(.rank-3) {
    background: #17ab05;
}

.rankingLink,
.hotLink {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
    flex: 1;
    transition: all 0.3s ease;
}

.rankingLink:hover,
.hotLink:hover {
    color: var(--defColor);
}

.rankingLink img,
.hotLink img {
    width: 80px;
    height: 80px;
    border-radius: 6px;
    object-fit: cover;
    margin-right: 10px;
    flex-shrink: 0;
}

.rankingInfo,
.hotInfo {
    flex: 1;
    overflow: hidden;
}

.rankingInfo h4,
.hotInfo h4 {
    margin: 0 0 3px 0;
    font-size: 16px;
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rankingInfo p,
.hotInfo p {
    margin: 0 0 3px 0;
    font-size: 14px;
    color: #666;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.downloads {
    font-size: 10px;
    color: #999;
}

.sidebarAd {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.sidebarAd img {
    width: 100%;
    height: auto;
    display: block;
}

/* 大图查看模态框 */
.screenshot-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: modalSlideIn 0.4s ease;
}

@keyframes modalSlideIn {
    from {
        transform: scale(0.8) translateY(30px);
        opacity: 0;
    }
    to {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    top: -50px;
    right: -10px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 30px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    font-weight: bold;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.modal-image {
    max-width: 100%;
    max-height: calc(100% - 60px);
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.modal-caption {
    margin-top: 20px;
    color: white;
    font-size: 16px;
    text-align: center;
    background: rgba(0, 0, 0, 0.7);
    padding: 10px 20px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

/* 模态框响应式 */
@media (max-width: 768px) {
    .modal-content {
        max-width: 95%;
        max-height: 95%;
    }
    
    .modal-close {
        top: -40px;
        right: 0;
        font-size: 24px;
        width: 35px;
        height: 35px;
    }
    
    .modal-caption {
        font-size: 14px;
        margin-top: 15px;
        padding: 8px 16px;
    }
}

@media (max-width: 480px) {
    .modal-close {
        top: -35px;
        font-size: 20px;
        width: 30px;
        height: 30px;
    }
    
    .modal-caption {
        font-size: 12px;
        margin-top: 10px;
        padding: 6px 12px;
    }
}

/* 详情页响应式设计 */
@media (max-width: 1480px) {
    .gameDetailPage {
        width: 100%;
        max-width: 1480px;
        margin: 20px auto 0;
        padding: 0 20px;
    }
}

@media (max-width: 1200px) {
    .gameDetailPage {
        padding: 0 15px;
    }
    
    .gameContentArea {
        flex-direction: column;
    }
    
    .gameContentLeft {
        width: 100%;
        max-width: 100%;
    }
    
    .gameContentRight {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 20px;
    }
    
    .relatedGamesList {
        grid-template-columns: repeat(4, 1fr);
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .gameDetailPage {
        padding: 0 10px;
    }
    
    .gameTopInfo {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        padding: 20px;
    }
    
    .gameIcon {
        width: 100px;
        height: 100px;
        margin: 0 auto;
    }
    
    .gameTitle {
        font-size: 24px;
    }
    
    .screenshotsContainer {
        flex-direction: column;
        gap: 15px;
    }
    
    .mainScreenshot {
        height: 250px;
    }
    
    .screenshotsThumbs {
        width: 100%;
        flex-direction: row;
        overflow-x: auto;
        max-height: none;
        padding-bottom: 5px;
    }
    
    .thumbItem {
        width: 70px;
        height: 50px;
        flex-shrink: 0;
    }
    
    .relatedGamesList {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .gameTopInfo {
        padding: 15px;
    }
    
    .gameTitle {
        font-size: 20px;
    }
    
    .gameScreenshots,
    .gameDescription,
    .relatedGamesSection {
        padding: 15px;
        margin-bottom: 15px;
    }
    
    .mainScreenshot {
        height: 200px;
    }
    
    .thumbItem {
        width: 60px;
        height: 45px;
    }
    
    .relatedGamesList {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .relatedGameImg {
        height: 80px;
    }
    
    .relatedGameInfo {
        padding: 8px;
    }
    
    .relatedGameInfo h4 {
        font-size: 12px;
    }
}

/* ==================== 游戏截图美化样式 ==================== */

/* 游戏截图容器 - 水平滚动布局 */
.gdSwBox {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f2f5;
    position: relative;
    overflow: hidden;
}

.gdSwBox::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--defColor) 0%, #2d8f47 50%, var(--defColor) 100%);
}

/* 游戏截图滚动容器 */
.gdSwBoxMain {
    display: flex;
    gap: 15px;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    padding-bottom: 10px;
    scrollbar-width: thin;
    scrollbar-color: var(--defColor) #f0f2f5;
}

/* 自定义滚动条样式 */
.gdSwBoxMain::-webkit-scrollbar {
    height: 8px;
}

.gdSwBoxMain::-webkit-scrollbar-track {
    background: #f0f2f5;
    border-radius: 4px;
}

.gdSwBoxMain::-webkit-scrollbar-thumb {
    background: var(--defColor);
    border-radius: 4px;
    transition: background 0.3s ease;
}

.gdSwBoxMain::-webkit-scrollbar-thumb:hover {
    background: #2d8f47;
}

.gdSwBoxMain .screenshot-item {
    position: relative;
    min-width: calc(25% - 11.25px); /* 4张图片一行，减去gap间距 */
    width: calc(25% - 11.25px);
    height: 408px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    background: #f5f5f5;
    flex-shrink: 0;
}

.gdSwBoxMain .screenshot-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.gdSwBoxMain .screenshot-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
}

.gdSwBoxMain .screenshot-item:hover img {
    transform: scale(1.05);
}

/* 截图覆盖层效果 */
.gdSwBoxMain .screenshot-item::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        45deg,
        rgba(3, 183, 82, 0.1) 0%,
        transparent 50%,
        rgba(45, 143, 71, 0.1) 100%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.gdSwBoxMain .screenshot-item:hover::after {
    opacity: 1;
}

/* 滚动导航按钮 */
.gdSwBox .scroll-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.95);
    color: var(--defColor);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid rgba(3, 183, 82, 0.2);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
    z-index: 10;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    opacity: 0;
    pointer-events: none;
}

.gdSwBox:hover .scroll-nav {
    opacity: 1;
    pointer-events: all;
}

.gdSwBox .scroll-nav:hover {
    background: var(--defColor);
    color: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 15px rgba(3, 183, 82, 0.3);
}

.gdSwBox .scroll-nav.prev {
    left: 15px;
}

.gdSwBox .scroll-nav.next {
    right: 15px;
}

.gdSwBox .scroll-nav.disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

/* 全屏查看提示 */
.gdSwBoxMain .screenshot-item .screenshot-fullscreen-hint {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 12px 16px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 2;
}

.gdSwBoxMain .screenshot-item:hover .screenshot-fullscreen-hint {
    opacity: 1;
}

.screenshot-fullscreen-hint::before {
    content: "🔍";
    font-size: 16px;
}

/* 截图标题/描述样式 */
.gdSwBoxMain .screenshot-item .screenshot-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 15px;
    font-size: 12px;
    font-weight: 500;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(5px);
}

.gdSwBoxMain .screenshot-item:hover .screenshot-caption {
    transform: translateY(0);
}

/* 滚动指示器 */
.gdSwBox .scroll-indicator {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gdSwBox:hover .scroll-indicator {
    opacity: 1;
}

.scroll-indicator .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.scroll-indicator .dot.active {
    background: var(--defColor);
    transform: scale(1.2);
}

/* 无截图时的占位符 */
.gdSwBox .no-screenshots {
    text-align: center;
    padding: 80px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    border: 2px dashed #dee2e6;
    color: #6c757d;
    width: 100%;
}

.gdSwBox .no-screenshots .icon {
    font-size: 64px;
    margin-bottom: 20px;
    opacity: 0.5;
}

.gdSwBox .no-screenshots .text {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 10px;
}

.gdSwBox .no-screenshots .subtext {
    font-size: 14px;
    opacity: 0.7;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .gdSwBoxMain .screenshot-item {
        min-width: calc(33.333% - 10px); /* 3张图片一行 */
        width: calc(33.333% - 10px);
        height: 300px;
    }
}

@media (max-width: 768px) {
    .gdSwBox {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .gdSwBoxMain {
        gap: 10px;
    }
    
    .gdSwBoxMain .screenshot-item {
        min-width: calc(50% - 5px); /* 2张图片一行 */
        width: calc(50% - 5px);
        height: 250px;
    }
    
    .gdSwBox .scroll-nav {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
    
    .gdSwBox .scroll-nav.prev {
        left: 10px;
    }
    
    .gdSwBox .scroll-nav.next {
        right: 10px;
    }
    
    .gdSwBoxMain .screenshot-item .screenshot-fullscreen-hint {
        padding: 8px 12px;
        font-size: 12px;
    }
    
    .gdSwBoxMain .screenshot-item .screenshot-caption {
        padding: 10px;
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .gdSwBox {
        padding: 15px;
        margin-bottom: 15px;
    }
    
    .gdSwBoxMain {
        gap: 8px;
    }
    
    .gdSwBoxMain .screenshot-item {
        min-width: calc(60% - 4px); /* 移动端显示1.5张图片，鼓励滑动 */
        width: calc(60% - 4px);
        height: 200px;
    }
    
    .gdSwBox .scroll-nav {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }
    
    .gdSwBox .scroll-nav.prev {
        left: 8px;
    }
    
    .gdSwBox .scroll-nav.next {
        right: 8px;
    }
    
    .gdSwBoxMain .screenshot-item .screenshot-fullscreen-hint {
        padding: 6px 10px;
        font-size: 11px;
    }
    
    .gdSwBoxMain .screenshot-item .screenshot-caption {
        padding: 8px;
        font-size: 10px;
    }
    
    .gdSwBox .no-screenshots {
        padding: 60px 15px;
    }
    
    .gdSwBox .no-screenshots .icon {
        font-size: 48px;
        margin-bottom: 15px;
    }
    
    .gdSwBox .no-screenshots .text {
        font-size: 16px;
    }
    
    .gdSwBox .no-screenshots .subtext {
        font-size: 13px;
    }
}

/* 高分辨率屏幕优化 */
@media (min-resolution: 2dppx) {
    .gdSwBoxMain,
    .gdSwBoxNav .swiper-slide {
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    }
    
    .gdSwBoxMain .swiper-button-next,
    .gdSwBoxMain .swiper-button-prev {
        box-shadow: 0 3px 15px rgba(0, 0, 0, 0.12);
    }
}

/* 深色模式支持（可选） */
@media (prefers-color-scheme: dark) {
    .gdSwBox {
        background: #1a1a1a;
        border-color: #333;
    }
    
    .gdSwBoxMain {
        background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    }
    
    .gdSwBoxNav {
        background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
        border-color: #333;
    }
    
    .gdSwBox .no-screenshots {
        background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
        border-color: #444;
        color: #ccc;
    }
}

/* ==================== 二维码下载区域样式 ==================== */

/* 二维码主容器 */
.gameQRCode {
    flex-shrink: 0;
    margin-left: 30px;
    display: flex;
    align-items: flex-start;
}

.qrCodeContainer {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f2f5;
    position: relative;
    text-align: center;
    min-width: 160px;
}

/* 二维码图片容器 */
.qrCodeImage {
    width: 120px;
    height: 120px;
    background: #fff;
    border-radius: 8px;
    border: 2px solid #f0f2f5;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px auto;
    position: relative;
    overflow: hidden;
}

/* 二维码加载状态 */
.qrCodeImage:empty::before {
    content: "📱";
    font-size: 32px;
    color: #ccc;
}

/* 二维码生成完成后的样式 */
.qrCodeImage canvas,
.qrCodeImage img {
    width: 100% !important;
    height: 100% !important;
    border-radius: 6px;
}

/* 二维码描述文字 */
.qrCodeDesc {
    text-align: center;
}

.qrCodeDesc p {
    margin: 0;
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

/* 二维码错误状态 */
.qrCodeError {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 100%;
    color: #999;
    font-size: 12px;
    text-align: center;
}

.qrCodeError::before {
    content: "⚠️";
    font-size: 20px;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .gameQRCode {
        margin-left: 20px;
    }
    
    .qrCodeContainer {
        padding: 18px;
        min-width: 140px;
    }
    
    .qrCodeImage {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 768px) {
    .gameTopInfo {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
    
    .gameQRCode {
        margin-left: 0;
        margin-top: 20px;
        width: auto;
        align-self: flex-start;
    }
    
    .qrCodeContainer {
        padding: 15px;
        min-width: 120px;
    }
    
    .qrCodeImage {
        width: 90px;
        height: 90px;
        margin-bottom: 10px;
    }
    
    .qrCodeDesc p {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .qrCodeContainer {
        padding: 12px;
        min-width: 100px;
    }
    
    .qrCodeImage {
        width: 80px;
        height: 80px;
        margin-bottom: 8px;
    }
    
    .qrCodeDesc p {
        font-size: 12px;
    }
} 