:root {
    --brand: #c9861a;
    --brand-accent: #b30000;
    --secondary: #03dac6;
    --danger: #cf6679;
    --muted: #b0b0b0;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.view {
    display: none;
    flex: 1;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    animation: fadeIn 0.3s ease-in-out;
    width: 100%;
}

.view.active {
    display: flex;
}

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

input[type=range] {
    width: 100%;
    height: 8px;
    background: #2a2a2a;
    border-radius: 999px;
    outline: none;
    appearance: none;
    cursor: pointer;
}

input[type=range]::-webkit-slider-thumb {
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--brand);
    cursor: pointer;
    transition: transform 0.15s ease-in-out;
}

input[type=range]::-webkit-slider-thumb:active {
    transform: scale(0.92);
}

input[type=range]::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--brand);
    border: none;
}

.category-btn.active {
    background: var(--brand-accent);
    color: #ffffff;
    border-color: var(--brand);
}

.timer-running {
    animation: pulse 1s infinite alternate;
}

@keyframes pulse {
    from {
        box-shadow: 0 0 10px rgba(3, 218, 198, 0.2);
    }
    to {
        box-shadow: 0 0 25px rgba(3, 218, 198, 0.5);
    }
}

.impostor-text {
    color: var(--danger);
    font-size: clamp(2rem, 6vw, 2.75rem);
    font-weight: 800;
}

.spy-text {
    color: orange;
    font-size: clamp(2rem, 6vw, 2.75rem);
    font-weight: 800;
}

.impostor-icon {
    color: var(--danger) !important;
}

.spy-icon {
    color: orange !important;
}
