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

/* 粒子背景占满屏幕 */
#particle-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000008;
    z-index: 0;
}

/* 页面内容居中悬浮 */
.content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
    gap: 70px; /* 适配调小后的文字，间距略收 */
    animation: fadeIn 1.5s ease forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* 极简导航按钮 */
.nav a {
    text-decoration: none;
    color: #8a9eff;
    font-size: 15px;
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid rgba(138, 158, 255, 0.3);
    background: rgba(0, 0, 20, 0.5);
    transition: all 0.3s ease;
}

.nav a:hover {
    background: rgba(138, 158, 255, 0.2);
    transform: scale(1.08);
    box-shadow: 0 0 10px rgba(138, 158, 255, 0.5);
}

/* 核心文字容器 */
.main-text {
    text-align: center;
    position: relative;
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-8px); } /* 浮动幅度适配调小的文字 */
    100% { transform: translateY(0px); }
}

/* 小文字（调小） */
.small-text {
    color: rgba(138, 158, 255, 0.6);
    font-size: 16px; /* 原18px → 调小到16px */
    letter-spacing: 4px; /* 原5px → 调小到4px */
    display: block;
}

/* 主文字（重点调小，视觉更舒适） */
.main-text h1 {
    color: #ffffff;
    font-size: 70px; /* 原80px → 调小到70px */
    letter-spacing: 12px; /* 原15px → 调小到12px */
    font-weight: 700;
    margin: 12px 0; /* 原15px → 调小到12px */
    text-shadow: 
        0 0 12px rgba(138, 158, 255, 0.8),
        0 0 25px rgba(138, 158, 255, 0.6),
        0 0 40px rgba(138, 158, 255, 0.4);
    opacity: 0;
    animation: fadeIn 1.5s ease 0.8s forwards;
}

/* 响应式适配（同步调小） */
@media (max-width: 768px) {
    .main-text h1 {
        font-size: 48px; /* 原56px → 调小到48px */
        letter-spacing: 9px; /* 原10px → 调小到9px */
    }
    .small-text {
        font-size: 13px; /* 原14px → 调小到13px */
        letter-spacing: 2px;
    }
}

/* 适配更小屏幕 */
@media (max-width: 480px) {
    .main-text h1 {
        font-size: 42px; /* 原48px → 调小到42px */
        letter-spacing: 7px;
    }
    .small-text {
        font-size: 11px; /* 原12px → 调小到11px */
        letter-spacing: 2px;
    }
}