body {
    margin: 0;
    font-family: sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 200vh;
    background-color: #f0f0f0;
}

.scroll-container {
    width: 90%;
    max-width: 1000px;
    padding: 30px;
    background-color: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.comparison-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 50px 0;
    gap: 30px;
}

.bot-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.bot-wrapper h3 {
    margin-bottom: 30px;
    color: #444;
}

/* ============================ */
/* OPTION 1: CUSTOM GLOW        */
/* ============================ */
.bot-image-glow {
    width: 200px;
    height: auto;
    display: block;
    margin: 25px auto;
    animation: rotateBot linear forwards, pulseBorder 2s infinite alternate;
    animation-timeline: view(), auto;
    animation-range-start: cover 0%, normal;
    animation-range-end: cover 100%, normal;
}

@keyframes pulseBorder {
    0% { filter: drop-shadow(0 0 10px #ff4757) drop-shadow(0 0 5px #ff4757); }
    100% { filter: drop-shadow(0 0 20px #1e90ff) drop-shadow(0 0 10px #1e90ff); }
}

/* ============================ */
/* OPTION 2: CIRCLE SNAKE       */
/* ============================ */
.animated-circle-container {
    position: relative;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    animation: rotateBot linear forwards;
    animation-timeline: view();
    animation-range-start: cover 0%;
    animation-range-end: cover 100%;
}

.animated-circle-container::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        transparent,
        transparent 70%,
        #ff4757 80%,
        #1e90ff 100%
    );
    animation: snakeRotate 2s linear infinite;
}

.animated-circle-container::after {
    content: '';
    position: absolute;
    inset: 4px;
    background-color: white;
    border-radius: 50%;
    z-index: 1;
}

.bot-image-inner {
    width: 180px;
    height: auto;
    z-index: 2;
    position: relative;
}

@keyframes snakeRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ============================ */
/* OPTION 3: WAVING ARM         */
/* ============================ */
.waving-bot-container {
    position: relative;
    width: 200px;
    height: 200px; /* Adjust height based on original aspect ratio if needed */
    margin: 25px auto;
    animation: rotateBot linear forwards;
    animation-timeline: view();
    animation-range-start: cover 0%;
    animation-range-end: cover 100%;
}

.bot-body-part {
    width: 100%;
    height: auto;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 0 10px #ff4757);
}

.bot-arm-part {
    position: absolute;
    width: 40%; /* Estimate based on arm size ratio, you may need to adjust */
    height: auto;
    top: 35%; /* Estimate: distance from top of body to the shoulder */
    left: -10%; /* Estimate: protruding to the left */
    z-index: 2;
    transform-origin: top right; /* Pivot from the shoulder attachment point */
    animation: waveArm 1s ease-in-out infinite alternate;
    filter: drop-shadow(0 0 5px #1e90ff); /* Blue glow on arm to distinguish */
}

@keyframes waveArm {
    0% { transform: rotate(10deg); }
    100% { transform: rotate(-50deg); }
}

/* ============================ */
/* SHARED SCROLL WOBBLE         */
/* ============================ */
@keyframes rotateBot {
    0%, 16.66%, 33.33%, 50%, 66.66%, 83.33%, 100% {
        transform: rotate(0deg);
    }
    8.33%, 41.66%, 75% {
        transform: rotate(-25deg);
    }
    25%, 58.33%, 91.66% {
        transform: rotate(25deg);
    }
}