/* ===== MUSIC CHOICE DIALOG ===== */

.music-choice-dialog {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 14, 39, 0.95);
    backdrop-filter: blur(10px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.music-choice-dialog.show {
    opacity: 1;
}

.music-choice-dialog.fade-out {
    opacity: 0;
}

.music-choice-content {
    text-align: center;
    padding: 3rem;
    background: var(--terminal-bg-light);
    border: 2px solid var(--terminal-green);
    border-radius: 8px;
    box-shadow: 0 0 40px rgba(0, 255, 65, 0.3);
    max-width: 500px;
    animation: slideUp 0.5s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.music-choice-content h2 {
    color: var(--terminal-green);
    font-family: 'JetBrains Mono', monospace;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.music-choice-content p {
    color: var(--terminal-text-dim);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.music-choice-buttons {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.music-choice-btn {
    flex: 1;
    padding: 1.5rem 2rem;
    background: transparent;
    border: 2px solid var(--terminal-green);
    color: var(--terminal-green);
    font-family: 'JetBrains Mono', monospace;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    border-radius: 4px;
}

.music-choice-btn i {
    font-size: 2rem;
}

.music-choice-btn:hover {
    background: var(--terminal-green);
    color: var(--terminal-bg);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 255, 65, 0.4);
}

.music-choice-btn.with-music {
    border-color: var(--terminal-cyan);
    color: var(--terminal-cyan);
}

.music-choice-btn.with-music:hover {
    background: var(--terminal-cyan);
    color: var(--terminal-bg);
    box-shadow: 0 10px 30px rgba(0, 217, 255, 0.4);
}

.music-choice-content small {
    color: var(--terminal-text-dim);
    font-size: 0.85rem;
}

/* ===== MUSIC PLAYER CONTROLS ===== */

.music-player-info {
    margin-top: 1rem;
}

.track-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--terminal-green);
    margin-bottom: 0.25rem;
}

.track-artist {
    font-size: 0.85rem;
    color: var(--terminal-text-dim);
    margin-bottom: 1rem;
}

.music-controls {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
}

.music-btn {
    background: transparent;
    border: 1px solid var(--terminal-green);
    color: var(--terminal-green);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.music-btn:hover {
    background: var(--terminal-green);
    color: var(--terminal-bg);
    transform: scale(1.1);
}

.music-play-pause {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
    border-width: 2px;
}

.volume-control {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding: 0 1rem;
}

.volume-control i {
    color: var(--terminal-cyan);
    font-size: 0.9rem;
}

.volume-slider {
    flex: 1;
    height: 4px;
    background: var(--terminal-bg);
    border: 1px solid var(--terminal-green);
    border-radius: 2px;
    outline: none;
    -webkit-appearance: none;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 14px;
    height: 14px;
    background: var(--terminal-green);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(0, 255, 65, 0.5);
}

.volume-slider::-moz-range-thumb {
    width: 14px;
    height: 14px;
    background: var(--terminal-green);
    border-radius: 50%;
    cursor: pointer;
    border: none;
    box-shadow: 0 0 10px rgba(0, 255, 65, 0.5);
}

/* ===== MUSIC VISUALIZER ===== */

.music-visualizer {
    display: flex;
    gap: 4px;
    justify-content: center;
    align-items: flex-end;
    height: 30px;
    margin-top: 0.5rem;
}

.music-visualizer span {
    width: 4px;
    background: var(--terminal-green);
    border-radius: 2px;
    height: 5px;
    transition: height 0.1s ease;
}

.music-visualizer.playing span {
    animation: musicBar 0.8s ease-in-out infinite;
}

.music-visualizer.playing span:nth-child(1) {
    animation-delay: 0s;
}

.music-visualizer.playing span:nth-child(2) {
    animation-delay: 0.1s;
}

.music-visualizer.playing span:nth-child(3) {
    animation-delay: 0.2s;
}

.music-visualizer.playing span:nth-child(4) {
    animation-delay: 0.3s;
}

.music-visualizer.playing span:nth-child(5) {
    animation-delay: 0.4s;
}

@keyframes musicBar {

    0%,
    100% {
        height: 5px;
    }

    50% {
        height: 25px;
    }
}

/* ===== RESPONSIVE ===== */

@media (max-width: 768px) {
    .music-choice-buttons {
        flex-direction: column;
    }

    .music-choice-content {
        padding: 2rem;
        margin: 1rem;
    }

    .music-controls {
        gap: 0.5rem;
    }

    .music-btn {
        width: 35px;
        height: 35px;
    }

    .music-play-pause {
        width: 45px;
        height: 45px;
    }
}