/* 全局变量 */
:root {
    --bg-primary: #121212;
    --bg-secondary: #1e1e1e;
    --bg-card: #242424;
    --text-primary: #ffffff;
    --text-secondary: #b3b3b3;
    --accent-color: #4a90e2;
    --border-color: rgba(255, 255, 255, 0.1);
}

/* 全局样式 */
body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Hero Banner 样式 */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/banner/banner.png');
    background-size: cover;
    background-position: center;
    height: 100vh;
    position: relative;
    margin-bottom: 3rem;
}

.hero-section::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(to top, var(--bg-primary), transparent);
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.slogan-content {
    position: relative;
    z-index: 1;
}

.features {
    margin: 2rem 0;
}

.feature-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    user-select: none;
}

.feature-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.feature-item:active {
    transform: translateY(-2px);
}

.feature-item i {
    color: var(--accent-color);
    transition: all 0.3s ease;
}

.feature-item p {
    margin-bottom: 0;
    font-weight: 500;
}

/* 导航栏样式 */
.navbar {
    background-color: rgba(18, 18, 18, 0.95) !important;
    backdrop-filter: blur(10px);
}

.navbar-brand {
    font-weight: 600;
    color: var(--text-primary) !important;
}

.nav-link {
    color: var(--text-secondary) !important;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary) !important;
}

/* 板块样式优化 */
section {
    padding: 5rem 0;
    background-color: var(--bg-primary);
}

section h2 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 5rem;
    letter-spacing: -0.5px;
    text-align: center;
    color: var(--text-primary);
}

/* 游戏内容卡片样式优化 */
.game-guide {
    padding: 3.5rem;
    margin-bottom: 5rem;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    overflow: hidden;
}

.game-guide:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

/* 内容布局优化 */
.game-guide .row {
    display: flex;
    gap: 4rem;
    align-items: flex-start;
}

/* 图片区域优化 */
.game-guide .col-md-4 {
    flex: 0 0 420px;
    position: relative;
}

.game-guide img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.game-guide img:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

/* 文字内容区域优化 */
.game-guide .col-md-8 {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 360px;
    padding-top: 1rem;
}

.game-guide h3 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 2.5rem;
    padding-bottom: 1.2rem;
    border-bottom: 1px solid var(--border-color);
    letter-spacing: -0.5px;
    line-height: 1.3;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.game-guide h3 i {
    font-size: 2rem;
    margin-right: 1rem;
}

.game-guide .description {
    font-size: 1.15rem;
    line-height: 1.9;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    padding-right: 2rem;
    letter-spacing: 0.2px;
    flex-grow: 1;
}

/* 添加额外信息区域 */
.game-info {
    display: flex;
    gap: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--text-secondary);
    font-size: 1rem;
}

.info-item i {
    font-size: 1.2rem;
}

/* 板块特色样式增强 */
#game-guides .game-guide {
    background: linear-gradient(145deg, var(--bg-card), #1a2433);
    border-left: 4px solid #4a90e2;
}

#game-guides .info-item i {
    color: #4a90e2;
}

#game-skills .game-guide {
    background: linear-gradient(145deg, var(--bg-card), #2d1f1a);
    border-left: 4px solid #e67e22;
}

#game-skills .info-item i {
    color: #e67e22;
}

#game-news .game-guide {
    background: linear-gradient(145deg, var(--bg-card), #1a2a1f);
    border-left: 4px solid #27ae60;
}

#game-news .info-item i {
    color: #27ae60;
}

/* 响应式优化 */
@media (max-width: 1400px) {
    .game-guide {
        padding: 3rem;
    }
    
    .game-guide .row {
        gap: 3rem;
    }
    
    .game-guide .col-md-4 {
        flex: 0 0 380px;
    }
    
    .game-guide img {
        height: 320px;
    }
    
    .game-guide h3 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .game-guide .description {
        padding-right: 1rem;
    }
}

@media (max-width: 1200px) {
    .game-guide {
        padding: 2.5rem;
        margin-bottom: 4rem;
    }
    
    .game-guide .col-md-4 {
        flex: 0 0 340px;
    }
    
    .game-guide img {
        height: 280px;
    }
    
    .game-guide .description {
        font-size: 1.1rem;
        line-height: 1.8;
        padding-right: 0;
    }
    
    section h2 {
        font-size: 2.4rem;
        margin-bottom: 4rem;
    }
}

@media (max-width: 992px) {
    .game-guide {
        padding: 2rem;
    }
    
    .game-guide .row {
        gap: 2.5rem;
    }
    
    .game-guide h3 {
        font-size: 1.8rem;
        margin-bottom: 1.8rem;
    }
    
    .game-info {
        padding-top: 1.5rem;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .game-guide {
        padding: 1.5rem;
        margin-bottom: 3rem;
    }
    
    .game-guide h3 {
        font-size: 1.6rem;
        margin-bottom: 1.5rem;
        padding-bottom: 1rem;
    }
    
    .game-guide .description {
        font-size: 1rem;
        line-height: 1.7;
        margin-bottom: 1.5rem;
    }
    
    section h2 {
        font-size: 2rem;
        margin-bottom: 3rem;
    }
    
    .info-item {
        font-size: 0.9rem;
    }
}

/* 页脚样式 */
footer {
    background-color: var(--bg-secondary) !important;
    border-top: 1px solid var(--border-color);
}

footer h5 {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

footer p {
    color: var(--text-secondary);
}

footer a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--text-primary);
}

/* 板块差异化样式 */
/* 游戏攻略板块 */
#game-guides {
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    position: relative;
}

#game-guides::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #4a90e2, transparent);
}

#game-guides h2 {
    color: #4a90e2;
    position: relative;
    display: inline-block;
    padding-bottom: 1rem;
}

#game-guides h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: #4a90e2;
}

/* 通关技巧板块 */
#game-skills {
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

#game-skills h2 {
    color: #e67e22;
    position: relative;
    display: inline-block;
    padding-bottom: 1rem;
}

#game-skills h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: #e67e22;
}

/* 游戏资讯板块 */
#game-news {
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

#game-news h2 {
    color: #27ae60;
    position: relative;
    display: inline-block;
    padding-bottom: 1rem;
}

#game-news h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: #27ae60;
}

/* 添加滚动行为样式 */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* 导航栏高度 + 一些额外空间 */
} 