/* Game Placeholder Images - CSS Generated */

.game-placeholder {
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: white;
    font-weight: bold;
    position: relative;
    overflow: hidden;
}

.game-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.1;
    background-image: 
        radial-gradient(circle at 25% 25%, white 2px, transparent 2px),
        radial-gradient(circle at 75% 75%, white 2px, transparent 2px);
    background-size: 20px 20px;
}

.game-placeholder i {
    font-size: 3rem;
    margin-bottom: 10px;
}

.game-placeholder .game-name {
    font-size: 0.9rem;
    text-align: center;
    padding: 0 10px;
}

/* Specific game themes */
.placeholder-treasure {
    background: linear-gradient(135deg, #f4d03f 0%, #d68910 100%);
}

.placeholder-zombie {
    background: linear-gradient(135deg, #2c3e50 0%, #e74c3c 100%);
}

.placeholder-asmr {
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
}

.placeholder-space {
    background: linear-gradient(135deg, #0f0f23 0%, #3b82f6 100%);
}

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

.placeholder-football {
    background: linear-gradient(135deg, #00b894 0%, #00a085 100%);
}

.placeholder-default {
    background: linear-gradient(135deg, #6c5ce7 0%, #a29bfe 100%);
}

/* GameHub - 游戏占位符样式 */

/* 通用游戏图片样式 */
.game-image {
    width: 100%;
    height: 200px;
    border-radius: 8px 8px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.game-icon {
    font-size: 3rem;
    color: white;
    opacity: 0.9;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* 热门游戏预览 - 轮播图中使用 */
.hero-game-preview {
    width: 300px;
    height: 300px;
    border-radius: 20px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.hero-game-icon {
    font-size: 6rem;
    color: white;
    opacity: 0.9;
    text-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

/* 评分徽章 */
.rating-badge {
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
}

/* 热门徽章 */
.trending-badge {
    background: linear-gradient(45deg, #ff6b6b, #ee5a24);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    animation: pulse 2s infinite;
}

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

/* 游戏卡片悬停效果 */
.game-card {
    transition: all 0.3s ease;
    cursor: pointer;
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15) !important;
}

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

/* 具体游戏的占位符样式 */

/* 原有游戏 */
.treasure-placeholder {
    background: linear-gradient(135deg, #f7b801 0%, #f18701 100%);
}

.asmr-placeholder {
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
}

.zombie-placeholder {
    background: linear-gradient(135deg, #2c1810 0%, #8B0000 100%);
}

/* 新增游戏占位符 */
.subway-placeholder {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.stickman-placeholder {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.kart-placeholder {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.moto-placeholder {
    background: linear-gradient(135deg, #ff9472 0%, #f2709c 100%);
}

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

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

.basketball-placeholder {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.geometry-placeholder {
    background: linear-gradient(135deg, #96fbc4 0%, #f9f047 100%);
}

.snow-placeholder {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
}

.among-placeholder {
    background: linear-gradient(135deg, #ff0844 0%, #ffb199 100%);
}

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

/* 响应式调整 */
@media (max-width: 768px) {
    .game-image {
        height: 160px;
    }
    
    .game-icon {
        font-size: 2.5rem;
    }
    
    .hero-game-preview {
        width: 200px;
        height: 200px;
    }
    
    .hero-game-icon {
        font-size: 4rem;
    }
}

@media (max-width: 576px) {
    .game-image {
        height: 140px;
    }
    
    .game-icon {
        font-size: 2rem;
    }
} 