/* 游戏同步插件 - 后台样式 */
.game-sync-wrap {
    max-width: 900px;
    margin: 0 auto;
}

.game-sync-settings {
    background: #fff;
    border: 1px solid #ccd0d4;
    border-radius: 4px;
    padding: 20px;
    margin-bottom: 20px;
}

.game-sync-settings h2 {
    margin-top: 0;
    font-size: 18px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.game-sync-settings .form-table {
    margin-bottom: 0;
}

.game-sync-settings .form-table th {
    width: 150px;
}

.game-sync-settings .form-table td {
    vertical-align: top;
}

.game-sync-settings .form-table input[type="text"],
.game-sync-settings .form-table input[type="number"],
.game-sync-settings .form-table select {
    min-width: 300px;
}

.game-sync-actions {
    background: #fff;
    border: 1px solid #ccd0d4;
    border-radius: 4px;
    padding: 20px;
}

#sync_button {
    font-size: 16px;
    padding: 8px 20px;
}

#sync_progress {
    background: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 4px;
    padding: 15px;
}

.progress-bar {
    transition: width 0.3s ease;
}

#sync_log {
    background: #f1f1f1;
    padding: 10px;
    border-radius: 3px;
    font-size: 13px;
    line-height: 1.4;
}

/* 游戏文章样式 */
.game-post {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* 区块标题样式 */
.section-header {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}

.section-header h2 {
    font-size: 22px;
    font-weight: 700;
    color: #333;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-icon {
    font-size: 20px;
    display: inline-block;
}

/* 游戏福利区块特殊样式 */
.game-benefits-section {
    background: linear-gradient(135deg, #fff 0%, #fff9e6 100%);
    border-left: 4px solid #ffb84d;
}

.section-header福利 {
    border-bottom-color: #ffebcc;
}

.game-benefits福利-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px;
    background: white;
    border-radius: 6px;
    border: 1px solid #ffebcc;
    transition: all 0.3s ease;
}

.benefit-item:hover {
    background: #fff9f0;
    border-color: #ffb84d;
}

.benefit-icon {
    font-size: 18px;
    flex-shrink: 0;
    margin-top: 2px;
}

.benefit-text {
    flex: 1;
    line-height: 1.6;
    color: #333;
}

.game-header {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.game-logo {
    flex: 0 0 100px;
    margin-right: 20px;
}

.game-logo img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    border-radius: 8px;
    border: 1px solid #eee;
    transition: transform 0.3s ease;
}

.game-logo img:hover {
    transform: scale(1.05);
}

.game-info-main {
    flex: 1;
    min-width: 0;
}

.game-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

.game-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.game-tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 14px;
    font-weight: 500;
    background: #f0f0f0;
    color: #666;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.game-tag:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.new-game-tag {
    background: #ff4757;
    color: white;
    border: none;
}

.hot-game-tag {
    background: #ffa502;
    color: white;
    border: none;
}

.bt-tag {
    background: #7c3aed;
    color: white;
}

.three-kingdoms-tag {
    background: #1d4ed8;
    color: white;
}

.strategy-tag {
    background: #059669;
    color: white;
}

/* 折扣相关标签 */
.discount-tag {
    background: #ef4444;
    color: white;
}

/* 特定折扣标签样式 */
.discount-005-tag {
    background: #dc2626;
    color: white;
}

.discount-01-tag {
    background: #ef4444;
    color: white;
}

/* 游戏类型标签 */
.fairy-tag {
    background: #d946ef;
    color: white;
}

.card-tag {
    background: #f97316;
    color: white;
}

.legend-tag {
    background: #713f12;
    color: white;
}

.mow-tag {
    background: #84cc16;
    color: white;
}

.turn-based-tag {
    background: #06b6d4;
    color: white;
}

.martial-tag {
    background: #991b1b;
    color: white;
}

.management-tag {
    background: #15803d;
    color: white;
}

.idle-tag {
    background: #6366f1;
    color: white;
}

.anime-tag {
    background: #ec4899;
    color: white;
}

.fighting-tag {
    background: #b91c1c;
    color: white;
}

.magic-tag {
    background: #8b5cf6;
    color: white;
}

.journey-tag {
    background: #16a34a;
    color: white;
}

.q-version-tag {
    background: #0ea5e9;
    color: white;
}

.mmo-tag {
    background: #842bd5;
    color: white;
}

.afk-tag {
    background: #f59e0b;
    color: white;
}

.green-server-tag {
    background: #22c55e;
    color: white;
}

.tower-defense-tag {
    background: #64748b;
    color: white;
}

.action-tag {
    background: #ef4444;
    color: white;
}

.h5-tag {
    background: #f43f5e;
    color: white;
}

/* 服务类型标签 */
.gm-tag {
    background: #8b5cf6;
    color: white;
}

.exclusive-server-tag {
    background: #059669;
    color: white;
}

.loot-box-tag {
    background: #f59e0b;
    color: white;
}

.private-server-tag {
    background: #2563eb;
    color: white;
}

.buyout-tag {
    background: #f59e0b;
    color: white;
}

.xianxia-tag {
    background: #ec4899;
    color: white;
}

.opening-tag {
    background: #f97316;
    color: white;
}

/* 优化游戏信息表格样式 */
.game-info {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
}

/* 移除冗余的下载按钮样式，保留.btn-download样式 */
.download-button {
    transition: all 0.3s ease;
}

.regular-tag {
    background: #6b7280;
    color: white;
}

.legend-tag {
    background: #7c3aed;
    color: white;
}

.grass-cutting-tag {
    background: #10b981;
    color: white;
}

.turn-based-tag {
    background: #3b82f6;
    color: white;
}

.wuxia-tag {
    background: #ef4444;
    color: white;
}

.management-tag {
    background: #f59e0b;
    color: white;
}

.idle-tag {
    background: #8b5cf6;
    color: white;
}

.anime-tag {
    background: #ec4899;
    color: white;
}

.fighting-tag {
    background: #dc2626;
    color: white;
}

.magic-tag {
    background: #8b5cf6;
    color: white;
}

.journey-to-west-tag {
    background: #f97316;
    color: white;
}

.q-version-tag {
    background: #fbbf24;
    color: white;
}

.mmo-tag {
    background: #2563eb;
    color: white;
}

.afk-tag {
    background: #6366f1;
    color: white;
}

.green-server-tag {
    background: #22c55e;
    color: white;
}

.tower-defense-tag {
    background: #3b82f6;
    color: white;
}

.action-tag {
    background: #ef4444;
    color: white;
}

.h5-tag {
    background: #8b5cf6;
    color: white;
}

.game-section {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    margin-bottom: 20px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.game-section:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    border-color: #cbd5e1;
}

.game-section h2 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 18px;
    color: #111827;
    border-bottom: 2px solid #e5e7eb;
    padding-bottom: 8px;
}

.game-intro,
.game-benefits,
.game-features {
    color: #4b5563;
    line-height: 1.6;
    font-size: 15px;
}

.game-screenshots {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid #eee;
    background: #fafafa;
    transition: all 0.3s ease;
}

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

.gallery-image-container {
    position: relative;
    overflow: hidden;
}

.gallery-image-link {
    display: block;
    text-decoration: none;
}

.gallery-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.gallery-item:hover .gallery-img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.gallery-zoom-icon {
    color: white;
    font-size: 30px;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-zoom-icon {
    transform: scale(1);
}

.game-download {
    text-align: center;
    padding: 20px 0;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    font-size: 18px;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.btn-download:hover {
    background: linear-gradient(135deg, #059669, #047857);
    transform: translateY(-2px);
    box-shadow: 0 6px 8px -1px rgba(0, 0, 0, 0.15);
    color: white;
}

.btn-icon {
    margin-right: 8px;
    font-size: 20px;
}

.game-info {
    background: #f0f2f5;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 20px;
}

.game-info-table {
    width: 100%;
    border-collapse: collapse;
}

.game-info-table th,
.game-info-table td {
    text-align: left;
    padding: 10px 15px;
    border-bottom: 1px solid #e5e7eb;
}

.game-info-table th {
    width: 120px;
    font-weight: 600;
    color: #374151;
    background-color: rgba(243, 244, 246, 0.5);
}

.game-info-table td {
    color: #4b5563;
}

.game-info-table tr:last-child th,
.game-info-table tr:last-child td {
    border-bottom: none;
}

/* 底部提示样式 */
.game-footer {
    background: linear-gradient(135deg, #f0f4f8, #e9ecef);
    border-radius: 8px;
    padding: 20px;
    margin-top: 30px;
    border-left: 4px solid #3498db;
}

.footer-content p {
    margin: 0;
    color: #555;
    font-size: 15px;
    line-height: 1.6;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-icon {
    font-size: 18px;
    color: #3498db;
}

/* 内容文本样式 */
.game-intro,
.game-features,
.game-benefits {
    line-height: 1.8;
    color: #333;
    font-size: 15px;
}

.game-intro p,
.game-features p,
.game-benefits p {
    margin-bottom: 15px;
}

/* 游戏信息表格增强样式 */
.game-info-table {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.game-info-table tr:hover td {
    background-color: #f8f9fa;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .game-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .game-logo {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .game-screenshots {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
    
    .game-info-table {
        font-size: 14px;
    }
    
    .game-info-table th {
        width: 100px;
    }
    
    .btn-download {
        font-size: 16px;
        padding: 10px 25px;
    }
}

@media (max-width: 480px) {
    .game-screenshots {
        grid-template-columns: 1fr;
    }
    
    .game-logo img {
        width: 80px;
        height: 80px;
    }
    
    .game-title {
        font-size: 20px;
    }
    
    .game-section h2 {
        font-size: 16px;
    }
}