/* ==================== 2. 首页独立专属样式 ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Consolas', 'Segoe UI', Roboto, sans-serif;
    -webkit-tap-highlight-color: transparent;
}

body {
    color: #222222;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

body::before {
    content: "";
    position: fixed;
    top: 120px;
    left: 0;
    width: 100vw;
    height: calc(100vh - 120px);
    z-index: -2;
    background-image:
            url("/image/logo3.png"),
            linear-gradient(135deg, #f4faff 0%, #fff5f8 50%, #f7f3ff 100%);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 35% auto;
    filter: blur(5px);
    opacity: 0.2;
    transform: scale(1.02);
    pointer-events: none;
}

a { text-decoration: none; color: inherit; }

.main-content {
    margin-top: 0 !important;
    padding: 40px 20px 60px;
    background: transparent;
}

.page-section {
    display: none;
    max-width: 1200px;
    margin: 0 auto;
}

.page-section.active-page {
    display: block;
}

.hero-section {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0 100px;
    text-align: center;
    padding-top: 80px;
}

.hero-title {
    font-size: 48px;
    margin-bottom: 25px;
    font-weight: 800;
    letter-spacing: 2px;
    background: linear-gradient(90deg, #00f3ff, #bc13fe, #ff007f, #00f3ff);
    background-size: 300% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textColorBreath 5s ease-in-out infinite alternate;
}

@keyframes textColorBreath {
    0% { background-position: 0% 0%; }
    100% { background-position: 100% 0%; }
}

/* 闪烁动画保持不变 */
@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.scroll-animate {
    opacity: 0;
    transform: translateY(50px) scale(0.98);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-animate.show {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.culture-wrap, .activity-wrap { padding: 100px 0; }

.section-subtitle {
    text-align: center;
    font-size: 28px;
    color: #111;
    margin-bottom: 50px;
    position: relative;
}

.section-subtitle::after {
    content: "";
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg,#00f3ff,#ff007f);
    display: block;
    margin: 12px auto 0;
    border-radius: 3px;
}

.culture-grid, .activity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 30px;
}

/* 文化及活动卡片基础基础 */
.culture-card, .activity-card {
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgb(255 0 204);
    border-radius: 16px;
    padding: 45px 35px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.culture-card::before, .activity-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(0,243,255,0.12), rgba(188,19,254,0.12), rgba(255,0,127,0.12));
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 0;
}

.culture-card:hover { transform: translateY(-10px); border-color: rgba(0, 243, 255, 0.5); box-shadow: 0 15px 35px rgba(188, 19, 254, 0.15); }
.culture-card:hover::before { opacity: 1; }
.activity-card:hover { transform: translateY(-10px); border-color: rgba(255, 0, 127, 0.4); box-shadow: 0 15px 35px rgba(255, 0, 127, 0.12); }
.activity-card:hover::before { opacity: 1; }

.color-title-3 { background: linear-gradient(45deg, #bc13fe, #00f3ff); -webkit-background-clip: text; -webkit-text-fill-color: transparent; font-weight: 800; font-size: 22px; letter-spacing: 1px; position: relative; z-index: 1; }
.color-text-1 { background: linear-gradient(to right, #004455, #007755); -webkit-background-clip: text; -webkit-text-fill-color: transparent; position: relative; z-index: 1; }
.color-text-2 { background: linear-gradient(to right, #991144, #cc5500); -webkit-background-clip: text; -webkit-text-fill-color: transparent; position: relative; z-index: 1; }
.color-text-3 { background: linear-gradient(to right, #7722bb, #008899); -webkit-background-clip: text; -webkit-text-fill-color: transparent; position: relative; z-index: 1; }
.activity-title { font-size: 22px; margin-bottom: 16px; font-weight: 800; letter-spacing: 1px; background: linear-gradient(45deg, #ff007f, #bc13fe); -webkit-background-clip: text; -webkit-text-fill-color: transparent; position: relative; z-index: 1; }
.activity-desc { color: #444455; font-size: 15px; line-height: 1.6; font-weight: 500; position: relative; z-index: 1; }

/* ==================== 响应式移动端 ==================== */
@media (max-width: 768px) {
    :root { --header-height: 70px; }
    body { padding-top: var(--header-height) !important; }
    body::before { top: 90px; height: calc(100vh - 90px); background-size: 60% auto; }
    .nav-container { padding: 0 20px !important; }
    .main-content { padding: 20px 15px; }
    .hero-section { grid-template-columns: 1fr; gap: 40px; padding: 20px 0 40px; }
    .hero-title { font-size: 36px; }
    .culture-wrap, .activity-wrap { padding: 40px 0; }
    body .dropdown-menu, header .dropdown-menu, #dynamic-header .dropdown-menu { display: none !important; }

    .menu-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .menu-toggle.open span:nth-child(2) { opacity: 0; }
    .menu-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }
}