/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 跳过导航链接 - 无障碍访问 */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #D4AF37;
    color: white;
    padding: 8px;
    z-index: 1000;
    text-decoration: none;
    font-weight: bold;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 0;
}

/* 懒加载图片样式 */
img.lazy {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 50%;
}

img.lazy.loaded {
    opacity: 1;
}

/* 粒子效果样式 */
.particle-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    overflow: hidden;
}

/* 根变量定义 */
:root {
    --ink-black: #0A0A0A;
    --bamboo-green: #2F4F4F;
    --cinnabar-red: #9E2A2B;
    --rice-paper: #F5F5DC;
    --gold: #D4AF37;
    --gray: #6C757D;
    --light-gray: #ADB5BD;
}

/* 全局字体设置 */
body {
    font-family: 'Noto Serif SC', 'ZCOOL XiaoWei', 'SimSun', 'STSong', serif;
    font-size: 1.125rem; /* 增大整体字体大小，从默认16px改为18px */
    background-color: var(--rice-paper);
    color: var(--ink-black);
    /* 使用荷花图片作为背景，增强武侠仙境感 */
    /* 暂时移除背景图片，以避免路径问题 */
    /* background: url('images/hehua.png') center/cover fixed; */
    /* background-repeat: no-repeat; */
    /* background-attachment: fixed; */
    line-height: 1.7;
    overflow-x: hidden;
    scroll-behavior: smooth;
    /* 提升文本可读性 */
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--rice-paper);
    border-left: 1px solid var(--gold);
}

::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--cinnabar-red);
    box-shadow: 0 0 10px rgba(158, 42, 43, 0.8);
}

/* 容器样式 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
    /* 提升容器的响应式表现 */
    display: block;
}

/* 顶部导航栏 - 武侠风格深度优化 */
.navbar {
    background: linear-gradient(90deg, rgba(10, 10, 10, 0.98), rgba(158, 42, 43, 0.5), rgba(212, 175, 55, 0.4), rgba(158, 42, 43, 0.5), rgba(10, 10, 10, 0.98));
    backdrop-filter: blur(20px);
    border-bottom: 2px solid rgba(212, 175, 55, 0.9);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 
        0 0 25px rgba(158, 42, 43, 0.7),
        0 4px 30px rgba(0, 0, 0, 0.4),
        0 0 15px rgba(212, 175, 55, 0.5),
        inset 0 1px 0 rgba(212, 175, 55, 0.3);
    transition: all 0.3s ease;
    padding: 0.3rem 0;
    background-size: 200% 200%;
    animation: navbarGradientShift 8s ease infinite;
}

/* 导航栏渐变动画 */
@keyframes navbarGradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.navbar .container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.3rem 20px;
    gap: 4rem;
}

.logo {
    font-family: 'Ma Shan Zheng', cursive, 'SimHei', 'STHeiti', sans-serif;
    font-size: 2.4rem;
    color: #D4AF37;
    text-shadow: 
        0 0 10px rgba(158, 42, 43, 0.8),
        1px 1px 2px rgba(0, 0, 0, 0.9),
        0 0 20px rgba(212, 175, 55, 0.6),
        0 0 30px rgba(212, 175, 55, 0.3);
    display: inline-block;
    white-space: nowrap;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.2rem 0.5rem;
    border-radius: 0;
    background: transparent;
    border: none;
    backdrop-filter: none;
}

.logo::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(158, 42, 43, 0.3) 0%, transparent 70%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
    text-shadow: 
        0 0 15px rgba(158, 42, 43, 0.9),
        2px 2px 3px rgba(0, 0, 0, 1),
        0 0 25px rgba(212, 175, 55, 0.8),
        0 0 40px rgba(212, 175, 55, 0.4);
}

.logo:hover::before {
    opacity: 1;
}

.logo i {
    color: #D4AF37;
    text-shadow: 
        0 0 10px rgba(212, 175, 55, 0.8),
        0 0 20px rgba(212, 175, 55, 0.6),
        0 0 30px rgba(212, 175, 55, 0.4);
    font-size: 1.8rem;
    animation: cloudFloat 4s ease-in-out infinite;
}

@keyframes cloudFloat {
    0%, 100% { 
        transform: translateY(0px) translateX(0px) scale(1); 
        text-shadow: 
            0 0 10px rgba(212, 175, 55, 0.8),
            0 0 20px rgba(212, 175, 55, 0.6),
            0 0 30px rgba(212, 175, 55, 0.4);
    }
    25% { 
        transform: translateY(-5px) translateX(5px) scale(1.02); 
        text-shadow: 
            0 0 12px rgba(212, 175, 55, 0.9),
            0 0 25px rgba(212, 175, 55, 0.7),
            0 0 35px rgba(212, 175, 55, 0.5);
    }
    50% { 
        transform: translateY(0px) translateX(0px) scale(1); 
        text-shadow: 
            0 0 10px rgba(212, 175, 55, 0.8),
            0 0 20px rgba(212, 175, 55, 0.6),
            0 0 30px rgba(212, 175, 55, 0.4);
    }
    75% { 
        transform: translateY(5px) translateX(-5px) scale(1.02); 
        text-shadow: 
            0 0 12px rgba(212, 175, 55, 0.9),
            0 0 25px rgba(212, 175, 55, 0.7),
            0 0 35px rgba(212, 175, 55, 0.5);
    }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 3rem;
    align-items: center;
    margin: 0;
}

.nav-menu li a {
    color: #D4AF37;
    text-decoration: none;
    font-size: 1.4rem;
    font-weight: 400;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    font-family: 'STKaiti', 'KaiTi', 'SimKai', 'FangSong', 'STFangsong', serif;
    text-shadow: 
        0 0 8px rgba(158, 42, 43, 0.6),
        1px 1px 2px rgba(0, 0, 0, 0.8),
        0 0 15px rgba(212, 175, 55, 0.5);
    display: inline-block;
    background: transparent;
    border: none;
    backdrop-filter: none;
    white-space: nowrap;
}

.nav-menu li a:not(.tooltip) {
    overflow: hidden;
}

.nav-menu li a:hover {
    color: #D4AF37;
    background: rgba(158, 42, 43, 0.3);
    transform: translateY(-3px);
    text-shadow: 
        0 0 15px rgba(158, 42, 43, 0.9),
        1px 1px 2px rgba(0, 0, 0, 1),
        0 0 25px rgba(212, 175, 55, 0.8),
        0 0 35px rgba(212, 175, 55, 0.5);
    box-shadow: 
        0 0 15px rgba(158, 42, 43, 0.5),
        0 6px 20px rgba(0, 0, 0, 0.4),
        0 0 25px rgba(212, 175, 55, 0.6);
    border-color: rgba(212, 175, 55, 0.6);
    animation: linkGlow 0.5s ease-in-out;
}

/* 禁用悬浮效果 */
.nav-menu li a.no-hover:hover {
    color: #D4AF37;
    background: transparent;
    transform: none;
    text-shadow: 
        0 0 8px rgba(158, 42, 43, 0.6),
        1px 1px 2px rgba(0, 0, 0, 0.8),
        0 0 15px rgba(212, 175, 55, 0.5);
    box-shadow: none;
    border-color: transparent;
    animation: none;
}

/* 禁用工具提示效果 */
.nav-menu li a.no-hover.tooltip::after,
.nav-menu li a.no-hover.tooltip::before {
    display: none !important;
}

.nav-menu li a.no-hover.tooltip:hover::after,
.nav-menu li a.no-hover.tooltip:hover::before {
    display: none !important;
}

/* 链接发光动画 */
@keyframes linkGlow {
    0%, 100% {
        box-shadow: 
            0 0 15px rgba(158, 42, 43, 0.5),
            0 6px 20px rgba(0, 0, 0, 0.4),
            0 0 25px rgba(212, 175, 55, 0.6);
    }
    50% {
        box-shadow: 
            0 0 25px rgba(158, 42, 43, 0.7),
            0 6px 30px rgba(0, 0, 0, 0.5),
            0 0 40px rgba(212, 175, 55, 0.8);
    }
}

/* 移除导航菜单链接下方的下划线 */
/* .nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: rgba(245, 245, 220, 0.7);
    transition: width 0.3s ease;
}

.nav-menu li a:hover::after {
    width: 100%;
} */

/* 工具提示样式 */
.tooltip {
    position: relative;
    cursor: pointer;
}

.tooltip::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, rgba(10, 10, 10, 0.98), rgba(158, 42, 43, 0.5), rgba(212, 175, 55, 0.4), rgba(158, 42, 43, 0.5), rgba(10, 10, 10, 0.98));
    color: var(--gold);
    padding: 0.8rem 1.2rem;
    border-radius: 8px;
    border: 1px solid var(--gold);
    font-size: 0.9rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    font-family: 'STKaiti', 'KaiTi', 'SimKai', serif;
}

.tooltip::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(100%);
    border-width: 6px;
    border-style: solid;
    border-color: var(--gold) transparent transparent transparent;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.tooltip:hover::after,
.tooltip:hover::before {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-10px);
}

.tooltip:hover::before {
    transform: translateX(-50%) translateY(0);
}

/* 移动端汉堡菜单 */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 5px;
    transition: all 0.3s ease;
    background: rgba(10, 10, 10, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.hamburger:hover {
    background-color: rgba(158, 42, 43, 0.3);
    border-color: rgba(212, 175, 55, 0.6);
    transform: scale(1.05);
}

.hamburger span {
    width: 30px;
    height: 2px;
    background: rgba(212, 175, 55, 0.9);
    box-shadow: 0 0 10px rgba(158, 42, 43, 0.6), 0 0 15px rgba(212, 175, 55, 0.5);
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* 滚动时导航栏样式变化 */
.navbar.scrolled {
    background: linear-gradient(90deg, rgba(10, 10, 10, 0.98), rgba(158, 42, 43, 0.5), rgba(212, 175, 55, 0.4), rgba(158, 42, 43, 0.5), rgba(10, 10, 10, 0.98));
    padding: 0.3rem 20px;
    box-shadow: 
        0 0 25px rgba(158, 42, 43, 0.8),
        0 4px 30px rgba(0, 0, 0, 0.5),
        0 0 20px rgba(212, 175, 55, 0.6),
        inset 0 1px 0 rgba(212, 175, 55, 0.4);
    border-bottom: 2px solid rgba(212, 175, 55, 1);
    animation: navbarSlideDown 0.3s ease-out, navbarGradientShift 8s ease infinite 0.3s;
    background-size: 200% 200%;
}

/* 导航栏滑入动画 */
@keyframes navbarSlideDown {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* 首页横幅 */
.banner {
    position: relative;
    height: 90vh;
    min-height: 600px;
    background: linear-gradient(rgba(10, 10, 10, 0.1), rgba(10, 10, 10, 0.2)), 
                url('../images/jiangshu.png') center bottom/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--rice-paper);
    overflow: hidden;
}

/* 添加底部过渡效果，与下面板块更好衔接 */
.banner::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, transparent, rgba(10, 10, 10, 0.8));
    z-index: 1;
}

/* 移除不存在的墨水滴溅效果 */

.banner-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.banner h1 {
    font-family: 'Ma Shan Zheng', cursive, 'SimHei', 'STHeiti', sans-serif;
    font-size: 6rem;
    margin-bottom: 1rem;
    color: var(--gold);
    text-shadow: 
        3px 3px 0px rgba(0, 0, 0, 0.6),
        6px 6px 10px rgba(158, 42, 43, 0.9),
        0 0 30px rgba(212, 175, 55, 0.7),
        0 0 60px rgba(212, 175, 55, 0.4);
    letter-spacing: 0.5rem;
    text-align: center;
}

.banner p {
    font-size: 2.2rem;
    font-weight: normal;
    font-style: normal;
    font-family: 'Ma Shan Zheng', cursive, 'SimHei', 'STHeiti', sans-serif;
    margin-bottom: 2rem;
    opacity: 1;
    color: var(--gold);
    text-shadow: none;
    animation: fadeInUp 1s ease-out 0.3s both;
    letter-spacing: 0.12rem;
    text-align: center;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    box-sizing: border-box;
}

/* 浮动文字效果 */
@keyframes floatText {
    0%, 100% { 
        transform: perspective(600px) rotateX(15deg) translateY(0px); 
        text-shadow: 
            3px 3px 0px rgba(0, 0, 0, 0.6),
            6px 6px 10px rgba(158, 42, 43, 0.9),
            0 0 30px rgba(212, 175, 55, 0.7),
            0 0 60px rgba(212, 175, 55, 0.4);
    }
    50% { 
        transform: perspective(600px) rotateX(15deg) translateY(-20px); 
        text-shadow: 
            3px 3px 0px rgba(0, 0, 0, 0.6),
            6px 6px 15px rgba(158, 42, 43, 1),
            0 0 40px rgba(212, 175, 55, 0.9),
            0 0 80px rgba(212, 175, 55, 0.6);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 帮会介绍板块 */
.guild-intro {
    padding: 5rem 0;
    background: linear-gradient(rgba(47, 79, 79, 0.05), rgba(47, 79, 79, 0.1)), 
                url('../images/xueshan.png') center/cover fixed;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
}

.guild-intro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--bamboo-green), transparent);
}

.guild-intro::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--bamboo-green), transparent);
}

.section-title {
    font-family: 'Ma Shan Zheng', cursive, 'SimHei', 'STHeiti', sans-serif;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--gold);
    position: relative;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* 移除板块标题下方的红色横线 */
/* .section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background-color: var(--cinnabar-red);
} */

.scroll-container {
    position: relative;
    background-color: rgba(245, 245, 220, 0.8);
    border: 3px solid var(--gold);
    border-radius: 10px;
    padding: 3rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    transition: all 0.3s ease;
}

.scroll-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.scroll-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 30px;
    background: linear-gradient(90deg, var(--gold), transparent 50%, var(--gold));
    opacity: 0.3;
}

.scroll-container::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 30px;
    background: linear-gradient(90deg, var(--gold), transparent 50%, var(--gold));
    opacity: 0.3;
}

.intro-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    align-items: center;
}

.vertical-text-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    padding: 2rem;
    background-color: rgba(47, 79, 79, 0.1);
    border-radius: 10px;
    border: 3px solid var(--cinnabar-red);
    width: 100%;
    height: 100%;
    align-items: center;
    justify-items: center;
    box-sizing: border-box;
}

.vertical-text-column {
    writing-mode: vertical-rl;
    font-family: 'Ma Shan Zheng', cursive, 'SimHei', 'STHeiti', sans-serif;
    font-size: 2.5rem;
    color: var(--cinnabar-red);
    letter-spacing: 1.5rem;
    line-height: 3;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 350px;
    box-sizing: border-box;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}



.horizontal-text {
    font-family: 'STKaiti', 'KaiTi', 'SimKai', 'FangSong', 'STFangsong', serif;
    font-size: 1.4rem;
    line-height: 2.1;
    color: var(--ink-black);
    text-align: justify;
    font-weight: bold;
    letter-spacing: 0.04em;
    word-spacing: 0.06em;
    padding: 0.5rem 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    writing-mode: horizontal-tb !important;
    direction: ltr !important;
    text-orientation: mixed !important;
    background-color: transparent !important;
}

.personal-section .horizontal-text {
    writing-mode: horizontal-tb !important;
    direction: ltr !important;
    text-orientation: mixed !important;
}

.personal-section .scroll-container {
    writing-mode: horizontal-tb !important;
    direction: ltr !important;
    text-orientation: mixed !important;
}

.personal-section .intro-content {
    writing-mode: horizontal-tb !important;
    direction: ltr !important;
    text-orientation: mixed !important;
    grid-template-columns: 1fr !important;
    gap: 1rem;
}

/* 中心内容卡片样式 */
.recruitment-card.center-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
}

.recruitment-card.center-content p {
    text-align: center;
    margin: 0;
    padding: 0 1rem;
}

.horizontal-text p {
    margin-bottom: 1rem;
}

/* 帮会招新板块 */
.recruitment {
    padding: 5rem 0;
    background: linear-gradient(rgba(47, 79, 79, 0.05), rgba(47, 79, 79, 0.1)), 
                url('../images/tiangon.png') center/cover fixed;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.recruitment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.recruitment-card {
    background-color: rgba(245, 245, 220, 0.85);
    border: 3px solid var(--gold);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.12),
                0 0 20px rgba(212, 175, 55, 0.25);
    position: relative;
    overflow: hidden;
    min-height: 350px;
    text-align: center;
    /* 提升卡片的视觉层次感 */
    backdrop-filter: blur(10px);
}

.recruitment-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(158, 42, 43, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

/* 悬浮粒子效果 */
.recruitment-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle, rgba(212, 175, 55, 0.3) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.recruitment-card:hover {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3),
                0 0 30px rgba(212, 175, 55, 0.4);
    border-color: var(--gold);
    background-color: rgba(245, 245, 220, 0.95);
}

.recruitment-card:hover::before {
    opacity: 0;
}

.recruitment-card:hover::after {
    opacity: 0;
}

.recruitment-card:hover h3 {
    color: var(--gold);
    transform: translateY(-5px);
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.8);
}

.recruitment-card:hover li {
    transform: translateX(5px);
    color: var(--ink-black);
}

.recruitment-card h3 {
    font-family: 'Ma Shan Zheng', cursive, 'SimHei', 'STHeiti', sans-serif;
    font-size: 1.8rem;
    color: var(--gold);
    margin: 0 0 1.5rem 0;
    padding: 0;
    text-align: center;
    position: relative;
    z-index: 2;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.recruitment-card ul {
    list-style: none;
    position: relative;
    z-index: 2;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    align-items: flex-start;
}

.recruitment-card li,
.recruitment-card p {
    font-family: 'STKaiti', 'KaiTi', 'SimKai', 'FangSong', 'STFangsong', serif;
    font-size: 1.3rem;
    margin: 0;
    color: var(--ink-black);
    font-weight: bold;
    line-height: 1.5;
}

.recruitment-card li {
    padding-left: 1.8rem;
    position: relative;
    display: flex;
    align-items: center;
}

.recruitment-card p {
    padding: 0;
    text-align: center;
    max-width: 100%;
}

.recruitment-card li::before {
    content: '•';
    color: var(--cinnabar-red);
    font-size: 1.8rem;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    line-height: 1;
    text-align: center;
}

/* 英华流韵集景板块 */
.members {
    padding: 5rem 0;
    background: linear-gradient(rgba(47, 79, 79, 0.05), rgba(47, 79, 79, 0.1)), 
                url('../images/liuxing.png') center/cover fixed;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.members-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: auto auto auto;
    gap: 1.5rem;
    margin-top: 3rem;
    width: 100%;
    box-sizing: border-box;
    justify-items: center;
    align-items: start;
}

/* 确保非C位卡片能够正确分行显示 */
.member-token:not(.c-position) {
    grid-row: auto;
}

/* 月度最佳板块 */
.monthly-best {
    grid-column: 1 / 2;
    grid-row: 1;
    background: linear-gradient(135deg, rgba(245, 245, 220, 0.85), rgba(47, 79, 79, 0.08));
    border: 3px solid var(--gold);
    border-radius: 18px;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18),
                0 0 20px rgba(212, 175, 55, 0.35);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    animation: breathing 3s ease-in-out infinite;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 3rem;
}

.monthly-best::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(212, 175, 55, 0) 0%, rgba(212, 175, 55, 0.1) 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.monthly-best:hover {
    transform: translateY(-15px) scale(1.05);
    border-color: var(--gold);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3),
                0 0 25px rgba(212, 175, 55, 0.5);
}

.monthly-best:hover::before {
    opacity: 1;
}

.monthly-best-title {
    font-family: 'Ma Shan Zheng', cursive, 'SimHei', 'STHeiti', sans-serif;
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 2;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        text-shadow: 0 0 10px rgba(212, 175, 55, 0.8),
                    1px 1px 2px rgba(0, 0, 0, 0.5);
    }
    to {
        text-shadow: 0 0 20px rgba(212, 175, 55, 1),
                    0 0 30px rgba(212, 175, 55, 0.8),
                    1px 1px 2px rgba(0, 0, 0, 0.5);
    }
}

/* C位样式 - 位于折柳送别上方 */
.member-token.c-position {
    grid-column: 3;
    grid-row: 1;
    justify-self: center;
    width: 300px;
    max-width: 100%;
    transform: scale(1.3);
    z-index: 10;
    animation: breathing 2s ease-in-out infinite, cPositionGlow 2s ease-in-out infinite alternate;
    box-shadow: 
        0 15px 50px rgba(0, 0, 0, 0.4),
        0 0 35px rgba(212, 175, 55, 0.8),
        0 0 50px rgba(212, 175, 55, 0.5),
        inset 0 0 20px rgba(212, 175, 55, 0.2);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.5rem;
    margin-left: 0;
}

/* 移除之前的强制行定位，让卡片自然分行显示 */

/* 调整members-grid布局，确保整体对齐 */
.members-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: auto auto auto auto;
    gap: 1.5rem;
    margin-top: 3rem;
    width: 100%;
    box-sizing: border-box;
    justify-items: center;
    align-items: start;
}

/* 移除月度最佳文本 */
.member-token.c-position::before {
    content: '';
    display: none;
}

.member-token.c-position:hover {
    transform: scale(1.3);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 50px rgba(212, 175, 55, 1),
        0 0 70px rgba(212, 175, 55, 0.7),
        inset 0 0 30px rgba(212, 175, 55, 0.3);
}

/* C位发光动画 */
@keyframes cPositionGlow {
    from {
        box-shadow: 
            0 15px 50px rgba(0, 0, 0, 0.4),
            0 0 35px rgba(212, 175, 55, 0.8),
            0 0 50px rgba(212, 175, 55, 0.5),
            inset 0 0 20px rgba(212, 175, 55, 0.2);
    }
    to {
        box-shadow: 
            0 15px 50px rgba(0, 0, 0, 0.4),
            0 0 50px rgba(212, 175, 55, 1),
            0 0 70px rgba(212, 175, 55, 0.7),
            0 0 90px rgba(212, 175, 55, 0.4),
            inset 0 0 30px rgba(212, 175, 55, 0.3);
    }
}

/* 呼吸效果 */
@keyframes breathing {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15),
                    0 0 15px rgba(212, 175, 55, 0.3);
    }
    50% {
        transform: scale(1.02);
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2),
                    0 0 25px rgba(212, 175, 55, 0.5);
    }
}

.member-token {
    background: linear-gradient(135deg, rgba(245, 245, 220, 0.85), rgba(47, 79, 79, 0.08));
    border: 3px solid var(--gold);
    border-radius: 18px;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18),
                0 0 20px rgba(212, 175, 55, 0.35);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    animation: breathing 3s ease-in-out infinite;
    min-height: 290px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.8rem;
}

.member-token::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(212, 175, 55, 0) 0%, rgba(212, 175, 55, 0.1) 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.member-token:hover {
    transform: translateY(-15px) scale(1.05);
    border-color: var(--gold);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3),
                0 0 25px rgba(212, 175, 55, 0.5);
}

.member-token:hover::before {
    opacity: 1;
}

.member-avatar {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    border: 4px solid var(--gold);
    margin: 0 auto 1rem;
    overflow: hidden;
    background: linear-gradient(135deg, var(--ink-black), rgba(47, 79, 79, 0.8));
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
    box-shadow: 
        0 0 15px rgba(212, 175, 55, 0.6),
        0 4px 15px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* 头像边框装饰 */
.member-avatar::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--gold), var(--cinnabar-red), var(--gold), var(--cinnabar-red));
    border-radius: 50%;
    z-index: -1;
    animation: borderRotate 4s linear infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.member-avatar:hover::before {
    opacity: 1;
}

@keyframes borderRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.member-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transition: all 0.5s ease;
}

.member-token:hover .member-avatar {
    border-color: var(--cinnabar-red);
    transform: scale(1.1) rotate(5deg);
    box-shadow: 
        0 0 25px rgba(158, 42, 43, 0.8),
        0 6px 20px rgba(0, 0, 0, 0.6);
}

.member-token:hover .member-avatar img {
    transform: scale(1.2) rotate(-5deg);
}

.member-name {
    font-family: 'STKaiti', 'KaiTi', 'SimKai', 'FangSong', 'STFangsong', serif;
    font-size: 1.5rem;
    color: var(--gold);
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 2;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
    letter-spacing: 0.04em;
}

.member-name:hover {
    color: var(--cinnabar-red);
    transform: scale(1.05);
    text-shadow: 0 0 10px rgba(158, 42, 43, 0.8),
                1px 1px 2px rgba(0, 0, 0, 0.5);
}

.member-class {
    font-size: 1rem;
    color: var(--gold);
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 2;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
    font-weight: 700;
}

/* 卷轴展开效果 */
@keyframes scrollUnroll {
    0% {
        transform: scaleY(0);
        opacity: 0;
        transform-origin: top;
    }
    100% {
        transform: scaleY(1);
        opacity: 1;
        transform-origin: top;
    }
}

/* 背景粒子动画 */
@keyframes bambooParticles {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.3;
    }
    50% {
        transform: translateY(-30px) rotate(180deg);
        opacity: 0.6;
    }
}

/* 帮会攻略板块 */
.guides {
    padding: 5rem 0;
    background: linear-gradient(rgba(47, 79, 79, 0.05), rgba(47, 79, 79, 0.1)), 
                url('../images/yueliang.png') center/cover fixed;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
    overflow: hidden;
}

/* 攻略板块粒子背景 */
.guides::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle, rgba(47, 79, 79, 0.4) 1px, transparent 1px),
        radial-gradient(circle, rgba(212, 175, 55, 0.3) 1px, transparent 1px);
    background-size: 60px 60px, 40px 40px;
    background-position: 0 0, 30px 30px;
    animation: bambooParticles 4s ease-in-out infinite;
    opacity: 0.2;
    pointer-events: none;
}

.bamboo-scroll {
    background-color: rgba(240, 230, 210, 0.8);
    border: 3px solid var(--gold);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    animation: scrollUnroll 1.5s ease-out forwards;
    transform: scaleY(0);
    opacity: 0;
    will-change: transform, opacity;
}

.bamboo-scroll:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.bamboo-scroll::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: repeating-linear-gradient(
        90deg,
        transparent,
        transparent 20px,
        rgba(47, 79, 79, 0.1) 20px,
        rgba(47, 79, 79, 0.1) 22px
    );
    opacity: 0.5;
    z-index: 0;
}

.guide-content {
    position: relative;
    z-index: 1;
}

.guide-item {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(47, 79, 79, 0.3);
}

.guide-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.guide-item h3 {
    font-family: 'Ma Shan Zheng', cursive, 'SimHei', 'STHeiti', sans-serif;
    font-size: 1.8rem;
    color: var(--gold);
    margin-bottom: 1rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.guide-item p {
    font-family: 'STKaiti', 'KaiTi', 'SimKai', 'FangSong', 'STFangsong', serif;
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--cinnabar-red);
    margin-bottom: 1rem;
    font-weight: bold;
}

.guide-item ul {
    margin-left: 2rem;
    color: var(--ink-black);
    font-weight: bold;
}

.guide-item li {
    font-family: 'STKaiti', 'KaiTi', 'SimKai', 'FangSong', 'STFangsong', serif;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    font-weight: bold;
    position: relative;
    list-style: none;
    padding-left: 1.5rem;
}

.guide-item li::before {
    content: '';
}

.guide-title {
    color: var(--cinnabar-red);
    font-weight: bold;
    position: relative;
    padding-left: 1rem;
}

.guide-title::before {
    content: '•';
    color: var(--cinnabar-red);
    font-size: 1.2rem;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    line-height: 1;
    font-weight: bold;
}

/* 底部信息 */
.footer {
    background: url('../images/xinchun.png') center 20%/cover no-repeat;
    color: var(--rice-paper);
    padding: 3rem 0 2rem;
    position: relative;
    overflow: hidden;
}

/* 联系我们板块样式 */
.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 0;
    font-size: 1rem;
    color: var(--rice-paper);
    text-decoration: none;
    transition: all 0.3s ease;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    font-weight: 500;
}

.contact-item:hover {
    color: var(--gold);
    transform: translateX(5px);
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.8);
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(10, 10, 10, 0.7));
    z-index: 1;
}

.footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background-color: var(--cinnabar-red);
    z-index: 3;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
    width: 100%;
    box-sizing: border-box;
}

.footer-section h3 {
    font-family: 'Ma Shan Zheng', cursive, 'SimHei', 'STHeiti', sans-serif;
    font-size: 1.5rem;
    color: var(--gold);
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

/* 移除页脚标题下方的红色横线 */
/* .footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--cinnabar-red);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
} */

.footer-section p, .footer-section a {
    font-family: 'STKaiti', 'KaiTi', 'SimKai', 'FangSong', 'STFangsong', serif;
    font-size: 1.1rem;
    color: var(--gold);
    margin-bottom: 0.8rem;
    text-decoration: none;
    transition: all 0.3s ease;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    font-weight: 500;
}

/* 确保copyright部分的ICP备案链接和公安备案信息保持红色 */
.copyright a,
.copyright span {
    color: red !important;
    font-weight: bold !important;
    text-decoration: underline !important;
}

/* 底部实时日历样式 */
.calendar-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1rem;
    order: 1; /* 确保实时日历始终显示在左侧第一位 */
}

/* 其他footer-section设置order为2，确保日历在第一位 */
.footer-section:not(.calendar-section) {
    order: 2;
}

.calendar-section h3 {
    margin-bottom: 1rem;
    color: var(--gold);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    font-family: 'Ma Shan Zheng', cursive, 'SimHei', 'STHeiti', sans-serif;
    font-size: 1.5rem;
    padding-bottom: 0.5rem;
    position: relative;
}

/* 调整日历容器样式，使其与其他板块保持一致 */
.calendar-section .calendar-container {
    padding: 1rem;
    min-width: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    background: transparent;
    border-radius: 0;
    backdrop-filter: none;
}

/* 固定文本样式 */
.calendar-section .fixed-text {
    font-size: 1.2rem;
    font-weight: bold;
    text-align: center;
    font-family: 'Ma Shan Zheng', cursive, 'SimHei', 'STHeiti', sans-serif;
    letter-spacing: 2px;
    margin-top: 8px;
    /* 使用纯金黄色渐变，与页面整体风格保持一致 */
    background: linear-gradient(45deg, var(--gold), #FFD700, var(--gold), #FFD700);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    text-shadow: 
        0 0 15px rgba(212, 175, 55, 0.9),
        1px 1px 3px rgba(0, 0, 0, 0.9);
    /* 添加渐变动画 */
    animation: fadeInGlow 3s ease-in-out infinite alternate, gradientShift 5s ease-in-out infinite;
}

/* 联系我们板块图标样式 */
.footer-section p {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-weight: bold;
    line-height: 1.6;
}

/* 侠名行强制不换行，保持在一排 */
.footer-section p:has(.user-icon) {
    flex-wrap: nowrap;
    white-space: nowrap;
    min-height: 30px;
}

/* 图标固定宽度，文本左对齐 */
.contact-icon {
    flex-shrink: 0;
    display: inline-block;
    width: 24px;
    height: 24px;
    position: relative;
    vertical-align: top;
    margin-top: 2px;
    text-shadow: none;
    transition: all 0.3s ease;
}

/* 明显的气泡样式图标 */
.chat-icon {
    display: inline-block;
    width: 24px;
    height: 24px;
    mask-image: none;
    -webkit-mask-image: none;
    background-color: transparent;
    box-shadow: none;
    position: relative;
    vertical-align: middle;
    margin-right: 8px;
}

/* QQ图标 */
.contact-icon.qq-icon {
    display: inline-block;
    width: 24px;
    height: 24px;
    position: relative;
}

.contact-icon.qq-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 18px;
    height: 18px;
    background: linear-gradient(135deg, #07C160, #05A050);
    border-radius: 4px;
    box-shadow: 0 0 8px rgba(7, 193, 96, 0.7);
}

.contact-icon.qq-icon::after {
    content: '💬';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Segoe UI Emoji', 'Apple Color Emoji', 'Noto Color Emoji', sans-serif;
    font-size: 0.8rem;
    color: white;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.9);
    z-index: 1;
}

.chat-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 18px;
    height: 16px;
    background-color: #07C160;
    border-radius: 8px;
    box-shadow: 0 0 8px rgba(7, 193, 96, 0.7);
}

.chat-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 15%;
    transform: translate(-50%, -10%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid #07C160;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
}

/* 游戏手柄图标 */
.contact-icon.game-icon {
    display: inline-block;
    width: 24px;
    height: 24px;
    position: relative;
    transition: transform 0.3s ease;
}

.contact-icon.game-icon:hover {
    transform: scale(1.1) rotate(10deg);
}

.contact-icon.game-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 18px;
    height: 12px;
    background: linear-gradient(135deg, #FF6B6B, #4ECDC4);
    border-radius: 4px;
    box-shadow: 0 0 12px rgba(255, 107, 107, 0.8);
}

.contact-icon.game-icon::after {
    content: '🎮';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Segoe UI Emoji', 'Apple Color Emoji', 'Noto Color Emoji', sans-serif;
    font-size: 0.7rem;
    color: white;
    text-shadow: 0 0 6px rgba(255, 255, 255, 0.9);
    z-index: 1;
}

/* 用户图标 */
.contact-icon.user-icon {
    display: inline-block;
    width: 24px;
    height: 24px;
    position: relative;
    transition: transform 0.3s ease;
}

.contact-icon.user-icon:hover {
    transform: scale(1.1) rotate(5deg);
}

.contact-icon.user-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 18px;
    height: 18px;
    background: linear-gradient(135deg, #FF6B6B, #4ECDC4);
    border-radius: 50%;
    box-shadow: 0 0 12px rgba(255, 107, 107, 0.8);
}

.contact-icon.user-icon::after {
    content: '🌟';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Segoe UI Emoji', 'Apple Color Emoji', 'Noto Color Emoji', sans-serif;
    font-size: 0.8rem;
    color: white;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.9);
    z-index: 1;
}

.contact-icon:hover {
    transform: scale(1.2);
    background-color: rgba(230, 230, 240, 0.9); /* 悬停时更亮的银色白 */
    box-shadow: 0 0 20px rgba(230, 230, 240, 0.9); /* 增强的银色发光效果 */
}

.footer-section a:hover {
    color: var(--cinnabar-red);
    transform: translateX(5px);
}

.seal {
    width: 160px;
    height: 180px;
    margin: 0 auto;
    position: relative;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 六边形徽章主体 */
.seal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #9E2A2B 0%, #C92A2A 50%, #9E2A2B 100%);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.8),
        inset 0 0 20px rgba(255, 255, 255, 0.2);
    z-index: 1;
    transition: all 0.4s ease;
}

/* 徽章内部装饰 */
.seal::after {
    content: '';
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%, rgba(0, 0, 0, 0.2) 100%);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    z-index: 2;
    transition: all 0.4s ease;
}

/* 徽章文字内容 */
.seal span {
    position: relative;
    z-index: 3;
    text-align: center;
    color: #F5F5DC;
    font-family: 'Ma Shan Zheng', cursive, 'SimHei', 'STHeiti', sans-serif;
    font-size: 1.8rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    letter-spacing: 1px;
    line-height: 1.3;
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* 剑形装饰 */
.seal span::before {
    content: '⚔️';
    font-size: 2rem;
    margin-bottom: 8px;
    display: block;
    transition: all 0.4s ease;
}

/* 帮会名称 */
.seal span::after {
    content: '唯心阁';
    display: block;
    font-size: 2rem;
    transition: all 0.4s ease;
}

/* 水墨扩散效果 */
@keyframes inkSpread {
    0% {
        transform: scale(0);
        opacity: 0.5;
    }
    100% {
        transform: scale(3);
        opacity: 0;
    }
}

/* 悬停效果 */
.seal:hover {
    transform: translateY(-10px) scale(1.05);
}

/* 悬停时主体效果 */
.seal:hover::before {
    background: linear-gradient(135deg, #C92A2A 0%, #E03131 50%, #C92A2A 100%);
    box-shadow: 
        0 15px 45px rgba(158, 42, 43, 0.9),
        inset 0 0 30px rgba(255, 255, 255, 0.3),
        0 0 20px rgba(255, 255, 255, 0.2);
}

/* 悬停时装饰效果 */
.seal:hover::after {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, transparent 50%, rgba(0, 0, 0, 0.3) 100%);
}

/* 悬停时文字效果 */
.seal:hover span {
    color: #FFFFFF;
    text-shadow: 
        3px 3px 6px rgba(0, 0, 0, 0.9),
        0 0 15px rgba(255, 255, 255, 0.5);
}

/* 悬停时剑形效果 */
.seal:hover span::before {
    transform: rotate(360deg) scale(1.2);
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
}

/* 悬停时名称效果 */
.seal:hover span::after {
    transform: scale(1.1);
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
}

/* 卡片水墨扩散效果 */
.member-token:hover::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(158, 42, 43, 0.3), transparent);
    transform: translate(-50%, -50%);
    animation: inkSpread 1s ease-out forwards;
    z-index: 1;
}

/* 移除招募卡片的水墨扩散效果 */
.recruitment-card:hover::after {
    content: none;
}

/* 实时日历样式 */
.calendar-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.8rem;
    background: rgba(47, 79, 79, 0.1);
    border-radius: 8px;
    margin-top: 0.5rem;
    width: 100%;
    box-sizing: border-box;
    border: 2px solid var(--gold); /* 金色边框 */
}

.current-date {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--cinnabar-red); /* 使用醒目的红色 */
    margin-bottom: 0.3rem;
    text-align: center;
    font-family: 'Ma Shan Zheng', cursive, 'SimHei', 'STHeiti', sans-serif;
    line-height: 1.3;
    text-shadow: 
        0 0 10px rgba(158, 42, 43, 0.9),
        1px 1px 2px rgba(0, 0, 0, 0.9); /* 增强文字阴影，提高对比度 */
    letter-spacing: 0.5px;
}

.current-time {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--gold); /* 使用金色 */
    margin-bottom: 0.3rem;
    text-align: center;
    font-family: 'Courier New', monospace;
    text-shadow: 
        0 0 15px rgba(212, 175, 55, 0.9),
        1px 1px 3px rgba(0, 0, 0, 0.9); /* 增强文字阴影，提高对比度 */
    letter-spacing: 1px;
}

.lunar-date {
    font-size: 1rem;
    font-weight: bold;
    color: var(--gold); /* 使用金色 */
    text-align: center;
    font-style: normal;
    line-height: 1.2;
    text-shadow: 
        0 0 10px rgba(212, 175, 55, 0.8),
        1px 1px 2px rgba(0, 0, 0, 0.9); /* 增强文字阴影，提高对比度 */
    letter-spacing: 0.5px;
}

.copyright {
    text-align: center;
    padding: 1rem;
    color: var(--rice-paper);
    font-size: 0.9rem;
    font-weight: bold;
    position: relative;
    z-index: 2;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    background: rgba(0, 0, 0, 0.4);
    border-radius: 8px;
    margin: 1rem auto;
    width: calc(100% - 40px);
    max-width: 1200px;
    box-sizing: border-box;
}

/* 底部版权样式 */
.footer .copyright {
    border-top: 1px solid rgba(245, 245, 220, 0.3);
    margin-top: 2rem;
}

/* 武侠风格背景音乐控制 - 全新设计 */
.audio-control {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: transparent;
    border: 4px solid var(--gold);
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 
        0 0 20px rgba(212, 175, 55, 0.8),
        0 4px 15px rgba(0, 0, 0, 0.5);
}

.audio-control:hover {
    transform: scale(1.1);
    box-shadow: 
        0 0 30px rgba(212, 175, 55, 1),
        0 6px 25px rgba(0, 0, 0, 0.7);
    border-color: var(--cinnabar-red);
}

/* 播放按钮样式 - 武侠风格 */
.audio-control::before {
    content: '▶';
    position: absolute;
    top: 50%;
    left: 55%;
    transform: translate(-50%, -50%);
    font-size: 24px;
    color: var(--gold);
    z-index: 2;
    transition: all 0.3s ease;
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.8);
}

.audio-control:hover::before {
    color: var(--cinnabar-red);
    transform: translate(-50%, -50%) scale(1.2);
    text-shadow: 0 0 25px rgba(158, 42, 43, 0.9);
}

/* 暂停状态 */
.audio-control.paused::before {
    content: '⏸';
    font-size: 20px;
    color: var(--gold);
    left: 50%;
    transform: translate(-50%, -50%);
}

.audio-control.paused:hover::before {
    color: var(--cinnabar-red);
    transform: translate(-50%, -50%) scale(1.2);
    text-shadow: 0 0 25px rgba(158, 42, 43, 0.9);
}

/* 音量滑块 */
.volume-control {
    position: fixed;
    bottom: 120px;
    right: 55px;
    transform: rotate(-90deg);
    z-index: 1000;
    display: none;
    background: rgba(10, 10, 10, 0.8);
    padding: 10px;
    border-radius: 20px;
    border: 2px solid var(--gold);
}

.volume-control.show {
    display: block;
    animation: fadeIn 0.3s ease;
}
@keyframes fadeIn {
    from { opacity: 0; transform: rotate(-90deg) translateY(20px); }
    to { opacity: 1; transform: rotate(-90deg) translateY(0); }
}

input[type="range"] {
    -webkit-appearance: none;
    width: 120px;
    height: 8px;
    background: linear-gradient(to right, var(--cinnabar-red), var(--gold));
    border-radius: 4px;
    outline: none;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.5);
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: radial-gradient(circle, var(--gold), var(--cinnabar-red));
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.5),
        0 0 10px rgba(212, 175, 55, 0.6);
}

input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.7),
        0 0 15px rgba(212, 175, 55, 0.8);
}

/* 响应式设计 */
@media (max-width: 1024px) {
    /* 背景图片适配 */
    body {
        background-size: cover;
    }
    
    /* 导航栏背景图片适配 */
    .navbar {
        background-size: cover;
        background-position: center;
    }
    
    /* 底部背景图片适配 */
    .footer {
        background-size: cover;
        background-position: center;
    }
    
    .intro-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .vertical-text {
        writing-mode: horizontal-tb;
        text-orientation: initial;
        letter-spacing: normal;
        border-left: none;
        border-bottom: 3px solid var(--cinnabar-red);
        padding: 0.5rem;
        font-size: 1.5rem;
    }
    
    /* 调整字体大小 */
    body {
        font-size: 1rem;
    }
    
    /* 调整导航栏 */
    .navbar .container {
        padding: 0.3rem 15px;
    }
    
    /* 调整横幅文字大小 */
    .banner h1 {
        font-size: 4rem;
    }
    
    .banner p {
        font-size: 1.8rem;
    }
    
    /* 调整招新卡片 */
    .recruitment-card {
        padding: 1.5rem;
        min-height: 300px;
    }
    
    /* 调整音频控制按钮 */
    .audio-control {
        width: 70px;
        height: 70px;
        bottom: 25px;
        right: 25px;
    }
    
    /* 调整音量控制 */
    .volume-control {
        bottom: 105px;
        right: 50px;
    }
}



@media (max-width: 480px) {
    .banner h1 {
        font-size: 3rem;
    }
    
    .banner p {
        font-size: 1.4rem;
        letter-spacing: 0.08rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .scroll-container {
        padding: 1rem;
    }
    
    .horizontal-text {
        font-size: 1rem;
    }
    
    .recruitment-card {
        padding: 1.5rem;
    }
    
    .recruitment-card h3 {
        font-size: 1.5rem;
    }
    
    .members-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 1rem;
    }
    
    .guide-item h3 {
        font-size: 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* 调整音频控制按钮 - 小屏幕移动端 */
    .audio-control {
        width: 60px;
        height: 60px;
        bottom: 20px;
        right: 20px;
    }
    
    .audio-control::before {
        font-size: 20px;
    }
    
    .audio-control.paused::before {
        font-size: 16px;
    }
    
    /* 调整音量控制 - 小屏幕移动端 */
    .volume-control {
        bottom: 90px;
        right: 45px;
    }
    
    input[type="range"] {
        width: 100px;
    }
    
    /* 调整音频提示 - 小屏幕移动端 */
    .audio-tip {
        bottom: 75px;
        right: 15px;
        font-size: 12px;
        padding: 8px 16px;
    }
    
    /* 调整加载动画 - 小屏幕移动端 */
    .loading::before {
        font-size: 2.5rem;
        left: 8%;
        letter-spacing: 0.8rem;
    }
    
    .loading::after {
        font-size: 5rem;
    }
    
    /* 调整弹窗 - 小屏幕移动端 */
    .modal-content {
        padding: 1.2rem;
        width: 90%;
    }
    
    .modal-content h3 {
        font-size: 1.3rem;
    }
    
    .modal-content p {
        font-size: 0.9rem;
    }
}

/* 简化版加载效果 */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* 使用双人图片作为背景 */
    background: url('../images/shuangren.png') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    animation: fadeOut 1.5s ease-out 2s forwards;
    overflow: hidden;
    font-family: 'Ma Shan Zheng', cursive, 'SimHei', 'STHeiti', sans-serif;
}

/* 燕云十六声标志 - 左侧垂直文字 */
.loading::before {
    content: '燕云十六声';
    position: absolute;
    top: 50%;
    left: 15%;
    font-size: 4.5rem;
    color: var(--gold); /* 金色文字 */
    writing-mode: vertical-rl;
    text-orientation: upright;
    letter-spacing: 1.2rem;
    transform: translateY(-50%);
    z-index: 2;
    /* 去除描边效果 */
    text-shadow: none;
}

/* 唯心阁主标题 - 中央文字 */
.loading::after {
    content: '唯心阁';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 8rem;
    color: var(--gold);
    text-align: center;
    z-index: 3;
    line-height: 1;
    /* 去除描边效果 */
    text-shadow: none;
}

/* 加载动画版权信息 */
.loading .copyright {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    padding: 0.5rem 1rem;
    border-top: 1px solid rgba(245, 245, 220, 0.3);
    color: var(--rice-paper);
    font-size: 0.9rem;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    background: rgba(0, 0, 0, 0.4);
    border-radius: 8px;
    box-sizing: border-box;
    z-index: 4;
    width: calc(100% - 40px);
    max-width: 1200px;
    font-family: 'Noto Serif SC', serif;
}

/* 弹窗样式 */
.modal {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0);
    backdrop-filter: blur(0px);
    opacity: 0;
    pointer-events: none;
    transition: background-color 0.3s ease, backdrop-filter 0.3s ease, opacity 0.3s ease;
}

.modal.show {
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background: linear-gradient(135deg, rgba(245, 245, 220, 0.95), rgba(47, 79, 79, 0.1));
    border: 3px solid var(--gold);
    border-radius: 18px;
    padding: 3rem;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3),
                0 0 20px rgba(212, 175, 55, 0.5);
    position: relative;
    max-width: 500px;
    max-height: 90vh;
    width: auto;
    opacity: 0;
    transform: translateY(-50px) scale(0.9);
    transition: opacity 0.3s ease, transform 0.3s ease;
    writing-mode: horizontal-tb !important;
    text-orientation: mixed !important;
    direction: ltr !important;
}

/* 媒体查看模态框样式优化 - 更大的显示尺寸 */
#media-modal .modal-content {
    max-width: 90vw;
    max-height: 90vh;
    width: auto;
    padding: 2rem;
    min-width: 300px;
}

#media-modal #modal-media {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 300px;
}

#media-modal #modal-media img,
#media-modal #modal-media video {
    max-width: 100%;
    max-height: 85vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

/* 模态框中的媒体样式 */
#modal-media {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

#modal-media img,
#modal-media video {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.modal.show .modal-content {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.close-modal {
    color: var(--gold);
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 20px;
    transition: all 0.3s ease;
}

.close-modal:hover {
    color: var(--cinnabar-red);
    transform: scale(1.2);
}

.modal-content h3 {
    font-family: 'Ma Shan Zheng', cursive, 'SimHei', 'STHeiti', sans-serif;
    font-size: 2.2rem;
    color: var(--gold);
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.modal-content p {
    font-size: 1.8rem;
    color: var(--gold);
    font-weight: bold;
    text-shadow: 
        0 0 10px rgba(158, 42, 43, 0.8),
        1px 1px 2px rgba(0, 0, 0, 0.9),
        0 0 20px rgba(212, 175, 55, 0.6),
        0 0 30px rgba(212, 175, 55, 0.3);
    font-family: 'Ma Shan Zheng', cursive, 'SimHei', 'STHeiti', sans-serif;
}

/* 弹窗动画已改为使用CSS过渡效果 */



/* 淡出效果 */
@keyframes fadeOut {
    to {
        opacity: 0;
        visibility: hidden;
    }
}

/* 下滑进入动画 */
@keyframes slideDown {
    from {
        transform: translateX(-50%) translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
}

/* 背景音乐提示样式 */
.audio-tip {
    position: fixed;
    bottom: 90px;
    right: 20px;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.9) 0%, rgba(47, 79, 79, 0.9) 50%, rgba(158, 42, 43, 0.9) 100%);
    color: var(--gold);
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 16px;
    font-family: 'Ma Shan Zheng', cursive, 'SimHei', 'STHeiti', sans-serif;
    z-index: 9997;
    box-shadow: 
        0 0 20px rgba(212, 175, 55, 0.8),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    animation: audioTipAnimation 3s ease-in-out infinite;
    transform-origin: right center;
    white-space: nowrap;
    border: 2px solid rgba(212, 175, 55, 0.6);
    transition: all 0.3s ease;
}

.audio-tip:hover {
    transform: scale(1.05);
    box-shadow: 
        0 0 25px rgba(212, 175, 55, 1),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

@keyframes audioTipAnimation {
    0%, 100% {
        opacity: 0.8;
        transform: translateX(10px) scale(0.95);
    }
    20%, 80% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

/* 提示文字动画 */
.audio-tip span {
    display: inline-block;
    animation: float 2s ease-in-out infinite;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.8);
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-3px);
    }
}

/* 淡入发光动画 */
@keyframes fadeInGlow {
    0% {
        opacity: 0.8;
        filter: brightness(1);
    }
    100% {
        opacity: 1;
        filter: brightness(1.2);
    }
}

/* 渐变移动动画 */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}



/* 超小屏手机 */
@media (max-width: 480px) {
    body { font-size: 15px; }
    .banner-content h1 { font-size: 2rem; }
    .banner-content p { font-size: 1rem; }
    .modal-content {
        width: 95%;
        padding: 15px;
    }
}

/* ========== 统一响应式样式 ========== */
@media (max-width: 768px) {
    /* 字体大小调整 */
    body { font-size: 16px; }
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.2rem; }
    
    /* 容器内边距 */
    .container {
        padding-left: 15px;
        padding-right: 15px;
        width: 100%;
        box-sizing: border-box;
    }
    
    /* 纵向文本容器修复 */
    .vertical-text-container {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1rem;
        border-left: none;
        border-bottom: 3px solid var(--cinnabar-red);
    }
    
    .vertical-text-column {
        writing-mode: horizontal-tb;
        font-size: 1.3rem;
        letter-spacing: normal;
        min-height: auto;
        padding: 0.5rem;
    }
    
    .horizontal-text {
        font-size: 1.2rem;
        line-height: 1.8;
        padding: 0.5rem;
    }
    
    /* 导航栏适配 */
    .navbar { padding: 10px; }
    .nav-menu {
        flex-direction: column;
        width: 100%;
        display: none;
    }
    .nav-menu.active { display: flex; }
    .hamburger { display: block; }
    
    /* 网格布局适配 */
    .grid-3, .grid-4, .members-grid, .recruitment-grid {
        grid-template-columns: 1fr !important;
        gap: 15px;
    }
    
    /* 图片自适应 */
    img { max-width: 100%; height: auto; }
    
    /* 表格适配 */
    .admin-table, .media-grid {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
    
    /* 按钮组适配 */
    .media-actions, .action-buttons {
        display: flex;
        flex-direction: column;
        gap: 8px;
        width: 100%;
    }
    .media-actions button, .action-btn {
        width: 100%;
        margin: 2px 0;
        padding: 10px;
    }
    
    /* 留言板/纪念墙适配 */
    .media-item {
        width: 100%;
        margin-bottom: 15px;
    }
    .media-preview img, .media-preview video {
        max-height: 200px;
        object-fit: cover;
    }
    
    /* 管理后台侧边栏适配 */
    .admin-sidebar {
        width: 100%;
        position: relative;
        top: 0;
        margin-bottom: 20px;
    }
    .admin-content {
        margin-left: 0;
        padding: 10px;
    }
    
    /* 日历组件适配 */
    .calendar-container { font-size: 12px; }
    
    /* 页脚适配 */
    .footer-content {
        flex-direction: column;
        gap: 20px;
    }
    .footer-section {
        width: 100%;
        padding: 10px;
    }
}

/* 超小屏手机 */
@media (max-width: 480px) {
    body { font-size: 15px; }
    .banner-content h1 { font-size: 2rem; }
    .banner-content p { font-size: 1rem; }
    .modal-content {
        width: 95%;
        padding: 15px;
    }
}
