
/* 1. HERO SECTION */
.hero-section {
    position: relative;
    height: 80vh;
    min-height: 500px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 20px;
}
.hero-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(50,0,150,0.8) 0%, rgba(138,43,226,0.6) 100%);
    z-index: 1;
}
.hero-content { position: relative; z-index: 2; max-width: 800px; }

.hero-title { 
    font-family: var(--font-heading); font-size: 2.5rem; font-weight: 800; 
    line-height: 1.1; margin-bottom: 20px; letter-spacing: -1px;
}
.hero-subtitle { 
    font-family: var(--font-body); font-size: 1.15rem; margin-bottom: 30px; font-weight: 400;
}
.btn-hero {
    display: inline-flex; align-items: center; background: transparent;
    border: 2px solid white; color: white; padding: 12px 30px;
    border-radius: 50px; text-decoration: none; font-weight: bold;
    font-family: var(--font-heading);
}

/* 2. LOGOS */
.logos-strip { background: black; padding: 20px 0; overflow: hidden; }
.logos-container { 
    display: flex; justify-content: center; align-items: center; 
    gap: 15px; 
    padding: 0 20px; flex-wrap: wrap; 
}
.logo-item { display: block; transition: transform 0.2s; }
.logo-item:hover { transform: scale(1.1); }
.logo-item img { height: 35px; width: auto; display: block; max-width: 120px; filter: grayscale(100%) brightness(200%); opacity: 0.8; }

/* 3. BENEFICIOS (SECCIÓN 2 - AJUSTADA) */
.features-section { padding: 20px 0; background: #fff; }
.section-title { 
    font-family: var(--font-heading); font-size: 2.2rem; margin-bottom: 20px; color: #111; font-weight: 800; letter-spacing: -0.5px;
}
.text-center { text-align: center; }

.features-scroll-container {
    display: flex; 
    overflow-x: auto; 
    scroll-snap-type: x mandatory; 
    gap: 10px; 
    padding: 20px; 
    padding-bottom: 30px; 
    -webkit-overflow-scrolling: touch;
}

.feature-card {
    min-width: 85vw; 
    scroll-snap-align: center; 
    background: #ffffff; 
    border-radius: 20px; 
    /* AJUSTE: Quitamos el padding global para que la imagen toque los bordes */
    padding: 0; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    text-align: center; 
    border: 1px solid #eaeaea; 
    box-shadow: 0 5px 15px rgba(0,0,0,0.05); 
    height: 100%; 
    overflow: hidden; /* Esto asegura que la imagen respete el borde redondeado de la tarjeta */
}

.feature-image-wrapper { 
    order: -1; 
    /* AJUSTE: Sin margen inferior, ancho completo */
    margin: 0; 
    width: 100%; 
    height: 220px; 
}

.feature-image-wrapper img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    /* AJUSTE: Sin border-radius individual, usa el de la tarjeta */
    border-radius: 0; 
}

.feature-text { 
    display: flex; 
    flex-direction: column; 
    flex-grow: 1; 
    /* AJUSTE: El padding ahora vive aquí, para separar el texto del borde */
    padding: 25px 30px 30px; 
}

.feature-text h3 { font-family: var(--font-heading); margin-top: 0; margin-bottom: 15px; font-size: 1.6rem; color: #111; font-weight: 700; }
.feature-text p { font-family: var(--font-body); color: #555; font-size: 1rem; line-height: 1.6; margin: 0; }

/* 4. PLANES */
.plans-section { padding: 20px 0; background: #fff; }
.plans-grid { 
    display: flex; 
    overflow-x: auto; 
    gap: 10px; 
    padding: 20px; 
    scroll-snap-type: x mandatory; 
}
.plan-card { min-width: 80vw; scroll-snap-align: center; display: flex; flex-direction: column; align-items: center; height: 100%; }
.plan-body-clean {
    background: #ffffff; padding: 40px 30px; border-radius: 20px; text-align: center; width: 100%; height: 100%; display: flex; flex-direction: column; border: 1px solid #eaeaea; box-shadow: 0 10px 30px rgba(0,0,0,0.05); box-sizing: border-box; 
}
.plan-body-clean h3 { font-family: var(--font-heading); font-size: 1.8rem; color: #00000; margin: 0 0 20px; font-weight: 800; }
.plan-desc { font-family: var(--font-body); color: #555; font-size: 1.1rem; line-height: 1.6; flex-grow: 1; margin: 0; }
.plans-footer-action { margin-top: 15px; }
.btn-dark-big {
    display: inline-block; background: var(--primary-gradient); color: white; padding: 15px 50px; border-radius: 50px; text-decoration: none; font-family: var(--font-heading); font-weight: bold; font-size: 1.2rem; transition: transform 0.2s, box-shadow 0.3s; box-shadow: 0 4px 15px rgba(138, 43, 226, 0.4);
}
.btn-dark-big:hover { opacity: 0.9; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(138, 43, 226, 0.6); }

/* 5. NOTICIAS (BLOG) - SLIDER MÓVIL */
.news-section { padding: 40px 20px 20px; max-width: 1300px; margin: 0 auto; }
.section-header h2 { margin-bottom: 40px; font-size: 2.5rem; }

.news-grid { 
    display: flex; 
    gap: 15px; 
    overflow-x: auto;
    padding-bottom: 20px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.news-card {
    background: #fff;
    min-width: 85vw; /* Móvil */
    scroll-snap-align: center;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05); 
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #f0f0f0;
}

.news-card:hover { transform: translateY(-5px); box-shadow: 0 15px 40px rgba(0,0,0,0.1); }
.news-card a { text-decoration: none; color: inherit; display: flex; flex-direction: column; height: 100%; }

.news-image-wrapper {
    position: relative;
    width: 100%;
    height: 200px; 
    overflow: hidden;
}

.news-image-wrapper img {
    width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s;
}

.news-card:hover .news-image-wrapper img { transform: scale(1.05); }

.news-tag {
    position: absolute; top: 15px; left: 15px;
    background: white; color: #000;
    padding: 5px 12px; border-radius: 20px;
    font-size: 0.75rem; font-weight: 800; text-transform: uppercase;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.news-body { padding: 25px; display: flex; flex-direction: column; flex-grow: 1; }
.news-body h3 { margin: 0 0 10px; font-size: 1.25rem; font-family: var(--font-heading); font-weight: 700; line-height: 1.3; }
.news-body p {
    font-size: 0.95rem; color: #666; margin: 0; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}

/* 6. SALÓN DE LA FAMA (ARTISTAS) */
.hall-of-fame { 
    background: #111; 
    color: white; 
    padding: 40px 20px 80px;
    text-align: center; 
}
.hof-header { margin-bottom: 50px; }
.hof-header h2 { font-size: 3rem; margin-bottom: 15px; }
.hof-subtitle { font-size: 1.2rem; color: #ccc; max-width: 700px; margin: 0 auto; }

.hof-grid { 
    display: flex; 
    gap: 15px; 
    overflow-x: auto; 
    padding-bottom: 20px; /* Reducido al no necesitar espacio para la barra */
    scroll-snap-type: x mandatory; 
    justify-content: flex-start; 
    scrollbar-width: none; /* Oculta barra en Firefox */
    -ms-overflow-style: none; /* Oculta barra en IE/Edge */
}

/* Oculta barra en Chrome, Safari y Opera */
.hof-grid::-webkit-scrollbar {
    display: none; 
}

/* Tarjeta Móvil (260x380) */
.artist-card {
    min-width: 260px; 
    height: 380px;    
    background-size: cover; 
    background-position: center; 
    border-radius: 20px; 
    position: relative; 
    overflow: hidden;
    scroll-snap-align: start;
    flex-shrink: 0;
    border: none;
    transition: transform 0.3s;
}

.artist-card:hover { transform: translateY(-10px); z-index: 2; }

.artist-info-overlay {
    position: absolute; bottom: 0; left: 0; width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0) 100%); 
    padding: 30px 20px; 
    text-align: left;
}

.artist-name {
    display: block; font-family: var(--font-heading); font-weight: 800; font-size: 1.5rem; margin-bottom: 5px; text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}
.artist-desc { display: block; font-size: 0.85rem; color: #ddd; font-weight: 500; }

/* --- DESKTOP (Pantallas grandes) --- */
@media (min-width: 992px) {
    .hero-title { font-size: 4.5rem; }
    .section-title { font-size: 3rem; }
    .logo-item img { height: 45px; } 

    /* Grids a 3 columnas */
    .features-scroll-container, .plans-grid {
        display: grid; grid-template-columns: repeat(3, 1fr); overflow: visible; max-width: 1200px; margin: 0 auto; align-items: stretch;
        gap: 15px; 
    }
    .feature-card, .plan-card { min-width: auto; height: auto; }
    
    /* Blog Grid en PC */
    .news-grid { 
        display: grid; grid-template-columns: repeat(4, 1fr); overflow: visible; gap: 20px; 
    } 
    .news-card { min-width: auto; }
    
    .hof-grid { max-width: 1600px; margin: 0 auto; gap: 20px; }

    /* Tarjetas Artistas GIGANTES (Solo PC) */
    .artist-card { min-width: 500px; height: 750px; }
    .artist-name { font-size: 1.8rem; }
    .artist-desc { font-size: 0.9rem; }
}

/* 7. SECCIÓN DE VIDEOS Y MODAL */

/* Botón de Play en las tarjetas */
.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: rgba(138, 43, 226, 0.85); /* Morado semitransparente */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s, background 0.3s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    z-index: 3;
}
/* Centrado óptico del triángulo de Play */
.play-overlay svg { margin-left: 5px; } 

.video-card:hover .play-overlay {
    transform: translate(-50%, -50%) scale(1.15);
    background: #8A2BE2; /* Morado sólido al hover */
}

/* Modal (Ventana Emergente) */
.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.9);
    cursor: pointer;
}
.video-modal-content {
    position: relative;
    width: 95%;
    max-width: 1000px;
    z-index: 2;
}
.video-modal-close {
    position: absolute;
    top: -40px; right: 0;
    background: none; border: none;
    color: white; font-size: 2rem;
    cursor: pointer; line-height: 1; padding: 0;
    transition: color 0.2s;
}
.video-modal-close:hover { color: #8A2BE2; }

/* Contenedor Responsivo del iFrame (16:9) */
.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* Relación de aspecto 16:9 */
    height: 0;
    background: #000;
    border-radius: 12px;
    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;
}

/* Ajustes para YouTube Shorts (Vertical 9:16) */
.video-modal-content.is-short {
    max-width: 400px; /* Limita el ancho para que no se salga de la pantalla en PC */
}
.video-wrapper.is-short {
    padding-bottom: 177.77%; /* Cambia la proporción de 16:9 a 9:16 */
}