/* =========================================
   1. VARIABLES & RESET (BASE)
   ========================================= */



   :root {
    --bg-dark: #161616;
    --text-white: #FFFFFF;
    --font-display: 'Yellowtail', cursive;
    --font-body: 'Poppins', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

/* =========================================
   CURSOR APP-FEEL (Solución Definitiva)
   ========================================= */

/* 1. Aplica la flecha normal a TODO por defecto */
html, body, div, p, h1, h2, h3, span, img, section, ul, li {
    cursor: default;
}

/* 2. Fuerza la "manito" en enlaces, botones y cualquier cosa dentro de un enlace */
a, a *, button, .btn-subscribe, .view-all-link, .platform-logo {
    cursor: pointer !important;
}

/* 3. Mantiene la barrita de texto SOLO en los campos para escribir */
input, textarea {
    cursor: text !important;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    font-family: var(--font-body);
    overflow-x: hidden; /* Evita scroll horizontal no deseado */
}

.container {
    width: 90%; max-width: 1200px; margin: 0 auto;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }

/* =========================================
   2. MAIN HERO WRAPPER (FONDO COMPARTIDO)
   ========================================= */
.main-hero-wrapper {
    position: relative;
    width: 100%;
    background-color: var(--bg-dark);
    padding-bottom: 70px; 
    overflow: hidden;
}

/* Capa de imagen de fondo (Layer 4%) */
.main-hero-wrapper::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    
    /* Reemplaza con tu ruta real */
    background-image: url('img/Sauna\ Back\ \(1\).webp'); 
    
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    
    opacity: 0.04; /* 4% de opacidad */
    z-index: 1;
    pointer-events: none;
}

/* =========================================
   3. HEADER / NAV
   ========================================= */
.site-header {
    position: relative;
    z-index: 10;
    padding: 20px 0;
    background: transparent;
}

.header-layout {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: 900;
    font-size: 24px;
    letter-spacing: 1px;
}

.nav-menu ul { display: flex; gap: 70px; }
.nav-menu a {
    font-family: var(--font-body);
    font-size: 16px; font-weight: 500; opacity: 0.8;
}
.nav-menu a:hover { opacity: 1; }

/* Botón Subscribe */
.btn-subscribe {
    background-image: url('img/btn\ back.webp');
    background-size: cover; background-position: center;
    color: var(--text-white);
    padding: 10px 30px; border-radius: 50px;
    font-weight: 600; font-size: 15px;
    display: inline-block;
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s ease;
}
.btn-subscribe:hover {
    filter: brightness(1.2); transform: translateY(-2px);
}

/* =========================================
   4. HERO CONTENT
   ========================================= */
.hero-content {
    position: relative;
    z-index: 10;
    display: flex; flex-direction: column; align-items: center;
    text-align: center;
    margin-top: 60px;
    max-width: 900px;
    margin-left: auto; margin-right: auto;
}

.hero-content h1 {
    font-family: var(--font-display);
    font-size: 60px; font-weight: 400;
    margin-bottom: 20px; line-height: 1.2;
}

.hero-content p {
    font-family: var(--font-body);
    font-size: 17px; font-weight: 400; line-height: 1.6;
    max-width: 700px;
    margin-bottom: 25px; 
    opacity: 0.9;
}

/* Video Wrapper */
.video-container {
    width: 100%; max-width: 800px;
    aspect-ratio: 16 / 9;
    background: #000; border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}
.video-container iframe { width: 100%; height: 100%; }

/* Texto pequeño debajo del video */
.episode-cta-text {
    font-size: 19px !important;
    font-weight: 600;
    font-weight: 500 !important;
    opacity: 0.7 !important;
    margin-top: 20px !important; 
    margin-bottom: 10px !important; 
}

/* =========================================
   5. SECCIÓN PLATAFORMAS (LOGOS TOP)
   ========================================= */
.logos-section {
    height: 240px;
    width: 100%;
    background-color: var(--bg-dark);
    display: flex;
    align-items: center; 
    justify-content: center;
}

.logo-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 110px;
    flex-wrap: wrap;
}

/* Estilos Base Logos */
.platform-logo {
    display: block;
    width: auto;
    object-fit: contain;
    
}

.platform-logo:hover {
    opacity: 1;
    filter: none;
    transform: scale(1.05);
}

/* Tamaños específicos (Equilibrio Óptico) */
.logo-spotify { height: 50px; }
.logo-apple   { height: 48px; }
.logo-youtube { height: 70px; }

/* =========================================
   6. SECCIÓN LATEST EPISODES
   ========================================= */
.episodes-section {
    background-color: #0D0D0D;
    padding: 80px 0;
    color: var(--text-white);
}

.section-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.section-header-row h2 { margin-bottom: 0; }

.view-all-link {
    font-family: var(--font-body);
    font-size: 16px; font-weight: 500;
    text-decoration: underline; text-underline-offset: 4px;
    opacity: 0.8; color: #FB963B; 
}
.view-all-link:hover { opacity: 1; color: var(--text-white); }

.episodes-grid-container {
    width: 100%; min-height: 200px;
}

/* --- GRID DE VIDEOS YOUTUBE --- */
.yt-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); 
    gap: 20px; padding: 20px 0; width: 100%;
}

.yt-card {
    background: #1a1a1a;
    border-radius: 8px; overflow: hidden;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
}
.yt-card:hover { transform: translateY(-5px); }

.yt-video-wrapper {
    position: relative; padding-bottom: 56.25%; height: 0; background: #000;
}
.yt-video-wrapper iframe {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none;
}

.yt-title {
    padding: 15px; color: #fff;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 15px; font-weight: 500; line-height: 1.4;
    height: 50px; overflow: hidden; display: -webkit-box;
    -webkit-box-orient: vertical;
}

/* =========================================
   7. CTA SECTION
   ========================================= */
.cta-section {
    position: relative;
    background-color: var(--bg-dark);
    padding: 100px 0;
    overflow: hidden;
}

.cta-section::before {
    content: "";
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-image: url('img/Sauna\ Back\ \(1\).webp'); 
    background-size: cover; background-position: center; background-repeat: no-repeat;
    opacity: 0.04; z-index: 1; pointer-events: none;
}

.cta-grid {
    position: relative; z-index: 2;
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 60px; align-items: center;
}

.cta-img-box {
    width: 100%; height: auto;
    border-radius: 20px; overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.cta-photo {
    width: 100%; height: 500px; object-fit: cover;
    display: block; transition: transform 0.5s ease;
}
.cta-img-box:hover .cta-photo { transform: scale(1.03); }

.cta-content h2 {
    font-family: var(--font-display);
    font-size: 60px; font-weight: 400; line-height: 1.2;
    margin-bottom: 25px; max-width: 500px;
}

.cta-content p { margin-bottom: 40px; opacity: 0.9; }

.cta-logos-row {
    display: flex; align-items: center; gap: 30px;
}
.cta-logos-row .platform-logo { margin: 0; }

/* Tamaños específicos logos CTA */
.logo-spotify-2 { height: 40px; }
.logo-apple-2 { height: 40px; }
.logo-youtube-2 { height: 50px; }

/* =========================================
   8. FOOTER
   ========================================= */
.site-footer {
    height: 170px;
    width: 100%;
    background-color: var(--bg-dark);
    display: flex; align-items: center; justify-content: center;
    text-align: center;
    position: relative; z-index: 5;
}

.footer-content {
    display: flex; flex-direction: column; align-items: center; gap: 10px;
}

.footer-content h3 {
    margin-bottom: 0; line-height: 1; letter-spacing: 1px;
}

.footer-content p {
    margin-bottom: 0; font-size: 15px; opacity: 0.5;
}

.brand-highlight {
    font-weight: 700; color: var(--text-white); opacity: 1;
}

/* =========================================
   9. RESPONSIVE (MÓVIL & TABLET)
   ========================================= */
/* Unificamos todos los Media Queries aquí para orden y rendimiento */
@media (max-width: 768px) {
    
    /* TIPOGRAFÍA GENERAL */
    h1, h2, 
    .hero-content h1, 
    .cta-content h2 {
        font-size: 40px !important; 
        line-height: 1.2;
        margin-bottom: 15px;
    }
    

    p, 
    .hero-content p, 
    .cta-content p {
        font-size: 15px !important;
        line-height: 1.5;
        max-width: 100%;
        padding: 0 10px;
    }

    /* HEADER & HERO */
    .header-layout {
        flex-direction: column; gap: 15px;
    }
    .hero-content {
        margin-top: 30px; padding: 0 20px;
    }

    /* LOGOS TOP */
    .logo-row { gap: 30px; }
    .logo-spotify { height: 40px; }
    .logo-apple   { height: 24px; }
    .logo-youtube { height: 50px; }

    /* LATEST EPISODES */
    .section-header-row {
        flex-direction: column; align-items: flex-start; gap: 10px;
    }


    .view-all-link { font-size: 14px; margin-left: 2px; }

    /* CTA SECTION (Orden: Texto Arriba, Foto Abajo) */
    .cta-grid {
        display: flex; flex-direction: column; 
        gap: 30px; text-align: center; padding: 0 20px;
    }
    .cta-content { order: 1; }
    
    .cta-img-box {
        order: 2; width: 100%; max-width: 100%; height: auto; margin-top: 10px;
    }

    .cta-content h2 { margin-left: auto; margin-right: auto; }
    .cta-logos-row { justify-content: center; flex-wrap: wrap; }

    /* FOOTER */
    .site-footer { height: auto; padding: 40px 20px; }
    .footer-content h3 { font-size: 24px; }
    .footer-content p { font-size: 12px; }
}

.mobile-h2 {
    font-size: 28px !important;
}
