@font-face {
    font-family: 'Vazirmatn';
    src: url('../fonts/Vazirmatn.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

body {
    font-family: 'Vazirmatn', Tahoma, sans-serif;
}

/* CSS Equalizer Animation */
.bar {
    width: 6px;
    background: #10b981;
    border-radius: 3px;
    animation: bounce 1s infinite alternate;
    transform-origin: bottom;
}
.bar:nth-child(1) { animation-delay: 0.1s; }
.bar:nth-child(2) { animation-delay: 0.3s; }
.bar:nth-child(3) { animation-delay: 0.5s; }
.bar:nth-child(4) { animation-delay: 0.2s; }
.bar:nth-child(5) { animation-delay: 0.4s; }

@keyframes bounce {
    0% { transform: scaleY(0.2); }
    100% { transform: scaleY(1); }
}

.paused .bar {
    animation-play-state: paused;
    transform: scaleY(0.2) !important;
    transition: transform 0.3s ease;
}

/* Pulsing red Live indicator */
@keyframes pulse-red {
    0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
    70% { box-shadow: 0 0 0 6px rgba(239, 68, 68, 0); }
    100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}
.live-dot {
    animation: pulse-red 2s infinite;
}

/* Custom Volume Slider styling */
input[type=range] {
    -webkit-appearance: none;
    background: transparent;
}
input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 16px;
    width: 16px;
    border-radius: 50%;
    background: #10b981;
    cursor: pointer;
    margin-top: -6px;
}
input[type=range]::-webkit-slider-runnable-track {
    width: 100%;
    height: 4px;
    cursor: pointer;
    background: #475569;
    border-radius: 2px;
}

.logo-header {
    height: 2.5rem;
    width: auto;
    object-fit: contain;
}

.sound-hint {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    margin: -1rem 0 1.25rem;
    padding: 0.625rem 1rem;
    border: 1px solid rgba(16, 185, 129, 0.35);
    border-radius: 0.75rem;
    background: rgba(16, 185, 129, 0.1);
    color: #6ee7b7;
    font-size: 0.8125rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.sound-hint.is-visible {
    display: flex;
}

.sound-hint:hover {
    background: rgba(16, 185, 129, 0.18);
    border-color: rgba(16, 185, 129, 0.55);
    color: #a7f3d0;
}

.sound-hint__icon {
    font-size: 0.875rem;
}
