/* 川渝好门户游戏中心样式 */

.game-center { padding: 20px; max-width: 1200px; margin: 0 auto; }
.game-header { text-align: center; margin-bottom: 30px; }
.game-header h1 { font-size: 36px; color: #333; margin-bottom: 10px; background: linear-gradient(135deg, #e53935, #c62828); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

/* 统计栏 */
.stats-bar { display: flex; justify-content: space-around; background: linear-gradient(135deg, #fff5f5, #ffe3e3); padding: 20px; border-radius: 15px; margin-bottom: 40px; box-shadow: 0 4px 12px rgba(0,0,0,0.05); }
.stat-item { display: flex; align-items: center; gap: 12px; }
.stat-icon { font-size: 28px; }
.stat-info { display: flex; flex-direction: column; }
.stat-label { font-size: 12px; color: #666; }
.stat-value { font-size: 24px; font-weight: bold; color: #333; }

/* 每日签到 */
.daily-sign-section { background: linear-gradient(135deg, #fff5f5, #ffe3e3); padding: 20px; border-radius: 15px; margin-bottom: 40px; text-align: center; }
.section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; }
.section-header h2 { font-size: 20px; color: #333; border-left: 4px solid #e53935; padding-left: 15px; }
.sign-status { font-size: 14px; color: #666; }
.btn-sign { display: inline-flex; align-items: center; gap: 10px; padding: 15px 30px; font-size: 16px; background: linear-gradient(135deg, #e53935, #ff5252); color: #fff; border: none; border-radius: 25px; cursor: pointer; transition: all 0.3s; box-shadow: 0 4px 15px rgba(229,57,53,0.3); }
.btn-sign:hover:not(:disabled) { transform: scale(1.05); box-shadow: 0 6px 20px rgba(229,57,53,0.4); }
.btn-sign:disabled { opacity: 0.6; cursor: not-allowed; }

/* 角色卡片 */
.my-characters { margin-bottom: 40px; }
.character-card { background: #fff; border-radius: 15px; overflow: hidden; box-shadow: 0 4px 12px rgba(0,0,0,0.1); transition: all 0.3s; }
.character-card:hover { transform: translateY(-5px); box-shadow: 0 8px 24px rgba(0,0,0,0.15); }
.character-header { display: flex; align-items: center; padding: 20px; background: linear-gradient(135deg, #e53935, #c62828); color: #fff; }
.character-avatar { width: 80px; height: 80px; border-radius: 50%; overflow: hidden; margin-right: 20px; border: 3px solid rgba(255,255,255,0.3); }
.character-avatar img { width: 100%; height: 100%; object-fit: cover; }
.character-info h3 { margin: 0; font-size: 20px; }
.game-tag { display: inline-block; padding: 4px 12px; border-radius: 12px; font-size: 12px; margin-top: 5px; background: rgba(255,255,255,0.2); }
.game-tag-jianghu { background: #ff6b6b; }
.game-tag-jwt { background: #4ecdc4; }
.game-tag-muyuan { background: #ffb74d; color: #333; }
.game-tag-zhs { background: #4fc3f7; }
.character-stats { display: flex; flex-wrap: wrap; padding: 15px 20px; gap: 15px; background: #f8f9fa; }
.character-stats .stat-item { display: flex; align-items: center; gap: 8px; }
.character-stats .stat-label { color: #666; font-size: 13px; }
.character-stats .stat-value { font-weight: bold; color: #333; }
.level-badge { background: linear-gradient(135deg, #e53935, #ff5252); color: #fff; padding: 4px 12px; border-radius: 12px; }
.character-actions { display: flex; gap: 10px; padding: 20px; background: #fff; }
.btn { display: inline-block; padding: 12px 24px; border-radius: 25px; text-decoration: none; cursor: pointer; transition: all 0.3s; border: none; font-size: 14px; font-weight: 600; }
.btn-small { padding: 8px 16px; font-size: 14px; }
.btn-primary { background: linear-gradient(135deg, #e53935, #ff5252); color: #fff; box-shadow: 0 4px 15px rgba(229,57,53,0.3); }
.btn-primary:hover { opacity: 0.92; transform: translateY(-2px); }
.btn-danger { background: linear-gradient(135deg, #ff6b6b, #ee5a5a); color: #fff; }
.btn-danger:hover { opacity: 0.92; transform: translateY(-2px); }

/* 游戏列表 */
.game-list { margin-top: 40px; }
.game-list h2 { font-size: 24px; color: #333; margin-bottom: 20px; border-left: 4px solid #e53935; padding-left: 15px; }
.game-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 25px; }
.game-item { background: #fff; border-radius: 15px; overflow: hidden; box-shadow: 0 4px 12px rgba(0,0,0,0.1); cursor: pointer; transition: all 0.3s; }
.game-item:hover { transform: translateY(-8px); box-shadow: 0 8px 24px rgba(0,0,0,0.15); }
.game-image-wrapper { position: relative; height: 180px; overflow: hidden; }
.game-image-wrapper img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.game-item:hover .game-image-wrapper img { transform: scale(1.1); }
.game-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.5); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.3s; }
.game-item:hover .game-overlay { opacity: 1; }
.game-action { color: #fff; font-size: 18px; font-weight: bold; }
.game-item-content { padding: 20px; }
.game-item h3 { font-size: 20px; color: #333; margin-bottom: 10px; }
.game-item p { color: #666; font-size: 14px; line-height: 1.6; margin-bottom: 15px; }
.game-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { padding: 4px 10px; border-radius: 12px; font-size: 12px; background: #f0f0f0; color: #666; }

/* 响应式 */
@media (max-width: 768px) {
    .stats-bar { flex-direction: column; gap: 15px; }
    .game-grid { grid-template-columns: 1fr; }
    .character-header { flex-direction: column; text-align: center; }
    .character-avatar { margin-right: 0; margin-bottom: 15px; }
    .character-actions { flex-direction: column; }
}
