/* 全局样式 */
:root {
    --primary-color: #6B46C1;
    --secondary-color: #4C1D95;
    --text-color: #1A202C;
    --background-color: #F7FAFC;
}

/* 响应式 iframe 容器 */
.aspect-w-16 {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 宽高比 */
}

.aspect-w-16 iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* 语言切换按钮样式 */
.lang-btn {
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.lang-btn:hover {
    border-color: #9333ea;
    color: #9333ea;
}

.lang-btn.active {
    background-color: #9333ea;
    color: white;
    border-color: #9333ea;
}

/* 响应式布局调整 */
@media (max-width: 640px) {
    .lang-btn {
        padding: 0.5rem;
        font-size: 0.875rem;
    }
}

/* 动画效果 */
.hover\:shadow-xl {
    transition: box-shadow 0.3s ease;
}

/* 面包屑导航样式 */
.breadcrumb {
    color: var(--text-color);
    text-decoration: none;
}

.breadcrumb:hover {
    color: var(--primary-color);
}

/* Logo 样式 */
.logo {
    font-family: 'Arial', sans-serif;
    font-weight: bold;
    color: var(--primary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

/* 页脚样式 */
footer {
    background-color: var(--secondary-color);
    color: white;
}

/* 游戏区域容器样式 */
.game-container {
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

/* 内容卡片样式 */
.content-card {
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.content-card:hover {
    transform: translateY(-2px);
} 