/* 基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Noto Sans SC', 'Roboto', sans-serif;
}

:root {
    --primary-color: #00c4cc;
    --primary-color-rgb: 0, 196, 204;
    --primary-dark: #00a0a8;
    --primary-dark-rgb: 0, 160, 168;
    --secondary-color: #7d26cd;
    --secondary-color-rgb: 125, 38, 205;
    --text-light: #ffffff;
    --text-dark: #1a1a2e;
    --text-gray: #888888;
    --background-dark: #12151e;
    --background-card: #1a1e2c;
    --background-light: #242937;
    --border-color: #313654;
    --gradient-primary: linear-gradient(135deg, #00c4cc 0%, #7d26cd 100%);
}

body {
    background: var(--background-dark);
    color: var(--text-light);
}

/* 头部样式 */
.header {
    background: rgba(10, 10, 10, 0.8);
    padding: 20px;
    text-align: center;
    border-bottom: 3px solid var(--primary-color);
    box-shadow: 0 0 20px rgba(var(--primary-color-rgb), 0.3);
    backdrop-filter: blur(10px);
    position: relative;
}

.logo {
    font-family: 'Press Start 2P', cursive;
    font-size: 2.5em;
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(var(--primary-color-rgb), 0.5),
                 0 0 20px rgba(var(--primary-color-rgb), 0.3),
                 0 0 30px rgba(var(--primary-color-rgb), 0.2);
}

.guide-text {
    font-size: 0.5em;
    display: block;
    margin-top: 5px;
    letter-spacing: 2px;
}

.logo-link {
    text-decoration: none;
    display: inline-block;
}

/* 英雄区域 */
.hero {
    min-height: 55vh;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),
                url('../img/bg.webp') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 30px 20px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 35%, rgba(var(--primary-color-rgb), 0.15) 0%, transparent 40%),
        radial-gradient(circle at 80% 20%, rgba(var(--secondary-color-rgb), 0.1) 0%, transparent 40%);
    z-index: 0;
    pointer-events: none;
}

.hero-content {
    max-width: 1200px;
    width: 100%;
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    background: rgba(26, 30, 44, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 25px;
    border: 1px solid rgba(var(--primary-color-rgb), 0.3);
    box-shadow: 0 0 40px rgba(var(--primary-color-rgb), 0.2);
    animation: fadeInUp 0.8s ease-out;
}

.hero-main {
    max-width: 800px;
    text-align: center;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 100%;
}

.hero h2 {
    font-size: 2.6em;
    margin-bottom: 15px;
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(var(--primary-color-rgb), 0.5),
                 0 0 20px rgba(var(--primary-color-rgb), 0.3);
    font-family: 'Press Start 2P', cursive;
    letter-spacing: 1px;
    animation: glowText 3s infinite alternate;
}

@keyframes glowText {
    0% {
        text-shadow: 0 0 10px rgba(var(--primary-color-rgb), 0.5),
                     0 0 20px rgba(var(--primary-color-rgb), 0.3);
    }
    100% {
        text-shadow: 0 0 15px rgba(var(--primary-color-rgb), 0.7),
                     0 0 30px rgba(var(--primary-color-rgb), 0.5);
    }
}

.hero p {
    color: var(--text-light);
    line-height: 1.6;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
    margin-bottom: 10px;
    font-size: 1.1em;
    animation: fadeIn 1s ease-out 0.3s both;
}

.highlight-text {
    font-weight: 700;
    color: var(--text-light);
    background: rgba(var(--primary-color-rgb), 0.2);
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid rgba(var(--primary-color-rgb), 0.4);
    margin-top: 5px;
    animation: fadeIn 1s ease-out 0.6s both, glowBorder 3s infinite alternate;
}

@keyframes glowBorder {
    0% {
        box-shadow: 0 0 5px rgba(var(--primary-color-rgb), 0.3);
        border-color: rgba(var(--primary-color-rgb), 0.4);
    }
    100% {
        box-shadow: 0 0 15px rgba(var(--primary-color-rgb), 0.6);
        border-color: rgba(var(--primary-color-rgb), 0.7);
    }
}

.character-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 12px;
    animation: fadeIn 1s ease-out 0.6s both;
}

.badge {
    padding: 8px 14px;
    border-radius: 25px;
    font-size: 0.9em;
    font-weight: bold;
    color: var(--text-light);
    box-shadow: 0 3px 12px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    cursor: default;
    transform: translateY(0);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.badge:hover {
    box-shadow: 0 3px 15px rgba(0,0,0,0.25);
    transform: translateY(-2px);
}

/* 角色专属颜色 - 修改为更符合整体风格的色调 */
.annie, .annie .character-color { 
    background: linear-gradient(135deg, rgba(249, 93, 106, 0.8), rgba(249, 93, 106, 0.5)); 
}
.nancy, .nancy .character-color { 
    background: linear-gradient(135deg, rgba(255, 113, 196, 0.8), rgba(255, 113, 196, 0.5)); 
}
.penelope, .penelope .character-color { 
    background: linear-gradient(135deg, rgba(158, 93, 255, 0.8), rgba(158, 93, 255, 0.5)); 
}
.dalia, .dalia .character-color { 
    background: linear-gradient(135deg, rgba(93, 142, 255, 0.8), rgba(93, 142, 255, 0.5)); 
}
.luna, .luna .character-color { 
    background: linear-gradient(135deg, rgba(93, 203, 255, 0.8), rgba(93, 203, 255, 0.5)); 
}
.alex, .alex .character-color { 
    background: linear-gradient(135deg, rgba(93, 255, 185, 0.8), rgba(93, 255, 185, 0.5)); 
}
.nova, .nova .character-color { 
    background: linear-gradient(135deg, rgba(180, 255, 93, 0.8), rgba(180, 255, 93, 0.5)); 
}
.seti, .seti .character-color { 
    background: linear-gradient(135deg, rgba(255, 175, 93, 0.8), rgba(255, 175, 93, 0.5)); 
}

/* 按钮样式 */
.guide-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px 35px;
    font-size: 1.2em;
    font-weight: 500;
    background: var(--gradient-primary);
    color: var(--text-light);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.guide-btn::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(45deg);
    z-index: 0;
    animation: shine 3s infinite linear;
}

@keyframes shine {
    0% {
        transform: rotate(45deg) translateX(-100%);
    }
    100% {
        transform: rotate(45deg) translateX(100%);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(var(--primary-color-rgb), 0.4);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(var(--primary-color-rgb), 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(var(--primary-color-rgb), 0);
    }
}

.guide-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
    animation: pulse 2s infinite;
}

.guide-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.main-text {
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.version-text {
    font-size: 0.7em;
    opacity: 0.9;
    margin-top: 6px;
    position: relative;
    z-index: 1;
}

.version-details {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
    font-size: 0.85em;
    color: rgba(255, 255, 255, 0.8);
    flex-wrap: wrap;
}

.version-details i {
    color: var(--primary-color);
    margin-right: 5px;
}

.divider {
    opacity: 0.5;
}

/* 内容区域共同样式 */
.guide-intro, .chapters, .characters, .legend, .tips {
    padding: 60px 0;
    position: relative;
}

.guide-intro {
    background-color: var(--background-card);
}

.guide-intro::before, .chapters::before, .characters::before, .legend::before, .tips::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 10% 30%, rgba(var(--primary-color-rgb), 0.05) 0%, transparent 30%),
        radial-gradient(circle at 90% 70%, rgba(var(--secondary-color-rgb), 0.05) 0%, transparent 30%);
    pointer-events: none;
}

.guide-intro::after, .chapters::after, .characters::after, .legend::after, .tips::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(var(--primary-color-rgb), 0.3), transparent);
}

/* 标题样式 */
section h2 {
    text-align: center;
    font-size: 2.2em;
    margin-bottom: 40px;
    position: relative;
    color: var(--text-light);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

section h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
    box-shadow: 0 0 10px rgba(var(--primary-color-rgb), 0.5);
}

section h2 i {
    color: var(--primary-color);
    font-size: 0.85em;
    margin-right: 5px;
}

/* 介绍卡片 */
.intro-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.intro-card {
    background: rgba(26, 30, 44, 0.7);
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    border: 1px solid rgba(var(--primary-color-rgb), 0.1);
    backdrop-filter: blur(10px);
}

.intro-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    border-color: rgba(var(--primary-color-rgb), 0.3);
}

.intro-icon {
    font-size: 2.5em;
    color: var(--primary-color);
    margin-bottom: 15px;
    text-shadow: 0 0 15px rgba(var(--primary-color-rgb), 0.5);
}

.intro-card h3 {
    font-size: 1.4em;
    margin-bottom: 15px;
    color: var(--text-light);
}

.intro-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
}

/* 章节卡片 */
.chapters-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.chapter-card {
    background: var(--background-light);
    border-radius: 15px;
    padding: 20px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(var(--primary-color-rgb), 0.1);
    backdrop-filter: blur(5px);
}

.chapter-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
                rgba(var(--primary-color-rgb), 0.05), 
                rgba(var(--secondary-color-rgb), 0.05));
    z-index: 0;
}

.chapter-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(var(--primary-color-rgb), 0.3);
}

.chapter-card:hover .chapter-icon {
    transform: translateY(-5px) scale(1.1);
}

.chapter-version {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(var(--primary-color-rgb), 0.15);
    color: var(--primary-color);
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.9em;
    font-weight: 500;
    box-shadow: 0 0 10px rgba(var(--primary-color-rgb), 0.2);
}

.chapter-card h3 {
    font-size: 1.3em;
    margin: 15px 0 10px;
    color: var(--text-light);
    position: relative;
    z-index: 1;
}

.chapter-card p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 15px;
    font-size: 0.95em;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.chapter-icon {
    font-size: 2em;
    color: var(--primary-color);
    margin-top: auto;
    align-self: flex-end;
    transition: all 0.3s ease;
    text-shadow: 0 0 15px rgba(var(--primary-color-rgb), 0.4);
}

/* 角色卡片 */
.character-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.character-card {
    background: var(--background-light);
    border-radius: 15px;
    padding: 20px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(var(--primary-color-rgb), 0.1);
    min-height: 180px;
    backdrop-filter: blur(5px);
}

.character-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(var(--primary-color-rgb), 0.3);
}

.character-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.character-card:hover::after {
    opacity: 1;
}

.char-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    border-radius: 50%;
    margin-bottom: 15px;
    color: var(--text-light);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    background: rgba(var(--primary-color-rgb), 0.15);
    border: 2px solid rgba(var(--primary-color-rgb), 0.3);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.annie .char-icon { 
    background: linear-gradient(135deg, rgba(249, 93, 106, 0.2), rgba(249, 93, 106, 0.4));
    border-color: rgba(249, 93, 106, 0.6);
    color: rgba(249, 93, 106, 1);
}
.nancy .char-icon { 
    background: linear-gradient(135deg, rgba(255, 113, 196, 0.2), rgba(255, 113, 196, 0.4));
    border-color: rgba(255, 113, 196, 0.6);
    color: rgba(255, 113, 196, 1);
}
.penelope .char-icon { 
    background: linear-gradient(135deg, rgba(158, 93, 255, 0.2), rgba(158, 93, 255, 0.4));
    border-color: rgba(158, 93, 255, 0.6);
    color: rgba(158, 93, 255, 1);
}
.dalia .char-icon { 
    background: linear-gradient(135deg, rgba(93, 142, 255, 0.2), rgba(93, 142, 255, 0.4));
    border-color: rgba(93, 142, 255, 0.6);
    color: rgba(93, 142, 255, 1);
}
.luna .char-icon { 
    background: linear-gradient(135deg, rgba(93, 203, 255, 0.2), rgba(93, 203, 255, 0.4));
    border-color: rgba(93, 203, 255, 0.6);
    color: rgba(93, 203, 255, 1);
}
.alex .char-icon { 
    background: linear-gradient(135deg, rgba(93, 255, 185, 0.2), rgba(93, 255, 185, 0.4));
    border-color: rgba(93, 255, 185, 0.6);
    color: rgba(93, 255, 185, 1);
}
.nova .char-icon { 
    background: linear-gradient(135deg, rgba(180, 255, 93, 0.2), rgba(180, 255, 93, 0.4));
    border-color: rgba(180, 255, 93, 0.6);
    color: rgba(180, 255, 93, 1);
}
.seti .char-icon { 
    background: linear-gradient(135deg, rgba(255, 175, 93, 0.2), rgba(255, 175, 93, 0.4));
    border-color: rgba(255, 175, 93, 0.6);
    color: rgba(255, 175, 93, 1);
}

.character-card:hover .char-icon {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.character-color {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    opacity: 0.7;
}

/* 角色徽章 */
.annie.badge { 
    background: linear-gradient(135deg, rgba(249, 93, 106, 0.8), rgba(249, 93, 106, 0.5)); 
}
.nancy.badge { 
    background: linear-gradient(135deg, rgba(255, 113, 196, 0.8), rgba(255, 113, 196, 0.5)); 
}
.penelope.badge { 
    background: linear-gradient(135deg, rgba(158, 93, 255, 0.8), rgba(158, 93, 255, 0.5)); 
}
.dalia.badge { 
    background: linear-gradient(135deg, rgba(93, 142, 255, 0.8), rgba(93, 142, 255, 0.5)); 
}
.luna.badge { 
    background: linear-gradient(135deg, rgba(93, 203, 255, 0.8), rgba(93, 203, 255, 0.5)); 
}
.alex.badge { 
    background: linear-gradient(135deg, rgba(93, 255, 185, 0.8), rgba(93, 255, 185, 0.5)); 
}
.nova.badge { 
    background: linear-gradient(135deg, rgba(180, 255, 93, 0.8), rgba(180, 255, 93, 0.5)); 
}
.seti.badge { 
    background: linear-gradient(135deg, rgba(255, 175, 93, 0.8), rgba(255, 175, 93, 0.5)); 
}

/* 图例卡片 */
.legend-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.legend-card {
    background: rgba(26, 30, 44, 0.6);
    border-radius: 15px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(var(--primary-color-rgb), 0.1);
    text-align: center;
    backdrop-filter: blur(5px);
}

.legend-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
    border-color: rgba(var(--primary-color-rgb), 0.3);
}

.legend-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3em;
    border-radius: 50%;
    background: rgba(var(--primary-color-rgb), 0.1);
    color: var(--primary-color);
    margin-bottom: 5px;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(var(--primary-color-rgb), 0.2);
}

.legend-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
    font-size: 0.95em;
}

/* 小技巧列表 */
.tips-list {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.tip-item {
    display: flex;
    margin-bottom: 20px;
    background: rgba(26, 30, 44, 0.6);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(var(--primary-color-rgb), 0.1);
    backdrop-filter: blur(5px);
}

.tip-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
    border-color: rgba(var(--primary-color-rgb), 0.3);
}

.tip-number {
    font-size: 2.5em;
    font-weight: 700;
    color: var(--primary-color);
    margin-right: 15px;
    flex-shrink: 0;
    opacity: 0.7;
    text-shadow: 0 0 10px rgba(var(--primary-color-rgb), 0.3);
    font-family: 'Press Start 2P', cursive;
    font-size: 1.8em;
}

.tip-content h3 {
    font-size: 1.4em;
    margin-bottom: 10px;
    color: var(--text-light);
}

.tip-content p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* 页脚样式 */
footer {
    background: linear-gradient(to bottom, var(--background-card), var(--background-dark));
    padding: 60px 0 30px;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 5% 20%, rgba(var(--primary-color-rgb), 0.05) 0%, transparent 30%),
        radial-gradient(circle at 95% 80%, rgba(var(--secondary-color-rgb), 0.05) 0%, transparent 30%);
    pointer-events: none;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 0 20px;
}

.footer-section h3 {
    font-size: 1.4em;
    margin-bottom: 20px;
    position: relative;
    color: var(--primary-color);
    padding-bottom: 10px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-color);
    border-radius: 2px;
    box-shadow: 0 0 8px rgba(var(--primary-color-rgb), 0.5);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

.partner-links {
    list-style-type: none;
}

.partner-links li {
    margin-bottom: 12px;
}

.partner-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    padding-left: 0;
    position: relative;
}

.partner-links a::before {
    content: '›';
    color: var(--primary-color);
    position: absolute;
    left: -15px;
    opacity: 0;
    transition: all 0.3s ease;
}

.partner-links a:hover {
    color: var(--primary-color);
    padding-left: 15px;
}

.partner-links a:hover::before {
    opacity: 1;
    left: 0;
}

.credits {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.credits span {
    background: rgba(var(--primary-color-rgb), 0.1);
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.9em;
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.footer-bottom {
    text-align: center;
    margin-top: 60px;
    padding-top: 20px;
    border-top: 1px solid rgba(var(--primary-color-rgb), 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9em;
}

/* 返回顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transform: translateY(100px);
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 100;
}

.back-to-top.show {
    opacity: 1;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .character-grid, .legend-grid, .chapters-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .hero {
        min-height: 50vh;
    }
    
    .hero-content {
        padding: 50px 0;
    }
    
    .hero h2 {
        font-size: 2.2em;
    }
    
    .hero-main {
        max-width: 600px;
    }
    
    .hero-actions {
        width: 100%;
    }
    
    .particle {
        display: none;
    }
    
    .guide-container {
        flex-direction: column;
    }
    
    .guide-sidebar {
        width: 100%;
        position: relative;
        top: 0;
        padding: 20px;
    }
    
    .guide-content {
        margin-left: 0;
        max-width: 100%;
    }
    
    .chapter-navigation {
        flex-direction: column;
    }
    
    .nav-btn {
        width: 100%;
    }
    
    .guide-intro, .chapters, .characters, .legend, .tips {
        padding: 50px 0;
    }
    
    .intro-grid, .character-grid, .legend-grid, .chapters-grid {
        gap: 15px;
    }
    
    .intro-card, .character-card, .legend-card, .chapter-card {
        padding: 20px;
    }
    
    .intro-card p {
        font-size: 0.95em;
    }
    
    .intro-card {
        padding: 25px;
    }
    
    .intro-icon {
        font-size: 2em;
    }
    
    .intro-card h3 {
        font-size: 1.2em;
    }
    
    .character-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .legend-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .chapters-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .char-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3em;
    }
    
    .character-card h3 {
        font-size: 1.1em;
    }
    
    .character-card p {
        font-size: 0.9em;
    }
    
    .chapter-nav-link {
        padding: 10px;
    }
    
    .choice-option {
        padding: 15px;
    }
    
    .choice-option.best::before {
        left: 5px;
    }
    
    .chapter-hero {
        padding: 40px 20px;
    }
    
    .back-link {
        font-size: 0.9em;
        padding: 8px 15px;
    }
    
    .chapter-section h2 {
        font-size: 1.6em;
    }
    
    .chapter-navigation {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav-btn {
        width: 100%;
        padding: 12px;
    }
    
    .character-jump {
        flex-wrap: wrap;
    }
    
    .jump-btn {
        margin: 5px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .tip-item {
        flex-direction: column;
    }
    
    .tip-number {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .tip-content h3 {
        font-size: 1.2em;
    }
    
    .tip-content p {
        font-size: 0.95em;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 20px 5px;
        min-height: 40vh;
    }
    
    .hero-content {
        padding: 25px 5px;
    }
    
    .hero h2 {
        font-size: 1.8em;
        margin: 0 5px;
    }
    
    .hero-main {
        margin: 0 5px 20px;
    }
    
    .hero-main p {
        margin: 0 5px;
    }
    
    .hero-actions {
        margin: 0 5px;
    }
    
    .character-badges {
        margin: 0 5px;
    }
    
    .download-container {
        margin: 0 5px;
    }
    
    .guide-btn {
        padding: 12px 25px;
        margin: 0 5px;
    }
    
    .particle {
        display: none;
    }
    
    .guide-intro, .chapters, .characters, .legend, .tips {
        padding: 40px 5px;
    }
    
    /* 保持三列布局的指南介绍 */
    .intro-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
        margin: 0 5px;
    }
    
    .intro-card {
        padding: 15px;
    }
    
    .intro-icon {
        font-size: 1.6em;
        margin-bottom: 10px;
    }
    
    .intro-card h3 {
        font-size: 0.9em;
        margin-bottom: 5px;
    }
    
    /* 隐藏介绍卡片的描述文本 */
    .intro-card p {
        display: none;
    }
    
    /* 两列布局的其他模块 */
    .character-grid,
    .legend-grid,
    .chapters-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        margin: 0 5px;
    }
    
    /* 紧凑的章节卡片 */
    .chapter-card {
        padding: 12px;
    }
    
    .chapter-card p {
        font-size: 0.8em;
        margin-bottom: 5px;
    }
    
    .chapter-icon {
        font-size: 1.4em;
    }
    
    .chapter-version {
        font-size: 0.7em;
        top: 8px;
        right: 8px;
        padding: 3px 8px;
    }
    
    /* 紧凑的角色卡片 */
    .character-card {
        padding: 12px;
        min-height: 140px;
    }
    
    .char-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1em;
        margin-bottom: 8px;
    }
    
    .character-card h3 {
        font-size: 1em;
        margin-bottom: 5px;
    }
    
    .character-card p {
        font-size: 0.8em;
    }
    
    /* 紧凑的图例卡片 */
    .legend-card {
        padding: 12px;
        gap: 8px;
    }
    
    .legend-icon {
        width: 35px;
        height: 35px;
        font-size: 1em;
    }
    
    .legend-card p {
        font-size: 0.8em;
    }
    
    /* 紧凑的小技巧列表 */
    .tip-item {
        flex-direction: column;
        padding: 15px;
        margin: 0 5px 15px;
    }
    
    .tip-number {
        margin-right: 0;
        margin-bottom: 10px;
        font-size: 1.5em;
    }
    
    .tip-content h3 {
        font-size: 1.1em;
        margin-bottom: 8px;
    }
    
    .tip-content p {
        font-size: 0.9em;
    }
    
    /* 页脚调整 */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 0 5px;
    }
    
    .footer-section h3 {
        font-size: 1.2em;
        margin-bottom: 15px;
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding: 20px 5px;
    }
    
    .hero h2 {
        font-size: 1.6em;
        margin: 0 5px;
    }
    
    .hero-main {
        margin: 0 5px 20px;
    }
    
    .hero p {
        font-size: 0.95em;
        line-height: 1.5;
        margin: 0 5px;
    }
    
    .hero-actions {
        margin: 0 5px;
    }
    
    .character-badges {
        gap: 5px;
        margin: 0 5px;
    }
    
    .download-container {
        margin: 0 5px;
    }
    
    .guide-btn {
        margin: 0 5px;
    }
    
    .version-details {
        flex-direction: column;
        align-items: center;
        margin: 0 5px;
    }
    
    .version-details .divider {
        display: none;
    }
    
    .guide-intro, .chapters, .characters, .legend, .tips {
        padding: 30px 5px;
    }
    
    /* 超小屏下更紧凑的布局 */
    .intro-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
        margin: 0 5px;
    }
    
    .intro-card {
        padding: 10px;
    }
    
    .intro-icon {
        font-size: 1.4em;
        margin-bottom: 8px;
    }
    
    .intro-card h3 {
        font-size: 0.8em;
        margin-bottom: 5px;
    }
    
    .character-grid, 
    .legend-grid, 
    .chapters-grid {
        gap: 10px;
        margin: 0 5px;
    }
    
    .chapter-card,
    .character-card,
    .legend-card {
        padding: 10px;
    }
    
    .character-card {
        min-height: 120px;
    }
    
    section h2 {
        margin-bottom: 20px;
        font-size: 1.5em;
    }
    
    section h2 i {
        font-size: 0.8em;
    }
    
    .tip-item {
        margin: 0 5px 15px;
    }
    
    .footer-content {
        padding: 0 5px;
    }
}

@media (max-width: 360px) {
    .hero h2 {
        font-size: 1.4em;
    }
    
    .badge {
        padding: 4px 8px;
        font-size: 0.7em;
    }
    
    .intro-grid {
        gap: 6px;
    }
    
    .intro-icon {
        font-size: 1.2em;
        margin-bottom: 6px;
    }
    
    .intro-card h3 {
        font-size: 0.7em;
    }
    
    .character-grid, 
    .legend-grid, 
    .chapters-grid {
        gap: 8px;
    }
    
    .chapter-card,
    .character-card,
    .legend-card {
        padding: 8px;
    }
    
    .character-card h3, 
    .chapter-card h3 {
        font-size: 0.9em;
    }
    
    .character-card p, 
    .chapter-card p {
        font-size: 0.75em;
    }
    
    .char-icon, 
    .legend-icon {
        width: 32px;
        height: 32px;
        font-size: 0.9em;
    }
    
    .tip-number {
        font-size: 1.3em;
    }
    
    .tip-content h3 {
        font-size: 1em;
    }
    
    .footer-content {
        gap: 20px;
    }
}

/* 粒子动画 */
.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 2;
    pointer-events: none;
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: rgba(var(--primary-color-rgb), 0.5);
    box-shadow: 0 0 20px 5px rgba(var(--primary-color-rgb), 0.3);
    animation: float 15s infinite ease-in-out;
}

.particle-1 {
    width: 100px;
    height: 100px;
    top: 20%;
    left: 10%;
    opacity: 0.07;
    animation-delay: 0s;
    background: radial-gradient(circle at 30% 30%, rgba(var(--primary-color-rgb), 0.8), rgba(var(--primary-color-rgb), 0.2));
}

.particle-2 {
    width: 150px;
    height: 150px;
    bottom: 15%;
    right: 15%;
    opacity: 0.05;
    animation-delay: 5s;
    background: radial-gradient(circle at 70% 70%, rgba(var(--primary-color-rgb), 0.8), rgba(var(--primary-color-rgb), 0.2));
}

.particle-3 {
    width: 80px;
    height: 80px;
    top: 60%;
    left: 60%;
    opacity: 0.06;
    animation-delay: 2s;
    background: radial-gradient(circle at 50% 50%, rgba(var(--primary-color-rgb), 0.8), rgba(var(--primary-color-rgb), 0.2));
}

.particle-4 {
    width: 120px;
    height: 120px;
    top: 30%;
    right: 30%;
    opacity: 0.04;
    animation-delay: 7s;
    background: radial-gradient(circle at 40% 60%, rgba(var(--primary-color-rgb), 0.8), rgba(var(--primary-color-rgb), 0.2));
}

.particle-5 {
    width: 70px;
    height: 70px;
    bottom: 30%;
    left: 25%;
    opacity: 0.05;
    animation-delay: 3s;
    background: radial-gradient(circle at 60% 40%, rgba(var(--primary-color-rgb), 0.8), rgba(var(--primary-color-rgb), 0.2));
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0) rotate(0deg);
    }
    25% {
        transform: translateY(-30px) translateX(20px) rotate(5deg);
    }
    50% {
        transform: translateY(10px) translateX(-30px) rotate(-5deg);
    }
    75% {
        transform: translateY(20px) translateX(40px) rotate(3deg);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, 
                rgba(0, 0, 0, 0.5) 0%, 
                rgba(0, 0, 0, 0.3) 50%, 
                rgba(0, 0, 0, 0.6) 100%);
    z-index: 1;
    pointer-events: none;
}

/* 网格背景效果 */
.cyber-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(var(--primary-color-rgb), 0.1) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(var(--primary-color-rgb), 0.1) 1px, transparent 1px);
    background-size: 25px 25px;
    opacity: 0.2;
    z-index: 1;
    pointer-events: none;
}

/* 区域间过渡效果 */
.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40px;
    background: linear-gradient(to top, var(--background-dark) 0%, transparent 100%);
    z-index: 3;
}

.character-card h3 {
    font-size: 1.3em;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
    color: var(--text-light);
}

.character-card p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    font-size: 0.95em;
    position: relative;
    z-index: 1;
}

/* 适配超宽屏幕 - 增加5列布局 */
@media (min-width: 1400px) {
    .character-grid, 
    .legend-grid {
        grid-template-columns: repeat(5, 1fr);
    }
} 