* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body.daylight-theme {
    font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(180deg, #87CEEB 0%, #98D8E8 30%, #B0E0E6 60%, #E0F6FF 100%);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}


.daylight-sky-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -10;
    pointer-events: none;
    overflow: hidden;
}


.daylight-sky-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 30% 20%, rgba(255, 255, 255, 0.3) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 30%, rgba(173, 216, 230, 0.2) 0%, transparent 60%),
        radial-gradient(ellipse at 50% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 40%);
    z-index: -9;
}


.daylight-sun {
    position: absolute;
    top: 15%;
    right: 20%;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, #FFD700 0%, #FFA500 70%, #FF8C00 100%);
    border-radius: 50%;
    box-shadow:
        0 0 30px rgba(255, 215, 0, 0.6),
        0 0 60px rgba(255, 215, 0, 0.4),
        0 0 90px rgba(255, 215, 0, 0.2);
    animation: daylight-sun-glow 4s ease-in-out infinite alternate;
    z-index: -8;
}

@keyframes daylight-sun-glow {
    0% {
        box-shadow:
            0 0 30px rgba(255, 215, 0, 0.6),
            0 0 60px rgba(255, 215, 0, 0.4),
            0 0 90px rgba(255, 215, 0, 0.2);
        transform: scale(1);
    }

    100% {
        box-shadow:
            0 0 40px rgba(255, 215, 0, 0.8),
            0 0 80px rgba(255, 215, 0, 0.6),
            0 0 120px rgba(255, 215, 0, 0.3);
        transform: scale(1.05);
    }
}


.daylight-sun-rays {
    position: absolute;
    top: 15%;
    right: 20%;
    width: 120px;
    height: 120px;
    z-index: -7;
}

.daylight-ray {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255, 215, 0, 0.8), transparent);
    transform-origin: bottom center;
    animation: daylight-ray-rotate 20s linear infinite;
}

.daylight-ray-1 {
    transform: translate(-50%, -100%) rotate(0deg);
    animation-delay: 0s;
}

.daylight-ray-2 {
    transform: translate(-50%, -100%) rotate(60deg);
    animation-delay: -3.33s;
}

.daylight-ray-3 {
    transform: translate(-50%, -100%) rotate(120deg);
    animation-delay: -6.66s;
}

.daylight-ray-4 {
    transform: translate(-50%, -100%) rotate(180deg);
    animation-delay: -10s;
}

.daylight-ray-5 {
    transform: translate(-50%, -100%) rotate(240deg);
    animation-delay: -13.33s;
}

.daylight-ray-6 {
    transform: translate(-50%, -100%) rotate(300deg);
    animation-delay: -16.66s;
}

@keyframes daylight-ray-rotate {
    0% {
        transform: translate(-50%, -100%) rotate(var(--start-rotation, 0deg)) scaleY(1);
    }

    50% {
        transform: translate(-50%, -100%) rotate(calc(var(--start-rotation, 0deg) + 180deg)) scaleY(1.2);
    }

    100% {
        transform: translate(-50%, -100%) rotate(calc(var(--start-rotation, 0deg) + 360deg)) scaleY(1);
    }
}


.daylight-clouds-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -6;
}


.daylight-cloud {
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50px;
    animation: daylight-cloud-move linear infinite;
    will-change: transform;
}

.daylight-cloud-small {
    width: 80px;
    height: 25px;
}

.daylight-cloud-small::before {
    content: '';
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    top: -20px;
    left: 15px;
}

.daylight-cloud-small::after {
    content: '';
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    width: 50px;
    height: 30px;
    border-radius: 50%;
    top: -15px;
    right: 10px;
}

.daylight-cloud-medium {
    width: 120px;
    height: 35px;
}

.daylight-cloud-medium::before {
    content: '';
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    top: -30px;
    left: 20px;
}

.daylight-cloud-medium::after {
    content: '';
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    width: 70px;
    height: 45px;
    border-radius: 50%;
    top: -22px;
    right: 15px;
}

.daylight-cloud-large {
    width: 160px;
    height: 45px;
}

.daylight-cloud-large::before {
    content: '';
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    top: -40px;
    left: 25px;
}

.daylight-cloud-large::after {
    content: '';
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    width: 90px;
    height: 55px;
    border-radius: 50%;
    top: -27px;
    right: 20px;
}


.daylight-cloud-light {
    opacity: 0.6;
}

.daylight-cloud-normal {
    opacity: 0.8;
}

.daylight-cloud-dense {
    opacity: 1;
}


@keyframes daylight-cloud-move {
    0% {
        transform: translateX(-20%);
    }

    100% {
        transform: translateX(120%);
    }
}


.daylight-birds {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -5;
}


.daylight-bird {
    position: absolute;
    width: 20px;
    height: 20px;
    animation: daylight-bird-fly linear infinite;
}

.daylight-bird::before,
.daylight-bird::after {
    content: '';
    position: absolute;
    background: #333;
    border-radius: 50% 0;
}

.daylight-bird::before {
    width: 10px;
    height: 8px;
    top: 6px;
    left: 0;
    transform: rotate(-45deg);
    animation: daylight-wing-flap 0.5s ease-in-out infinite;
}

.daylight-bird::after {
    width: 10px;
    height: 8px;
    top: 6px;
    right: 0;
    transform: rotate(45deg) scaleX(-1);
    animation: daylight-wing-flap 0.5s ease-in-out infinite reverse;
}

@keyframes daylight-bird-fly {
    0% {
        transform: translateX(-50px) translateY(0px);
    }

    25% {
        transform: translateX(25vw) translateY(-10px);
    }

    50% {
        transform: translateX(50vw) translateY(5px);
    }

    75% {
        transform: translateX(75vw) translateY(-5px);
    }

    100% {
        transform: translateX(calc(100vw + 50px)) translateY(0px);
    }
}

@keyframes daylight-wing-flap {

    0%,
    100% {
        transform: rotate(-45deg) scaleY(1);
    }

    50% {
        transform: rotate(-45deg) scaleY(0.7);
    }
}


.daylight-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, #007bff, #0056b3);
    z-index: 9999;
    transition: width 0.3s ease;
}


@media (max-width: 768px) {
    .daylight-sun {
        width: 80px;
        height: 80px;
        top: 10%;
        right: 15%;
    }

    .daylight-sun-rays {
        width: 80px;
        height: 80px;
        top: 10%;
        right: 15%;
    }

    .daylight-ray {
        height: 25px;
    }

    .daylight-cloud-large {
        width: 120px;
        height: 35px;
    }

    .daylight-cloud-large::before {
        width: 60px;
        height: 60px;
        top: -30px;
    }

    .daylight-cloud-large::after {
        width: 70px;
        height: 40px;
        top: -20px;
    }

    .daylight-cloud-medium {
        width: 100px;
        height: 30px;
    }

    .daylight-cloud-medium::before {
        width: 50px;
        height: 50px;
        top: -25px;
    }

    .daylight-cloud-medium::after {
        width: 60px;
        height: 35px;
        top: -17px;
    }

    .daylight-cloud-small {
        width: 60px;
        height: 20px;
    }

    .daylight-cloud-small::before {
        width: 30px;
        height: 30px;
        top: -15px;
    }

    .daylight-cloud-small::after {
        width: 40px;
        height: 25px;
        top: -12px;
    }


    .daylight-bird:nth-child(n+3) {
        display: none;
    }
}


@media (max-width: 480px) {
    body.daylight-theme {
        background: linear-gradient(180deg, #87CEEB 0%, #B0E0E6 50%, #E0F6FF 100%);
    }

    .daylight-sun {
        width: 60px;
        height: 60px;
        top: 8%;
        right: 10%;
    }

    .daylight-sun-rays {
        width: 60px;
        height: 60px;
        top: 8%;
        right: 10%;
    }

    .daylight-ray {
        height: 20px;
    }


    .daylight-birds {
        display: none;
    }

    .daylight-sun-rays {
        display: none;
    }
}


@media (prefers-reduced-motion: reduce) {

    .daylight-sun,
    .daylight-ray,
    .daylight-cloud,
    .daylight-bird {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}


@media (prefers-contrast: high) {
    body.daylight-theme {
        background: #fff;
    }

    .daylight-sky-bg {
        display: none;
    }
}


@media print {

    .daylight-sky-bg,
    .daylight-progress-bar {
        display: none !important;
    }

    body.daylight-theme {
        background: #fff !important;
        color: #000 !important;
    }
}