:root {
    --bg-color: #f9fafb;
    --card-bg: #ffffff;
    --accent: #3b82f6;
    --pastel-mint: #d1fae5;
    --pastel-pink: #fce7f3;
    --pastel-blue: #e0f2fe;
    --pastel-purple: #ede9fe;
    --pastel-yellow: #fef3c7;
    --pastel-orange: #ffedd5;
}

body {
    background-color: var(--bg-color);
}

/* Glassmorphism effects */
.glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Custom Horizontal Scrollbar */
#ladder-viewport::-webkit-scrollbar {
    height: 8px;
}
#ladder-viewport::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}
#ladder-viewport::-webkit-scrollbar-thumb {
    background: #e2e8f0;
    border-radius: 10px;
}
#ladder-viewport::-webkit-scrollbar-thumb:hover {
    background: #cbd5e1;
}

/* Input Styling */
.ghost-input {
    width: 140px;
    padding: 12px 16px;
    border-radius: 12px;
    border: 2px solid #f3f4f6;
    background: white;
    font-weight: 600;
    transition: all 0.2s;
    text-align: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}
.ghost-input:focus {
    border-color: #93c5fd;
    outline: none;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(59, 130, 246, 0.1);
}

/* SVG Elements */
#ladder-svg {
    overflow: visible;
}

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

.ladder-rung {
    stroke: #e2e8f0;
    stroke-width: 4;
    stroke-linecap: round;
}

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

.animate-fade-in {
    animation: fadeIn 0.5s ease-out forwards;
}

/* Mask for scroll fade */
.mask-fade {
    mask-image: linear-gradient(to right, transparent, black 50px, black calc(100% - 50px), transparent);
}

/* Marker Styling */
.player-marker {
    filter: drop-shadow(0 0 8px rgba(0, 0, 0, 0.1));
    z-index: 10;
}

/* Path reveal animation */
.path-trace {
    fill: none;
    stroke-width: 6;
    stroke-linecap: round;
    stroke-linejoin: round;
}
