body {
    font-family: 'JetBrains Mono', monospace;
    background-color: #1d2021;
    color: #ebdbb2;
}

/* Custom Scrollbar - Gruvbox Style */
.custom-scrollbar::-webkit-scrollbar {
    width: 8px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: #1d2021;
    border-left: 1px solid #3c3836;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #504945;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: #665c54;
}

/* Range Input Styling - TUI Style */
input[type=range] {
    -webkit-appearance: none;
    width: 100%;
    height: 12px;
    background: #282828;
    border: 1px solid #504945;
    outline: none;
}

input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 12px;
    height: 12px;
    background: #ebdbb2;
    cursor: pointer;
    border: 1px solid #1d2021;
}

input[type=range]:focus::-webkit-slider-thumb {
    background: #d79921;
    /* Gruvbox Yellow */
}

/* Pixel Perfect Classes */
.pixelated {
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
}

/* Scanline Effect for Images */
.scanlines {
    position: relative;
    overflow: hidden;
}

.scanlines::before {
    content: " ";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
    z-index: 2;
    background-size: 100% 2px, 3px 100%;
    pointer-events: none;
}