* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #ffb6c1;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    overflow-x: hidden;
    text-align: center;
    padding: 20px;
}

h1 {
    font-size: 4rem;
    color: white;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

body > p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: white;
}

.loading-container {
    position: relative;
    height: 200px;
    width: 100%;
    max-width: 400px;
    margin: 15px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.rope {
    position: absolute;
    width: 100px;
    height: 160px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.rope img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    animation: bounce 2s infinite ease-in-out;
}

.left {
    left: 60px;
    transform-origin: top center;
}

.right {
    right: 60px;
    transform-origin: top center;
}

.video-section {
    position: relative;
    margin: 15px 0;
    cursor: pointer;
    width: 100%;
    max-width: 280px;
}

#video {
    width: 100%;
    height: auto;
    display: none;
    border-radius: 10px;
    background-color: rgba(0, 0, 0, 0.3);
}

#video.playing {
    display: block;
}

.play-button {
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    border: 2px solid white;
    margin: 0 auto;
}

.play-button:hover {
    background-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
}

.play-button svg {
    width: 25px;
    height: 25px;
    margin-left: 3px;
}

.play-text {
    font-size: 0.9rem;
    color: white;
    text-decoration: underline;
    margin-top: 8px;
}

.play-text:hover {
    opacity: 0.8;
}

.info {
    margin-top: 15px;
    line-height: 1.6;
    color: white;
    font-size: 0.9rem;
    max-width: 400px;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2.5rem;
    }
    
    .loading-container {
        height: 150px;
    }
    
    .rope {
        width: 70px;
        height: 120px;
    }
    
    .left {
        left: 40px;
    }
    
    .right {
        right: 40px;
    }
    
    .video-section {
        max-width: 220px;
    }
    
    .play-button {
        width: 40px;
        height: 40px;
    }
    
    .play-button svg {
        width: 20px;
        height: 20px;
    }
}
