@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

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

body {
    font-family: 'Poppins', sans-serif;
    background-color: #0f0f1a;
    color: #ffffff;
    min-height: 100vh;
    overflow-x: hidden;
}

/* 粒子背景容器 */
#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

/* 导航栏样式 */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
}

.logo h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #ff69b4;
    letter-spacing: 2px;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin: 0 1rem;
}

nav ul li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #ff69b4;
}

nav ul li.active a {
    color: #ff69b4;
    position: relative;
}

nav ul li.active a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 100%;
    height: 2px;
    background-color: #ff69b4;
}

/* 主内容区域 */
main {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 70vh;
    text-align: center;
}

.hero {
    max-width: 800px;
}

.hero h2 {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: #ff69b4;
    letter-spacing: 2px;
    font-weight: 700;
}

.glow-text {
    text-shadow: 0 0 15px rgba(255, 105, 180, 0.7);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: #cccccc;
}

.buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.btn {
    padding: 0.8rem 2rem;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn.primary {
    background-color: #ff69b4;
    color: #ffffff;
}

.btn.primary:hover {
    background-color: #ff4daa;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 105, 180, 0.4);
}

.btn.secondary {
    background-color: transparent;
    border: 2px solid #ff69b4;
    color: #ff69b4;
}

.btn.secondary:hover {
    background-color: rgba(255, 105, 180, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 105, 180, 0.2);
}

/* 响应式设计 */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero h2 {
        font-size: 2.5rem;
    }
    
    .buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* 欢迎语区域 */
.welcome-text {
    margin-bottom: 2rem;
    opacity: 0;
    animation: fade-in 1s ease forwards;
}

.subtle-text {
    display: block;
    font-size: 1rem;
    color: #8a8a8a;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 0.5rem;
}

.welcome-text h2 {
    font-size: 2.8rem;
    margin: 0;
    background: linear-gradient(45deg, #ff69b4, #ff99cc);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    text-shadow: 2px 2px 10px rgba(255, 105, 180, 0.3);
}

/* 头像样式优化 */
.avatar {
    width: 180px;
    height: 180px;
    margin: 0 auto 2rem;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #ff69b4;
    box-shadow: 0 0 20px rgba(255, 105, 180, 0.5);
    animation: avatar-glow 2s infinite alternate;
    opacity: 0;
    animation: fade-in 1s ease 0.3s forwards, avatar-glow 2s infinite alternate;
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.avatar:hover img {
    transform: scale(1.1);
}

/* 标语样式优化 */
.slogan {
    font-size: 1.2rem;
    color: #cccccc;
    letter-spacing: 1px;
    opacity: 0;
    animation: fade-in 1s ease 0.6s forwards;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

/* 动画定义 */
@keyframes fade-in {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes avatar-glow {
    from {
        box-shadow: 0 0 20px rgba(255, 105, 180, 0.5);
    }
    to {
        box-shadow: 0 0 30px rgba(255, 105, 180, 0.8);
    }
}

/* 响应式调整 */
@media (max-width: 768px) {
    .welcome-text h2 {
        font-size: 2rem;
    }
    
    .avatar {
        width: 150px;
        height: 150px;
    }
    
    .slogan {
        font-size: 1rem;
    }
} 