.music-section,
.listen-now-section,
.featured-songs-section,
.authority-section,
.music-cta-section {
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.music-section.visible,
.listen-now-section.visible,
.featured-songs-section.visible,
.authority-section.visible,
.music-cta-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.music-hero {
    opacity: 1;
    /* Reset for hero as it uses keyframes */
    transform: none;
    padding-top: 160px;
    /* Clear fixed header */
    padding-bottom: 6rem;
    background: radial-gradient(circle at center, #1a1a1a 0%, #000 100%);
    text-align: center;
}

.music-title {
    font-family: var(--font-heading);
    font-size: 5rem;
    color: #fff;
    text-transform: uppercase;
    text-shadow:
        4px 4px 0 var(--primary-color),
        /* Pink solid shadow */
        -2px -2px 0 var(--secondary-color);
    /* Blue accent */
    margin-bottom: 1.5rem;
    line-height: 1;
    animation: zoomIn 1s ease-out;
    letter-spacing: 2px;
}

.music-subtitle {
    font-size: 1.4rem;
    color: #e0e0e0;
    margin-bottom: 3rem;
    font-family: var(--font-body);
}

.highlight-text {
    color: var(--primary-color);
    font-weight: bold;
    text-shadow: 0 0 5px var(--primary-color);
}

.social-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid var(--primary-color);
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    font-family: var(--font-heading);
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 0 5px var(--primary-color);
}

.social-btn:hover {
    background: var(--primary-color);
    color: #000;
    box-shadow: 0 0 20px var(--primary-color);
    transform: translateY(-5px);
}

.social-btn.spotify {
    border-color: #1DB954;
    color: #1DB954;
    box-shadow: 0 0 5px #1DB954;
}

.social-btn.spotify:hover {
    background: #1DB954;
    color: #000;
    box-shadow: 0 0 20px #1DB954;
}

.social-btn.apple {
    border-color: #fa243c;
    color: #fa243c;
    box-shadow: 0 0 5px #fa243c;
}

.social-btn.apple:hover {
    background: #fa243c;
    color: #fff;
    box-shadow: 0 0 20px #fa243c;
}

.social-btn.youtube {
    border-color: #FF0000;
    color: #FF0000;
    box-shadow: 0 0 5px #FF0000;
}

.social-btn.youtube:hover {
    background: #FF0000;
    color: #fff;
    box-shadow: 0 0 20px #FF0000;
}

.social-btn.amazon {
    border-color: #FF9900;
    color: #FF9900;
    box-shadow: 0 0 5px #FF9900;
}

.social-btn.amazon:hover {
    background: #FF9900;
    color: #000;
    box-shadow: 0 0 20px #FF9900;
}


/* 2. Escucha Ahora */
.listen-now-section {
    background: linear-gradient(180deg, #000 0%, #111 100%);
    text-align: center;
}

.section-heading {
    font-family: var(--font-body);
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 2rem;
    font-weight: 300;
    letter-spacing: 1px;
}

.spotify-embed-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 5px;
}

.neon-border-box {
    padding: 10px;
    border: 3px solid var(--secondary-color);
    border-radius: 20px;
    box-shadow: 0 0 20px rgba(0, 204, 255, 0.3), inset 0 0 10px rgba(0, 204, 255, 0.1);
    background: #000;
    transition: transform 0.3s;
}

.neon-border-box:hover {
    box-shadow: 0 0 30px rgba(0, 204, 255, 0.6);
    transform: scale(1.01);
}

/* 3. Canciones Destacadas */
.featured-songs-section {
    background: #0d0d0d;
}

.songs-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
}

.song-card {
    flex: 0 1 350px;
    /* Base width 350px, can shrink, won't grow beyond 350px approx */
    width: 100%;
    min-width: 280px;
    /* Ensure it doesn't get too small */
    background: #1a1a1a;
    border: 2px solid #333;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.4s ease;
    position: relative;
    text-align: center;
    padding-bottom: 1.5rem;
}

.song-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(255, 0, 153, 0.4);
    transform: translateY(-10px);
}

.song-img {
    position: relative;
    width: 100%;
    aspect-ratio: 1/1;
    overflow: hidden;
}

.song-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.song-card:hover .song-img img {
    transform: scale(1.1);
}

.play-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.play-overlay i {
    font-size: 3rem;
    color: #fff;
    filter: drop-shadow(0 0 10px var(--primary-color));
}

.song-card:hover .play-overlay {
    opacity: 1;
}

.song-info h3 {
    margin-top: 1rem;
    font-family: var(--font-heading);
    color: #fff;
    font-size: 1.5rem;
    letter-spacing: 1px;
}

.song-info p {
    color: #888;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.btn-listen {
    display: inline-block;
    padding: 8px 20px;
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
    text-decoration: none;
    text-transform: uppercase;
    font-weight: bold;
    border-radius: 20px;
    transition: all 0.3s;
    font-size: 0.9rem;
}

.btn-listen:hover {
    background: var(--secondary-color);
    color: #000;
    box-shadow: 0 0 15px var(--secondary-color);
}

/* 4. Autoridad (Contadores) */
.authority-section {
    background: linear-gradient(90deg, #111 0%, #000 50%, #111 100%);
    border-top: 2px solid var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
    padding: 3rem 0;
}

.counters-wrapper {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 3rem;
}

.counter-item {
    text-align: center;
}

.counter-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 4rem;
    color: var(--secondary-color);
    text-shadow: 0 0 10px rgba(0, 204, 255, 0.5);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.counter-label {
    display: block;
    color: #ccc;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: bold;
    font-size: 1rem;
}

/* 5. CTA Section */
.music-cta-section {
    text-align: center;
    background: radial-gradient(circle, #222 0%, #000 80%);
    padding: 6rem 0;
}

.cta-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: #fff;
    margin-bottom: 3rem;
    text-shadow: 2px 2px 0 #000;
}

.btn-cta {
    display: inline-block;
    padding: 1.5rem 4rem;
    background: transparent;
    border: 3px solid var(--primary-color);
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-size: 2rem;
    text-decoration: none;
    text-transform: uppercase;
    box-shadow: 0 0 15px rgba(255, 0, 153, 0.3);
    transition: all 0.3s ease;
    border-radius: 5px;
}

.btn-cta:hover {
    background: var(--primary-color);
    color: #fff;
    box-shadow: 0 0 40px rgba(255, 0, 153, 0.8);
    transform: scale(1.05);
}

/* Animations */
@keyframes zoomIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .music-title {
        font-size: 2.5rem;
    }

    .social-buttons {
        gap: 1rem;
    }

    .social-btn {
        width: 100%;
        justify-content: center;
    }

    .counters-wrapper {
        flex-direction: column;
        gap: 2rem;
    }

    .counter-number {
        font-size: 3rem;
    }
}