:root {
    --bg-dark: #0a0c0b;
    --forest-green: #1a241f;
    --mist-gray: #a3a3a3;
    --accent-pink: #d4a5b5;
    --text-main: #e0e0e0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.6;
    padding-bottom: 90px;
}

/* Fondo de Bosque Animado */
#forest-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(10, 12, 11, 0.85), rgba(26, 36, 31, 0.95)),
                url('https://images.unsplash.com/photo-1542273917363-3b1817f69a2d?ixlib=rb-1.2.1&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    z-index: -1;
    filter: grayscale(50%) brightness(40%);
}

canvas {
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
    pointer-events: none;
}

 /* Navegación */
        nav {
            padding: 2rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
            position: sticky;
            top: 0;
            z-index: 100;
            mix-blend-mode: difference;
            
        }

        .logo {
            font-size: 1.5rem;
            font-weight: 700;
            letter-spacing: -1px;
        }

        /* Sección Hero */
        header {
            height: 80vh;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: center;
            padding: 20px;
        }

        h1 {
            font-size: clamp(4rem, 12vw, 8rem);
            font-weight: 800;
            letter-spacing: -4px;
            margin-bottom: 1rem;
            animation: fadeIn 2.5s ease;
        }

        .subtitle {
            font-style: italic;
            color: var(--mist-gray);
            font-weight: 300;
            letter-spacing: 1px;
        }

/* ------------------------------------------------ */

/* --- SECCIÓN DE VIDEO: DIFERENCIACIÓN PROFESIONAL --- */
.reveal-section {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1.2s cubic-bezier(0.22, 1, 0.36, 1); /* Curva suave y pro */
}

.reveal-section.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- SECCIÓN DE VIDEO --- */
.video-outer-container {
    width: 100%;
    background-color: var(--surface-dark); 
    padding: 140px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 10;
}

.video-inner-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex; flex-direction: column; align-items: center;
}

.video-header { text-align: center; margin-bottom: 50px; }

.tag-estreno {
    color: var(--accent-pink);
    text-transform: uppercase;
    font-size: 0.7rem; letter-spacing: 7px;
    font-weight: 700; margin-bottom: 15px;
}

.titulo-llamativo {
    font-size: clamp(1.9rem, 3vw, 2.5rem);
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: 370; 
    margin-bottom: 25px; line-height: 0.9;
    color: #fff;
}



.btn-video-link {
    display: inline-flex; align-items: center;
    padding: 18px 40px; background: #fff; color: #000;
    text-decoration: none; font-weight: 700; font-size: 0.85rem;
    letter-spacing: 1px; text-transform: uppercase; border-radius: 4px;
    transition: all 0.3s ease;
}

.btn-video-link:hover {
    background: var(--accent-pink);
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(212, 165, 181, 0.2);
}

.video-frame {
    width: 100%; aspect-ratio: 16/9;
    border-radius: 8px; overflow: hidden;
    background: #000; box-shadow: 0 40px 80px rgba(0,0,0,0.7);
    border: 1px solid rgba(255,255,255,0.08);
}

.video-frame video { width: 100%; height: 100%; object-fit: cover; }

/* Lanzamiento Destacado */
.featured-release {
    max-width: 900px;
    margin: 50px auto 100px;
    padding: 40px;
    background: rgba(20, 20, 20, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    border-radius: 16px;
}

.release-img {
    width: 100%;
    aspect-ratio: 1/1;
    background: #111;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    overflow: hidden;
    border-radius: 12px;
}

.release-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: contrast(105%) brightness(95%);
    transition: transform 0.7s ease;
}

.release-img:hover img {
    transform: scale(1.03);
}

.release-info h2 {
    font-size: 2.2rem;
    margin: 0.5rem 0 1.2rem;
    color: var(--accent-pink);
    letter-spacing: -0.5px;
    font-weight: 600;
}

.btn-listen-hero {
    display: inline-block;
    padding: 14px 34px;
    background: transparent;
    color: var(--text-main);
    text-decoration: none;
    text-transform: lowercase;
    font-weight: 500;
    letter-spacing: 1px;
    border-radius: 50px;
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-listen-hero:hover {
    background: var(--text-main);
    color: var(--bg-dark);
    transform: translateY(-2px);
    border-color: var(--text-main);
}

/* Listado de Música */
.music-world {
    max-width: 700px;
    margin: 100px auto;
    padding: 20px;
}

.section-title {
    margin-bottom: 2.5rem;
    font-weight: 300;
    opacity: 0.5;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.track {
    display: flex;
    justify-content: space-between;
    padding: 1.5rem 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.03);
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--mist-gray);
    border-radius: 8px;
}

.track:hover {
    color: var(--text-main);
    background: rgba(255,255,255,0.02);
    transform: translateX(5px);
}

.track.playing {
    color: var(--accent-pink);
    font-weight: 500;
    background: rgba(212, 165, 181, 0.05);
}

/* Sección Social */
.socials {
    max-width: 400px;
    margin: 80px auto;
    padding: 40px 20px;
    display: flex;
    justify-content: center;
    gap: 3rem;
}

.social-link svg {
    width: 24px;
    height: 24px;
    fill: var(--mist-gray);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.social-link:hover svg {
    fill: var(--accent-pink);
    opacity: 1;
    transform: translateY(-3px);
}

/* Footer */
footer {
    text-align: center;
    padding: 40px 20px 80px;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    color: var(--mist-gray);
    opacity: 0.6;
}

.footer-link {
    color: var(--accent-pink);
    text-decoration: none;
    transition: opacity 0.3s;
}

.footer-link:hover {
    opacity: 0.7;
}

/* Reproductor Fijo */
#fixed-player {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: rgba(10, 12, 11, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255,255,255,0.03);
    display: flex;
    align-items: center;
    padding: 0 40px;
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

#fixed-player.active {
    transform: translateY(0);
}

.player-controls {
    display: flex;
    align-items: center;
    gap: 24px;
    flex: 1;
}

#play-pause-btn {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50%;
    cursor: pointer;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

#play-pause-btn:hover {
    background: rgba(255,255,255,0.1);
    transform: scale(1.05);
}

#play-pause-btn svg {
    width: 18px;
    height: 18px;
    fill: var(--text-main);
}

.track-info-player {
    display: flex;
    flex-direction: column;
}

#current-track-title {
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.progress-container {
    flex: 2;
    height: 3px;
    background: rgba(255,255,255,0.08);
    border-radius: 3px;
    margin: 0 30px;
    cursor: pointer;
    position: relative;
    transition: height 0.2s;
}

.progress-container:hover {
    height: 5px;
}

#progress-bar {
    height: 100%;
    background: var(--accent-pink);
    width: 0%;
    border-radius: 3px;
    transition: width 0.1s linear;
    position: relative;
}

#progress-bar::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    background: #fff;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.2s;
}

.progress-container:hover #progress-bar::after {
    opacity: 1;
}

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

@media (max-width: 768px) {
    .featured-release { 
        grid-template-columns: 1fr;
        text-align: center; 
        padding: 30px 20px;
    }
    /* Estilo original de H1 para móvil restaurado */
    h1 { font-size: 4rem; }
    .progress-container { display: none; }
    #fixed-player { padding: 0 20px; height: 70px; }
    nav { padding: 1.5rem 2rem; }
}