* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Exo 2', sans-serif;
    background: linear-gradient(135deg, #0a0a2a 0%, #1a1a4d 50%, #0c0c24 100%);
    color: #e6e6ff;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* 星云背景 */
.nebula-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: 
        radial-gradient(circle at 20% 30%, rgba(100, 80, 200, 0.2) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(80, 150, 255, 0.3) 0%, transparent 45%),
        radial-gradient(circle at 40% 60%, rgba(200, 100, 255, 0.25) 0%, transparent 50%);
    animation: nebulaPulse 30s infinite alternate;
}

@keyframes nebulaPulse {
    0% { opacity: 0.7; transform: scale(1); }
    50% { opacity: 0.9; transform: scale(1.02); }
    100% { opacity: 0.7; transform: scale(1); }
}

/* 星空背景 */
.space-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.star {
    position: absolute;
    background-color: white;
    border-radius: 50%;
    animation: twinkle 3s infinite ease-in-out;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

/* 旋转的星系 */
.galaxy {
    position: fixed;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
    background: radial-gradient(circle, transparent 60%, rgba(100, 80, 200, 0.05) 100%);
    animation: rotateGalaxy 120s linear infinite;
}

.galaxy::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle, transparent 70%, rgba(80, 150, 255, 0.05) 100%);
    transform: rotate(60deg);
}

.galaxy::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle, transparent 65%, rgba(200, 100, 255, 0.05) 100%);
    transform: rotate(120deg);
}

@keyframes rotateGalaxy {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.container {
    max-width: 800px;
    margin: 80px auto;
    background: rgba(10, 10, 35, 0.5);
    border-radius: 20px;
    box-shadow: 0 0 50px rgba(100, 100, 255, 0.3);
    position: relative;
    z-index: 10;
    padding: 50px 40px;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(100, 100, 255, 0.3);
    overflow: hidden;
}

/* 悬浮的太空碎片 */
.space-debris {
    position: absolute;
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(100, 180, 255, 0.8);
    animation: floatDebris 30s linear infinite;
}

@keyframes floatDebris {
    0% { transform: translate(0, 0) rotate(0); }
    25% { transform: translate(100px, 80px) rotate(90deg); }
    50% { transform: translate(200px, 0) rotate(180deg); }
    75% { transform: translate(100px, -80px) rotate(270deg); }
    100% { transform: translate(0, 0) rotate(360deg); }
}

/* UFO样式 - 呆萌猫咪版 - 缩小到1/4尺寸 */
.ufo-track {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 5;
}

.flying-ufo {
    position: absolute;
    width: 37.5px; /* 缩小到1/4 */
    height: 37.5px; /* 缩小到1/4 */
    filter: drop-shadow(0 0 5px rgba(100, 255, 255, 0.8)); /* 调整阴影 */
    z-index: 6;
    transition: transform 0.5s ease-out;
    cursor: pointer;
}

/* 猫猫头UFO主体 */
.cat-ufo {
    position: relative;
    width: 37.5px; /* 缩小到1/4 */
    height: 30px; /* 缩小到1/4 */
    z-index: 2;
    pointer-events: auto;
}

/* 猫猫头 */
.cat-head {
    position: absolute;
    width: 32.5px; /* 缩小到1/4 */
    height: 27.5px; /* 缩小到1/4 */
    background: #111;
    border-radius: 50%;
    top: 0;
    left: 2.5px; /* 缩小到1/4 */
    box-shadow: 
        0 0 5px rgba(0, 0, 0, 0.8), /* 调整阴影 */
        inset 0 0 5px rgba(255, 255, 255, 0.1); /* 调整阴影 */
    z-index: 3;
    border: 1px solid #444; /* 调整边框 */
}

/* 猫耳朵 */
.cat-ear {
    position: absolute;
    width: 10px; /* 缩小到1/4 */
    height: 12.5px; /* 缩小到1/4 */
    background: #111;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    z-index: 2;
    border: 1px solid #444; /* 调整边框 */
}

.ear-left {
    top: -7.5px; /* 缩小到1/4 */
    left: 5px; /* 缩小到1/4 */
    transform: rotate(-5deg);
}

.ear-right {
    top: -7.5px; /* 缩小到1/4 */
    right: 5px; /* 缩小到1/4 */
    transform: rotate(5deg);
}

/* 猫眼睛 */
.cat-eye {
    position: absolute;
    width: 8.75px; /* 缩小到1/4 */
    height: 11.25px; /* 缩小到1/4 */
    background: #66f0ff;
    border-radius: 50%;
    top: 7.5px; /* 缩小到1/4 */
    z-index: 4;
    animation: blink 5s infinite;
    overflow: hidden;
    border: 1px solid #111; /* 调整边框 */
}

.eye-left {
    left: 6.25px; /* 缩小到1/4 */
}

.eye-right {
    right: 6.25px; /* 缩小到1/4 */
}

.eye-pupil {
    position: absolute;
    width: 4.5px; /* 缩小到1/4 */
    height: 6.25px; /* 缩小到1/4 */
    background: #000;
    border-radius: 50%;
    top: 2.5px; /* 缩小到1/4 */
    left: 2px; /* 缩小到1/4 */
    animation: lookAround 8s infinite alternate;
}

/* 猫鼻子 */
.cat-nose {
    position: absolute;
    width: 4.5px; /* 缩小到1/4 */
    height: 3px; /* 缩小到1/4 */
    background: #ffffff;
    border-radius: 50%;
    top: 15px; /* 缩小到1/4 */
    left: 16.5px; /* 缩小到1/4 */
    z-index: 4;
    animation: noseTwitch 3s infinite;
}

/* UFO光环 - 简化版 */
.ufo-halo {
    position: absolute;
    width: 45px; /* 缩小到1/4 */
    height: 45px; /* 缩小到1/4 */
    border: 1px solid rgba(100, 200, 255, 0.5); /* 调整边框 */
    border-radius: 50%;
    top: -7.5px; /* 缩小到1/4 */
    left: -3.75px; /* 缩小到1/4 */
    z-index: 1;
    animation: rotateHalo 10s linear infinite;
    box-shadow: 0 0 5px rgba(100, 200, 255, 0.4); /* 调整阴影 */
}

@keyframes rotateHalo {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* UFO光束 */
.ufo-beam {
    position: absolute;
    width: 15px; /* 缩小到1/4 */
    height: 30px; /* 缩小到1/4 */
    background: linear-gradient(to bottom, rgba(100, 255, 255, 0.6), transparent);
    border-radius: 50%;
    top: 25px; /* 缩小到1/4 */
    left: 11.25px; /* 缩小到1/4 */
    z-index: 0;
    animation: beamPulse 3s infinite alternate;
    filter: blur(2px); /* 调整模糊 */
}

/* 猫咪动画 */
@keyframes blink {
    0%, 45%, 55%, 100% { height: 11.25px; } /* 调整高度 */
    48%, 52% { height: 1.25px; } /* 调整高度 */
}

@keyframes lookAround {
    0% { transform: translateX(0); }
    25% { transform: translateX(1px); } /* 减小移动幅度 */
    50% { transform: translateX(-1px); } /* 减小移动幅度 */
    75% { transform: translateY(1px); } /* 减小移动幅度 */
    100% { transform: translateY(-1px); } /* 减小移动幅度 */
}

@keyframes noseTwitch {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@keyframes beamPulse {
    from { opacity: 0.3; height: 30px; } /* 调整高度 */
    to { opacity: 0.7; height: 45px; } /* 调整高度 */
}

/* 太空装饰元素 */
.planet {
    position: fixed;
    border-radius: 50%;
    opacity: 0.9;
    z-index: 3;
    box-shadow: 0 0 30px rgba(100, 150, 255, 0.5);
    animation: float 80s linear infinite;
}

.planet-1 {
    width: 180px;
    height: 180px;
    top: 15%;
    left: 10%;
    background: radial-gradient(circle at 30% 30%, #ff9966, #ff5e62);
    animation-duration: 100s;
}

.planet-1::after {
    content: '';
    position: absolute;
    width: 250px;
    height: 20px;
    background: rgba(255, 200, 150, 0.3);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(20deg);
    box-shadow: 0 0 20px rgba(255, 150, 100, 0.5);
}

.planet-2 {
    width: 100px;
    height: 100px;
    top: 25%;
    right: 15%;
    background: radial-gradient(circle at 30% 30%, #5ee7df, #66a6ff);
    animation-duration: 120s;
    animation-direction: reverse;
}

.planet-3 {
    width: 140px;
    height: 140px;
    bottom: 20%;
    left: 20%;
    background: radial-gradient(circle at 30% 30%, #d4fc79, #96e6a1);
    animation-duration: 140s;
}

@keyframes float {
    0% { transform: translate(0, 0) rotate(0); }
    25% { transform: translate(50px, 30px) rotate(90deg); }
    50% { transform: translate(100px, 0) rotate(180deg); }
    75% { transform: translate(50px, -30px) rotate(270deg); }
    100% { transform: translate(0, 0) rotate(360deg); }
}

.satellite {
    position: fixed;
    z-index: 3;
    font-size: 3rem;
    color: #aaccff;
    opacity: 0.8;
    animation: orbit 30s linear infinite;
    filter: drop-shadow(0 0 10px rgba(100, 180, 255, 0.8));
}

.satellite-1 {
    bottom: 30px;
    left: 5%;
}

.satellite-2 {
    top: 20%;
    right: 5%;
    animation-duration: 40s;
}

@keyframes orbit {
    0% { transform: rotate(0deg) translateX(150px) rotate(0deg); }
    100% { transform: rotate(360deg) translateX(150px) rotate(-360deg); }
}

/* 流星雨 */
.meteor-shower {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

header {
    text-align: center;
    padding-bottom: 30px;
    margin-bottom: 40px;
    position: relative;
}

.site-title {
    font-size: 4rem;
    font-weight: 700;
    color: #e6e6ff;
    margin-bottom: 15px;
    letter-spacing: 3px;
    font-family: 'Orbitron', sans-serif;
    text-shadow: 0 0 15px rgba(100, 150, 255, 0.7);
    animation: glow 3s infinite alternate;
}

@keyframes glow {
    from { text-shadow: 0 0 10px rgba(100, 150, 255, 0.7), 0 0 20px rgba(100, 150, 255, 0.5); }
    to { text-shadow: 0 0 20px rgba(100, 150, 255, 0.9), 0 0 30px rgba(100, 150, 255, 0.7), 0 0 40px rgba(80, 120, 255, 0.6); }
}

.site-subtitle {
    font-size: 1.4rem;
    font-weight: 400;
    color: #aaccff;
    margin-bottom: 30px;
    font-style: italic;
    animation: subtitleFloat 4s infinite ease-in-out;
}

@keyframes subtitleFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.divider {
    width: 120px;
    height: 4px;
    background: linear-gradient(to right, transparent, #66a6ff, transparent);
    margin: 0 auto;
    border-radius: 3px;
    box-shadow: 0 0 15px rgba(100, 180, 255, 0.7);
    animation: dividerPulse 3s infinite alternate;
}

@keyframes dividerPulse {
    from { opacity: 0.6; box-shadow: 0 0 10px rgba(100, 180, 255, 0.5); }
    to { opacity: 1; box-shadow: 0 0 20px rgba(100, 180, 255, 0.8); }
}

.core-content {
    text-align: center;
    padding: 30px 20px;
    margin: 40px 0;
    position: relative;
}

.quote {
    font-size: 1.4rem;
    color: #aaccff;
    font-style: italic;
    margin: 40px auto;
    text-align: center;
    max-width: 700px;
    padding: 30px;
    border: 1px solid rgba(100, 150, 255, 0.3);
    border-radius: 15px;
    background: rgba(10, 20, 40, 0.4);
    box-shadow: 
        inset 0 0 20px rgba(100, 150, 255, 0.1),
        0 0 30px rgba(100, 150, 255, 0.2);
    position: relative;
    z-index: 11;
    animation: quoteFloat 6s infinite ease-in-out;
}

@keyframes quoteFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.quote::before, .quote::after {
    content: '"';
    position: absolute;
    font-size: 5rem;
    color: rgba(100, 150, 255, 0.2);
    font-family: serif;
}

.quote::before {
    top: -30px;
    left: 10px;
}

.quote::after {
    bottom: -60px;
    right: 10px;
    transform: rotate(180deg);
}

footer {
    text-align: center;
    padding-top: 30px;
    margin-top: 40px;
    color: #aaccff;
    font-size: 1rem;
    position: relative;
    z-index: 11;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-top: 20px;
}

.social-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(100, 150, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e6e6ff;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
    border: 1px solid rgba(100, 150, 255, 0.3);
    animation: socialFloat 3s infinite ease-in-out;
    animation-delay: calc(var(--delay) * 0.2s);
}

@keyframes socialFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.social-icon:hover {
    transform: translateY(-5px) scale(1.1);
    background: rgba(100, 150, 255, 0.4);
    color: white;
    box-shadow: 0 0 20px rgba(100, 180, 255, 0.7);
    animation: none;
}

.watermark {
    position: fixed;
    bottom: 20px;
    right: 20px;
    font-size: 1rem;
    color: #aaccff;
    z-index: 12;
    background: rgba(10, 20, 40, 0.5);
    padding: 10px 20px;
    border-radius: 30px;
    border: 1px solid rgba(100, 150, 255, 0.3);
    box-shadow: 0 0 15px rgba(100, 180, 255, 0.3);
    backdrop-filter: blur(5px);
    animation: watermarkPulse 4s infinite alternate;
}

@keyframes watermarkPulse {
    from { box-shadow: 0 0 10px rgba(100, 180, 255, 0.3); }
    to { box-shadow: 0 0 20px rgba(100, 180, 255, 0.6); }
}

/* 透明音乐控制条 */
.music-control-bar {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 50px;
    padding: 10px 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(100, 180, 255, 0.3);
    box-shadow: 0 0 30px rgba(100, 150, 255, 0.3);
}

.control-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: rgba(100, 150, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e6e6ff;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0 10px;
    border: 1px solid rgba(100, 150, 255, 0.3);
    box-shadow: 0 0 15px rgba(100, 180, 255, 0.4);
    position: relative;
    z-index: 2;
}

.control-btn:hover {
    background: rgba(100, 150, 255, 0.5);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 0 25px rgba(100, 180, 255, 0.8);
}

.play-btn {
    width: 70px;
    height: 70px;
    background: rgba(100, 100, 255, 0.6);
    color: white;
}

.play-btn:hover {
    background: rgba(80, 80, 255, 0.8);
}

/* 音乐波动条 */
.visualizer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50px;
    overflow: hidden;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    padding: 0 15px;
}

.bar {
    width: 4px;
    height: 20px;
    background: linear-gradient(to top, #66a6ff, #4d94ff);
    border-radius: 2px;
    animation: wave 1.5s infinite ease-in-out;
    transform-origin: bottom;
    opacity: 0.7;
}

@keyframes wave {
    0%, 100% { transform: scaleY(0.3); }
    50% { transform: scaleY(1.8); }
}

/* 为每个条形添加不同的动画延迟 */
.bar:nth-child(1) { animation-delay: 0s; }
.bar:nth-child(2) { animation-delay: 0.1s; }
.bar:nth-child(3) { animation-delay: 0.2s; }
.bar:nth-child(4) { animation-delay: 0.3s; }
.bar:nth-child(5) { animation-delay: 0.4s; }
.bar:nth-child(6) { animation-delay: 0.5s; }
.bar:nth-child(7) { animation-delay: 0.6s; }
.bar:nth-child(8) { animation-delay: 0.7s; }
.bar:nth-child(9) { animation-delay: 0.8s; }
.bar:nth-child(10) { animation-delay: 0.9s; }
.bar:nth-child(11) { animation-delay: 1.0s; }
.bar:nth-child(12) { animation-delay: 1.1s; }
.bar:nth-child(13) { animation-delay: 1.2s; }
.bar:nth-child(14) { animation-delay: 1.3s; }
.bar:nth-child(15) { animation-delay: 1.4s; }

/* UFO对话气泡 - 横向样式 */
.ufo-bubble {
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 25px;
    padding: 8px 15px;
    color: #333;
    font-weight: bold;
    font-size: 14px;
    white-space: nowrap; /* 确保文本在一行显示 */
    z-index: 100;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 3px 12px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
}

.ufo-bubble::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 8px 8px 0;
    border-style: solid;
    border-color: rgba(255, 255, 255, 0.9) transparent transparent;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .container {
        padding: 30px 20px;
        margin: 40px 20px;
    }
    
    .site-title {
        font-size: 2.8rem;
    }
    
    .flying-ufo {
        transform: scale(0.8);
    }
    
    .planet-1, .planet-2, .planet-3 {
        transform: scale(0.7);
    }
    
    .quote {
        font-size: 1.2rem;
        padding: 20px;
    }
    
    .ufo-bubble {
        font-size: 12px;
        padding: 6px 12px;
        min-width: 100px;
        top: -35px;
    }
}

@media (max-width: 480px) {
    .site-title {
        font-size: 2.2rem;
    }
    
    .site-subtitle {
        font-size: 1.1rem;
    }
    
    .social-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .quote {
        font-size: 1rem;
        padding: 15px;
    }
    
    .ufo-bubble {
        font-size: 10px;
        padding: 5px 10px;
        min-width: 80px;
        top: -30px;
    }
}