/* EXPERIMENTAL FIX PARA ESPACIO BLANCO IZQUIERDO */

/* TEORIA 1: Reset absoluto de todo margin/padding izquierdo */
html, body, *, *::before, *::after {
    margin-left: 0 !important;
    padding-left: 0 !important;
}

/* TEORIA 2: Forzar body a left: 0 */
body {
    position: relative !important;
    left: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
}

/* TEORIA 3: Forzar html a left: 0 */
html {
    position: static !important;
    left: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
}

/* TEORIA 4: Reset de todos los contenedores principales */
.hero, .hero-content, .about, .episodes, nav, .nav-container, section, main {
    margin-left: 0 !important;
    padding-left: 20px !important; /* Restaurar padding apropiado */
    padding-right: 20px !important; /* Simétrico */
    transform: none !important;
    left: 0 !important;
    position: relative !important;
}

/* TEORIA 5: Verificar que no sea el viewport */
html {
    width: 100vw !important;
    overflow-x: hidden !important;
}

body {
    width: 100% !important;
    max-width: 100vw !important;
    overflow-x: hidden !important;
}

/* TEORIA 6: Podría ser el loader? */
.loader {
    left: 0 !important;
    transform: none !important;
}

/* TEORIA 7: Font awesome interference? */
.fa, .fab, .fas, .far, .fal, .fad, .fak {
    margin-left: 0 !important;
}

/* TEORIA 8: Floating bubbles empujando contenido? */
.floating-bubble {
    position: absolute !important;
    pointer-events: none !important;
}

.hero-bg {
    position: absolute !important;
    pointer-events: none !important;
    left: 0 !important;
    margin-left: 0 !important;
}

/* TEORIA 9: Platform links causando el problema? */
.platform-links, .platform-btn {
    margin-left: 0 !important;
    padding-left: 0 !important;
}

/* FIX: Centrar textos de platform buttons y otros botones */
.platform-btn, .load-more-btn, .play-inline-btn, .submit-btn, .share-btn, button {
    text-align: center !important;
    justify-content: center !important;
    display: flex !important;
    align-items: center !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
}

/* FIX: Asegurar que social links funcionen correctamente */
.social-link {
    pointer-events: auto !important;
    cursor: pointer !important;
    text-decoration: none !important;
}

/* FIX: Restaurar padding interno apropiado para contenido */
.episode-card, .about-content, .hero-content, .footer-section {
    padding-left: 20px !important;
    padding-right: 20px !important;
}

/* FIX: Padding específico para cards de episodios en móvil */
@media (max-width: 768px) {
    .episode-card {
        padding: 20px !important;
        margin: 10px !important;
    }
    
    .episode-card h3, .episode-card p {
        margin-left: 0 !important;
        padding-left: 0 !important;
    }
}

@media (max-width: 480px) {
    .episode-card {
        padding: 15px !important;
        margin: 5px !important;
    }
}

/* TEORIA 10: Es el nav container? */
nav {
    left: 0 !important;
    margin-left: 0 !important;
    width: 100% !important;
}

.nav-container {
    margin-left: 0 !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
}

/* DEBUG: Para ver qué está pasando */
/*
body::before {
    content: 'VIEWPORT START - 0px';
    position: fixed;
    left: 0;
    top: 0;
    background: red;
    color: white;
    z-index: 999999;
    padding: 5px;
    font-size: 12px;
    writing-mode: vertical-rl;
}

body::after {
    content: 'Body starts here: ' attr(data-left-offset);
    position: fixed;
    left: 0;
    top: 100px;
    background: blue;
    color: white;
    z-index: 999999;
    padding: 5px;
    font-size: 12px;
}
*/

/* FIX: Beehiiv embed positioning y scaling para móvil */
.beehiiv-embed {
    margin-left: 0 !important;
    padding-left: 0 !important;
    left: 0 !important;
    transform: none !important;
    position: relative !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

.newsletter-embed-container {
    margin-left: 0 !important;
    padding-left: 0 !important;
    left: 0 !important;
    transform: none !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
}

/* Beehiiv responsive fixes */
@media (max-width: 768px) {
    .newsletter-embed-container {
        width: 100% !important;
        max-width: calc(100vw - 40px) !important;
        margin: 15px auto !important;
        padding: 0 !important;
    }
    
    .beehiiv-embed {
        width: 100% !important;
        height: 140px !important;
        max-width: 100% !important;
        transform: scale(1) !important;
        transform-origin: center !important;
    }
}

@media (max-width: 480px) {
    .newsletter-embed-container {
        width: 100% !important;
        max-width: calc(100vw - 20px) !important;
        margin: 10px auto !important;
        padding: 0 !important;
    }
    
    .beehiiv-embed {
        width: 100% !important;
        height: 180px !important;
        max-width: 100% !important;
        transform: scale(0.95) !important;
        transform-origin: center !important;
    }
}

@media (max-width: 320px) {
    .newsletter-embed-container {
        width: 100% !important;
        max-width: calc(100vw - 10px) !important;
        margin: 5px auto !important;
    }
    
    .beehiiv-embed {
        width: 100% !important;
        height: 200px !important;
        transform: scale(0.9) !important;
        transform-origin: center !important;
    }
}

/* NUCLEAR OPTION: Si nada funciona */
/*
* {
    margin-left: 0 !important;
    padding-left: 0 !important;
    left: 0 !important;
    transform: translateX(0) !important;
}
*/