.instructions-box {
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.2);
    padding: 1.5rem;
    border-radius: var(--radius-sm);
    color: var(--text-main);
    line-height: 1.6;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.instructions-box strong {
    color: white;
}

.visual-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 250px;
    background: rgba(0,0,0,0.2);
    border-radius: var(--radius-lg);
    margin-bottom: 2rem;
    position: relative;
    border: 1px solid rgba(255,255,255,0.05);
}

.flash-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: #1e293b;
    border: 2px solid #334155;
    transition: background-color 0.05s ease-out, transform 0.05s ease-out, box-shadow 0.05s ease-out;
    margin-bottom: 2rem;
}

.flash-circle.flash {
    background-color: #fff;
    border-color: #fff;
    box-shadow: 0 0 50px rgba(255,255,255,0.8);
    transform: scale(1.1);
}

.controls-area {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.slider-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
    max-width: 600px;
    margin-bottom: 2rem;
}

.slider-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 600;
    min-width: 120px;
    text-align: center;
}

.styled-slider {
    flex: 1;
    -webkit-appearance: none;
    appearance: none;
    height: 8px;
    background: rgba(255,255,255,0.1);
    border-radius: 4px;
    outline: none;
}

.styled-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #e879f9;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(232, 121, 249, 0.5);
    transition: transform 0.1s;
}

.styled-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.result-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1.5rem;
}

.result-title {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.result-val {
    font-family: 'JetBrains Mono', monospace;
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
}

.final-result {
    font-size: 1.1rem;
    color: #4ade80;
    background: rgba(74, 222, 128, 0.1);
    padding: 1rem 2rem;
    border-radius: 30px;
    border: 1px solid rgba(74, 222, 128, 0.2);
}

.final-result strong {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.2rem;
    margin-left: 0.5rem;
}

.btn-metro-start {
    background: linear-gradient(135deg, #22c55e, #16a34a) !important;
    color: white !important;
    border: none !important;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.3);
    padding: 0.85rem 2rem !important;
    font-size: 1.05rem !important;
    font-weight: 600 !important;
    border-radius: 50px !important;
    letter-spacing: 1px;
}
.btn-metro-start:hover {
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.5) !important;
}

.btn-metro-stop {
    background: linear-gradient(135deg, #991b1b, #7f1d1d) !important;
    color: white !important;
    border: none !important;
    box-shadow: 0 4px 15px rgba(153, 27, 27, 0.3);
    padding: 0.85rem 2rem !important;
    font-size: 1.05rem !important;
    font-weight: 600 !important;
    border-radius: 50px !important;
    letter-spacing: 1px;
}
.btn-metro-stop:hover {
    box-shadow: 0 8px 25px rgba(153, 27, 27, 0.5) !important;
}
