.main {
    display: flex;
    position: fixed;
    justify-content: center;
    align-items: center;
    min-height: 50vh;
    margin: 0;
    top: 100px;
    right: 27px;
    font-family: "Poppins", sans-serif;
    z-index: 99999;
}

.container1 {
    perspective: 1000px;
}

.hanger {
    position: relative;
    transform-origin: 50% 0;
}

.rope {
    width: 4px;
    height: 40px;
    background: linear-gradient(to bottom, #8b4513, #654321);
    margin: 0 auto;
    position: relative;
    border-radius: 4px;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    animation: swing 6s ease-in-out infinite;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
}

.danda {   
    z-index: 1;
    position: absolute;
    right: -28px;
    top:-78px;
}

.danda img {
    width:300px;
}

.hook {
    width: 20px;
    height: 20px;
    border: 11px solid #8b4513;
    border-radius: 50%;
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-bottom-color: transparent;
    box-shadow: 2px -2px 4px rgba(0, 0, 0, 0.2);
}

.button {
    padding: 35px 20px;
    font-size: 18px;
    background: linear-gradient(135deg, #01005c, #010272);
    color: white;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    width: 458px;
    transform-style: preserve-3d;
    animation: swing 6s ease-in-out infinite;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
}

.button::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    transform: translateZ(20px);
    animation: swing 6s ease-in-out infinite;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
}

.button-content {
    position: relative;
    z-index: 2;
    transform: translateZ(30px);
}

.autumn-leaf {
    position: absolute;
    font-size: 20px;
    opacity: 0;
    z-index: 1;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.leaf1 {
    animation: floatInButton 5s linear infinite;
}
.leaf2 {
    animation: floatInButton 5s linear infinite 1.25s;
}
.leaf3 {
    animation: floatInButton 5s linear infinite 2.5s;
}
.leaf4 {
    animation: floatInButton 5s linear infinite 3.75s;
}

.button:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 15px 35px rgba(255, 69, 0, 0.4),
      0 0 20px rgba(255, 69, 0, 0.2);
}

.button:hover .autumn-leaf {
    animation-duration: 3s;
}

.header {
    display: block;
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.discount {
    display: block;
    font-size: 38px;
    font-weight: 700;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.25);
    animation: pulse 2s ease-in-out infinite;
    margin: 8px 0;
    letter-spacing: 1.5px;
    background: linear-gradient(90deg, #08fff8, #fff, #ffc800);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% 100%;
    animation: shine-text 3s linear infinite;
}

.consultation {
    display: block;
    font-size: 18px;
    font-weight: 600;
    color: #ffe55c;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
    margin-top: 8px;
    letter-spacing: 0.3px;
    line-height: 1.4;
}

.limited {
    display: block;
    font-size: 15px;
    margin-top: 10px;
    opacity: 0.95;
    font-weight: 500;
    letter-spacing: 0.3px;
    color: rgba(255, 255, 255, 0.9);
}

.ribbon {
    position: absolute;
    top: 17px;
    right: -18px;
    background: linear-gradient(135deg, #ff0000, #910000);
    color: white;
    padding: 8px 15px;
    font-size: 13px;
    font-weight: 600;
    transform: rotate(15deg);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 3;
    border-radius: 6px;
    letter-spacing: 0.5px;
}

.sparkle {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: #ffe55c;
    box-shadow: 0 0 10px #ffe55c;
}

.sparkle1 {
    top: 20%;
    left: 10%;
    animation: twinkle 2s infinite 0.5s;
}
.sparkle2 {
    top: 30%;
    right: 15%;
    animation: twinkle 2s infinite 0.7s;
}
.sparkle3 {
    bottom: 25%;
    left: 20%;
    animation: twinkle 2s infinite 0.2s;
}
.sparkle4 {
    bottom: 35%;
    right: 25%;
    animation: twinkle 2s infinite;
}

@keyframes swing {
    0% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(3deg);
    }
    75% {
        transform: rotate(-3deg);
    }
    100% {
        transform: rotate(0deg);
    }
}

@keyframes floatInButton {
    0% {
        transform: translate(-50%, -100%) rotate(0deg);
        opacity: 0;
    }
    20% {
        opacity: 1;
    }
    80% {
        opacity: 1;
    }
    100% {
        transform: translate(-50%, 100%) rotate(360deg);
        opacity: 0;
    }
}

@keyframes shine-text {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

@keyframes twinkle {
    0%, 100% {
        transform: scale(1);
        opacity: 0;
    }
    50% {
        transform: scale(1.5);
        opacity: 1;
        box-shadow: 0 0 20px #ffe55c;
    }
}

@media only screen and (max-width: 600px) {
    .main {
        display: none;
    }
}