/* index.css */

body {
    background-color: #131313;
    color: #e5e2e1;
}

.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 20;
}

/* Custom range sliders styling */
input[type=range] {
    -webkit-appearance: none;
    background: transparent;
    cursor: pointer;
}

input[type=range]::-webkit-slider-runnable-track {
    height: 1px;
    background: #444748;
}

input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 12px;
    width: 8px;
    background: #A5A5A5;
    margin-top: -5.5px;
    border-radius: 1px;
    transition: background 0.15s ease;
}

input[type=range]:hover::-webkit-slider-thumb {
    background: #FFFFFF;
}

#led-panel {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 80px var(--glow-color, rgba(255, 255, 255, 0.1));
}

/* Animations */
@keyframes strobe {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.1; }
}
.animate-strobe {
    animation: strobe 0.1s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}
.animate-blink {
    animation: blink 0.8s infinite;
}

/* Scrollbars */
::-webkit-scrollbar {
    width: 4px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: #353535;
}
::-webkit-scrollbar-thumb:hover {
    background: #444748;
}

/* Mobile responsive fixes */
@media (max-width: 768px) {
    input[type=range] {
        height: 32px;
        touch-action: manipulation;
    }
    input[type=range]::-webkit-slider-runnable-track {
        height: 4px;
    }
    input[type=range]::-webkit-slider-thumb {
        height: 24px;
        width: 16px;
        margin-top: -10px;
    }
}

/* Accordion Animations */
.accordion-content {
    display: grid;
    grid-template-rows: 1fr;
    transition: grid-template-rows 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
    opacity: 1;
}

.accordion-content.collapsed {
    grid-template-rows: 0fr;
    opacity: 0;
    pointer-events: none;
}

.accordion-inner {
    overflow: hidden;
}

.chevron-icon {
    transition: transform 0.3s ease;
}

.chevron-icon.collapsed {
    transform: rotate(-90deg);
}

/* LED Matrix display simulation */
.led-matrix-container {
    position: relative;
    width: 100%;
    height: 100%;
    background-color: #000000;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.led-matrix-text {
    position: absolute;
    white-space: nowrap;
    font-family: 'Outfit', 'Inter', monospace;
    font-size: 80px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1;
    transform: translate3d(100%, 0, 0);
    will-change: transform;
}

.led-matrix-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background-image: radial-gradient(circle, transparent 55%, rgba(19, 19, 19, 0.95) 62%);
    background-size: 6px 6px;
    z-index: 10;
}

/* Fullscreen mode styling for LED Panel */
#led-panel:fullscreen {
    width: 100vw !important;
    height: 100vh !important;
    max-width: none !important;
    max-height: none !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* Ensure matrix text and styling adapts nicely on large display monitors */
#led-panel:fullscreen .led-matrix-text {
    font-size: 14vw !important;
    letter-spacing: 4px !important;
}

#led-panel:fullscreen .led-matrix-overlay {
    background-size: 10px 10px !important; /* Scale up spacing for crisp matrix dot presentation */
}
