/* 二次元风格样式 */
body {
    margin: 0;
    padding: 0;
    background: linear-gradient(rgba(26, 26, 46, 0.85), rgba(26, 26, 46, 0.85)),
                url('../images/anime_bg.jpg') center/cover fixed no-repeat !important;
    color: #fff;
    font-family: 'Microsoft YaHei', sans-serif;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.6) 100%);
    z-index: -1;
    pointer-events: none;
}

.page-wrapper {
    position: relative;
    min-height: 100vh;
    background: rgba(26, 26, 46, 0.75);
    backdrop-filter: blur(8px);
}

/* 添加动态光效果 */
.page-wrapper::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, 
        rgba(255, 255, 255, 0) 45%,
        rgba(255, 255, 255, 0.05) 50%,
        rgba(255, 255, 255, 0) 55%);
    background-size: 200% 200%;
    animation: lightMove 8s ease-in-out infinite;
    pointer-events: none;
}

.hero-section {
    background: url('../images/hero-section.jpg') center/cover no-repeat !important;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 26, 46, 0.75);
    backdrop-filter: blur(5px);
}

#heritage {
    background: url('../images/heritage.jpg') center/cover fixed no-repeat !important;
}

#culture {
    background: url('../images/culture.jpg') center/cover fixed no-repeat !important;
}

#impact {
    background: url('../images/impact.jpg') center/cover fixed no-repeat !important;
}

#future {
    background: url('../images/future.jpg') center/cover fixed no-repeat !important;
}

.content-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 26, 46, 0.85);
    backdrop-filter: blur(10px);
    z-index: 0;
}

.content-container {
    position: relative;
    background: rgba(26, 26, 46, 0.85);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.content-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.05),
        transparent
    );
    animation: shine 3s infinite;
}

/* 导航栏样式优化 */
.nav-bar {
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 -4px 32px rgba(0, 0, 0, 0.1);
}

.nav-item {
    position: relative;
    overflow: hidden;
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #FF69B4, #4169E1);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-item:hover::after,
.nav-item.active::after {
    width: 80%;
}

/* 动画效果 */
@keyframes lightMove {
    0% {
        background-position: -200% -200%;
    }
    100% {
        background-position: 200% 200%;
    }
}

@keyframes shine {
    0% {
        left: -100%;
    }
    20% {
        left: 100%;
    }
    100% {
        left: 100%;
    }
}

/* 响应式优化 */
@media (max-width: 768px) {
    .page-wrapper {
        background: rgba(26, 26, 46, 0.85);
    }
    
    .content-container {
        margin: 1rem;
        padding: 1rem;
    }
}
