/* 自定义样式 */
:root {
    --primary-color: #3B82F6;
    --secondary-color: #8B5CF6;
    --background-dark: #111827;
    --text-light: #F3F4F6;
}

/* 响应式iframe容器 */
.aspect-w-16 {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 宽高比 */
    height: 0;
    overflow: hidden;
}

.aspect-w-16 iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* 语言选择器样式 */
.language-selector button {
    transition: all 0.3s ease;
}

.language-selector button:hover {
    transform: translateY(-2px);
}

/* 导航链接悬停效果 */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .grid {
        gap: 1rem;
    }
}

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.5s ease-out;
}

/* 游戏信息卡片样式 */
.game-info-card {
    background: linear-gradient(145deg, #1F2937, #111827);
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.game-info-card:hover {
    transform: translateY(-5px);
}

/* 面包屑导航样式 */
.breadcrumb {
    background: rgba(31, 41, 55, 0.8);
    backdrop-filter: blur(8px);
}

/* 页脚样式 */
footer {
    background: linear-gradient(to top, #111827, #1F2937);
} 