/* 全局样式 */
:root {
    --primary-color: #dc2626;
    --secondary-color: #1f2937;
    --text-color: #ffffff;
    --background-color: #111827;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
}

/* 游戏容器样式 */
.game-container {
    position: relative;
    width: 100%;
    background-color: var(--secondary-color);
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* 响应式布局 */
@media (max-width: 768px) {
    .game-container {
        height: 50vh !important;
    }
}

/* 导航样式 */
nav a {
    position: relative;
    transition: color 0.3s ease;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

/* 语言选择器样式 */
.language-selector select {
    background-color: var(--secondary-color);
    border: 1px solid var(--primary-color);
    color: var(--text-color);
    padding: 0.5rem;
    border-radius: 0.25rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.language-selector select:hover {
    background-color: var(--primary-color);
}

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.game-info {
    animation: fadeIn 0.5s ease-out;
}

/* 面包屑导航样式 */
.breadcrumb {
    background-color: var(--secondary-color);
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    margin-bottom: 1rem;
}

.breadcrumb a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--primary-color);
}

/* 页脚样式 */
footer {
    background-color: var(--secondary-color);
    padding: 2rem 0;
    margin-top: 2rem;
}

/* 移动端菜单按钮 */
.menu-button {
    display: none;
}

@media (max-width: 768px) {
    .menu-button {
        display: block;
    }
    
    nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--secondary-color);
        padding: 1rem;
        z-index: 50;
    }
    
    nav.hidden {
        display: none;
    }
} 