/* 游戏页面全局样式 - 合并自styles.css和game-styles.css */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* 基础样式 */
body {
    font-family: 'Inter', sans-serif;
    background-color: #f5f5f7;
}

/* Header样式 */
.site-header {
    background: linear-gradient(90deg, #6B46C1 0%, #3B82F6 100%);
    padding: 1.5rem 0;
    color: white;
}

.brand-container {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.brand-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    line-height: 1.2;
}

.brand-slogan {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    font-weight: 500;
}

/* 搜索框样式 */
.search-container input {
    background: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
    border-radius: 0.5rem 0 0 0.5rem;
    border: none;
}

.search-container input:focus {
    background: white;
}

.search-container button {
    transition: all 0.3s ease;
    border-radius: 0 0.5rem 0.5rem 0;
    background: #2563eb;
}

/* 游戏容器样式 */
.game-container {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.game-container iframe {
    width: 100% !important;
    height: 600px !important;
    aspect-ratio: 16/9 !important;
    border: none !important;
    display: block !important;
}

/* 游戏卡片样式 */
.game-card {
    background: white;
    border-radius: 0.5rem;
    overflow: hidden;
    transition: transform 0.2s ease-in-out;
}

.game-card:hover {
    transform: translateY(-2px);
}

.new-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: #EF4444;
    color: white;
    padding: 2px 8px;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 10;
}

/* 游戏分类标签 */
.game-categories span {
    transition: all 0.2s ease;
    cursor: pointer;
}

.game-categories span:hover {
    transform: translateY(-1px);
}

/* 用户评论样式 */
.user-reviews .bg-white {
    transition: transform 0.2s ease;
}

.user-reviews .bg-white:hover {
    transform: translateY(-2px);
}

/* 游戏信息区域样式 */
.game-info {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* 标题下划线效果 */
.section-title {
    display: flex;
    align-items: center;
}

.section-title i {
    margin-right: 0.5rem;
}

.section-title span {
    position: relative;
    display: inline-block;
}

.section-title span::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 50%;
    height: 2px;
    background: #3b82f6;
    border-radius: 1px;
}

/* 主要布局 */
.max-w-7xl {
    max-width: 80rem;
    margin-left: auto;
    margin-right: auto;
}

.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.py-8 {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.bg-white {
    background-color: white;
}

.rounded-lg {
    border-radius: 0.5rem;
}

.shadow-sm {
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.mb-8 {
    margin-bottom: 2rem;
}

.p-4, .p-6 {
    padding: 1rem;
}

.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.items-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

.gap-8 {
    gap: 2rem;
}

.border-t {
    border-top-width: 1px;
    border-top-style: solid;
    border-top-color: #e5e7eb;
}

/* 响应式样式 */
@media (max-width: 768px) {
    .game-container iframe {
        height: 400px !important;
    }
}

@media (max-width: 480px) {
    .game-container iframe {
        height: 300px !important;
    }
}

/* 大屏幕布局 */
@media (min-width: 1024px) {
    .lg\:flex-row {
        flex-direction: row;
    }
    .lg\:w-3\/4 {
        width: 75%;
    }
    .lg\:w-1\/4 {
        width: 25%;
    }
    .lg\:w-2\/3 {
        width: 66.666667%;
    }
    .lg\:w-1\/3 {
        width: 33.333333%;
    }
} 