/* ============================================
   水墨·黑白渐变风格 | 侠客主题 | 淡入淡出
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* 墨韵背景 - fm.jpg + 黑白渐变叠加 */
/* 墨韵背景 - fm.jpg 全屏覆盖 + 黑色渐变叠加 */
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100vh;
}

body {
    background: url('fm.jpg');
    background-size: contain;
    background-position: center center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    font-family: 'Noto Serif SC', '华文楷书', 'Microsoft YaHei', serif;
    color: #e0dcd0;
    padding: 1.5rem;
    min-height: 100vh;
    position: relative;
}

/* 墨迹飞白纹理叠加 */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 800 1200" opacity="0.08"><path fill="none" stroke="%23ffffff" stroke-width="1.5" d="M120 180 Q250 120 380 200 T600 160 M80 400 Q200 350 350 420 T550 380 M200 700 Q350 650 480 720 T650 680 M100 950 Q300 900 450 980 T700 920" stroke-dasharray="3 6"/><path d="M650 180 Q680 150 700 190" stroke="%23ffffff" stroke-width="1" fill="none"/><circle cx="180" cy="850" r="25" fill="none" stroke="%23ffffff" stroke-width="1" opacity="0.5"/><path d="M500 950 L550 920 L580 960" stroke="%23ffffff" stroke-width="1.2" fill="none" opacity="0.4"/><path d="M300 300 L350 280 L340 320" stroke="%23ffffff" stroke-width="0.8" fill="none" opacity="0.3"/></svg>');
    background-repeat: repeat;
    opacity: 0.4;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(20, 18, 16, 0.75) 0%, rgba(15, 13, 11, 0.8) 100%);
    backdrop-filter: blur(3px);
    border-radius: 0;
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 245, 0.05);
    padding: 1.8rem;
    border: 1px solid rgba(100, 90, 70, 0.15); /* 边框更透明 */
    position: relative;
    transition: all 0.3s ease;
}

/* 水墨笔触装饰 - 顶部墨迹 */
.container::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 15%;
    width: 70%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #8a7a5a, #c4b88a, #8a7a5a, transparent);
    opacity: 0.5;
}

/* ========== 导航栏 - 水墨飞白 ========== */
.nav-bar {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    margin-bottom: 2rem;
    padding-bottom: 0.8rem;
    position: relative;
}

.nav-bar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20%;
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #6a5a4a, #9a8a6a, #6a5a4a, transparent);
    opacity: 0.5;
}

.nav-link {
    font-size: 1.1rem;
    font-weight: 500;
    text-decoration: none;
    padding: 0.3rem 1.2rem;
    background: transparent;
    color: #c8c0b0;
    letter-spacing: 4px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::before {
    content: '『';
    opacity: 0;
    transition: all 0.3s;
}

.nav-link::after {
    content: '』';
    opacity: 0;
    transition: all 0.3s;
}

.nav-link:hover {
    color: #f0e8d8;
    background: rgba(100, 90, 70, 0.2);
    text-shadow: 0 0 4px rgba(200, 180, 140, 0.3);
}

.nav-link:hover::before,
.nav-link:hover::after {
    opacity: 0.5;
    color: #c4b88a;
}

.nav-link.active {
    color: #f5e8c8;
    border-bottom: 1px solid #c4b88a;
    background: linear-gradient(180deg, rgba(100, 80, 60, 0.2), transparent);
}

/* ========== 页眉 - 水墨晕染大字 ========== */
.page-header {
    text-align: center;
    margin: 0.5rem 0 1.8rem;
    position: relative;
}

.hero-title {
    font-size: 4.8rem;
    font-weight: 900;
    letter-spacing: 18px;
    background: linear-gradient(135deg, #f0e8d8 0%, #c4b88a 40%, #8a7a5a 70%, #f0e8d8 100%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    margin-bottom: 0.3rem;
    position: relative;
    display: inline-block;
    opacity: 0;
    animation: inkReveal 0.9s ease-out forwards;
}

@keyframes inkReveal {
    0% { opacity: 0; letter-spacing: 28px; filter: blur(4px); transform: scale(0.98); }
    100% { opacity: 1; letter-spacing: 18px; filter: blur(0); transform: scale(1); }
}

.hero-title::before {
    content: '⚔';
    position: absolute;
    left: -40px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.4rem;
    opacity: 0.4;
    color: #c4b88a;
    text-shadow: 0 0 6px rgba(0,0,0,0.5);
}

.hero-title::after {
    content: '⚔';
    position: absolute;
    right: -40px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.4rem;
    opacity: 0.4;
    color: #c4b88a;
    text-shadow: 0 0 6px rgba(0,0,0,0.5);
}

.subtitle {
    font-size: 0.85rem;
    letter-spacing: 6px;
    color: #9a8a6a;
    border-top: 1px solid rgba(150, 130, 100, 0.4);
    display: inline-block;
    padding-top: 6px;
    opacity: 0.8;
}

.ink-brush {
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #c4b88a, #8a7a5a, #c4b88a, transparent);
    margin: 14px auto 0;
}

/* ========== 欢迎卡片 - 水墨留白渐变 ========== */
.welcome-card {
    background: linear-gradient(135deg, rgba(30, 28, 24, 0.5) 0%, rgba(25, 23, 20, 0.4) 100%);
    padding: 1.8rem;
    margin-bottom: 2rem;
    border-left: 3px solid #c4b88a;
    transition: all 0.4s ease;
    opacity: 0;
    animation: fadeInUp 0.6s ease-out 0.2s forwards;
    backdrop-filter: blur(2px);
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); filter: blur(2px); }
    to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

.welcome-card:hover {
    background: linear-gradient(135deg, rgba(40, 37, 32, 0.75) 0%, rgba(30, 27, 24, 0.65) 100%);
    border-left-width: 4px;
}

.welcome-card h2 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    font-weight: 500;
    color: #e0d4c0;
    letter-spacing: 4px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.welcome-card p {
    line-height: 1.75;
    color: #c8c0b0;
    font-size: 0.9rem;
}

/* ========== 特色网格 - 墨韵卡片渐变 ========== */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.2rem;
    margin: 1.5rem 0 2rem;
}

.feature-item {
    background: linear-gradient(145deg, rgba(35, 32, 28, 0.45), rgba(25, 22, 18, 0.55));
    padding: 1rem 1rem;
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    border: 1px solid rgba(100, 90, 70, 0.25);
    position: relative;
    cursor: pointer;
    opacity: 0;
    animation: fadeInUp 0.5s ease-out forwards;
    animation-delay: calc(0.1s * var(--i, 0));
    backdrop-filter: blur(1px);
}

.feature-item:nth-child(1) { --i: 1; }
.feature-item:nth-child(2) { --i: 2; }
.feature-item:nth-child(3) { --i: 3; }
.feature-item:nth-child(4) { --i: 4; }

.feature-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10%;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, #c4b88a, transparent);
    transition: width 0.4s ease;
}

.feature-item:hover {
    background: linear-gradient(145deg, rgba(55, 50, 44, 0.75), rgba(40, 36, 30, 0.8));
    transform: translateY(-3px);
    border-color: rgba(150, 130, 100, 0.5);
}

.feature-item:hover::after {
    width: 80%;
}

.feature-icon {
    font-size: 1.6rem;
    margin-bottom: 0.4rem;
    opacity: 0.7;
    transition: all 0.3s;
    filter: drop-shadow(0 0 2px rgba(0,0,0,0.3));
}

.feature-item:hover .feature-icon {
    opacity: 1;
    transform: scale(1.05);
    filter: drop-shadow(0 0 6px rgba(200, 180, 140, 0.3));
}

.feature-item h3 {
    font-size: 1.1rem;
    margin-bottom: 0.4rem;
    color: #e0d4c0;
    letter-spacing: 2px;
}

.feature-item p {
    font-size: 0.8rem;
    color: #b0a890;
    line-height: 1.5;
}

/* ========== 统计卡片 - 墨迹渐变 ========== */
.stats-container {
    display: flex;
    justify-content: center;
    gap: 1.8rem;
    margin: 1.8rem 0;
    flex-wrap: wrap;
}

.stat-card {
    background: linear-gradient(135deg, rgba(35, 32, 28, 0.5), rgba(25, 22, 18, 0.6));
    padding: 0.8rem 1.8rem;
    text-align: center;
    min-width: 110px;
    border: 1px solid rgba(100, 90, 70, 0.25);
    transition: all 0.3s ease;
    opacity: 0;
    animation: fadeInUp 0.5s ease-out 0.3s forwards;
    backdrop-filter: blur(2px);
}

.stat-card:hover {
    background: linear-gradient(135deg, rgba(55, 50, 44, 0.75), rgba(40, 36, 30, 0.85));
    transform: translateY(-2px);
    border-color: rgba(150, 130, 100, 0.6);
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #f0e8d8, #c4b88a);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    line-height: 1.2;
    font-family: 'Noto Serif SC', monospace;
}

.stat-label {
    font-size: 0.75rem;
    color: #b0a080;
    letter-spacing: 2px;
}

/* ========== 社主 & 副社主 - 水墨画像渐变 ========== */
.masters-area {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 2rem;
    margin: 1.5rem 0 2.5rem;
    flex-wrap: wrap;
}

.master-card {
    flex: 1;
    min-width: 260px;
    max-width: 360px;
    background: linear-gradient(145deg, rgba(35, 32, 28, 0.7), rgba(25, 22, 18, 0.8));
    overflow: hidden;
    transition: all 0.4s ease;
    border: 1px solid rgba(100, 90, 70, 0.35);
    opacity: 0;
    animation: fadeInUp 0.6s ease-out 0.15s forwards;
    backdrop-filter: blur(1px);
}

.master-card:hover {
    transform: translateY(-4px);
    border-color: rgba(150, 130, 100, 0.6);
    background: linear-gradient(145deg, rgba(55, 50, 44, 0.85), rgba(40, 36, 30, 0.9));
    box-shadow: 0 12px 24px -12px rgba(0, 0, 0, 0.4);
}

.master-portrait {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: linear-gradient(145deg, #2a2820, #1e1c18);
}

.master-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(0.9) contrast(1.15) brightness(0.9);
    transition: all 0.5s ease;
}

.master-card:hover .master-img {
    filter: grayscale(0.6) contrast(1.2) brightness(1);
    transform: scale(1.02);
}

.ink-stamp {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(10, 8, 6, 0.7);
    color: #c4b88a;
    padding: 0.15rem 0.7rem;
    font-size: 0.65rem;
    letter-spacing: 3px;
    font-family: monospace;
    border-left: 2px solid #c4b88a;
}

.master-info {
    padding: 1rem;
    text-align: center;
}

.master-name {
    font-size: 1.35rem;
    font-weight: 600;
    letter-spacing: 4px;
    background: linear-gradient(135deg, #f0e8d8, #c4b88a);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    border-bottom: 1px dashed rgba(150, 130, 100, 0.4);
    display: inline-block;
    margin-bottom: 0.3rem;
}

.master-title {
    font-size: 0.75rem;
    color: #b0a080;
    margin: 0.3rem 0;
}

.master-bio {
    font-size: 0.75rem;
    line-height: 1.5;
    margin-top: 0.5rem;
    color: #c0b8a8;
}

.master-sig {
    margin-top: 0.6rem;
    font-size: 0.65rem;
    border-top: 1px solid rgba(150, 130, 100, 0.3);
    display: inline-block;
    padding-top: 0.3rem;
    color: #9a8a6a;
    letter-spacing: 2px;
}

/* ========== 轮播区 - 水墨淡入淡出渐变 ========== */
.members-carousel-section {
    background: linear-gradient(135deg, rgba(25, 23, 20, 0.5), rgba(20, 18, 16, 0.6));
    padding: 1.5rem 1rem;
    margin: 1.5rem 0;
    border: 1px solid rgba(100, 90, 70, 0.25);
    transition: all 0.3s;
    backdrop-filter: blur(2px);
}

.carousel-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 1.2rem;
}

.chivalry-icon {
    font-size: 1.3rem;
    color: #c4b88a;
    opacity: 0.6;
    filter: drop-shadow(1px 1px 0 rgba(0,0,0,0.2));
}

.carousel-header h3 {
    font-size: 1.3rem;
    font-weight: 500;
    letter-spacing: 6px;
    background: linear-gradient(135deg, #e0d4c0, #c4b88a);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.carousel-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
}

.carousel-arrow {
    background: linear-gradient(145deg, rgba(40, 37, 32, 0.8), rgba(30, 27, 24, 0.9));
    border: 1px solid rgba(120, 100, 80, 0.4);
    font-size: 1.5rem;
    width: 42px;
    height: 42px;
    cursor: pointer;
    transition: all 0.25s ease;
    color: #c4b88a;
    font-weight: bold;
    flex-shrink: 0;
}

.carousel-arrow:hover {
    background: linear-gradient(145deg, rgba(60, 55, 48, 0.9), rgba(45, 40, 35, 0.95));
    border-color: #c4b88a;
    color: #f0e8d8;
    transform: scale(1.02);
    box-shadow: 0 0 8px rgba(200, 180, 140, 0.2);
}

.carousel-viewport {
    flex: 1;
    overflow: hidden;
    padding: 8px 0;
}

.carousel-track {
    display: flex;
    transition: transform 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    gap: 20px;
    align-items: center;
}

/* ========== 成员卡片 - 水墨淡入淡出渐变 ========== */
.member-slide {
    flex-shrink: 0;
    background: linear-gradient(145deg, rgba(35, 32, 28, 0.7), rgba(25, 22, 18, 0.8));
    overflow: hidden;
    border: 1px solid rgba(100, 90, 70, 0.3);
    transition: all 0.35s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    cursor: pointer;
    opacity: 0.35;
    transform: scale(0.86);
    filter: blur(1.2px) grayscale(0.5);
    backdrop-filter: blur(0.5px);
}

/* 中间选中卡片 - 完全显现，无模糊 */
.member-slide.center {
    opacity: 1;
    transform: scale(1.02);
    filter: blur(0) grayscale(0);
    border-color: rgba(180, 150, 110, 0.6);
    box-shadow: 0 8px 20px -8px rgba(0, 0, 0, 0.3);
    background: linear-gradient(145deg, rgba(55, 50, 44, 0.9), rgba(40, 36, 30, 0.95));
}

/* 左右相邻卡片 - 半显现 */
.member-slide.left,
.member-slide.right {
    opacity: 0.65;
    transform: scale(0.93);
    filter: blur(0.6px) grayscale(0.25);
}

.member-img-container {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: linear-gradient(145deg, #2a2820, #1e1c18);
}

.member-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(0.95) contrast(1.1) brightness(0.9);
    transition: all 0.4s ease;
}

.member-slide.center .member-photo {
    filter: grayscale(0.65) contrast(1.15) brightness(1);
}

.member-slide:hover .member-photo {
    transform: scale(1.02);
    filter: grayscale(0.5) contrast(1.2);
}

.member-info-carousel {
    padding: 0.8rem;
    text-align: center;
}

.member-name-carousel {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 3px;
    background: linear-gradient(135deg, #e0d4c0, #c4b88a);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.member-role-carousel {
    font-size: 0.65rem;
    background: rgba(100, 90, 70, 0.3);
    display: inline-block;
    padding: 0.15rem 0.6rem;
    margin-top: 5px;
    color: #c0b090;
    letter-spacing: 1px;
}

.member-desc {
    font-size: 0.6rem;
    margin-top: 6px;
    color: #b0a080;
    line-height: 1.4;
    display: none;
    transition: all 0.2s;
}

.member-slide.center .member-desc {
    display: block;
    animation: fadeInUp 0.3s ease-out;
}

/* ========== 指示器 - 墨迹风格 ========== */
.member-indicator {
    text-align: center;
    margin-top: 1.2rem;
    background: linear-gradient(135deg, rgba(35, 32, 28, 0.6), rgba(25, 22, 18, 0.7));
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    padding: 0.25rem 1rem;
    border: 1px solid rgba(120, 100, 80, 0.4);
    transition: all 0.3s;
    backdrop-filter: blur(2px);
}

.member-name-display {
    font-weight: 500;
    background: linear-gradient(135deg, #f0e8d8, #c4b88a);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    margin-right: 0.8rem;
    letter-spacing: 2px;
}

.member-index {
    color: #b0a080;
}

/* ========== 页脚 ========== */
.footer-note {
    text-align: center;
    margin-top: 1.8rem;
    font-size: 0.7rem;
    color: #8a7a5a;
    border-top: 1px solid rgba(100, 90, 70, 0.3);
    padding-top: 1rem;
    letter-spacing: 2px;
    opacity: 0.6;
}

/* ========== 响应式 ========== */
@media (max-width: 860px) {
    body { padding: 1rem; }
    .container { padding: 1rem; }
    .masters-area { flex-direction: column; align-items: center; }
    .hero-title { font-size: 2.5rem; letter-spacing: 6px; }
    .hero-title::before,
    .hero-title::after { display: none; }
    .nav-bar { gap: 0.5rem; flex-wrap: wrap; }
    .nav-link { font-size: 0.85rem; padding: 0.3rem 0.8rem; letter-spacing: 2px; }
    .carousel-arrow { width: 36px; height: 36px; font-size: 1.2rem; }
    .member-name-carousel { font-size: 0.85rem; }
}

/* ========== 滚动条 - 水墨风格 ========== */
::-webkit-scrollbar {
    width: 4px;
    background: #1a1814;
}

::-webkit-scrollbar-track {
    background: linear-gradient(180deg, #1a1814, #0d0b08);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #6a5a4a, #9a8a6a);
    border-radius: 2px;
}


/* ========== 黑白水墨墨迹效果 ========== */
.ink-dot {
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(35, 35, 42, 0.5) 0%, rgba(25, 25, 32, 0.25) 50%, rgba(15, 15, 22, 0.08) 80%, transparent 100%);
    filter: blur(3px);
    animation: inkFade 1.2s ease-out forwards;
}

@keyframes inkFade {
    0% {
        opacity: 0.7;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(2.8);
    }
}

/* ========== 水波涟漪效果 ========== */
.ripple {
    position: fixed;
    pointer-events: none;
    z-index: 9998;
    border-radius: 50%;
    border: 2px solid rgba(100, 100, 110, 0.4);
    box-shadow: 0 0 8px rgba(80, 80, 90, 0.2), inset 0 0 4px rgba(120, 120, 130, 0.15);
    animation: rippleExpand 1s ease-out forwards;
}

@keyframes rippleExpand {
    0% {
        width: 10px;
        height: 10px;
        opacity: 0.6;
        border-width: 2px;
    }
    100% {
        width: 120px;
        height: 120px;
        opacity: 0;
        border-width: 0.5px;
    }
}

/* 鼠标跟随的墨色晕染 */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background: radial-gradient(circle at var(--x, 50%) var(--y, 50%), rgba(30, 30, 35, 0.12) 0%, rgba(20, 20, 25, 0.05) 40%, transparent 70%);
    z-index: 999;
    transition: background 0.1s ease;
}

/* ========== 鼠标悬停放大图片效果 ========== */

/* 社主和副社主图片悬停放大 */
.master-portrait {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: linear-gradient(145deg, #2a2820, #1e1c18);
}

.master-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(0.9) contrast(1.15) brightness(0.9);
    transition: all 0.5s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

.master-card:hover .master-img {
    filter: grayscale(0.4) contrast(1.2) brightness(1.05);
    transform: scale(1.1);
}

/* 成员卡片图片悬停放大 */
.member-img-container {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: linear-gradient(145deg, #2a2820, #1e1c18);
}

.member-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(0.95) contrast(1.1) brightness(0.9);
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

/* 鼠标悬停时图片放大（不区分是否选中） */
.member-slide:hover .member-photo {
    transform: scale(1.12);
    filter: grayscale(0.3) contrast(1.2) brightness(1.05);
}

/* 中间选中卡片的图片悬停效果（稍大） */
.member-slide.center:hover .member-photo {
    transform: scale(1.15);
    filter: grayscale(0.2) contrast(1.25) brightness(1.08);
}

/* ========== 图片悬停放大浮层（原比例显示） ========== */
.image-preview {
    position: fixed;
    z-index: 10000;
    pointer-events: none;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 0 2px rgba(200, 180, 140, 0.4);
    opacity: 0;
    transform: scale(0.92);
    transition: opacity 0.18s ease, transform 0.18s ease;
    background: #1a1814;
    will-change: transform, opacity;
}

.image-preview.show {
    opacity: 1;
    transform: scale(1);
}

.image-preview img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    background: #0d0b08;
}

.image-preview-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(0deg, rgba(0,0,0,0.85), transparent);
    color: #e0d4c0;
    font-size: 0.8rem;
    padding: 8px 12px;
    text-align: center;
    letter-spacing: 2px;
    font-family: 'Noto Serif SC', serif;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ========== 第一个成员图片位置微调 ========== */
.member-slide[data-index="0"] .member-photo {
    object-position: center 20%;  /* 向下移动，数值越大越往下 */
}

/* ========== 副社主图片向下移动 ========== */
.master-card.deputy .master-img {
    object-position: center 20%;  /* 向下移动，数值越大越往下 */
}

/* ========== 返回按钮样式 ========== */
.back-button {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1001;
    background: rgba(30, 28, 24, 0.8);
    border: 1px solid rgba(200, 180, 140, 0.5);
    color: #e0d4c0;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.9rem;
    letter-spacing: 2px;
    cursor: pointer;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    font-family: 'Noto Serif SC', serif;
}

.back-button:hover {
    background: rgba(50, 45, 40, 0.9);
    border-color: #c4b88a;
    transform: translateX(-3px);
}

/* ========== 视频弹窗样式 ========== */
.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10002;
    backdrop-filter: blur(8px);
    justify-content: center;
    align-items: center;
}

.video-modal.show {
    display: flex;
    animation: fadeIn 0.3s ease;
}

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

.video-modal-content {
    position: relative;
    width: 80%;
    max-width: 900px;
    background: #1a1814;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(200, 180, 140, 0.3);
}

.video-modal-content video {
    width: 100%;
    height: auto;
    display: block;
    background: #000;
}

.close-video {
    position: absolute;
    top: 10px;
    right: 15px;
    background: rgba(0, 0, 0, 0.6);
    border: none;
    color: #e0d4c0;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.close-video:hover {
    background: rgba(200, 80, 60, 0.8);
    transform: scale(1.05);
}

.video-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(0deg, rgba(0,0,0,0.8), transparent);
    color: #e0d4c0;
    padding: 12px 20px;
    font-size: 1rem;
    letter-spacing: 2px;
    text-align: center;
    font-family: 'Noto Serif SC', serif;
}

/* 响应式调整 */
@media (max-width: 860px) {
    .back-button {
        top: 10px;
        left: 10px;
        padding: 6px 12px;
        font-size: 0.75rem;
    }
    .video-modal-content {
        width: 95%;
    }
}

/* ========== 视频弹窗过渡动画（增强版） ========== */
.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 10002;
    backdrop-filter: blur(8px);
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.video-modal.show {
    display: flex;
    animation: modalFadeIn 0.4s ease forwards;
}

@keyframes modalFadeIn {
    0% {
        opacity: 0;
        backdrop-filter: blur(0px);
    }
    100% {
        opacity: 1;
        backdrop-filter: blur(8px);
    }
}

@keyframes modalFadeOut {
    0% {
        opacity: 1;
        backdrop-filter: blur(8px);
    }
    100% {
        opacity: 0;
        backdrop-filter: blur(0px);
    }
}

.video-modal.fade-out {
    animation: modalFadeOut 0.3s ease forwards;
}

.video-modal-content {
    position: relative;
    width: 80%;
    max-width: 900px;
    background: #1a1814;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 30px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(200, 180, 140, 0.4);
    opacity: 0;
    transform: scale(0.9) translateY(30px);
    transition: all 0.35s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

.video-modal.show .video-modal-content {
    opacity: 1;
    transform: scale(1) translateY(0);
}

.video-modal-content video {
    width: 100%;
    height: auto;
    display: block;
    background: #000;
}

.close-video {
    position: absolute;
    top: 15px;
    right: 20px;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(200, 180, 140, 0.5);
    color: #e0d4c0;
    font-size: 1.4rem;
    cursor: pointer;
    z-index: 10;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    backdrop-filter: blur(4px);
}

.close-video:hover {
    background: rgba(200, 80, 60, 0.8);
    transform: scale(1.08) rotate(90deg);
    border-color: #c4b88a;
}

.video-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(0deg, rgba(0,0,0,0.85) 0%, transparent 100%);
    color: #e0d4c0;
    padding: 15px 20px;
    font-size: 1rem;
    letter-spacing: 3px;
    text-align: center;
    font-family: 'Noto Serif SC', serif;
    transform: translateY(100%);
    transition: transform 0.3s ease 0.1s;
}

.video-modal.show .video-title {
    transform: translateY(0);
}

/* 响应式 */
@media (max-width: 860px) {
    .video-modal-content {
        width: 95%;
    }
    .close-video {
        top: 10px;
        right: 15px;
        width: 32px;
        height: 32px;
        font-size: 1.2rem;
    }
    .video-title {
        font-size: 0.8rem;
        padding: 10px 15px;
    }
}