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

body {
    font-family: 'Arial', sans-serif;
    background: #000;
    color: #fff;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* 深空背景和星云渐变效果 */
.space-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at center, rgba(138, 43, 226, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 20% 80%, rgba(30, 144, 255, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(255, 20, 147, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 40% 40%, rgba(255, 215, 0, 0.05) 0%, transparent 50%),
        #000;
    z-index: -2;
}

/* 星星背景 */
.stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.star {
    position: absolute;
    background: #fff;
    border-radius: 50%;
    animation: twinkle 2s infinite;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

/* 主容器 */
.container {
    text-align: center;
    z-index: 1;
    padding: 20px;
    max-width: 100%;
}

/* 主标题 */
.main-title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: bold;
    margin-bottom: 2rem;
    text-shadow: 
        0 0 20px rgba(255, 255, 255, 0.8),
        0 0 40px rgba(138, 43, 226, 0.6),
        0 0 60px rgba(138, 43, 226, 0.4),
        0 0 80px rgba(138, 43, 226, 0.2);
    animation: fadeInGlow 2s ease-out;
    letter-spacing: 0.1em;
}

@keyframes fadeInGlow {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 名人名言区域 */
.quote-container {
    margin: 3rem 0;
    min-height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.quote {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-style: italic;
    opacity: 0;
    border-right: 2px solid #fff;
    white-space: nowrap;
    overflow: hidden;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { border-color: #fff; }
    51%, 100% { border-color: transparent; }
}

/* 星光闪烁效果 */
.sparkle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #fff;
    border-radius: 50%;
    animation: sparkle 3s infinite;
}

@keyframes sparkle {
    0%, 100% {
        opacity: 0;
        transform: scale(0);
    }
    50% {
        opacity: 1;
        transform: scale(1);
    }
}

/* 底部备案号 */
.footer {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.9rem;
    z-index: 1;
    opacity: 0.95;
    background: rgba(0, 0, 0, 0.5);
    padding: 0.75rem 1.5rem;
    border-radius: 999px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.footer.is-hidden {
    display: none;
}

.footer-link {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    text-align: left;
}

.footer-link img {
    width: 18px;
    height: 18px;
}

.footer-link a {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: inherit;
    text-decoration: none;
    opacity: 0.85;
    transition: opacity 0.2s ease;
}

.footer-link a:hover {
    opacity: 1;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .main-title {
        font-size: clamp(2rem, 6vw, 3.5rem);
    }

    .quote {
        font-size: clamp(1rem, 2.5vw, 1.4rem);
        white-space: normal;
        max-width: 90%;
    }

    .footer {
        width: calc(100% - 40px);
        padding: 0.75rem 1rem;
        border-radius: 16px;
    }
}

@media (max-width: 480px) {
    .main-title {
        font-size: clamp(1.5rem, 5vw, 2.5rem);
    }

    .quote {
        font-size: clamp(0.9rem, 2vw, 1.2rem);
    }

    .footer {
        bottom: 10px;
        padding: 0.6rem 0.9rem;
    }
}
