/* 全局样式 */
:root {
    --primary-color: #3B82F6;
    --primary-hover: #2563EB;
    --secondary-color: #9CA3AF;
    --text-dark: #1F2937;
    --text-light: #6B7280;
    --bg-light: #F9FAFB;
    --bg-white: #FFFFFF;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* 游戏卡片悬停效果 */
.game-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* 游戏图片比例控制 */
.game-image {
    aspect-ratio: 16/9;
    object-fit: cover;
}

/* 响应式游戏框架 */
@media (max-width: 768px) {
    .game-frame {
        height: 400px;
    }
}

@media (min-width: 769px) {
    .game-frame {
        height: 600px;
    }
}

/* 按钮样式 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    font-weight: 500;
    border-radius: 0.375rem;
    transition: all 0.2s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
}

/* 标签样式 */
.tag {
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
}

.tag-sport {
    background-color: #DBEAFE;
    color: #1E40AF;
}

.tag-puzzle {
    background-color: #D1FAE5;
    color: #065F46;
}

.tag-action {
    background-color: #FEE2E2;
    color: #991B1B;
}

/* 动画效果 */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fade-in {
    animation: fadeIn 0.5s ease-in;
}

/* 全屏按钮样式 */
.fullscreen-btn {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background-color: var(--primary-color);
    color: white;
    padding: 0.5rem;
    border-radius: 0.375rem;
    box-shadow: var(--shadow);
    transition: background-color 0.2s;
}

.fullscreen-btn:hover {
    background-color: var(--primary-hover);
} 