:root{
    --primary-color:#D64545;
    --bg:#121212;
    --card:#1e1e1e;
    --text:#fff;
}

/* =======================
   BASE
======================= */

*{
    box-sizing:border-box;
}

body{
    margin:0;
    background:var(--bg);
    color:var(--text);
    font-family:Inter,sans-serif;
    line-height:1.4;
}

.container{
    max-width:1200px;
    margin:0 auto;
    padding:0 20px;
}

section{
    margin-bottom:48px;
}

/* =======================
   HERO
======================= */

.hero{
    padding: 80px 20px 10px 20px;
    text-align:center;
}

.profile{
    width:180px;
    height:180px;
    border-radius:50%;
    object-fit:cover;
    border:4px solid var(--primary-color);
}

.artist-meta{
    color:#999;
    font-size:1rem;
    margin-bottom:18px;
}

/* =======================
   SOCIALS
======================= */

.socials{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:18px;
    margin-top:18px;
}

.socials a{
    font-size:1.8rem;
    color:#888;
    transition:.2s ease;
}

.socials a:hover{
    transform:translateY(-2px);
}

.socials .bi-spotify{ color:#1DB954; }
.socials .bi-youtube{ color:#FF0000; }
.socials .bi-instagram{ color:#E4405F; }
.socials .bi-tiktok{ color:#fff; }
.socials .bi-facebook{ color:#1877F2; }

/* =======================
   STREAMING
======================= */

.streaming{
    margin-top:28px;
}

.streaming-title{
    font-size:.75rem;
    letter-spacing:.18em;
    color:#888;
    text-transform:uppercase;
    margin-bottom:14px;
}

.streaming-links{
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:10px;
}

.streaming-links a{
    display:flex;
    align-items:center;
    gap:8px;

    padding:10px 14px;
    border-radius:999px;

    background:var(--card);
    color:#fff;
    text-decoration:none;

    border:1px solid transparent;

    transition:.2s ease;
}

/* =======================
   STREAMING HOVER COLORS
======================= */

.streaming-links a{
    display:flex;
    align-items:center;
    gap:8px;

    padding:10px 14px;
    border-radius:999px;

    background:var(--card);
    color:#fff;
    text-decoration:none;

    border:1px solid transparent;

    transition:transform .25s ease, background .25s ease, border-color .25s ease, color .25s ease;
}

/* hover base (animación que YA tenías) */
.streaming-links a:hover{
    transform:translateY(-3px);
    border-color:var(--primary-color);
}

/* Spotify */
.streaming-links a.spotify:hover{
    background:#1DB954;
    border-color:#1DB954;
    color:#000;
}

/* Apple Music */
.streaming-links a.apple:hover{
    background:#fff;
    color:#000;
    border-color:#fff;
}

/* Amazon Music */
.streaming-links a.amazon:hover{
    background:#00A8E1;
    border-color:#00A8E1;
    color:#fff;
}

/* YouTube Music */
.streaming-links a.youtube:hover{
    background:#FF0000;
    border-color:#FF0000;
    color:#fff;
}

/* =======================
   LINKS
======================= */

.card-dark{
    background:var(--card);
    border-radius:16px;
    padding:18px;
}

.link-card{
    display:flex;
    align-items:center;
    gap:12px;

    padding:14px 16px;

    background:var(--card);
    border-radius:12px;

    cursor:pointer;

    border:1px solid transparent;

    transition:.2s ease;

    width:100%;
}

.link-card:hover{
    transform:translateY(-3px);
    border-color:var(--primary-color);
}

.link-card i{
    width:24px;
    text-align:center;
    font-size:1.2rem;
}

.link-card span{
    font-size:.95rem;
}

/* =======================
   FEATURED RELEASE (FIX REAL)
======================= */

.featured-release{
    max-width:980px;
    margin:0 auto 50px auto;

    display:flex;
    align-items:stretch;

    gap:28px;

    padding:32px;

    border-radius:18px;

    background:linear-gradient(135deg,#1e1e1e,#141414);

    box-shadow:0 15px 40px rgba(0,0,0,.45);

    min-height:320px; /* 🔥 CLAVE: da altura real */
}

/* =======================
   IMAGEN PROTAGONISTA
======================= */

.featured-cover{
    flex:0 0 40%;  /* 🔥 ahora sí domina */
    height:100%;
}

.featured-cover img{
    width:100%;
    height:100%;

    object-fit:cover;

    border-radius:16px;

    display:block;
}

/* =======================
   CONTENIDO
======================= */

.featured-content{
    flex:1;

    display:flex;
    flex-direction:column;
    justify-content:center;

    gap:12px;

    padding:10px 0;
}

.featured-label{
    font-size:2rem;
    letter-spacing:.2em;
    text-transform:uppercase;
    color:#aaa;
}

.featured-title{
    font-size:4rem;
    margin:0;
    line-height:1.1;
}

.featured-date{
    margin:0;
    color:#999;
}

/* =======================
   BOTÓN
======================= */

.featured-btn{
    margin-top:18px;

    background:var(--primary-color);
    border:none;
    color:#fff;

    padding:12px 18px;
    border-radius:12px;

    font-weight:600;

    cursor:pointer;

    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;

    width:100%;

    transition:.2s ease;
}

.featured-btn:hover{
    transform:translateY(-2px);
    filter:brightness(1.1);
}

/* =======================
   SINGLES GRID
======================= */

.release-grid{
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(180px,1fr));
    gap:14px;
}

.release-item{
    background:var(--card);
    padding:14px;
    border-radius:12px;

    cursor:pointer;

    border:1px solid transparent;

    transition:.2s ease;

    overflow:hidden;
}

.release-item:hover{
    transform:translateY(-4px);
    border-color:var(--primary-color);
}

.cover{
    width:100%;
    aspect-ratio:1/1;
    object-fit:cover;

    border-radius:8px;
    margin-bottom:10px;
    display:block;
}

/* =======================
   VIDEOS
======================= */

.videos-grid{
    display:grid;
    grid-template-columns:repeat(auto-fill, minmax(240px, 1fr));
    gap:16px;
    align-items:start;
    max-width:1100px;
    margin:0 auto;
}

.video-item{
    background:var(--card);
    border-radius:14px;
    overflow:hidden;
    cursor:pointer;
    border:1px solid transparent;
    transition:transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.video-item:hover{
    transform:translateY(-6px);
    border-color:var(--primary-color);
    box-shadow:0 12px 30px rgba(0,0,0,.45);
}

.video-thumb{
    width:100%;
    aspect-ratio:16/9;
    position:relative;
    overflow:hidden;
}

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

/* overlay play */
.video-play{
    position:absolute;
    inset:0;

    display:flex;
    align-items:center;
    justify-content:center;

    background:rgba(0,0,0,.25);

    transition:.2s ease;
}

.video-play i{
    font-size:3.5rem;
    color:#fff;
}

.video-info{
    padding:12px;
}

/* =======================
   FOOTER PREMIUM
======================= */

footer{
    padding:60px 20px;
    margin-top:60px;
    border-top:1px solid #222;
    background:#0f0f0f;
}

/* contenedor */
.footer-container{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:10px;
}

/* texto pequeño */
.footer-label{
    font-size:.75rem;
    letter-spacing:.3em;
    text-transform:uppercase;
    color:#666;
}

/* marca principal (ESTO ES LA CLAVE) */
.footer-brand{
    font-family:"Cormorant Garamond", serif;
    font-size:1.6rem;
    font-weight:700;

    color:#fff;
    text-decoration:none;

    transition:.25s ease;
}

/* hover con identidad (no color plano) */
.footer-brand:hover{
    color:var(--primary-color);
    letter-spacing:.02em;
}

/* efecto sutil de aparición */
.footer-container{
    opacity:.9;
}


/* =======================
   MODAL BASE
======================= */

.modal-content{
    background:#151515;
    border-radius:18px;
    border:1px solid #222;
    padding:24px;
    color:#fff;
}

/* header bootstrap */
.modal-header{
    border-bottom:1px solid #2a2a2a;
    padding-bottom:12px;
}

.modal-title{
    font-size:1.2rem;
    font-weight:600;
}

.btn-close{
    filter:invert(1);
}

/* =======================
   HEADER "Escuchar en"
======================= */

.listen-header{
    text-align:center;
    font-size:.75rem;
    letter-spacing:.25em;
    text-transform:uppercase;
    color:#aaa;
    margin-bottom:16px;
}

/* =======================
   COVER
======================= */

.listen-cover{
    display:flex;
    justify-content:center;
    margin-bottom:14px;
}

.listen-cover img{
    width:160px;
    height:160px;

    object-fit:cover;
    border-radius:14px;

    box-shadow:0 10px 30px rgba(0,0,0,.5);
}

/* =======================
   TITLE
======================= */

.listen-title{
    text-align:center;
    font-size:1.4rem;
    font-weight:600;
    margin-bottom:18px;
}

/* =======================
   PLATFORM LIST
======================= */

.listen-platforms{
    display:flex;
    flex-direction:column;
    gap:10px;
}

/* =======================
   BASE BUTTON
======================= */

.platform{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;

    padding:12px 14px;
    border-radius:12px;

    font-weight:600;
    text-decoration:none;

    border:2px solid transparent;

    transition:.2s ease;
}

/* iconos */
.platform i{
    font-size:1.1rem;
}

/* =======================
   PLATFORM COLORS
======================= */

.platform.spotify{
    background:#1DB954;
    color:#fff;
}

.platform.apple{
    background:#ffffff;
    color:#000;
}

.platform.amazon{
    background:#00A8E1;
    color:#fff;
}

.platform.youtube{
    background:#FF0000;
    color:#fff;
}

/* =======================
   HOVER INVERTIDO
======================= */

.platform:hover{
    background:transparent !important;
    transform:translateY(-2px);
}

/* Spotify */
.platform.spotify:hover{
    color:#1DB954;
    border-color:#1DB954;
}

/* Apple */
.platform.apple:hover{
    color:#fff;
    border-color:#fff;
}

/* Amazon */
.platform.amazon:hover{
    color:#00A8E1;
    border-color:#00A8E1;
}

/* YouTube Music */
.platform.youtube:hover{
    color:#FF0000;
    border-color:#FF0000;
}

/* =======================
   VIDEO BUTTON
======================= */

.platform.video{
    background:transparent;
    border:1px solid #555;
    color:#fff;
}

.platform.video:hover{
    border-color:#FF0000;
    color:#FF0000;
}

/* =======================
   DIVIDER
======================= */

.divider{
    border-color:#2a2a2a;
    margin:18px 0;
}

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

@media (max-width:600px){

.listen-cover img{
    width:140px;
    height:140px;
}

.listen-title{
    font-size:1.1rem;
}

.platform{
    font-size:.95rem;
    padding:12px;
}
}


.single-page-release{
    text-align:center;
    max-width:600px;
    margin:0 auto;
}

.single-cover{
    width:100%;
    max-width:320px;
    border-radius:16px;
    margin-bottom:20px;
}

@media (max-width: 768px) {

    .featured-release{
        flex-direction: column;
        padding: 20px;
        gap: 18px;
        text-align: center;
    }

    .featured-cover{
        flex: none;
        width: 100%;
    }

    .featured-cover img{
        width: 100%;
        height: auto;
        max-height: 320px;
        object-fit: cover;
    }

    .featured-content{
        padding: 0;
        align-items: center;
    }

    .featured-label{
        font-size: 0.75rem;
        letter-spacing: .25em;
    }

    .featured-title{
        font-size: 1.8rem;
        line-height: 1.2;
    }

    .featured-date{
        font-size: 0.9rem;
    }

    .featured-btn{
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 768px) {

    .release-grid{
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .release-item{
        padding: 10px;
    }

    .cover{
        border-radius: 6px;
    }

    .release-item strong{
        font-size: .85rem;
    }
}

@media (max-width:768px){

.bio-wrapper{
    position:relative;
}

/* CONTENEDOR DE FADE */
.bio-wrapper::after{
    content:'';
    position:absolute;
    left:0;
    right:0;
    bottom:35px;
    height:60px;

    background:linear-gradient(
        to bottom,
        rgba(18,18,18,0),
        rgba(18,18,18,1)
    );

    pointer-events:none;

    transition:opacity .3s ease;
}

/* cuando está expandido desaparece el fade */
.bio-wrapper.expanded::after{
    opacity:0;
}

/* animación de apertura */
.bio-text{
    transition:max-height .4s ease, opacity .3s ease;
}

/* botón con micro interacción */
.bio-toggle{
    position:relative;
    z-index:2;
    transition:transform .2s ease, opacity .2s ease;
}

.bio-toggle:hover{
    transform:translateY(-2px);
    opacity:.85;
}

}

.bio-text{
    margin:0 auto;
    width: min(1000px, 95%);
}

@media (max-width:768px){

    .bio-text{
        display:-webkit-box;
        -webkit-line-clamp:4;
        -webkit-box-orient:vertical;
        overflow:hidden;
    }

    .bio-wrapper.expanded .bio-text{
        display:block;
        -webkit-line-clamp:unset;
    }

    .bio-toggle{
        display:block;
        margin-top:10px;
        background:transparent;
        border:none;
        color:var(--primary-color);
        font-weight:600;
        cursor:pointer;
        margin:10px auto 0;
        text-align:center;
        transition:opacity .2s ease, transform .2s ease;
    }

    .bio-toggle:hover{
        transform:translateY(-2px);
        opacity:.8;
    }
}

.bio-toggle { display: none; }

@media (max-width:768px){
    .bio-toggle { display: block; }
}