.lp_logo4th {
    animation: logoFloat 4s ease-in-out infinite alternate;
    transition: transform 0.3s ease;
}

.lp_btnArrowDown {
    animation: arrowBounce 2s ease-in-out infinite;
    transition: transform 0.3s ease;
}

.lp_btnArrowDown:hover {
    transform: scale(1.2);
    animation-play-state: paused;
}

.lp_btnArrowDown img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Particle Effects */
.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 4;
    pointer-events: none;
}

.particle {
    position: absolute;
    z-index: 4;

    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: particleFloat 8s linear infinite;
}

.particle:nth-child(1) {
    left: 10%;
    animation-delay: 0s;
    animation-duration: 10s;
}

.particle:nth-child(2) {
    left: 25%;
    animation-delay: 2s;
    animation-duration: 12s;
}

.particle:nth-child(3) {
    left: 50%;
    animation-delay: 4s;
    animation-duration: 8s;
}

.particle:nth-child(4) {
    left: 75%;
    animation-delay: 6s;
    animation-duration: 14s;
}

.particle:nth-child(5) {
    left: 90%;
    animation-delay: 1s;
    animation-duration: 9s;
}

/* Animations */
@keyframes logoFloat {

    0%,
    100% {
        transform: translateY(0) rotate(0deg) scale(1);
        filter: drop-shadow(0 0 20px #ffffffee);
    }

    50% {
        transform: translateY(8px) rotate(0.8deg) scale(1.06);
        filter: drop-shadow(0 0 20px #fffdeaee);

    }
}

@keyframes arrowBounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-15px);
    }

    60% {
        transform: translateY(-8px);
    }
}

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) translateX(0) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateY(-100px) translateX(50px) rotate(360deg);
        opacity: 0;
    }
}

/* Floating Leaves */
.leaves {
    position: absolute;
    z-index: 4;

    width: 100%;
    height: 100%;
    pointer-events: none;
}

.leaf {
    position: absolute;
    z-index: 4;

    width: 30px;
    height: 30px;
    background: #ffffff48;
    border-radius: 0 100% 0 100%;
    transform-origin: 50% 50%;
    animation: leafFloat 15s linear infinite;
    opacity: 0;
    filter: drop-shadow(1px 1px 5px #fffb138e);
}

.leaf:nth-child(1) {
    left: 10%;
    animation-delay: 0s;
    animation-duration: 12s;
}

.leaf:nth-child(2) {
    left: 20%;
    animation-delay: 2s;
    animation-duration: 14s;
}

.leaf:nth-child(3) {
    left: 30%;
    animation-delay: 4s;
    animation-duration: 16s;
}

.leaf:nth-child(4) {
    left: 70%;
    animation-delay: 6s;
    animation-duration: 13s;
}

.leaf:nth-child(5) {
    left: 80%;
    animation-delay: 8s;
    animation-duration: 15s;
}

@keyframes leafFloat {
    0% {
        transform: translateY(-100px) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 0.7;
    }

    90% {
        opacity: 0.7;
    }

    100% {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}

/* Cloud Custom  */
.scene {
    position: absolute;
    z-index: 1;

    width: 100%;
    height: 100%;
    overflow: hidden;

}

.cloud {
    position: absolute;
    border-radius: 50%;
    background-color: white;
    opacity: 0.7;
    box-shadow: 0 0 60px rgba(255, 255, 255, 0.6);
    filter: blur(5px);

    /* เพิ่ม */
    top: 0;
    left: 0;
    will-change: transform;
}

.cloud-part {
    position: absolute;
    border-radius: 50%;
    background-color: white;
    opacity: 0.8;
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.5);
}

.glow-effect {
    display: inline-block;
    animation: glowPulse 2s infinite alternate ease-in-out;
}

/* เอฟเฟกต์แสง */
@keyframes glowPulse {
    from {
        filter: drop-shadow(0 0 5px #ffffff59);
    }

    to {
        filter: drop-shadow(0 0 20px #fffad6ee);
    }
}

.glow-move {
    display: inline-block;
    animation:
        floatMove 4s infinite ease-in-out;
}

/* เอฟเฟกต์ขยับ */
@keyframes floatMove {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0);
    }
}


/* ซ่อนเนื้อหาตอนแรก */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease forwards;
    animation-delay: .1s;
}

.fade-in2 {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease forwards;
    animation-delay: .3s;
}

.fade-in3 {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease forwards;
    animation-delay: .5s;
}

.fade-in4 {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease forwards;
    animation-delay: .7s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.glow-effect2 {
    display: inline-block;
    animation: glowPulse2 2s infinite alternate ease-in-out;
}

/* เอฟเฟกต์แสง */
@keyframes glowPulse2 {
    from {
        filter: drop-shadow(0 0 5px #ffffff59);
        transform: scale(1);
    }

    to {
        filter: drop-shadow(0 0 20px #ffbe0dee);
        transform: scale(1.5);
    }
}


.glow-effect3 {
    display: inline-block;
    animation: glowPulse3 2s infinite alternate ease-in-out;
}

/* เอฟเฟกต์แสง */
@keyframes glowPulse3 {
    from {
        filter: drop-shadow(0 0 5px #ffffffb9);
        transform: scale(1);
    }

    to {
        filter: drop-shadow(0 0 20px #0dff9a);
        transform: scale(1.15);
    }
}

.glow-scale {
    display: inline-block;
    animation: scaleUpDown 5s infinite ease-in-out;
}

/* เอฟเฟกต์ขยายใหญ่ขึ้น */
@keyframes scaleUpDown {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

/* Floating Petals */
.petals {
    position: absolute;
    z-index: 4;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.petal {
    position: absolute;
    z-index: 1;

    width: 10px;
    height: 10px;
    background: #ffffff49;
    border-radius: 50% 0 50% 0;
    transform-origin: 50% 50%;
    animation: petalFloat 15s linear infinite;
    opacity: 0;
    filter: drop-shadow(1px 1px 10px #fff);
    box-shadow: 1px 1px 10px 5px #dfffdb48;
}

.petal:nth-child(1) {
    left: 15%;
    animation-delay: 0s;
    animation-duration: 12s;
}

.petal:nth-child(2) {
    left: 25%;
    animation-delay: 2s;
    animation-duration: 14s;
}

.petal:nth-child(3) {
    left: 40%;
    animation-delay: 4s;
    animation-duration: 16s;
}

.petal:nth-child(4) {
    left: 65%;
    animation-delay: 6s;
    animation-duration: 13s;
}

.petal:nth-child(5) {
    left: 85%;
    animation-delay: 8s;
    animation-duration: 15s;
}

@keyframes petalFloat {
    0% {
        transform: translateY(-100px) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 0.7;
    }

    90% {
        opacity: 0.7;
    }

    100% {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}