/* 饥荒新手指南 - 统一样式 */
:root {
    /* 饥荒主题色系 */
    --primary-dark: #1a0f0a;
    --secondary-dark: #2c1810;
    --accent-orange: #e67e22;
    --accent-red: #c0392b;
    --accent-brown: #8b4513;
    --light-text: #f5e6d3;
    --medium-text: #d7ccc8;
    --dark-text: #5d4037;
    --danger: #d35400;
    --warning: #f39c12;
    --success: #27ae60;
    --shadow: rgba(0, 0, 0, 0.7);
}

/* 基础重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: var(--light-text);
    background-color: var(--primary-dark);
    background-image:
            radial-gradient(circle at 10% 20%, rgba(139, 69, 19, 0.1) 0%, transparent 20%),
            radial-gradient(circle at 90% 80%, rgba(194, 124, 14, 0.1) 0%, transparent 20%);
    min-height: 100vh;
}

h1, h2, h3, h4, h5 {
    font-family: 'Cinzel', 'Microsoft YaHei', serif;
    font-weight: 700;
    color: var(--accent-orange);
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--accent-orange);
    transition: color 0.3s;
}

a:hover {
    color: var(--warning);
}

/* 登录页面样式 */
.login-page {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    background-image:
            url('../assets/images/bg-login.jpg'),
            radial-gradient(circle at 10% 20%, rgba(139, 69, 19, 0.3) 0%, transparent 20%);
    background-size: cover;
    background-blend-mode: overlay;
}

.login-container {
    width: 100%;
    max-width: 1200px; /* 增加最大宽度 */
    background-color: rgba(26, 15, 10, 0.85);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow);
    border: 1px solid var(--accent-brown);
}

.login-header {
    text-align: center;
    padding: 2rem;
    background-color: rgba(44, 24, 16, 0.9);
    border-bottom: 2px solid var(--accent-orange);
}

.login-header h1 {
    font-size: 2.8rem;
    margin-bottom: 0.5rem;
    color: var(--warning);
    text-shadow: 2px 2px 4px var(--shadow);
}

.login-header p {
    font-size: 1.2rem;
    color: var(--medium-text);
    font-style: italic;
}

.login-main {
    display: flex;
    flex-wrap: wrap;
    min-height: 500px;
}

/* 左侧游戏介绍区域 */
.game-logo, .login-form {
    flex: 1;
    min-width: 300px;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
}

.game-logo {
    background-color: rgba(139, 69, 19, 0.1);
    text-align: center;
    border-right: 1px dashed var(--accent-brown);
    max-height: 100%; /* 限制最大高度 */
    overflow-y: auto; /* 添加滚动条 */
}

.game-logo h2 {
    font-size: 2.8rem; /* 稍微缩小 */
    color: var(--danger);
    font-family: 'IM Fell English SC', serif;
    margin-bottom: 0.3rem;
    text-shadow: 3px 3px 0 var(--shadow);
    letter-spacing: 2px;
}

.subtitle {
    font-size: 1.2rem; /* 缩小 */
    color: var(--warning);
    font-weight: 500;
    margin-bottom: 1rem; /* 减少间距 */
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* 安全验证提示 - 更小更淡 */
.game-tip {
    background-color: rgba(192, 57, 43, 0.08);
    border: 1px solid rgba(192, 57, 43, 0.2);
    border-radius: 4px;
    padding: 0.4rem 0.6rem;
    margin-bottom: 1.5rem; /* 减少间距 */
    display: inline-block;
}

.game-tip p {
    font-size: 0.75rem; /* 更小 */
    color: rgba(192, 57, 43, 0.6);
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.game-tip i {
    font-size: 0.8rem;
}

/* 游戏介绍容器 - 紧凑布局 */
.game-intro-container {
    text-align: left;
    margin-top: 1rem;
}

/* 简介部分 - 更紧凑 */
.intro-section {
    background-color: rgba(44, 24, 16, 0.4);
    border-radius: 6px;
    padding: 0.8rem; /* 减少内边距 */
    margin-bottom: 1rem; /* 减少间距 */
    border-left: 2px solid var(--accent-orange);
}

.intro-section h3 {
    color: var(--warning);
    font-size: 1.1rem; /* 缩小 */
    margin-bottom: 0.5rem; /* 减少间距 */
    display: flex;
    align-items: center;
    gap: 8px;
}

.intro-text {
    color: var(--medium-text);
    line-height: 1.5;
    font-size: 0.85rem; /* 缩小字体 */
    text-align: justify;
}

/* 特色功能网格 - 紧凑版本 */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 改为2列 */
    gap: 0.8rem; /* 减少间距 */
    margin-bottom: 1.2rem; /* 减少间距 */
}

.feature-card {
    background-color: rgba(26, 15, 10, 0.5);
    border: 1px solid var(--accent-brown);
    border-radius: 6px;
    padding: 0.8rem; /* 减少内边距 */
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    transform: translateY(-2px);
    border-color: var(--accent-orange);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.feature-icon {
    width: 30px; /* 缩小 */
    height: 30px;
    background-color: rgba(230, 126, 34, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem; /* 减少间距 */
}

.feature-icon i {
    font-size: 1rem; /* 缩小 */
    color: var(--accent-orange);
}

.feature-card h4 {
    color: var(--accent-orange);
    font-size: 0.95rem; /* 缩小 */
    margin-bottom: 0.4rem; /* 减少间距 */
    display: flex;
    align-items: center;
    gap: 6px;
}

.feature-card p {
    color: var(--medium-text);
    font-size: 0.8rem; /* 缩小 */
    line-height: 1.4;
    flex-grow: 1;
}

/* 关于本游戏部分 - 紧凑 */
.about-section {
    background-color: rgba(44, 24, 16, 0.4);
    border-radius: 6px;
    padding: 0.8rem; /* 减少内边距 */
    margin-bottom: 1.2rem; /* 减少间距 */
    border-left: 2px solid var(--warning);
}

.about-section h3 {
    color: var(--warning);
    font-size: 1.1rem; /* 缩小 */
    margin-bottom: 0.5rem; /* 减少间距 */
    display: flex;
    align-items: center;
    gap: 8px;
}

.about-content p {
    color: var(--medium-text);
    line-height: 1.5;
    font-size: 0.85rem; /* 缩小 */
    margin-bottom: 0.6rem; /* 减少间距 */
    text-align: justify;
}

.about-content p:last-child {
    margin-bottom: 0;
}

.warning-text {
    background-color: rgba(192, 57, 43, 0.1);
    border-left: 2px solid var(--accent-red);
    padding: 0.6rem 0.8rem; /* 减少内边距 */
    border-radius: 0 3px 3px 0;
    margin-top: 0.8rem; /* 减少间距 */
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.warning-text i {
    color: var(--accent-red);
    font-size: 0.9rem; /* 缩小 */
    margin-top: 0.1rem;
}

.warning-text strong {
    color: var(--accent-red);
    font-weight: 700;
    font-size: 0.9rem; /* 缩小 */
}

/* 游戏统计 - 更紧凑 */
.stats-section {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 改为4列 */
    gap: 0.5rem; /* 减少间距 */
    margin-top: 1rem; /* 减少间距 */
}

.stat-item {
    background-color: rgba(139, 69, 19, 0.2);
    border: 1px solid rgba(139, 69, 19, 0.4);
    border-radius: 4px;
    padding: 0.6rem 0.4rem; /* 减少内边距 */
    display: flex;
    flex-direction: column; /* 改为垂直排列 */
    align-items: center;
    justify-content: center;
    gap: 4px; /* 减少间距 */
    transition: all 0.3s ease;
    text-align: center;
}

.stat-item:hover {
    background-color: rgba(230, 126, 34, 0.2);
    border-color: var(--accent-orange);
    transform: translateY(-2px);
}

.stat-item i {
    color: var(--accent-orange);
    font-size: 1rem; /* 稍微缩小 */
    margin-bottom: 0.2rem;
}

.stat-item span {
    color: var(--medium-text);
    font-size: 0.75rem; /* 缩小 */
    font-weight: 500;
    line-height: 1.2;
}

/* 响应式调整 */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: 1fr; /* 小屏幕改为1列 */
    }

    .stats-section {
        grid-template-columns: repeat(2, 1fr); /* 小屏幕改为2列 */
    }
}

@media (max-width: 768px) {
    .game-logo {
        border-right: none;
        border-bottom: 1px dashed var(--accent-brown);
        max-height: 350px; /* 移动端限制高度 */
    }

    .game-logo h2 {
        font-size: 2.2rem;
    }

    .subtitle {
        font-size: 1.1rem;
    }

    .login-main {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .game-logo h2 {
        font-size: 1.8rem;
    }

    .features-grid {
        gap: 0.6rem;
    }

    .feature-card {
        padding: 0.6rem;
    }

    .stats-section {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 右侧登录表单区域 */
.login-form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem 1.5rem;
}

.login-form h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--medium-text);
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--accent-brown);
    border-radius: 5px;
    background-color: rgba(245, 230, 211, 0.1);
    color: var(--light-text);
    font-size: 1rem;
    transition: all 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: var(--accent-orange);
    box-shadow: 0 0 0 2px rgba(230, 126, 34, 0.3);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.forgot-password {
    font-size: 0.9rem;
}

.btn-login, .btn-guest {
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.btn-login {
    background-color: var(--accent-orange);
    color: white;
}

.btn-login:hover {
    background-color: var(--danger);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(230, 126, 34, 0.4);
}

.btn-guest {
    background-color: transparent;
    color: var(--medium-text);
    border: 1px solid var(--accent-brown);
}

.btn-guest:hover {
    background-color: rgba(139, 69, 19, 0.2);
    color: var(--light-text);
}

.demo-note {
    font-size: 0.8rem;
    text-align: center;
    color: var(--medium-text);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.guest-login {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px dashed var(--accent-brown);
    text-align: center;
}

.guest-login p {
    margin-bottom: 1rem;
    color: var(--medium-text);
}

.login-footer {
    text-align: center;
    padding: 1.5rem;
    background-color: rgba(44, 24, 16, 0.9);
    border-top: 1px solid var(--accent-brown);
    color: var(--medium-text);
    font-size: 0.9rem;
}

/* 主网站样式 */
.site-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* 导航栏样式 */
.main-nav {
    background-color: var(--secondary-dark);
    padding: 0 2rem;
    box-shadow: 0 3px 10px var(--shadow);
    border-bottom: 2px solid var(--accent-orange);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo a {
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--warning);
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    display: block;
    padding: 1.2rem 1.5rem;
    color: var(--light-text);
    font-weight: 500;
    transition: all 0.3s;
    border-bottom: 3px solid transparent;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--accent-orange);
    background-color: rgba(139, 69, 19, 0.1);
    border-bottom: 3px solid var(--accent-orange);
}

.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--medium-text);
    font-size: 0.9rem;
}

.logout-btn {
    background-color: transparent;
    border: 1px solid var(--accent-brown);
    color: var(--medium-text);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
}

.logout-btn:hover {
    background-color: rgba(211, 84, 0, 0.2);
    color: var(--light-text);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--light-text);
    font-size: 1.5rem;
    cursor: pointer;
}

/* 主要内容区域 */
.main-content {
    flex: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    width: 100%;
}

.page-header {
    text-align: center;
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--accent-brown);
}

.page-header h1 {
    font-size: 2.5rem;
    color: var(--warning);
    margin-bottom: 0.5rem;
}

.page-header p {
    color: var(--medium-text);
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
}

/* 内容卡片 */
.content-card {
    background-color: rgba(44, 24, 16, 0.7);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid var(--accent-brown);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s, box-shadow 0.3s;
}

.content-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid var(--accent-brown);
}

.card-header h2 {
    margin-bottom: 0;
    font-size: 1.8rem;
}

/* 页脚 */
.main-footer {
    background-color: var(--secondary-dark);
    padding: 2rem;
    text-align: center;
    border-top: 2px solid var(--accent-orange);
    margin-top: 3rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.copyright {
    color: var(--medium-text);
    font-size: 0.9rem;
    margin-top: 1rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .login-main {
        flex-direction: column;
    }

    .game-logo {
        border-right: none;
        border-bottom: 1px dashed var(--accent-brown);
    }

    .nav-container {
        flex-wrap: wrap;
    }

    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        padding: 1rem;
    }
}

/*================================================================================*/

/* 鼠标光晕效果 - 修正版 */
.mouse-glow {
    position: fixed;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
    background: radial-gradient(
            circle at center,
            rgba(230, 126, 34, 0.8) 0%,
            rgba(230, 126, 34, 0.5) 30%,
            rgba(230, 126, 34, 0.2) 50%,
            rgba(230, 126, 34, 0.1) 70%,
            transparent 100%
    );
    box-shadow:
            0 0 40px rgba(230, 126, 34, 0.6),
            0 0 80px rgba(230, 126, 34, 0.4),
            inset 0 0 20px rgba(255, 255, 255, 0.1);
    filter: blur(0.5px);
    transform: translate(-50%, -50%);
    mix-blend-mode: screen;
    will-change: left, top, transform;
}

.mouse-glow.active {
    opacity: 0.8;
}

/* 涟漪效果 */
.mouse-ripple {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(230, 126, 34, 0.6) 0%, transparent 70%);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .mouse-glow {
        width: 80px;
        height: 80px;
        opacity: 0.5;
    }
}

/* 防止光晕在登录页面过于显眼 */
.login-page .mouse-glow {
    opacity: 0.4;
    background: radial-gradient(
            circle at center,
            rgba(230, 126, 34, 0.6) 0%,
            rgba(230, 126, 34, 0.3) 30%,
            rgba(230, 126, 34, 0.1) 50%,
            transparent 100%
    );
}

/* 滚动时减弱效果 */
body.scrolling .mouse-glow {
    opacity: 0.3;
    transition: opacity 0.2s ease;
}

/* 涟漪动画 */
@keyframes rippleEffect {
    0% {
        width: 20px;
        height: 20px;
        opacity: 0.8;
    }
    100% {
        width: 60px;
        height: 60px;
        opacity: 0;
    }
}

/*================================================================================*/

/* ========== 验证码系统基础样式 ========== */
.captcha-container {
    margin: 1.5rem 0;
    padding: 1rem;
    background-color: rgba(44, 24, 16, 0.5);
    border-radius: 8px;
    border: 1px solid var(--accent-brown);
}

.captcha-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.captcha-header h4 {
    margin: 0;
    font-size: 1rem;
    color: var(--warning);
    display: flex;
    align-items: center;
    gap: 8px;
}

.refresh-captcha {
    background: transparent;
    border: 1px solid var(--accent-brown);
    color: var(--accent-orange);
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s;
}

.refresh-captcha:hover {
    background-color: rgba(230, 126, 34, 0.1);
    color: var(--warning);
}

.captcha-display {
    background-color: rgba(26, 15, 10, 0.8);
    border: 2px solid var(--accent-brown);
    border-radius: 6px;
    padding: 1rem;
    text-align: center;
    margin-bottom: 1rem;
    position: relative;
    overflow: hidden;
}

.captcha-code {
    font-family: 'Courier New', monospace;
    font-size: 1.8rem;
    font-weight: bold;
    letter-spacing: 3px;
    color: var(--light-text);
    text-shadow: 0 0 5px rgba(230, 126, 34, 0.5);
    user-select: none;
}

/* 验证码背景效果 */
.captcha-display::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
            linear-gradient(45deg,
            transparent 25%,
            rgba(255, 255, 255, 0.05) 25%,
            rgba(255, 255, 255, 0.05) 50%,
            transparent 50%,
            transparent 75%,
            rgba(255, 255, 255, 0.05) 75%
            );
    background-size: 20px 20px;
    pointer-events: none;
}

.captcha-input-group {
    margin-top: 1rem;
}

.captcha-input-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--medium-text);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.captcha-input-wrapper {
    display: flex;
    gap: 10px;
}

.captcha-input {
    flex: 1;
    padding: 0.8rem 1rem;
    border: 1px solid var(--accent-brown);
    border-radius: 5px;
    background-color: rgba(245, 230, 211, 0.1);
    color: var(--light-text);
    font-size: 1rem;
    font-family: 'Courier New', monospace;
    letter-spacing: 1px;
    transition: all 0.3s;
}

.captcha-input:focus {
    outline: none;
    border-color: var(--accent-orange);
    box-shadow: 0 0 0 2px rgba(230, 126, 34, 0.3);
}

.captcha-submit {
    padding: 0.8rem 1.5rem;
    background-color: var(--accent-brown);
    color: var(--light-text);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    white-space: nowrap;
}

.captcha-submit:hover {
    background-color: var(--accent-orange);
    transform: translateY(-2px);
}

.captcha-error {
    color: var(--accent-red);
    font-size: 0.9rem;
    margin-top: 0.5rem;
    min-height: 1.2rem;
    display: none;
    align-items: center;
    gap: 5px;
}

.captcha-error.show {
    display: flex;
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.captcha-info {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 1rem;
    padding: 0.6rem;
    background-color: rgba(139, 69, 19, 0.1);
    border-radius: 4px;
    font-size: 0.85rem;
    color: var(--medium-text);
}

/* 登录按钮状态 */
.btn-login:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background-color: var(--accent-brown);
}

.btn-login:disabled:hover {
    transform: none;
    background-color: var(--accent-brown);
}

/* 错误状态 */
.input-error {
    border-color: var(--accent-red) !important;
    animation: shake 0.5s;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-5px); }
    40%, 80% { transform: translateX(5px); }
}

/* ========== 优化版验证码样式 ========== */
.captcha-display {
    background-color: rgba(26, 15, 10, 0.95);
    border: 2px solid var(--accent-brown);
    border-radius: 8px;
    text-align: center;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5);
}

.captcha-code {
    font-family: 'Courier New', 'Consolas', monospace;
    font-weight: bold;
    letter-spacing: 8px;
    color: var(--light-text);
    text-shadow: 0 0 10px rgba(230, 126, 34, 0.8);
    user-select: none;
    position: relative;
    z-index: 2;
    padding: 1.5rem 2rem;
    display: flex;
    gap: 15px;
}

/* 字符容器 */
.captcha-char {
    display: inline-block;
    min-width: 40px;
    text-align: center;
    position: relative;
}

/* 干扰线样式 - 增强版 */
.interference-line {
    position: absolute;
    background-color: rgba(230, 126, 34, 0.4);
    transform-origin: center;
    border-radius: 1px;
    box-shadow: 0 0 3px rgba(230, 126, 34, 0.6);
}

.interference-line.thick {
    height: 3px;
    background-color: rgba(192, 57, 43, 0.5);
    box-shadow: 0 0 5px rgba(192, 57, 43, 0.7);
}

.interference-line.dashed {
    background: repeating-linear-gradient(
            90deg,
            transparent,
            transparent 4px,
            rgba(230, 126, 34, 0.6) 4px,
            rgba(230, 126, 34, 0.6) 8px
    );
}

/* 噪点效果 - 增强版 */
.captcha-noise {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
            radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.4) 2px, transparent 2px),
            radial-gradient(circle at 30% 40%, rgba(255, 255, 255, 0.3) 1px, transparent 1px),
            radial-gradient(circle at 50% 60%, rgba(255, 255, 255, 0.5) 2px, transparent 2px),
            radial-gradient(circle at 70% 80%, rgba(255, 255, 255, 0.3) 1px, transparent 1px),
            radial-gradient(circle at 90% 10%, rgba(255, 255, 255, 0.4) 2px, transparent 2px);
    background-size: 150px 150px, 100px 100px, 120px 120px, 80px 80px, 130px 130px;
    opacity: 0.4;
    z-index: 1;
    pointer-events: none;
}

/* 网格干扰 */
.captcha-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
            linear-gradient(rgba(230, 126, 34, 0.1) 1px, transparent 1px),
            linear-gradient(90deg, rgba(230, 126, 34, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.3;
    z-index: 1;
    pointer-events: none;
}

/* 验证码刷新按钮动画 */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.refreshing {
    animation: spin 0.5s linear;
}

/* 字符抖动动画 */
@keyframes charShake {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(-1px, 1px) rotate(-0.5deg); }
    50% { transform: translate(0, -1px) rotate(0deg); }
    75% { transform: translate(1px, 1px) rotate(0.5deg); }
}

.char-shake {
    animation: charShake 0.3s ease-in-out infinite;
}

/* 字符模糊效果 */
.char-blur {
    filter: blur(0.3px);
    opacity: 0.9;
}

/* 字符发光效果 */
.char-glow {
    text-shadow: 0 0 8px rgba(230, 126, 34, 0.9),
    0 0 12px rgba(230, 126, 34, 0.6);
}

/* 难度指示器 */
.captcha-difficulty {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 0.8rem;
    font-size: 0.9rem;
    color: var(--medium-text);
    justify-content: center;
}

.difficulty-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--accent-brown);
    transition: all 0.3s;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}

.difficulty-dot.active {
    background-color: var(--accent-orange);
    transform: scale(1.3);
    box-shadow: 0 0 8px rgba(230, 126, 34, 0.6);
}

/* 验证码信息标签 */
.captcha-difficulty-label {
    background-color: rgba(139, 69, 19, 0.3);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.8rem;
    color: var(--warning);
    border: 1px solid var(--accent-brown);
}

/* 在现有的CSS文件末尾添加以下内容 */

/* ========== 页面平滑过渡效果 ========== */

/* 页面过渡容器 */
.site-container {
    position: relative;
    overflow-x: hidden;
}

/* 主要内容区域过渡效果 */
.main-content {
    animation: pageFadeIn 0.6s ease-out;
    transition: transform 0.5s ease, opacity 0.5s ease;
}

/* 页面淡入动画 */
@keyframes pageFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 页面切换时的淡出效果 */
.page-leaving .main-content {
    opacity: 0;
    transform: translateY(-20px);
}

/* 卡片内容延迟显示 */
.content-card {
    animation: cardSlideUp 0.6s ease-out;
    animation-fill-mode: both;
}

.content-card:nth-child(1) { animation-delay: 0.1s; }
.content-card:nth-child(2) { animation-delay: 0.2s; }
.content-card:nth-child(3) { animation-delay: 0.3s; }
.content-card:nth-child(4) { animation-delay: 0.4s; }
.content-card:nth-child(5) { animation-delay: 0.5s; }

@keyframes cardSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 页面导航按钮过渡 */
.nav-button {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.nav-button::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.nav-button:hover::after {
    left: 100%;
}

/* 导航栏链接点击效果 */
.nav-links a {
    position: relative;
    overflow: hidden;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--accent-orange);
    transition: width 0.3s ease;
}

.nav-links a.active::after,
.nav-links a:hover::after {
    width: 100%;
}

/* ========== 主题化滚动条 ========== */

/* 应用于所有可滚动元素 */
.main-content,
.game-logo,
.content-card,
.feature-card,
.character-card,
.boss-card,
.resource-category {
    scrollbar-width: thin;
    scrollbar-color: var(--accent-orange) rgba(26, 15, 10, 0.3);
}

/* Webkit浏览器滚动条样式 */
.main-content::-webkit-scrollbar,
.game-logo::-webkit-scrollbar,
.content-card::-webkit-scrollbar,
.feature-card::-webkit-scrollbar,
.character-card::-webkit-scrollbar,
.boss-card::-webkit-scrollbar,
.resource-category::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

/* 滚动条轨道 */
.main-content::-webkit-scrollbar-track,
.game-logo::-webkit-scrollbar-track,
.content-card::-webkit-scrollbar-track,
.feature-card::-webkit-scrollbar-track,
.character-card::-webkit-scrollbar-track,
.boss-card::-webkit-scrollbar-track,
.resource-category::-webkit-scrollbar-track {
    background: rgba(26, 15, 10, 0.3);
    border-radius: 5px;
    margin: 4px;
}

/* 滚动条滑块 */
.main-content::-webkit-scrollbar-thumb,
.game-logo::-webkit-scrollbar-thumb,
.content-card::-webkit-scrollbar-thumb,
.feature-card::-webkit-scrollbar-thumb,
.character-card::-webkit-scrollbar-thumb,
.boss-card::-webkit-scrollbar-thumb,
.resource-category::-webkit-scrollbar-thumb {
    background: linear-gradient(
            45deg,
            var(--accent-brown),
            var(--accent-orange),
            var(--warning)
    );
    border-radius: 5px;
    border: 2px solid rgba(26, 15, 10, 0.5);
    box-shadow: 0 0 5px rgba(230, 126, 34, 0.4);
    transition: all 0.3s ease;
}

/* 滚动条滑块悬停效果 */
.main-content::-webkit-scrollbar-thumb:hover,
.game-logo::-webkit-scrollbar-thumb:hover,
.content-card::-webkit-scrollbar-thumb:hover,
.feature-card::-webkit-scrollbar-thumb:hover,
.character-card::-webkit-scrollbar-thumb:hover,
.boss-card::-webkit-scrollbar-thumb:hover,
.resource-category::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(
            45deg,
            var(--accent-orange),
            var(--warning),
            #ff9800
    );
    box-shadow: 0 0 8px rgba(243, 156, 18, 0.6);
    border-color: rgba(230, 126, 34, 0.3);
}

/* 滚动条按钮 */
.main-content::-webkit-scrollbar-button,
.game-logo::-webkit-scrollbar-button {
    display: none;
}

/* 滚动条角落 */
.main-content::-webkit-scrollbar-corner,
.game-logo::-webkit-scrollbar-corner {
    background: transparent;
}

/* 特殊滚动条样式 - 用于内容卡片内部滚动 */
.card-content,
.character-body,
.boss-strategy,
.resource-list {
    max-height: 200px;
    overflow-y: auto;
    padding-right: 5px;
    margin-right: -5px;
}

/* 在现有的CSS中找到.content-grid相关部分，修改如下： */

/* 内容网格布局 - 修改为单列布局 */
.content-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.content-card {
    background-color: rgba(44, 24, 16, 0.7);
    border-radius: 8px;
    padding: 1.5rem;
    border: 1px solid var(--accent-brown);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s, box-shadow 0.3s;
    width: 100%;
    margin-bottom: 1.5rem;
    min-height: 200px;
    display: flex;
    flex-direction: column;
}

/* 保持原有的悬停效果 */
.content-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    border-color: var(--accent-orange);
}

/* 卡片头部样式 */
.card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid var(--accent-brown);
}

.card-header h2 {
    margin-bottom: 0;
    font-size: 1.8rem;
    color: var(--warning);
}

.card-header i {
    font-size: 1.5rem;
    color: var(--accent-orange);
    background-color: rgba(230, 126, 34, 0.1);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 卡片内容样式 */
.card-content {
    line-height: 1.6;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-content ul {
    padding-left: 1.5rem;
    margin-top: 0.5rem;
    flex-grow: 1;
}

.card-content li {
    margin-bottom: 0.5rem;
    color: var(--medium-text);
    line-height: 1.5;
}

.card-content li strong {
    color: var(--accent-orange);
    font-weight: 600;
}

/* 为每个卡片添加独特的边框颜色 */
.content-card:nth-child(1) {
    border-left: 4px solid var(--accent-orange);
}

.content-card:nth-child(2) {
    border-left: 4px solid var(--accent-orange);
}

.content-card:nth-child(3) {
    border-left: 4px solid var(--accent-orange);
}

.content-card:nth-child(4) {
    border-left: 4px solid var(--accent-orange);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .content-card {
        padding: 1.2rem;
        min-height: auto;
    }

    .card-header h2 {
        font-size: 1.5rem;
    }

    .card-header i {
        width: 35px;
        height: 35px;
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .content-card {
        padding: 1rem;
    }

    .card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .card-header h2 {
        font-size: 1.3rem;
    }
}

/* 角色卡片网格 */
.characters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.character-card {
    background-color: rgba(44, 24, 16, 0.7);
    border-radius: 8px;
    padding: 1.5rem;
    border: 1px solid var(--accent-brown);
    transition: all 0.3s ease;
    min-height: 280px;
    display: flex;
    flex-direction: column;
}

.character-card:hover {
    transform: translateY(-5px) scale(1.02);
    border-color: var(--accent-orange);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.character-header {
    border-bottom: 2px solid var(--accent-orange);
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

.character-header h3 {
    color: var(--warning);
    font-size: 1.4rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.character-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
}

.stat-item {
    text-align: center;
    background: rgba(139, 69, 19, 0.2);
    padding: 0.8rem;
    border-radius: 6px;
    border: 1px solid rgba(139, 69, 19, 0.3);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-2px);
    border-color: var(--accent-orange);
    background: rgba(230, 126, 34, 0.2);
}

.stat-value {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--accent-orange);
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--medium-text);
    display: block;
    margin-top: 0.3rem;
}

/* 页面导航 */
.page-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--accent-brown);
}

.nav-button {
    padding: 0.8rem 1.5rem;
    background-color: rgba(139, 69, 19, 0.3);
    color: var(--light-text);
    border-radius: 6px;
    border: 1px solid var(--accent-brown);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.nav-button:hover {
    background-color: rgba(230, 126, 34, 0.3);
    border-color: var(--accent-orange);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(230, 126, 34, 0.2);
}

.nav-button.prev {
    margin-right: auto;
}

.nav-button.next {
    margin-left: auto;
}

/* 页面标题动画 */
.page-header h1 {
    position: relative;
    padding-bottom: 1rem;
    overflow: hidden;
}

.page-header h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent-orange), transparent);
    animation: titleUnderline 2s ease-in-out infinite;
}

@keyframes titleUnderline {
    0%, 100% { width: 100px; }
    50% { width: 200px; }
}

/* 移动端优化 */
@media (max-width: 768px) {
    .main-content {
        padding: 1.5rem 1rem;
    }

    .content-grid,
    .characters-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .character-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
    }

    .page-navigation {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-button {
        width: 100%;
        justify-content: center;
    }

    .nav-button.prev,
    .nav-button.next {
        margin: 0;
    }

    /* 移动端滚动条稍细 */
    .main-content::-webkit-scrollbar,
    .game-logo::-webkit-scrollbar {
        width: 6px;
    }
}

/* 平滑滚动行为 */
html {
    scroll-behavior: smooth;
}

/* 防止滚动条闪烁 */
body {
    overflow-x: hidden;
}

/* 加载指示器（可选） */
.loading-indicator {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-brown), var(--accent-orange), var(--warning));
    transform: translateX(-100%);
    z-index: 9999;
    transition: transform 0.3s ease;
}

.loading-indicator.active {
    animation: loading 1s ease-in-out infinite;
}

@keyframes loading {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* 在CSS中添加以下样式 */

/* ========== 引导页面图片区域 ========== */

/* 横幅图片容器 */
.guide-banner {
    width: 100%;
    height: 300px;
    border-radius: 10px;
    overflow: hidden;
    margin: 2rem auto 3rem;
    position: relative;
    border: 2px solid var(--accent-brown);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    transition: all 0.5s ease;
}

.guide-banner:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
    border-color: var(--accent-orange);
}

/* 图片占位符（实际使用时替换为背景图片） */
.banner-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
    rgba(26, 15, 10, 0.8),
    rgba(44, 24, 16, 0.9)),
    url('../assets/images/guide-banner.jpg') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* 图片加载前的占位样式 */
.banner-image.placeholder {
    background: linear-gradient(45deg,
    rgba(139, 69, 19, 0.2),
    rgba(230, 126, 34, 0.2));
    position: relative;
}

.banner-image.placeholder::before {
    content: '《饥荒新手指南》';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--light-text);
    font-size: 2.5rem;
    font-family: 'Cinzel', serif;
    font-weight: bold;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    z-index: 1;
    width: 100%;
    padding: 0 1rem;
}

/* 图片装饰元素 */
.banner-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.banner-decoration::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg,
    transparent,
    var(--accent-orange),
    var(--warning),
    var(--accent-orange),
    transparent);
    animation: borderGlow 3s ease-in-out infinite;
}

.banner-decoration::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg,
    transparent,
    var(--warning),
    var(--accent-orange),
    var(--warning),
    transparent);
    animation: borderGlow 3s ease-in-out infinite reverse;
}

@keyframes borderGlow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* 图片说明文字 */
.banner-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 1.5rem 2rem;
    color: var(--light-text);
    font-size: 0.9rem;
    line-height: 1.5;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.guide-banner:hover .banner-caption {
    opacity: 1;
}

.banner-caption p {
    margin: 0;
    text-align: center;
    font-style: italic;
    color: var(--medium-text);
}

/* 响应式调整 */
@media (max-width: 1024px) {
    .guide-banner {
        height: 250px;
        margin: 1.5rem auto 2.5rem;
    }

    .banner-image.placeholder::before {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .guide-banner {
        height: 200px;
        margin: 1rem auto 2rem;
        border-radius: 8px;
    }

    .banner-image.placeholder::before {
        font-size: 1.5rem;
    }

    .banner-caption {
        padding: 1rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .guide-banner {
        height: 150px;
        margin: 0.5rem auto 1.5rem;
    }

    .banner-image.placeholder::before {
        font-size: 1.2rem;
    }
}

/* ========== 角色介绍页面样式 ========== */

/* 角色列表容器 */
.characters-list {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    margin-bottom: 3rem;
}

/* 单个角色卡片 */
.character-item {
    background-color: rgba(44, 24, 16, 0.7);
    border-radius: 10px;
    padding: 1.5rem;
    border: 1px solid var(--accent-brown);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    display: flex;
    gap: 1.5rem;
    min-height: 300px;
    position: relative;
    overflow: hidden;
}

.character-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    border-color: var(--accent-orange);
}

/* 角色图片区域 */
.character-image {
    flex: 0 0 200px; /* 固定宽度 */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

/* 50x50正方形头像 */
.character-avatar {
    width: 150px;
    height: 150px;
    border-radius: 10px;
    overflow: hidden;
    border: 3px solid var(--accent-brown);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    background: linear-gradient(135deg,
    rgba(139, 69, 19, 0.2),
    rgba(230, 126, 34, 0.3));
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.character-item:hover .character-avatar {
    border-color: var(--accent-orange);
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(230, 126, 34, 0.3);
}

.character-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.character-item:hover .character-avatar img {
    transform: scale(1.1);
}

/* 角色名称标签 */
.character-name-tag {
    text-align: center;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg,
    var(--accent-brown),
    var(--accent-orange));
    border-radius: 5px;
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
    font-family: 'Cinzel', serif;
    min-width: 150px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
}

/* 角色详细信息区域 */
.character-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

/* 信息区块通用样式 */
.info-section {
    background-color: rgba(26, 15, 10, 0.4);
    border-radius: 6px;
    padding: 1rem;
    border-left: 3px solid var(--accent-orange);
    transition: all 0.3s ease;
}

.character-item:hover .info-section {
    border-left-color: var(--warning);
    background-color: rgba(26, 15, 10, 0.5);
}

/* 信息标题 */
.info-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.8rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(139, 69, 19, 0.3);
}

.info-header h3 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--warning);
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-header i {
    color: var(--accent-orange);
    font-size: 1rem;
    width: 20px;
    text-align: center;
}

/* 信息内容 */
.info-content {
    color: var(--medium-text);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* 角色信息标签 */
.character-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.character-tag {
    background-color: rgba(139, 69, 19, 0.3);
    color: var(--light-text);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    border: 1px solid rgba(139, 69, 19, 0.5);
    transition: all 0.3s ease;
}

.character-item:hover .character-tag {
    background-color: rgba(230, 126, 34, 0.3);
    border-color: var(--accent-orange);
    transform: translateY(-2px);
}

/* 特殊样式 - 座右铭 */
.motto-section {
    border-left-color: #8bc34a;
    background-color: rgba(139, 195, 74, 0.1);
}

.motto-section .info-header h3 {
    color: #8bc34a;
}

/* 特殊样式 - 故事起源 */
.origin-section {
    border-left-color: #2196f3;
    background-color: rgba(33, 150, 243, 0.1);
}

.origin-section .info-header h3 {
    color: #2196f3;
}

/* 特殊样式 - 特殊能力 */
.ability-section {
    border-left-color: #9c27b0;
    background-color: rgba(156, 39, 176, 0.1);
}

.ability-section .info-header h3 {
    color: #9c27b0;
}

/* 特殊样式 - 角色评价 */
.review-section {
    border-left-color: #ff9800;
    background-color: rgba(255, 152, 0, 0.1);
}

.review-section .info-header h3 {
    color: #ff9800;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .character-item {
        flex-direction: column;
        min-height: auto;
        gap: 1rem;
    }

    .character-image {
        flex: none;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .character-avatar {
        width: 120px;
        height: 120px;
    }

    .character-name-tag {
        flex: 1;
        margin-left: 1rem;
    }

    .character-details {
        gap: 1rem;
    }

    .info-section {
        padding: 0.8rem;
    }
}

@media (max-width: 480px) {
    .character-image {
        flex-direction: column;
        text-align: center;
    }

    .character-name-tag {
        margin-left: 0;
        width: 100%;
    }

    .character-avatar {
        width: 100px;
        height: 100px;
    }
}

/* ========== 生存技巧页面样式 ========== */

/* 生存技巧列表容器 */
.survival-skills-list {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    margin-bottom: 3rem;
}

/* 单个生存技巧卡片 */
.skill-item {
    background-color: rgba(44, 24, 16, 0.7);
    border-radius: 10px;
    padding: 1.5rem;
    border: 1px solid var(--accent-brown);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    display: flex;
    gap: 1.5rem;
    min-height: 280px;
    position: relative;
    overflow: hidden;
}

.skill-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    border-color: var(--accent-orange);
}

/* 技巧图标区域 */
.skill-icon-area {
    flex: 0 0 150px; /* 固定宽度 */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

/* 技巧图标容器 */
.skill-icon-container {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--accent-brown);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    background: linear-gradient(135deg,
    rgba(139, 69, 19, 0.2),
    rgba(230, 126, 34, 0.3));
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.skill-item:hover .skill-icon-container {
    border-color: var(--accent-orange);
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 15px rgba(230, 126, 34, 0.3);
}

.skill-icon {
    font-size: 3rem;
    color: var(--accent-orange);
    transition: all 0.3s ease;
}

.skill-item:hover .skill-icon {
    color: var(--warning);
    transform: scale(1.2);
}

/* 技巧名称标签 */
.skill-name-tag {
    text-align: center;
    padding: 0.8rem 1rem;
    background: linear-gradient(135deg,
    var(--accent-brown),
    var(--accent-orange));
    border-radius: 8px;
    color: white;
    font-weight: bold;
    font-size: 1.1rem;
    font-family: 'Cinzel', serif;
    min-width: 150px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
    line-height: 1.4;
}

/* 技巧详细信息区域 */
.skill-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

/* 技巧描述 */
.skill-description {
    background-color: rgba(26, 15, 10, 0.4);
    border-radius: 6px;
    padding: 1rem;
    border-left: 3px solid var(--accent-orange);
    line-height: 1.6;
    color: var(--medium-text);
    transition: all 0.3s ease;
}

.skill-item:hover .skill-description {
    border-left-color: var(--warning);
    background-color: rgba(26, 15, 10, 0.5);
}

/* 关键要点 */
.key-points {
    background-color: rgba(139, 69, 19, 0.2);
    border-radius: 6px;
    padding: 1rem;
    border: 1px solid rgba(139, 69, 19, 0.3);
}

.key-points h4 {
    color: var(--warning);
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.key-points h4 i {
    color: var(--accent-orange);
}

.key-points ul {
    padding-left: 1.5rem;
    margin: 0;
}

.key-points li {
    margin-bottom: 0.5rem;
    color: var(--medium-text);
    line-height: 1.5;
}

.key-points li strong {
    color: var(--accent-orange);
    font-weight: 600;
}

/* 进阶技巧 */
.advanced-tips {
    background-color: rgba(192, 57, 43, 0.1);
    border-radius: 6px;
    padding: 1rem;
    border-left: 3px solid var(--accent-red);
    margin-top: 0.5rem;
}

.advanced-tips h4 {
    color: var(--accent-red);
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.advanced-tips p {
    color: var(--medium-text);
    line-height: 1.5;
    margin: 0;
    font-size: 0.95rem;
}

/* 技巧难度指示器 */
.skill-difficulty {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-top: 0.8rem;
    padding: 0.5rem 0.8rem;
    background-color: rgba(26, 15, 10, 0.4);
    border-radius: 5px;
    border: 1px solid rgba(139, 69, 19, 0.3);
}

.difficulty-label {
    color: var(--medium-text);
    font-size: 0.9rem;
    font-weight: 500;
}

.difficulty-stars {
    display: flex;
    gap: 3px;
}

.difficulty-star {
    color: var(--accent-brown);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.difficulty-star.filled {
    color: var(--warning);
}

/* 技巧分类标签 */
.skill-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.8rem;
}

.skill-category {
    background-color: rgba(139, 69, 19, 0.3);
    color: var(--light-text);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    border: 1px solid rgba(139, 69, 19, 0.5);
    transition: all 0.3s ease;
}

.skill-item:hover .skill-category {
    background-color: rgba(230, 126, 34, 0.3);
    border-color: var(--accent-orange);
    transform: translateY(-2px);
}

/* 技巧卡片交替样式 */
.skill-item:nth-child(odd) {
    background: linear-gradient(135deg,
    rgba(44, 24, 16, 0.7),
    rgba(26, 15, 10, 0.8));
}

.skill-item:nth-child(even) {
    background: linear-gradient(135deg,
    rgba(54, 34, 26, 0.7),
    rgba(36, 25, 20, 0.8));
}

/* 技巧之间的分隔线 */
.skill-item + .skill-item {
    border-top: 1px dashed rgba(139, 69, 19, 0.3);
    padding-top: 2.5rem;
    margin-top: 0.5rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .skill-item {
        flex-direction: column;
        min-height: auto;
        gap: 1rem;
    }

    .skill-icon-area {
        flex: none;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .skill-icon-container {
        width: 80px;
        height: 80px;
    }

    .skill-icon {
        font-size: 2.5rem;
    }

    .skill-name-tag {
        flex: 1;
        margin-left: 1rem;
    }

    .skill-details {
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .skill-icon-area {
        flex-direction: column;
        text-align: center;
    }

    .skill-name-tag {
        margin-left: 0;
        width: 100%;
    }

    .skill-icon-container {
        width: 70px;
        height: 70px;
    }

    .skill-icon {
        font-size: 2rem;
    }
}

/* ========== BOSS攻略页面样式 ========== */

/* BOSS介绍板块 */
.boss-intro-section {
    background: linear-gradient(135deg,
    rgba(44, 24, 16, 0.8),
    rgba(26, 15, 10, 0.9));
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 3rem;
    border: 2px solid var(--accent-brown);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.boss-intro-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg,
    var(--accent-brown),
    var(--accent-orange),
    var(--warning));
    animation: bossBorder 3s ease-in-out infinite;
}

@keyframes bossBorder {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.intro-header {
    text-align: center;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.intro-header h2 {
    color: var(--warning);
    font-size: 2rem;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.intro-header p {
    color: var(--medium-text);
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
}

.intro-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.intro-point {
    background-color: rgba(139, 69, 19, 0.2);
    border-radius: 8px;
    padding: 1.2rem;
    border-left: 3px solid var(--accent-orange);
    transition: all 0.3s ease;
}

.intro-point:hover {
    transform: translateY(-3px);
    background-color: rgba(230, 126, 34, 0.2);
    border-left-color: var(--warning);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.intro-point h3 {
    color: var(--warning);
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.intro-point p {
    color: var(--medium-text);
    line-height: 1.6;
    margin: 0;
}

.intro-warning {
    background: linear-gradient(135deg,
    rgba(192, 57, 43, 0.2),
    rgba(192, 57, 43, 0.1));
    border: 2px solid rgba(192, 57, 43, 0.4);
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    margin-top: 1.5rem;
}

.intro-warning p {
    color: var(--light-text);
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.intro-warning i {
    color: var(--accent-red);
    font-size: 1.3rem;
}

/* BOSS列表容器 */
.boss-list {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    margin-bottom: 3rem;
}

/* 单个BOSS卡片 */
.boss-item {
    background: linear-gradient(135deg,
    rgba(44, 24, 16, 0.7),
    rgba(26, 15, 10, 0.8));
    border-radius: 10px;
    padding: 1.5rem;
    border: 2px solid var(--accent-brown);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    display: flex;
    gap: 1.5rem;
    min-height: 320px;
    position: relative;
    overflow: hidden;
}

.boss-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    border-color: var(--accent-orange);
}

/* BOSS图标区域 */
.boss-icon-area {
    flex: 0 0 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

/* BOSS头像容器 */
/* 重新设计BOSS头像容器 */
.boss-avatar {
    width: 150px;           /* 显示区域大小 */
    height: 150px;
    border-radius: 50%;     /* 圆形显示区域 */
    border: 3px solid var(--accent-brown);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;       /* 裁剪超出部分 */
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(139, 69, 19, 0.2); /* 后备背景色 */
    transition: all 0.3s ease;
}

/* 图片样式 - 关键调整 */
.boss-image {
    width: 180%;            /* 放大图片确保填充 */
    height: 180%;           /* 放大图片确保填充 */
    object-fit: cover;      /* 覆盖整个容器 */
    object-position: center 30%; /* 关键：调整图片位置，让头部居中 */
    transition: all 0.3s ease;
    filter: brightness(0.9) contrast(1.1);
}

/* 悬停效果 */
.boss-item:hover .boss-avatar {
    border-color: var(--accent-orange);
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 15px rgba(230, 126, 34, 0.3);
}

.boss-item:hover .boss-image {
    transform: scale(0.6);  /* 悬停时再放大一点 */
    filter: brightness(1.1) contrast(1.2);
}

/* 季节标签 */
.season-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    border: 2px solid white;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.season-autumn { background: linear-gradient(135deg, #8bc34a, #4caf50); }
.season-winter { background: linear-gradient(135deg, #2196f3, #03a9f4); }
.season-spring { background: linear-gradient(135deg, #9c27b0, #673ab7); }
.season-summer { background: linear-gradient(135deg, #ff9800, #f44336); }

/* BOSS名称标签 */
.boss-name-tag {
    text-align: center;
    padding: 0.8rem 1rem;
    background: linear-gradient(135deg,
    var(--accent-brown),
    var(--accent-orange));
    border-radius: 8px;
    color: white;
    font-weight: bold;
    font-size: 1.3rem;
    font-family: 'Cinzel', serif;
    min-width: 150px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
    line-height: 1.4;
}

/* BOSS详细信息区域 */
.boss-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

/* 基本信息 */
.boss-basic-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.info-block {
    background-color: rgba(26, 15, 10, 0.4);
    border-radius: 6px;
    padding: 0.8rem;
    border-left: 3px solid var(--accent-orange);
}

.info-block h4 {
    color: var(--warning);
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.info-block p {
    color: var(--light-text);
    font-size: 1rem;
    font-weight: bold;
    margin: 0;
}

/* 战斗策略 */
.strategy-section {
    background-color: rgba(44, 24, 16, 0.6);
    border-radius: 6px;
    padding: 1rem;
    border: 1px solid rgba(139, 69, 19, 0.3);
}

.strategy-section h3 {
    color: var(--warning);
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.strategy-points {
    padding-left: 1.5rem;
    margin: 0;
}

.strategy-points li {
    margin-bottom: 0.5rem;
    color: var(--medium-text);
    line-height: 1.5;
}

/* 战利品 */
.loot-section {
    background-color: rgba(139, 69, 19, 0.2);
    border-radius: 6px;
    padding: 1rem;
    border-left: 3px solid #8bc34a;
}

.loot-section h3 {
    color: #8bc34a;
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.loot-items {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.loot-item {
    background-color: rgba(139, 69, 19, 0.3);
    color: var(--light-text);
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    font-size: 0.85rem;
    border: 1px solid rgba(139, 69, 19, 0.5);
    transition: all 0.3s ease;
}

.loot-item:hover {
    background-color: rgba(139, 69, 19, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
}

/* 难度指示器 */
.boss-difficulty {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 0.8rem;
    padding-top: 0.8rem;
    border-top: 1px solid rgba(139, 69, 19, 0.3);
}

.difficulty-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.difficulty-label {
    color: var(--medium-text);
    font-size: 0.9rem;
    font-weight: 500;
}

.difficulty-value {
    color: var(--warning);
    font-weight: bold;
    font-size: 1.1rem;
}

/* 特殊提示 */
.tip-section {
    background-color: rgba(192, 57, 43, 0.1);
    border-radius: 6px;
    padding: 0.8rem;
    border-left: 3px solid var(--accent-red);
    margin-top: 0.5rem;
}

.tip-section p {
    color: var(--medium-text);
    font-size: 0.9rem;
    margin: 0;
    font-style: italic;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .intro-content {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .boss-item {
        flex-direction: column;
        min-height: auto;
        gap: 1rem;
    }

    .boss-icon-area {
        flex: none;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .boss-avatar {
        width: 100px;
        height: 100px;
    }

    .boss-icon {
        font-size: 3rem;
    }

    .boss-name-tag {
        flex: 1;
        margin-left: 1rem;
    }

    .boss-basic-info {
        grid-template-columns: 1fr;
    }

    .boss-difficulty {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .boss-icon-area {
        flex-direction: column;
        text-align: center;
    }

    .boss-name-tag {
        margin-left: 0;
        width: 100%;
    }

    .boss-avatar {
        width: 80px;
        height: 80px;
    }

    .boss-icon {
        font-size: 2.5rem;
    }

    .season-badge {
        width: 30px;
        height: 30px;
        font-size: 1.2rem;
    }
}

/* ========== 简化版资源介绍页面样式 ========== */

/* 资源网格容器 */
.resources-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

/* 单个资源卡片 - 简化版 */
.resource-card {
    background-color: rgba(44, 24, 16, 0.7);
    border-radius: 8px;
    padding: 1.2rem;
    border: 1px solid var(--accent-brown);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
    min-height: 100px;
}

.resource-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    border-color: var(--accent-orange);
    background-color: rgba(44, 24, 16, 0.8);
}

/* 资源图片区域 - 固定64×64 */
.resource-img-box {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid var(--accent-brown);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg,
    rgba(139, 69, 19, 0.2),
    rgba(230, 126, 34, 0.3));
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.resource-card:hover .resource-img-box {
    border-color: var(--accent-orange);
    transform: scale(1.1) rotate(3deg);
    box-shadow: 0 5px 12px rgba(230, 126, 34, 0.3);
}

/* 资源图片 */
.resource-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 5px;
    transition: transform 0.3s ease;
}

.resource-card:hover .resource-img {
    transform: scale(1.2);
}

/* 图片加载失败时显示的图标 */
.resource-img-box.fallback {
    font-size: 2rem;
    color: var(--accent-orange);
}

/* 资源信息区域 - 简化 */
.resource-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* 资源标题行 */
.resource-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.3rem;
}

.resource-name {
    color: var(--accent-orange);
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
}

.resource-type {
    background-color: rgba(139, 69, 19, 0.3);
    color: var(--light-text);
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.75rem;
    border: 1px solid rgba(139, 69, 19, 0.5);
}

/* 资源描述 */
.resource-desc {
    color: var(--medium-text);
    line-height: 1.5;
    font-size: 0.95rem;
    margin: 0 0 0.5rem 0;
}

/* 资源关键信息 */
.resource-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 0.5rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--medium-text);
    font-size: 0.9rem;
}

.meta-item i {
    color: var(--accent-orange);
    width: 16px;
    text-align: center;
}

/* 获取方式列表 - 简化 */
.resource-get {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.3rem;
}

.get-tag {
    background-color: rgba(26, 15, 10, 0.4);
    color: var(--light-text);
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    font-size: 0.8rem;
    border-left: 2px solid #8bc34a;
}

/* 用途列表 - 简化 */
.resource-use {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.3rem;
}

.use-tag {
    background-color: rgba(139, 69, 19, 0.2);
    color: var(--light-text);
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    font-size: 0.8rem;
    border-left: 2px solid var(--accent-orange);
}

/* 重要性指示器 */
.resource-importance {
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px dashed rgba(139, 69, 19, 0.3);
}

.importance-label {
    color: var(--medium-text);
    font-size: 0.85rem;
    font-weight: 500;
    margin-right: 0.5rem;
}

.importance-star {
    color: var(--accent-brown);
    font-size: 0.9rem;
    margin-right: 2px;
}

.importance-star.filled {
    color: var(--warning);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .resource-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1rem;
    }

    .resource-header {
        flex-direction: column;
        align-items: center;
        gap: 0.3rem;
    }

    .resource-meta {
        justify-content: center;
    }

    .resource-get, .resource-use {
        justify-content: center;
    }
}

/* ========== 简化版角色抽取样式 ========== */

/* 抽取区域 */
.simple-draw-section {
    background: rgba(44, 24, 16, 0.8);
    border: 2px solid var(--accent-brown);
    border-radius: 10px;
    padding: 1.5rem;
    margin: 2rem auto 3rem;
    text-align: center;
    max-width: 500px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* 标题 */
.draw-header {
    margin-bottom: 1.5rem;
}

.draw-header h3 {
    color: var(--warning);
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.draw-header p {
    color: var(--medium-text);
    font-size: 0.9rem;
    margin: 0;
}

/* 抽取按钮 */
.draw-btn {
    background: linear-gradient(135deg, var(--accent-brown), var(--accent-orange));
    color: white;
    border: none;
    border-radius: 8px;
    padding: 0.8rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 1rem auto;
    min-width: 200px;
    box-shadow: 0 4px 10px rgba(230, 126, 34, 0.3);
}

.draw-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(230, 126, 34, 0.4);
    background: linear-gradient(135deg, var(--accent-orange), var(--warning));
}

.draw-btn:active {
    transform: translateY(0);
}

.draw-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* 结果区域 */
.result-box {
    background: rgba(26, 15, 10, 0.6);
    border: 1px solid rgba(139, 69, 19, 0.5);
    border-radius: 8px;
    padding: 1.5rem;
    margin-top: 1.5rem;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.result-box.show {
    opacity: 1;
}

/* 结果内容 */
.result-content {
    text-align: center;
}

.result-name {
    font-size: 2rem;
    font-weight: bold;
    color: var(--accent-orange);
    font-family: 'Cinzel', serif;
    margin-bottom: 0.5rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.result-subtitle {
    color: var(--medium-text);
    font-size: 0.9rem;
    font-style: italic;
}

/* 提示文字 */
.hint-text {
    margin-top: 1rem;
    font-size: 0.8rem;
    color: var(--medium-text);
    opacity: 0.7;
}

/* 响应式 */
@media (max-width: 768px) {
    .simple-draw-section {
        padding: 1.2rem;
        margin: 1.5rem auto 2rem;
    }

    .draw-header h3 {
        font-size: 1.2rem;
    }

    .result-name {
        font-size: 1.6rem;
    }
}

/* ========== 生存小贴士样式 ========== */

/* 小贴士区域 */
.survival-tips-section {
    background: rgba(44, 24, 16, 0.8);
    border: 2px solid var(--accent-brown);
    border-radius: 10px;
    padding: 1.5rem;
    margin: 2rem auto 3rem;
    text-align: center;
    max-width: 600px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.survival-tips-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #8bc34a, transparent);
    animation: tipsGlow 3s ease-in-out infinite;
}

@keyframes tipsGlow {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

/* 标题 */
.tips-header {
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.tips-header h3 {
    color: var(--warning);
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.tips-header p {
    color: var(--medium-text);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.4;
}

/* 获取按钮 */
.tips-btn {
    background: linear-gradient(135deg, #8bc34a, #4caf50);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 0.8rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 1rem auto;
    min-width: 180px;
    box-shadow: 0 4px 10px rgba(139, 195, 74, 0.3);
    position: relative;
    z-index: 1;
}

.tips-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(139, 195, 74, 0.4);
    background: linear-gradient(135deg, #4caf50, #2e7d32);
}

.tips-btn:active {
    transform: translateY(0);
}

.tips-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* 小贴士盒子 */
.tips-box {
    background: rgba(26, 15, 10, 0.7);
    border: 1px solid #8bc34a;
    border-radius: 8px;
    padding: 1.5rem;
    margin-top: 1.5rem;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.5s ease;
    position: relative;
    z-index: 1;
}

.tips-box.show {
    opacity: 1;
    transform: translateY(0);
}

/* 小贴士内容 */
.tips-content {
    text-align: center;
    width: 100%;
}

/* 小贴士文本 */
.tip-text {
    font-size: 1.1rem;
    color: var(--light-text);
    margin-bottom: 0.8rem;
    line-height: 1.5;
    font-weight: 500;
    padding: 0 1rem;
    position: relative;
}

.tip-text::before {
    content: '"';
    font-size: 2rem;
    color: #8bc34a;
    position: absolute;
    left: -5px;
    top: -10px;
    opacity: 0.5;
    font-family: serif;
}

.tip-text::after {
    content: '"';
    font-size: 2rem;
    color: #8bc34a;
    position: absolute;
    right: -5px;
    bottom: -20px;
    opacity: 0.5;
    font-family: serif;
}

/* 小贴士分类 */
.tip-category {
    display: inline-block;
    background: rgba(139, 195, 74, 0.2);
    color: #8bc34a;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    border: 1px solid rgba(139, 195, 74, 0.3);
    margin-top: 0.5rem;
}

/* 提示文字 */
.tips-hint {
    margin-top: 1rem;
    font-size: 0.8rem;
    color: var(--medium-text);
    opacity: 0.7;
    position: relative;
    z-index: 1;
}

/* 装饰元素 */
.tips-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    opacity: 0.1;
    z-index: 0;
}

.tips-decoration::before {
    content: '⚔';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 1.5rem;
    transform: rotate(-15deg);
}

.tips-decoration::after {
    content: '🍖';
    position: absolute;
    bottom: 20px;
    right: 20px;
    font-size: 1.5rem;
    transform: rotate(15deg);
}

/* 响应式 */
@media (max-width: 768px) {
    .survival-tips-section {
        padding: 1.2rem;
        margin: 1.5rem auto 2rem;
    }

    .tips-header h3 {
        font-size: 1.2rem;
    }

    .tip-text {
        font-size: 1rem;
        padding: 0 0.5rem;
    }

    .tips-btn {
        padding: 0.7rem 1.5rem;
        font-size: 1rem;
    }
}

/* ========== Steam购买按钮样式 ========== */

/* Steam购买区域 */
.steam-purchase-section {
    background: linear-gradient(135deg,
    rgba(28, 28, 28, 0.9),
    rgba(0, 102, 153, 0.9));
    border: 2px solid #1b2838;
    border-radius: 10px;
    padding: 1.8rem;
    margin: 2rem auto 3rem;
    text-align: center;
    max-width: 500px;
    box-shadow: 0 8px 20px rgba(0, 102, 153, 0.3);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.steam-purchase-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
            radial-gradient(circle at 20% 20%, rgba(0, 102, 153, 0.2) 0%, transparent 50%),
            radial-gradient(circle at 80% 80%, rgba(28, 28, 28, 0.3) 0%, transparent 50%);
    z-index: -1;
}

/* 标题 */
.steam-header {
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.steam-header h3 {
    color: #66c0f4;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.steam-header p {
    color: #c6d4df;
    font-size: 0.95rem;
    margin: 0;
    opacity: 0.9;
}

/* Steam购买按钮 */
.steam-btn {
    display: inline-block;
    background: linear-gradient(135deg, #1b2838, #2a475e);
    color: #c6d4df;
    text-decoration: none;
    border: none;
    border-radius: 8px;
    padding: 0;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    margin: 1rem auto;
    min-width: 220px;
}

.steam-btn .btn-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 1rem 2rem;
    position: relative;
    z-index: 2;
    background: linear-gradient(135deg, rgba(27, 40, 56, 0.9), rgba(42, 71, 94, 0.9));
    border-radius: 8px;
    transition: all 0.3s ease;
}

.steam-btn:hover .btn-content {
    background: linear-gradient(135deg, rgba(0, 102, 153, 0.9), rgba(0, 140, 210, 0.9));
    color: white;
    transform: scale(1.05);
}

.steam-btn:active .btn-content {
    transform: scale(0.98);
}

.steam-btn i {
    font-size: 1.3rem;
    transition: all 0.3s ease;
}

.steam-btn:hover i {
    color: white;
    transform: rotate(15deg) scale(1.2);
}

/* 星星特效容器 */
.stars-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.steam-btn:hover .stars-effect {
    opacity: 1;
}

/* 单个星星 */
.star {
    position: absolute;
    width: 4px;
    height: 4px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 0 6px 2px white;
    animation: starFloat 1s ease-out forwards;
    opacity: 0;
}

/* 星星浮动动画 */
@keyframes starFloat {
    0% {
        transform: translate(var(--start-x), var(--start-y)) scale(0.3);
        opacity: 0;
    }
    20% {
        opacity: 1;
    }
    100% {
        transform: translate(var(--end-x), var(--end-y)) scale(1);
        opacity: 0;
    }
}

/* 按钮光晕效果 */
.steam-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(102, 192, 244, 0.4) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
    z-index: 0;
    border-radius: 50%;
}

.steam-btn:hover::before {
    width: 300px;
    height: 300px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

/* 按钮边框光效 */
.steam-btn::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg,
    #66c0f4, #2a475e, #1b2838, #66c0f4);
    border-radius: 10px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.steam-btn:hover::after {
    opacity: 1;
    animation: borderRotate 3s linear infinite;
}

@keyframes borderRotate {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

/* 游戏特性列表 */
.steam-info {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(102, 192, 244, 0.2);
    text-align: left;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
}

.steam-info p {
    color: #c6d4df;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.steam-info p:hover {
    opacity: 1;
    transform: translateX(5px);
}

.steam-info i {
    color: #66c0f4;
    width: 16px;
}

/* 背景装饰 */
.steam-bg-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    opacity: 0.1;
    z-index: 0;
}

.steam-bg-decoration::before {
    content: '🌲';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 1.5rem;
    transform: rotate(-15deg);
}

.steam-bg-decoration::after {
    content: '🔥';
    position: absolute;
    bottom: 20px;
    right: 20px;
    font-size: 1.5rem;
    transform: rotate(15deg);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .steam-purchase-section {
        padding: 1.5rem;
        margin: 1.5rem auto 2rem;
    }

    .steam-header h3 {
        font-size: 1.3rem;
    }

    .steam-btn .btn-content {
        padding: 0.9rem 1.5rem;
        font-size: 1rem;
    }

    .steam-btn:hover .btn-content {
        transform: scale(1.03);
    }
}