/* ==================== 全局重置与变量 ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 全局字体可读性优化 */
body, body * {
    text-rendering: optimizeLegibility;
    -webkit-text-size-adjust: 100%;
}

:root {
    --ice: #4e6ef2;
    --gold: #614de8;
    --gold-dark: #5240c8;
    --pink: #e05d6f;
    --bg-deep: #f5f6f8;
    --bg-dark: #eef0f3;
    --bg-mid: #e8eaee;
    --text-bright: #1a1a1e;
    --text-mid: #3d4043;
    --text-dim: #6b7075;
    --border-subtle: rgba(0, 0, 0, 0.08);
    --glow-gold: 0 0 40px rgba(97, 77, 232, 0.06);
    --glow-ice: 0 0 30px rgba(78, 110, 242, 0.06);

    /* 组件级变量（亮色默认） */
    --navbar-bg: rgba(255, 255, 255, 0.92);
    --navbar-bg-scrolled: rgba(255, 255, 255, 0.98);
    --navbar-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
    --card-bg: #ffffff;
    --card-bg-hover: #ffffff;
    --card-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    --input-bg: #f5f6f8;
    --input-bg-focus: #ffffff;
    --modal-bg: #ffffff;
    --modal-overlay: rgba(0, 0, 0, 0.35);
    --modal-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    --hero-gradient: linear-gradient(170deg, #e8eaee 0%, #eef0f3 30%, #f5f6f8 60%, #eef0f3 100%);
    --mountain-far: rgba(180, 185, 195, 0.2);
    --mountain-mid: rgba(170, 175, 185, 0.25);
    --star-color: rgba(78, 110, 242, 0.35);
    --star-glow: rgba(78, 110, 242, 0.12);
    --petal-color: rgba(224, 93, 111, 0.3);
    --gallery-btn-bg: rgba(255, 255, 255, 0.92);
    --back-top-bg: rgba(255, 255, 255, 0.92);
    --back-top-color: #9aa0a6;
    --back-top-border: rgba(0, 0, 0, 0.08);
    --toast-success: rgba(52, 168, 83, 0.92);
    --toast-error: rgba(224, 93, 111, 0.92);
    --toast-info: rgba(78, 110, 242, 0.92);
}

/* ==================== 暗色模式 ==================== */
[data-theme="dark"] {
    --ice: #7b9cf2;
    --gold: #9b8aff;
    --gold-dark: #8678e0;
    --pink: #e87a8a;
    --bg-deep: #18191c;
    --bg-dark: #1e1f23;
    --bg-mid: #26272c;
    --text-bright: #eaeaed;
    --text-mid: #a0a4aa;
    --text-dim: #7a7e85;
    --border-subtle: rgba(255, 255, 255, 0.08);
    --glow-gold: 0 0 40px rgba(155, 138, 255, 0.06);
    --glow-ice: 0 0 30px rgba(123, 156, 242, 0.06);

    --navbar-bg: rgba(24, 25, 28, 0.92);
    --navbar-bg-scrolled: rgba(24, 25, 28, 0.98);
    --navbar-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
    --card-bg: #1e1f23;
    --card-bg-hover: #26272c;
    --card-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
    --input-bg: #26272c;
    --input-bg-focus: #2c2d32;
    --modal-bg: #1e1f23;
    --modal-overlay: rgba(0, 0, 0, 0.55);
    --modal-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    --hero-gradient: linear-gradient(170deg, #141518 0%, #18191c 30%, #1e1f23 60%, #18191c 100%);
    --mountain-far: rgba(40, 42, 48, 0.4);
    --mountain-mid: rgba(35, 37, 42, 0.5);
    --star-color: rgba(123, 156, 242, 0.4);
    --star-glow: rgba(123, 156, 242, 0.15);
    --petal-color: rgba(232, 122, 138, 0.3);
    --gallery-btn-bg: rgba(30, 31, 35, 0.92);
    --back-top-bg: rgba(30, 31, 35, 0.92);
    --back-top-color: #9b8aff;
    --back-top-border: rgba(255, 255, 255, 0.08);
    --toast-success: rgba(52, 168, 83, 0.92);
    --toast-error: rgba(232, 122, 138, 0.92);
    --toast-info: rgba(123, 156, 242, 0.92);
}

html {
    scroll-behavior: smooth;
}

body {
font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Source Han Sans SC', 'Noto Sans SC', sans-serif;
    line-height: 1.8;
    color: var(--text-mid);
    background: var(--bg-deep);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-weight: 400;
    font-size: 15px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ==================== 导航栏 ==================== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: var(--navbar-bg);
    -webkit-backdrop-filter: blur(20px) saturate(1.3);
    backdrop-filter: blur(20px) saturate(1.3);
    border-bottom: 1px solid var(--border-subtle);
    transition: all 0.4s ease;
}

.navbar.scrolled {
    background: var(--navbar-bg-scrolled);
    box-shadow: var(--navbar-shadow);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    font-size: 24px;
    color: var(--gold);
    animation: twinkle 3s ease-in-out infinite;
}

@keyframes twinkle {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(0.9); }
}

.logo-text {
    font-size: 22px;
    font-weight: bold;
    background: linear-gradient(135deg, #4e6ef2, #614de8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 6px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-menu a {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 15px;
    letter-spacing: 3px;
    transition: all 0.3s ease;
    position: relative;
    padding-bottom: 4px;
    font-weight: 500;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--gold);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--gold);
    font-size: 24px;
    cursor: pointer;
}

/* ==================== 首屏 - 沉浸式星空 ==================== */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--hero-gradient);
    overflow: hidden;
}

/* 星星粒子 */
.stars-container {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.star {
    position: absolute;
    left: var(--x);
    top: var(--y);
    width: var(--s);
    height: var(--s);
    background: var(--star-color);
    border-radius: 50%;
    animation: starPulse var(--d) ease-in-out infinite;
    box-shadow: 0 0 6px var(--star-glow);
}

@keyframes starPulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.5); }
}

/* 光晕 */
.hero-glow {
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
        radial-gradient(ellipse 600px 400px at 30% 70%, rgba(78, 110, 242, 0.03) 0%, transparent 70%),
        radial-gradient(ellipse 500px 350px at 70% 30%, rgba(97, 77, 232, 0.03) 0%, transparent 70%),
        radial-gradient(ellipse 300px 300px at 50% 50%, rgba(224, 93, 111, 0.02) 0%, transparent 70%);
}

/* 水墨远山 */
.mountains {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 35vh;
    z-index: 3;
}

.mountain {
    position: absolute;
    bottom: 0;
    width: 100%;
}

.mountain-far {
    height: 25vh;
    background: linear-gradient(180deg, transparent 0%, var(--mountain-far) 30%, var(--mountain-far) 100%);
    clip-path: polygon(0% 100%, 0% 65%, 5% 55%, 12% 48%, 20% 40%, 28% 45%, 35% 35%, 42% 42%, 50% 30%, 58% 38%, 65% 32%, 72% 40%, 78% 35%, 85% 45%, 92% 38%, 100% 50%, 100% 100%);
    opacity: 0.5;
}

.mountain-mid {
    height: 20vh;
    background: linear-gradient(180deg, transparent 0%, var(--mountain-mid) 20%, var(--mountain-mid) 100%);
    clip-path: polygon(0% 100%, 0% 70%, 8% 55%, 15% 60%, 22% 45%, 30% 55%, 38% 40%, 45% 50%, 52% 38%, 60% 48%, 68% 42%, 75% 52%, 82% 45%, 90% 55%, 95% 48%, 100% 60%, 100% 100%);
    opacity: 0.7;
}

.mountain-near {
    height: 12vh;
    background: linear-gradient(180deg, rgba(200, 205, 215, 0.4) 0%, var(--bg-deep) 100%);
    clip-path: polygon(0% 100%, 0% 50%, 10% 40%, 20% 55%, 30% 35%, 40% 50%, 50% 30%, 60% 45%, 70% 35%, 80% 50%, 90% 40%, 100% 55%, 100% 100%);
}

/* 花瓣 */
.petals {
    position: absolute;
    inset: 0;
    z-index: 4;
    pointer-events: none;
}

.petal {
    position: absolute;
    left: var(--x);
    top: -20px;
    width: 8px;
    height: 8px;
    background: radial-gradient(circle, var(--petal-color), rgba(224, 93, 111, 0.08));
    border-radius: 50% 0 50% 50%;
    animation: petalFall 8s linear infinite;
    animation-delay: var(--delay);
    opacity: 0;
}

@keyframes petalFall {
    0% { transform: translateY(0) rotate(0deg) translateX(0); opacity: 0; }
    10% { opacity: 0.7; }
    90% { opacity: 0.3; }
    100% { transform: translateY(100vh) rotate(360deg) translateX(80px); opacity: 0; }
}

/* 首屏内容 */
.hero-content {
    text-align: center;
    z-index: 10;
    max-width: 800px;
    padding: 20px;
}

.hero-badge {
    display: inline-block;
    padding: 6px 24px;
    border: 1px solid rgba(78, 110, 242, 0.2);
    border-radius: 20px;
    color: var(--ice);
    font-size: 13px;
    letter-spacing: 4px;
    margin-bottom: 30px;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    background: rgba(78, 110, 242, 0.04);
    animation: fadeInDown 1s ease 0.2s both;
}

.hero-title {
    margin-bottom: 20px;
    animation: fadeInUp 1s ease 0.4s both;
}

.title-main {
    display: block;
    font-size: 100px;
    font-weight: bold;
    color: var(--gold);
    text-shadow: 0 0 80px rgba(97, 77, 232, 0.08), 0 4px 8px rgba(0, 0, 0, 0.03);
    letter-spacing: 24px;
    line-height: 1.2;
}

.hero-slogan {
    font-size: 20px;
    color: var(--ice);
    letter-spacing: 12px;
    margin-bottom: 30px;
    opacity: 0.7;
    animation: fadeInUp 1s ease 0.6s both;
}

.hero-description {
    font-size: 15px;
    color: var(--text-dim);
    line-height: 2.2;
    margin-bottom: 50px;
    letter-spacing: 2px;
    animation: fadeInUp 1s ease 0.8s both;
    font-weight: 500;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    animation: fadeInUp 1s ease 1s both;
}

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

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 按钮 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 56px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 4px;
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    font-family: inherit;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    color: #ffffff;
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(97, 77, 232, 0.2);
}

.btn-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.btn-primary:hover .btn-glow {
    transform: translateX(100%);
}

.btn-ghost {
    background: transparent;
    color: var(--ice);
    border: 1px solid var(--border-subtle);
}

.btn-ghost:hover {
    background: rgba(78, 110, 242, 0.05);
    border-color: rgba(78, 110, 242, 0.2);
    transform: translateY(-2px);
}

.btn-submit {
    width: 100%;
    padding: 16px;
    border: none;
    font-size: 15px;
}

/* 滚动引导 */
.scroll-hint {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-dim);
    font-size: 12px;
    letter-spacing: 4px;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--ice), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; height: 40px; }
    50% { opacity: 0.8; height: 55px; }
}

/* ==================== 数据条 ==================== */
.stats-bar {
    background: var(--bg-dark);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    padding: 50px 0;
    position: relative;
}

.stats-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
}

.stat-item {
    flex: 1;
    text-align: center;
    padding: 10px 20px;
}

.stat-icon {
    font-size: 28px;
    margin-bottom: 12px;
    filter: grayscale(0.3);
}

.stat-number {
    font-size: 48px;
    font-weight: bold;
    color: var(--gold);
    text-shadow: var(--glow-gold);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-dim);
    letter-spacing: 4px;
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, transparent, var(--border-subtle), transparent);
}

/* ==================== 通用区块 ==================== */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.section-tag {
    display: inline-block;
    font-size: 13px;
    letter-spacing: 6px;
    color: var(--ice);
    opacity: 0.6;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.section-title {
    font-size: 40px;
    color: var(--gold);
    font-weight: bold;
    letter-spacing: 8px;
    margin-bottom: 20px;
    text-shadow: var(--glow-gold);
}

.title-line {
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-dark), transparent);
    margin: 0 auto;
}

/* ==================== 帮会故事 - 横向时间线 ==================== */
.story-section {
    background: linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-dark) 50%, var(--bg-deep) 100%);
}

.timeline-wrapper {
    overflow-x: auto;
    padding: 20px 0 40px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.timeline-wrapper::-webkit-scrollbar {
    display: none;
}

.timeline-track {
    display: flex;
    gap: 40px;
    position: relative;
    padding: 60px 20px 20px;
    min-width: max-content;
}

.timeline-line {
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-subtle), var(--border-subtle), transparent);
}

.timeline-item {
    flex: 0 0 280px;
    position: relative;
    padding-top: 30px;
}

.timeline-dot {
    position: absolute;
    top: -6px;
    left: 30px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--bg-dark);
    border: 2px solid var(--border-subtle);
    transition: all 0.3s ease;
    z-index: 2;
}

.timeline-dot.active {
    border-color: var(--gold);
    background: var(--gold-dark);
    box-shadow: 0 0 20px rgba(97, 77, 232, 0.15);
}

.timeline-item:hover .timeline-dot {
    border-color: var(--ice);
    box-shadow: var(--glow-ice);
}

.timeline-card {
    background: var(--card-bg);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: 30px;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.timeline-card:hover {
    transform: translateY(-6px);
    border-color: rgba(78, 110, 242, 0.15);
    box-shadow: var(--card-shadow);
}

.timeline-year {
    font-size: 13px;
    color: var(--ice);
    letter-spacing: 3px;
    margin-bottom: 12px;
    opacity: 0.6;
}

.timeline-card h3 {
    font-size: 20px;
    color: var(--text-bright);
    letter-spacing: 3px;
    margin-bottom: 12px;
}

.timeline-card p {
    font-size: 14px;
    color: var(--text-dim);
    line-height: 1.9;
    font-weight: 500;
}

/* ==================== 核心成员 - 横向画廊 ==================== */
.members-section {
    background: linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-mid) 50%, var(--bg-deep) 100%);
    padding-bottom: 80px;
}

.members-gallery {
    position: relative;
    padding: 0 60px;
}

.gallery-track {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 20px 24px 40px;
}

.gallery-track::-webkit-scrollbar {
    display: none;
}

.member-card {
    flex: 0 0 260px;
    scroll-snap-align: start;
    background: var(--card-bg);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 40px 30px 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.member-card:hover {
    transform: translateY(-8px);
    border-color: rgba(78, 110, 242, 0.15);
    box-shadow: var(--card-shadow);
}

.member-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120px;
    background: linear-gradient(180deg, rgba(78, 110, 242, 0.03) 0%, transparent 100%);
    pointer-events: none;
}

.member-avatar-ring {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-deep);
    border: 2px solid rgba(97, 77, 232, 0.18);
    box-shadow: 0 0 30px rgba(78, 110, 242, 0.04), inset 0 0 20px rgba(78, 110, 242, 0.02);
    position: relative;
    z-index: 1;
    transition: all 0.4s ease;
}

.member-card:hover .member-avatar-ring {
    border-color: rgba(97, 77, 232, 0.3);
    box-shadow: 0 0 40px rgba(97, 77, 232, 0.06);
}

.avatar-char {
    font-size: 36px;
    color: var(--gold);
    font-weight: bold;
}

.member-info {
    position: relative;
    z-index: 1;
}

.member-role {
    display: inline-block;
    padding: 3px 16px;
    background: rgba(97, 77, 232, 0.06);
    border: 1px solid rgba(97, 77, 232, 0.12);
    border-radius: 20px;
    font-size: 13px;
    color: var(--gold);
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.member-name {
    font-size: 20px;
    color: var(--text-bright);
    letter-spacing: 3px;
    margin-bottom: 6px;
}

.member-class {
    font-size: 14px;
    color: var(--ice);
    letter-spacing: 2px;
    margin-bottom: 12px;
    opacity: 0.6;
}

.member-desc {
    font-size: 14px;
    color: var(--text-dim);
    font-style: italic;
    margin-bottom: 16px;
    font-weight: 500;
}

.member-level {
    display: inline-block;
    padding: 4px 14px;
    background: rgba(78, 110, 242, 0.06);
    border: 1px solid rgba(78, 110, 242, 0.1);
    border-radius: 20px;
    font-size: 13px;
    color: var(--ice);
    letter-spacing: 1px;
    font-weight: bold;
}

/* 画廊控制按钮 */
.gallery-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    padding: 0 10px;
}

.gallery-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gallery-btn-bg);
    border: 1px solid var(--border-subtle);
    color: var(--ice);
    font-size: 24px;
    cursor: pointer;
    pointer-events: auto;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.gallery-btn:hover {
    background: rgba(78, 110, 242, 0.06);
    border-color: rgba(78, 110, 242, 0.2);
    box-shadow: var(--glow-ice);
}

/* ==================== 帮会动态 - 交替时间线 ==================== */
.news-section {
    background: linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-dark) 50%, var(--bg-deep) 100%);
}

.news-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 0;
}

.news-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom, transparent, var(--border-subtle), var(--border-subtle), transparent);
    transform: translateX(-50%);
}

.news-item {
    position: relative;
    width: 50%;
    padding: 0 40px 60px;
}

.news-left {
    padding-right: 60px;
    text-align: right;
}

.news-right {
    margin-left: 50%;
    padding-left: 60px;
    text-align: left;
}

.news-dot {
    position: absolute;
    top: 8px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--bg-dark);
    border: 2px solid var(--border-subtle);
    z-index: 2;
    transition: all 0.3s ease;
}

.news-left .news-dot {
    right: -7px;
}

.news-right .news-dot {
    left: -7px;
}

.news-dot.urgent {
    border-color: var(--pink);
    box-shadow: 0 0 15px rgba(224, 93, 111, 0.15);
}

.news-item:hover .news-dot {
    border-color: var(--gold);
    box-shadow: 0 0 20px rgba(97, 77, 232, 0.12);
}

.news-card {
    background: var(--card-bg);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: 28px;
    transition: all 0.4s ease;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.news-card:hover {
    transform: translateY(-4px);
    border-color: rgba(78, 110, 242, 0.15);
    box-shadow: var(--card-shadow);
}

.news-badge {
    display: inline-block;
    padding: 3px 14px;
    border-radius: 3px;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 2px;
    margin-bottom: 12px;
    background: rgba(78, 110, 242, 0.06);
    color: var(--ice);
    border: 1px solid rgba(78, 110, 242, 0.1);
}

.news-badge.urgent {
    background: rgba(224, 93, 111, 0.06);
    color: var(--pink);
    border-color: rgba(224, 93, 111, 0.15);
}

.news-card h4 {
    font-size: 18px;
    color: var(--text-bright);
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.news-card p {
    font-size: 14px;
    color: var(--text-dim);
    line-height: 1.8;
    margin-bottom: 12px;
    font-weight: 500;
}

.news-card time {
    font-size: 13px;
    color: var(--text-dim);
    letter-spacing: 1px;
}

/* ==================== 加入星祈 ==================== */
.join-section {
    background: linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-mid) 50%, var(--bg-deep) 100%);
    padding: 120px 0;
}

.join-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.join-left {
    padding-top: 20px;
}

.join-slogan {
    margin-bottom: 50px;
}

.slogan-small {
    display: block;
    font-size: 18px;
    color: var(--ice);
    letter-spacing: 8px;
    opacity: 0.5;
    margin-bottom: 8px;
}

.slogan-big {
    display: block;
    font-size: 56px;
    font-weight: bold;
    color: var(--gold);
    letter-spacing: 12px;
    text-shadow: var(--glow-gold);
    line-height: 1.3;
}

.join-requirements h3 {
    font-size: 18px;
    color: var(--text-bright);
    letter-spacing: 4px;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-subtle);
}

.req-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.req-item {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 15px;
    color: var(--text-mid);
    letter-spacing: 1px;
    font-weight: 500;
}

.req-item strong {
    color: var(--gold);
}

.req-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(97, 77, 232, 0.15);
    border-radius: 4px;
    color: var(--gold);
    font-size: 14px;
    font-weight: bold;
    background: rgba(97, 77, 232, 0.03);
}

/* 表单卡片 */
.form-card {
    background: var(--card-bg);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 40px;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.form-card h3 {
    font-size: 24px;
    color: var(--text-bright);
    letter-spacing: 4px;
    margin-bottom: 8px;
}

.form-subtitle {
    font-size: 14px;
    color: var(--text-dim);
    margin-bottom: 30px;
    letter-spacing: 1px;
    font-weight: 500;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-mid);
    font-size: 14px;
    letter-spacing: 2px;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--input-bg);
    border: 1px solid var(--border-subtle);
    border-radius: 6px;
    color: var(--text-bright);
    font-size: 14px;
    font-family: inherit;
    transition: all 0.3s ease;
    outline: none;
    font-weight: 500;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-dim);
}

.form-group select {
    cursor: pointer;
    appearance: none;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%234e6ef2' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}

.form-group select option {
    background: var(--bg-deep);
    color: var(--text-bright);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: rgba(78, 110, 242, 0.4);
    box-shadow: 0 0 0 3px rgba(78, 110, 242, 0.08);
    background: var(--input-bg-focus);
}

/* ==================== 页脚 ==================== */
.footer {
    background: var(--bg-dark);
    border-top: 1px solid var(--border-subtle);
    padding: 50px 0 30px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
    gap: 40px;
}

.footer-brand {
    flex-shrink: 0;
}

.footer-logo {
    font-size: 20px;
    color: var(--gold);
    letter-spacing: 4px;
    font-weight: bold;
    display: block;
    margin-bottom: 12px;
}

.footer-brand p {
    font-size: 14px;
    color: var(--text-dim);
    line-height: 1.8;
    font-weight: 500;
}

.footer-links {
    display: flex;
    gap: 28px;
    align-items: center;
}

.footer-links a {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 2px;
    transition: color 0.3s ease;
    font-weight: 500;
}

.footer-links a:hover {
    color: var(--ice);
}

.footer-contact p {
    font-size: 14px;
    color: var(--text-dim);
    margin-bottom: 6px;
    text-align: right;
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid var(--border-subtle);
}

.footer-bottom p {
    font-size: 13px;
    color: var(--text-dim);
    letter-spacing: 2px;
}

/* ==================== 滚动动画 ==================== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-left.visible,
.reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* ==================== 响应式 ==================== */
@media (max-width: 1024px) {
    .join-layout {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .slogan-big {
        font-size: 42px;
    }

    .news-timeline {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--navbar-bg-scrolled);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        border-bottom: 1px solid var(--border-subtle);
    }

    .nav-menu.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }

    .title-main {
        font-size: 60px;
        letter-spacing: 12px;
    }

    .hero-slogan {
        font-size: 16px;
        letter-spacing: 6px;
    }

    .stats-grid {
        flex-wrap: wrap;
    }

    .stat-divider {
        display: none;
    }

    .stat-item {
        flex: 0 0 50%;
        padding: 15px;
    }

    .stat-number {
        font-size: 36px;
    }

    .section-title {
        font-size: 30px;
        letter-spacing: 4px;
    }

    .timeline-track {
        gap: 20px;
    }

    .timeline-item {
        flex: 0 0 240px;
    }

    /* 动态时间线改为单列 */
    .news-line {
        left: 20px;
    }

    .news-item,
    .news-right {
        width: 100%;
        margin-left: 0;
        padding-left: 50px;
        padding-right: 0;
        text-align: left;
    }

    .news-left {
        padding-right: 0;
        text-align: left;
    }

    .news-left .news-dot,
    .news-right .news-dot {
        left: 13px;
        right: auto;
    }

    .members-gallery {
        padding: 0 20px;
    }

    .gallery-controls {
        display: none;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-top {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-contact p {
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .slogan-big {
        font-size: 36px;
    }

    .join-slogan {
        text-align: center;
    }

    .slogan-small {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .title-main {
        font-size: 46px;
        letter-spacing: 8px;
    }

    .hero-slogan {
        font-size: 14px;
        letter-spacing: 4px;
    }

    .hero-description {
        font-size: 13px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 280px;
    }

    .section-title {
        font-size: 26px;
    }

    .stat-number {
        font-size: 30px;
    }

    .member-card {
        flex: 0 0 220px;
    }

    .form-card {
        padding: 24px;
    }
}

/* ==================== 论坛入口链接 ==================== */
.nav-forum-link {
    color: var(--gold) !important;
    font-weight: bold;
    position: relative;
}

.nav-forum-link::after {
    width: 100% !important;
    background: var(--gold) !important;
}

/* ==================== 主题切换按钮 ==================== */
.theme-toggle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid var(--border-subtle);
    color: var(--gold);
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.theme-toggle:hover {
    background: rgba(97, 77, 232, 0.06);
    border-color: var(--gold);
    transform: rotate(30deg);
}