.cave-bg {
    background-color: #0c0a09;
    background-image:
        radial-gradient(circle at 50% 0%, #1e1b4b 0%, transparent 70%),
        linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.8) 100%),
        url("data:image/svg+xml,%3Csvg width='200' height='200' viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.6' numOctaves='3' stichTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.05'/%3E%3C/svg%3E");
    background-attachment: fixed;
}

.rope-container {
    cursor: crosshair;
    background:
        repeating-linear-gradient(45deg,
            #92400e 0px,
            #92400e 4px,
            #78350f 5px,
            #78350f 9px);
    border-radius: 4px;
    box-shadow:
        inset 0 0 10px rgba(0, 0, 0, 0.8),
        5px 0 15px rgba(0, 0, 0, 0.5);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    border-right: 1px solid rgba(0, 0, 0, 0.5);
}

.hazard-box {
    background:
        repeating-linear-gradient(45deg,
            #facc15,
            #facc15 10px,
            #000 10px,
            #000 20px);
    border: 4px solid #451a03;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
}

.hero {
    transition: top 0.5s cubic-bezier(0.5, 0, 0.75, 0);
    /* Gravity accel feel */
    filter: drop-shadow(0 10px 10px rgba(0, 0, 0, 0.5));
}

.cut-flash {
    animation: flash 0.2s ease-out;
}

@keyframes flash {
    0% {
        background-color: white;
        opacity: 1;
    }

    100% {
        background-color: transparent;
        opacity: 0;
    }
}

.marker-line {
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 0.3);
    position: absolute;
    left: 0;
}

/* High-quality claymation background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('clay_background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    z-index: -1;
}