.pendulum-container {
    position: fixed;
    width: 100px;
    height: 600px;
    z-index: 9999999;
}

.pendulum {
    width: 10px;
    height: 500px;
    background: linear-gradient(#8b4513, #3c2f2f);
    position: absolute;
    top: 0;
    left: 50%;
    transform-origin: top center;
    transform: translateX(-50%);
    animation: swing 3s ease-in-out infinite;
    clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.pendulum::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 50px;
    height: 50px;
    background: radial-gradient(circle, #b8860b, #8b6508);
    border-radius: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
}

@keyframes swing {
    0% {
        transform: translateX(-50%) rotate(60deg);
    }
    50% {
        transform: translateX(-50%) rotate(-60deg);
    }
    100% {
        transform: translateX(-50%) rotate(60deg);
    }
}
