* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
}

@keyframes messageSlideIn {
    0% {
        opacity: 0;
        transform: translate(-50%, -20px);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

@keyframes messageSlideOut {
    0% {
        opacity: 1;
        transform: translate(-50%, 0);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -20px);
    }
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, rgba(0,0,0,0.6) 100%);
    z-index: 1;
}
        
.copy-protection-message {
    animation: messageSlideIn 0.3s ease-out forwards;
}

.copy-protection-message.hiding {
    animation: messageSlideOut 0.3s ease-in forwards;
}

body {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #070714; /* 深蓝黑色背景，更接近真实夜空 */
    overflow: hidden;
    position: relative;
    font-family: 'Ma Shan Zheng', 'Noto Serif SC', serif;
}

/* 增强星空背景效果 */
.stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

/* 远距离小星星层 */
.stars::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(0.5px 0.5px at 10px 10px, rgba(255,255,255,0.7), rgba(0,0,0,0)),
        radial-gradient(0.5px 0.5px at 25px 60px, rgba(255,255,255,0.6), rgba(0,0,0,0)),
        radial-gradient(0.5px 0.5px at 35px 100px, rgba(255,255,255,0.7), rgba(0,0,0,0)),
        radial-gradient(0.5px 0.5px at 55px 150px, rgba(255,255,255,0.6), rgba(0,0,0,0)),
        radial-gradient(0.5px 0.5px at 75px 65px, rgba(255,255,255,0.7), rgba(0,0,0,0)),
        radial-gradient(0.5px 0.5px at 95px 175px, rgba(255,255,255,0.6), rgba(0,0,0,0)),
        radial-gradient(0.5px 0.5px at 115px 5px, rgba(255,255,255,0.7), rgba(0,0,0,0)),
        radial-gradient(0.5px 0.5px at 135px 100px, rgba(255,255,255,0.6), rgba(0,0,0,0)),
        radial-gradient(0.5px 0.5px at 170px 80px, rgba(255,255,255,0.7), rgba(0,0,0,0)),
        radial-gradient(0.5px 0.5px at 190px 200px, rgba(255,255,255,0.6), rgba(0,0,0,0)),
        radial-gradient(0.5px 0.5px at 210px 120px, rgba(255,255,255,0.7), rgba(0,0,0,0)),
        radial-gradient(0.5px 0.5px at 230px 160px, rgba(255,255,255,0.6), rgba(0,0,0,0)),
        radial-gradient(0.5px 0.5px at 250px 30px, rgba(255,255,255,0.7), rgba(0,0,0,0)),
        radial-gradient(0.5px 0.5px at 270px 190px, rgba(255,255,255,0.6), rgba(0,0,0,0)),
        radial-gradient(0.5px 0.5px at 290px 120px, rgba(255,255,255,0.7), rgba(0,0,0,0));
    background-size: 300px 300px;
    animation: stars-move 150s linear infinite;
    opacity: 0.8;
}

/* 中距离星星层 */
.stars::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(1px 1px at 20px 30px, rgba(255,255,255,0.9), rgba(0,0,0,0)),
        radial-gradient(1px 1px at 40px 70px, rgba(255,255,255,0.8), rgba(0,0,0,0)),
        radial-gradient(1px 1px at 50px 160px, rgba(255,255,255,0.9), rgba(0,0,0,0)),
        radial-gradient(1px 1px at 90px 40px, rgba(255,255,255,0.8), rgba(0,0,0,0)),
        radial-gradient(1px 1px at 130px 80px, rgba(255,255,255,0.9), rgba(0,0,0,0)),
        radial-gradient(1px 1px at 160px 120px, rgba(255,255,255,0.8), rgba(0,0,0,0)),
        radial-gradient(1px 1px at 200px 200px, rgba(255,255,255,0.9), rgba(0,0,0,0)),
        radial-gradient(1px 1px at 300px 300px, rgba(255,255,255,0.8), rgba(0,0,0,0)),
        radial-gradient(1px 1px at 400px 400px, rgba(255,255,255,0.9), rgba(0,0,0,0)),
        radial-gradient(1px 1px at 500px 500px, rgba(255,255,255,0.8), rgba(0,0,0,0)),
        radial-gradient(1px 1px at 600px 100px, rgba(255,255,255,0.9), rgba(0,0,0,0)),
        radial-gradient(1px 1px at 700px 300px, rgba(255,255,255,0.8), rgba(0,0,0,0));
    background-size: 700px 700px;
    animation: stars-move 120s linear infinite;
    opacity: 0.7;
}

/* 星云效果 - 更加真实的星云 */
.nebula {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 30% 20%, rgba(66,220,219,0.03) 0%, rgba(66,220,219,0.01) 30%, rgba(0,0,0,0) 60%),
        radial-gradient(ellipse at 70% 60%, rgba(147,112,219,0.03) 0%, rgba(147,112,219,0.01) 30%, rgba(0,0,0,0) 60%),
        radial-gradient(ellipse at 50% 50%, rgba(176,224,230,0.02) 0%, rgba(176,224,230,0.01) 40%, rgba(0,0,0,0) 70%),
        radial-gradient(ellipse at 20% 80%, rgba(255,182,193,0.03) 0%, rgba(255,182,193,0.01) 30%, rgba(0,0,0,0) 60%),
        radial-gradient(ellipse at 80% 10%, rgba(135,206,250,0.03) 0%, rgba(135,206,250,0.01) 30%, rgba(0,0,0,0) 60%),
        radial-gradient(ellipse at 60% 30%, rgba(255,160,122,0.02) 0%, rgba(255,160,122,0.01) 30%, rgba(0,0,0,0) 60%),
        radial-gradient(ellipse at 40% 70%, rgba(152,251,152,0.02) 0%, rgba(152,251,152,0.01) 30%, rgba(0,0,0,0) 60%);
    filter: blur(40px);
    z-index: 0;
    pointer-events: none;
    opacity: 0.7;
    animation: nebula-pulse 20s ease-in-out infinite alternate;
}

/* 亮星效果 - 更加真实的恒星 */
.bright-stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        /* 北极星 - 白色偏蓝 */
        radial-gradient(4px 4px at 150px 150px, rgba(255,255,255,1) 0%, rgba(220,240,255,0.4) 30%, rgba(220,240,255,0.1) 60%, rgba(0,0,0,0) 100%),
        /* 天狼星 - 白色偏蓝 */
        radial-gradient(5px 5px at 400px 200px, rgba(255,255,255,1) 0%, rgba(220,240,255,0.4) 30%, rgba(220,240,255,0.1) 60%, rgba(0,0,0,0) 100%),
        /* 参宿四 - 红色 */
        radial-gradient(6px 6px at 250px 400px, rgba(255,220,220,1) 0%, rgba(255,180,180,0.4) 30%, rgba(255,180,180,0.1) 60%, rgba(0,0,0,0) 100%),
        /* 织女星 - 白色 */
        radial-gradient(5px 5px at 600px 300px, rgba(255,255,255,1) 0%, rgba(255,255,255,0.4) 30%, rgba(255,255,255,0.1) 60%, rgba(0,0,0,0) 100%),
        /* 牛郎星 - 蓝色 */
        radial-gradient(4px 4px at 700px 500px, rgba(220,220,255,1) 0%, rgba(200,200,255,0.4) 30%, rgba(200,200,255,0.1) 60%, rgba(0,0,0,0) 100%);
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: 1;
    animation: bright-stars-twinkle 8s ease-in-out infinite alternate;
}

/* 星座连线效果 */
.bright-stars::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: 
        /* 北斗七星简化版 */
        linear-gradient(to bottom right, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 100%),
        linear-gradient(to top right, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 100%);
    background-size: 300px 300px;
    background-position: 200px 150px, 350px 200px;
    background-repeat: no-repeat;
    opacity: 0.3;
}

/* 流星效果 - 更加自然的流星 */
.shooting-stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

/* 流星共享样式 */
.meteor {
    position: absolute;
    width: 2px;
    height: 2px;
    border-radius: 50%;
    background-color: #fff;
    box-shadow: 
        0 0 4px #fff,
        0 0 8px #fff;
    transform-origin: center bottom;
}

.meteor::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100px;
    height: 1px;
    background: linear-gradient(to right, 
        rgba(255,255,255,0.8) 0%, 
        rgba(255,255,255,0.4) 20%, 
        rgba(255,255,255,0.2) 40%,
        rgba(255,255,255,0.1) 60%,
        rgba(255,255,255,0) 100%
    );
    transform: translateY(-50%);
    transform-origin: left center;
}

.meteor-1 {
    top: -10%;
    left: 80%;
    animation: 
        shooting-star-move-1 3s cubic-bezier(0.25, 0.1, 0.25, 1) infinite,
        shooting-star-opacity 3s ease-in infinite;
    animation-delay: 0s;
}

.meteor-2 {
    top: -5%;
    left: 65%;
    animation: 
        shooting-star-move-2 4s cubic-bezier(0.25, 0.1, 0.25, 1) infinite,
        shooting-star-opacity 4s ease-in infinite;
    animation-delay: 1s;
}

.meteor-3 {
    top: -15%;
    left: 70%;
    animation: 
        shooting-star-move-3 5s cubic-bezier(0.25, 0.1, 0.25, 1) infinite,
        shooting-star-opacity 5s ease-in infinite;
    animation-delay: 2s;
}

.meteor-4 {
    top: -8%;
    left: 55%;
    animation: 
        shooting-star-move-4 6s cubic-bezier(0.25, 0.1, 0.25, 1) infinite,
        shooting-star-opacity 6s ease-in infinite;
    animation-delay: 3.5s;
}

.meteor-5 {
    top: -12%;
    left: 90%;
    animation: 
        shooting-star-move-5 7s cubic-bezier(0.25, 0.1, 0.25, 1) infinite,
        shooting-star-opacity 7s ease-in infinite;
    animation-delay: 5s;
}

/* 大气层效果 */
.atmosphere {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(10,20,40,0.2) 0%, rgba(0,0,0,0) 20%);
    pointer-events: none;
    z-index: 0;
    animation: atmosphere-flicker 8s ease-in-out infinite;
}

/* 星星移动动画 - 更自然的移动速度 */
@keyframes stars-move {
    from {
        transform: translate3d(0, 0, 0);
    }
    to {
        transform: translate3d(-100%, -100%, 0);
    }
}

/* 星云脉动动画 - 更柔和的变化 */
@keyframes nebula-pulse {
    0% {
        opacity: 0.6;
        filter: blur(40px);
    }
    50% {
        opacity: 0.8;
        filter: blur(35px);
    }
    100% {
        opacity: 0.6;
        filter: blur(40px);
    }
}

/* 亮星闪烁动画 - 更真实的闪烁效果 */
@keyframes bright-stars-twinkle {
    0% {
        opacity: 0.9;
        transform: scale(1);
    }
    25% {
        opacity: 1;
        transform: scale(1.05);
    }
    50% {
        opacity: 0.7;
        transform: scale(0.95);
    }
    75% {
        opacity: 0.9;
        transform: scale(1.02);
    }
    100% {
        opacity: 0.9;
        transform: scale(1);
    }
}

/* 备案提示样式 */
.beian-notice {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: rgba(255, 255, 255, 0.9);
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.5;
    text-align: center;
    max-width: 90%;
    backdrop-filter: blur(5px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    font-family: 'Noto Serif SC', serif;
    width: fit-content;
}

@media (max-width: 768px) {
    .beian-notice {
        padding: 6px 10px;
        font-size: 11px;
        max-width: 98%;
        top: 10px;
        line-height: 1.3;
        width: calc(100% - 20px);
    }
}

@media (max-width: 480px) {
    .beian-notice {
        padding: 4px 8px;
        font-size: 10px;
        line-height: 1.2;
        width: calc(100% - 16px);
    }
}

.beian-notice a {
    color: #4a9eff;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.beian-notice a:hover {
    color: #66b1ff;
    text-decoration: underline;
}

/* 流星动画 - 更真实的轨迹和速度 */
@keyframes shooting-star-move-1 {
    0% {
        transform: translate(0, 0) rotate(-45deg) scale(1);
    }
    100% {
        transform: translate(-1000px, 1000px) rotate(-45deg) scale(0.5);
    }
}

@keyframes shooting-star-move-2 {
    0% {
        transform: translate(0, 0) rotate(-35deg) scale(1);
    }
    100% {
        transform: translate(-800px, 800px) rotate(-35deg) scale(0.5);
    }
}

@keyframes shooting-star-move-3 {
    0% {
        transform: translate(0, 0) rotate(-55deg) scale(1);
    }
    100% {
        transform: translate(-1200px, 1200px) rotate(-55deg) scale(0.5);
    }
}

@keyframes shooting-star-move-4 {
    0% {
        transform: translate(0, 0) rotate(-60deg) scale(1);
    }
    100% {
        transform: translate(-900px, 1500px) rotate(-60deg) scale(0.5);
    }
}

@keyframes shooting-star-move-5 {
    0% {
        transform: translate(0, 0) rotate(-30deg) scale(1);
    }
    100% {
        transform: translate(-1500px, 800px) rotate(-30deg) scale(0.5);
    }
}

@keyframes shooting-star-opacity {
    0% {
        opacity: 0;
    }
    15% {
        opacity: 1;
    }
    60% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

/* 大气层闪烁效果 */
@keyframes atmosphere-flicker {
    0%, 100% {
        opacity: 0.2;
    }
    50% {
        opacity: 0.25;
    }
}

.poetry-container {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem;
    animation: float 8s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

.poetry {
    font-size: clamp(2.5rem, 8vw, 5rem);
    color: #fff;
    line-height: 1.8;
    letter-spacing: 0.1em;
}

.poetry span {
    display: inline-block;
    text-shadow: 
        0 0 10px rgba(255,255,255,0.8),
        0 0 20px rgba(66,220,219,0.8),
        0 0 30px rgba(66,220,219,0.6);
    transition: all 0.3s ease;
}

.poetry span:hover {
    transform: translateY(-5px);
    text-shadow: 
        0 0 15px rgba(255,255,255,0.9),
        0 0 25px rgba(66,220,219,0.9),
        0 0 35px rgba(66,220,219,0.7);
    color: #e0ffff;
}

.poetry-line {
    margin-bottom: 1rem;
    animation: fadeIn 1.5s ease-out forwards;
    opacity: 0;
}

.poetry-line:first-child {
    animation-delay: 0.5s;
}

.poetry-line:last-child {
    animation-delay: 1.5s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .poetry {
        font-size: clamp(2rem, 6vw, 3.5rem);
    }
    .stars {
        background-size: 250px 250px;
    }
}

/* 页脚样式 */
.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 10px 0;
    text-align: center;
    z-index: 10;
    font-family: 'Noto Serif SC', serif;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 12px;
    text-shadow: 0 0 3px rgba(0, 0, 0, 0.8);
}

.site-name {
    font-family: 'Ma Shan Zheng', cursive;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 5px;
    text-shadow: 0 0 10px rgba(66, 220, 219, 0.6);
}

.copyright a {
    color: rgba(66, 220, 219, 0.9);
    text-decoration: none;
    transition: all 0.3s ease;
}

.copyright a:hover {
    color: #e0ffff;
    text-shadow: 0 0 10px rgba(66, 220, 219, 0.8);
}

.icp {
    opacity: 0.6;
}

.icp a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
}

.icp a:hover {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: underline;
}

@media (max-width: 768px) {
    .footer-content {
        padding: 0 15px;
    }
}