* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Noto Sans SC', sans-serif;
}

    ::selection {
        background-color: #ff66b2; /* 更鲜艳的粉色 */
        color: white;
        text-shadow: 0 0 5px rgba(255, 102, 178, 0.7);
    }

body {
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
/* 二次元动漫背景 */
        .anime-background {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-image: url('/app/static/images/hatsune_miku_vocaloid_wallpaper.png');
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            background-attachment: fixed;
            z-index: -3;
            filter: blur(0px);
        }
/* 瀵艰埅鏍忔牱寮� */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.header.scrolled {
    background-color: #fff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

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

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #8e44ad;
}

.logo a {
    color: #ff69b4;
}

.logo img {
    width: 26px;
    height: 26px;
    transform: translateY(-10%)
}

.logo span {
    color: #4D4D4D;
}

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

.nav-menu li {
    margin-left: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s;
    position: relative;
    padding: 5px 0;
}

.nav-menu a:hover {
    color: #8e44ad;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #ff69b4;
    transition: width 0.3s;
}

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

/* 绉诲姩绔鑸寜閽� */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    width: 30px;
    height: 30px;
    cursor: pointer;
    position: relative;
    outline: none;
}

.mobile-menu-btn span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: #333;
    border-radius: 3px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
}

.mobile-menu-btn span:nth-child(1) {
    top: 6px;
}

.mobile-menu-btn span:nth-child(2), 
.mobile-menu-btn span:nth-child(3) {
    top: 14px;
}

.mobile-menu-btn span:nth-child(4) {
    top: 22px;
}

/* 褰撴眽鍫¤彍鍗曟墦寮€鏃� */
.mobile-menu-btn.open span:nth-child(1) {
    top: 14px;
    width: 0%;
    left: 50%;
}

.mobile-menu-btn.open span:nth-child(2) {
    transform: rotate(45deg);
}

.mobile-menu-btn.open span:nth-child(3) {
    transform: rotate(-45deg);
}

.mobile-menu-btn.open span:nth-child(4) {
    top: 14px;
    width: 0%;
    left: 50%;
}

/* 绉诲姩瀵艰埅鑿滃崟 */
.mobile-nav-overlay {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    height: calc(100vh - 70px);
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 999;
    display: none;
}

.mobile-nav-menu {
    position: fixed;
    top: 70px;
    right: -260px;
    width: 260px;
    height: calc(100vh - 70px);
    background-color: #fff;
    z-index: 1000;
    overflow-y: auto;
    transition: all 0.4s ease;
}

.mobile-nav-menu.open {
    right: 0;
}

.mobile-nav-menu ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.mobile-nav-menu li {
    border-bottom: 1px solid #f1f1f1;
}

.mobile-nav-menu a {
    display: block;
    padding: 15px 25px;
    font-size: 16px;
    text-decoration: none;
    color: #333;
    transition: background 0.3s;
}

.mobile-nav-menu a:hover {
    background: #f5f7fa;
    color: #1e9fff;
}

        /* 页脚 */
        .footer {
            text-align: center;
            padding: 30px;
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 192, 203, 0.1));
            backdrop-filter: blur(45px);
            border-radius: 20px;
            color: #8e44ad;
            box-shadow: 0 8px 32px rgba(255, 105, 180, 0.03);
            border: 2px solid rgba(255, 255, 255, 0.06);
        }

.footer p {
    line-height: 1.6;
}

.footer a {
    text-decoration: none;
    color: #FFFFFF;
}

.footer a:hover {
    color: #1e9fff;
    text-decoration: none;
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
}