/* Ladder Climb Specific Styles */

#ladder-container {
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
}

#ladder-canvas-container {
    margin: 0 auto;
}

.player-input-group {
    animation: fadeIn 0.3s ease-out forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Custom Scrollbar for Ladder */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}
.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Animation for the "Climbing" dot */
.climb-dot {
    width: 12px;
    height: 12px;
    background-color: #6200EE;
    border-radius: 50%;
    position: absolute;
    z-index: 30;
    box-shadow: 0 0 10px rgba(98, 0, 238, 0.5);
    transform: translate(-50%, -50%);
}

.ladder-line {
    stroke: #E5E7EB;
    stroke-width: 4;
    stroke-linecap: round;
}

.ladder-bar {
    stroke: #E5E7EB;
    stroke-width: 4;
    stroke-linecap: round;
}

.ladder-path-active {
    stroke: #BB86FC;
    stroke-width: 6;
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: dash 2s linear forwards;
}

@keyframes dash {
    to {
        stroke-dashoffset: 0;
    }
}

.lang-btn.active {
    background-color: #6200EE;
    color: white;
    border-color: #6200EE;
}

.node-label {
    font-size: 12px;
    font-weight: 700;
    fill: #4B5563;
}

.node-label-bottom {
    font-size: 14px;
    font-weight: 900;
    fill: #1F2937;
}

/* Start Button Glow */
#start-btn {
    position: relative;
    overflow: hidden;
}

#start-btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s;
}

#start-btn:hover::after {
    opacity: 1;
}
