/* ==========================================================================
   1. HERO DEL ARTISTA
   ========================================================================== */
.artista-hero {
    height: 100vh;
    min-height: 600px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    /* margin-top eliminado para evitar que se corte con el header negro */
}

.artista-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5); /* Oscurece el fondo para resaltar el logo */
    z-index: 1;
}

.artista-hero-logo {
    position: relative;
    z-index: 2;
    max-width: 600px;
    width: 90%;
    text-align: center;
}

/* ==========================================================================
   2. BIOGRAFÍA (SOBRE NOSOTROS)
   ========================================================================== */
.artista-bio {
    background-color: #111; /* Fondo oscuro sutil */
    padding: 6rem 2rem;
}

.bio-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.bio-text h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
    color: #fff;
}

.bio-text .bio-content {
    color: #ccc;
    font-size: 1.1rem;
    line-height: 1.8;
}

.bio-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

/* ==========================================================================
   3. GALERÍA DE VIDEOS (CÓDIGO EXACTO DE DANILION)
   ========================================================================== */
.gallery-section {
    background: #000;
    padding: 4rem 0 6rem 0;
    overflow: hidden;
}

.gallery-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #fff;
}

.gallery-grid {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding: 20px 0;
    scroll-snap-type: x mandatory;
    justify-content: flex-start;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
}
.gallery-grid::-webkit-scrollbar { display: none; /* Chrome/Safari */ }

.gallery-item {
    min-width: 260px;
    height: 380px; /* Tamaño móvil exacto de Danilion */
    background-size: cover;
    background-position: center;
    border-radius: 20px; /* Bordes más redondeados del original */
    position: relative;
    overflow: hidden;
    scroll-snap-align: start;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

@media (min-width: 992px) {
    .gallery-grid { gap: 20px; max-width: 1600px; margin: 0 auto; }
    .gallery-item { 
        min-width: 500px; /* Tamaño escritorio exacto */
        height: 750px; 
    }
}

.gallery-item:hover {
    transform: translateY(-10px);
    z-index: 2;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.play-overlay {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 70px; height: 70px;
    background: rgba(255, 51, 0, 0.85); /* Rojo translúcido exacto */
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    transition: transform 0.3s, background 0.3s, box-shadow 0.3s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    z-index: 3;
}
.play-overlay svg { margin-left: 5px; } 

.video-card:hover .play-overlay {
    transform: translate(-50%, -50%) scale(1.15);
    background: var(--accent-red);
    box-shadow: 0 0 20px var(--accent-red);
}

/* ==========================================================================
   4. MODAL DE VIDEO (DANILION)
   ========================================================================== */
.video-modal {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    z-index: 9999; display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0.3s;
}
.video-modal.is-active { opacity: 1; visibility: visible; }
.video-modal-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.95); cursor: pointer;
}
.video-modal-content {
    position: relative; width: 95%; max-width: 1000px; z-index: 2; transition: max-width 0.3s ease;
}
.video-modal-close {
    position: absolute; top: -45px; right: 0; background: none; border: none;
    color: #fff; font-size: 2.5rem; cursor: pointer; line-height: 1; padding: 0;
}
.video-modal-close:hover { color: var(--accent-red); }

.video-wrapper {
    position: relative; padding-bottom: 56.25%; height: 0; background: #000;
    border-radius: 8px; overflow: hidden; box-shadow: 0 10px 40px rgba(0,0,0,0.8);
}
.video-wrapper iframe {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0;
}

/* YouTube Shorts (Vertical) */
.video-modal-content.is-short { max-width: 400px; }
.video-wrapper.is-short { padding-bottom: 177.77%; }

/* Responsive General */
@media (max-width: 900px) {
    .bio-grid { grid-template-columns: 1fr; gap: 2rem; }
    .artista-hero { min-height: 400px; margin-top: 0; }
}