/* Container Wrapper */
.musica-page-wrapper {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 48px 24px 64px 24px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    position: relative;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
}

/* Background Soft Glows */
.musica-glow-top {
    position: absolute;
    top: 0;
    left: 5%;
    width: 320px;
    height: 320px;
    background-color: rgba(251, 191, 36, 0.15);
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}

.musica-glow-bottom {
    position: absolute;
    bottom: 0;
    right: 5%;
    width: 380px;
    height: 380px;
    background-color: rgba(107, 18, 38, 0.2);
    border-radius: 50%;
    filter: blur(90px);
    pointer-events: none;
}

/* --- Dynamic Floating Musical Notes --- */
.musica-note {
    position: absolute;
    font-family: 'Playfair Display', Georgia, serif;
    color: #F3E5AB;
    text-shadow: 0 0 12px rgba(243, 229, 171, 0.4);
    pointer-events: none;
    user-select: none;
    z-index: 1;
    opacity: 0.85;
}

.note-1 { 
    top: 8%; 
    left: 30%; 
    font-size: 2.5rem; 
    animation: floatWide 5s ease-in-out infinite; 
}

.note-2 { 
    bottom: 14%; 
    left: 6%; 
    font-size: 4.5rem; 
    animation: floatWideReverse 7s ease-in-out infinite 0.5s; 
}

.note-3 { 
    top: 28%; 
    right: 5%; 
    font-size: 3.5rem; 
    animation: floatWide 6s ease-in-out infinite 1s; 
}

.note-4 { 
    bottom: 10%; 
    right: 26%; 
    font-size: 3rem; 
    animation: floatWideReverse 5.5s ease-in-out infinite 1.5s; 
}

/* Enhanced Animation Keyframes */
@keyframes floatWide {
    0%, 100% { 
        transform: translateY(0px) translateX(0px) rotate(-10deg); 
    }
    50% { 
        transform: translateY(-35px) translateX(12px) rotate(18deg); 
    }
}

@keyframes floatWideReverse {
    0%, 100% { 
        transform: translateY(0px) translateX(0px) rotate(12deg); 
    }
    50% { 
        transform: translateY(35px) translateX(-14px) rotate(-15deg); 
    }
}

/* Main Player Card */
.musica-player-card {
    width: 100%;
    max-width: 820px;
    background: linear-gradient(180deg, #3D0916 0%, #2B050F 60%, #1D030A 100%);
    border: 1px solid rgba(251, 191, 36, 0.2);
    border-radius: 36px;
    padding: 56px 40px 48px 40px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
    position: relative;
    z-index: 10;
    text-align: center;
    color: #F3E5AB;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
}

@media (min-width: 768px) {
    .musica-player-card {
        padding: 64px 64px 52px 64px;
    }
}

/* Live Direct Badge Pill */
.musica-badge-live {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(251, 191, 36, 0.25);
    padding: 6px 20px;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #F3E5AB;
    margin-bottom: 24px;
}

.musica-ping-dot {
    width: 7px;
    height: 7px;
    background-color: #10B981;
    border-radius: 50%;
    box-shadow: 0 0 8px #10B981;
}

/* Heading & Subtitle */
.musica-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 3.25rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 12px 0;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

@media (min-width: 768px) {
    .musica-title { font-size: 4rem; }
}

.musica-subtitle {
    font-size: 0.92rem;
    color: rgba(243, 229, 171, 0.75);
    max-width: 520px;
    margin: 0 auto 36px auto;
    line-height: 1.55;
    font-weight: 400;
}

/* Play/Pause Main Circular Dial */
.musica-btn-wrapper {
    position: relative;
    margin-bottom: 40px;
}

.musica-btn-glow {
    position: absolute;
    inset: -16px;
    background-color: rgba(245, 158, 11, 0.25);
    border-radius: 50%;
    filter: blur(20px);
    transition: background-color 0.4s ease;
}

.musica-play-button {
    position: relative;
    width: 155px;
    height: 155px;
    background: linear-gradient(135deg, #FBBF24 0%, #F59E0B 100%);
    border: 4px solid #FDE68A;
    border-radius: 50%;
    color: #0f172a;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.45);
    transition: transform 0.25s ease, background 0.25s ease;
    outline: none;
}

@media (min-width: 768px) {
    .musica-play-button {
        width: 175px;
        height: 175px;
    }
}

.musica-play-button:hover {
    transform: scale(1.05);
    background: linear-gradient(135deg, #FDE68A 0%, #FBBF24 100%);
}

.musica-play-button:active {
    transform: scale(0.96);
}

.musica-play-icon {
    font-size: 2.25rem;
    margin-left: 6px;
    line-height: 1;
}

.musica-btn-text {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    margin-top: 8px;
}

/* Equalizer Bars */
.musica-equalizer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 28px;
    margin-bottom: 20px;
}

.sound-wave-bar {
    width: 4px;
    background-color: #D97706;
    border-radius: 999px;
    height: 14px;
    opacity: 0.4;
    transition: height 0.3s ease;
}

.musica-player-card.playing .sound-wave-bar {
    animation: wavePulse 1.4s ease-in-out infinite;
}

.musica-player-card.playing .sound-wave-bar:nth-child(1) { animation-delay: 0.1s; }
.musica-player-card.playing .sound-wave-bar:nth-child(2) { animation-delay: 0.3s; }
.musica-player-card.playing .sound-wave-bar:nth-child(3) { animation-delay: 0.5s; }
.musica-player-card.playing .sound-wave-bar:nth-child(4) { animation-delay: 0.2s; }
.musica-player-card.playing .sound-wave-bar:nth-child(5) { animation-delay: 0.6s; }
.musica-player-card.playing .sound-wave-bar:nth-child(6) { animation-delay: 0.4s; }
.musica-player-card.playing .sound-wave-bar:nth-child(7) { animation-delay: 0.1s; }
.musica-player-card.playing .sound-wave-bar:nth-child(8) { animation-delay: 0.5s; }
.musica-player-card.playing .sound-wave-bar:nth-child(9) { animation-delay: 0.3s; }
.musica-player-card.playing .sound-wave-bar:nth-child(10) { animation-delay: 0.2s; }

@keyframes wavePulse {
    0%, 100% { height: 8px; opacity: 0.3; }
    50% { height: 28px; opacity: 1; }
}

.musica-footer-label {
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: #FBBF24;
    margin: 0;
}