/* Reset & Base Styles */
:root {
    --bg-color: #0f0f0f;
    --text-primary: #ffffff;
    --text-secondary: #a3a3a3;
    --accent-color: #ffffff;
    --accent-hover: #9952ff;
    --nav-height: 80px;
    --transition-speed: 0.3s;
    --gradient-dark: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, #000000 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Product Sans', 'Outfit', sans-serif;
    background-color: #000000;
    background-image: linear-gradient(to bottom, #141414 0%, #000000 100%);
    background-attachment: fixed;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    /* Performance optimization */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3 {
    font-family: 'Product Sans', 'Outfit', sans-serif;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Navigation (HBO Max Style) */
.site-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.site-header.scrolled {
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 3%;
    height: 70px;
}

.header-left,
.header-right {
    flex: 1;
    display: flex;
    align-items: center;
}

.header-right {
    justify-content: flex-end;
    gap: 1.5rem;
}

.header-center {
    flex: 1;
    display: flex;
    justify-content: center;
}

.header-center a {
    display: inline-block;
    line-height: 0;
    text-decoration: none;
}

.menu-toggle {
    background: none;
    border: none;
    color: var(--text-primary);
    font-family: 'Product Sans', 'Outfit', sans-serif;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 600;
}

.menu-toggle i {
    font-size: 1.2rem;
}

.icon-btn {
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.2rem;
    cursor: pointer;
    transition: color 0.3s ease;
    opacity: 0.8;
}

.icon-btn:hover {
    color: var(--accent-color);
    opacity: 1;
}

.logo {
    height: 30px;
    width: auto;
    object-fit: contain;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.logo:hover {
    opacity: 0.8;
}

.header-bottom {
    display: flex;
    justify-content: center;
    padding: 0.5rem 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links li a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
    font-weight: 600;
}

.nav-links li a:hover {
    color: var(--accent-color);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* Main Content */
.content-container {
    margin-top: 0;
}

.content-section {
    padding: 1rem 0;
    min-height: auto;
    background: transparent;
    border-bottom: none;
}

/* Hero Section (Slider de Novedades) */
.hero-section {
    height: 90vh;
    position: relative;
    overflow: hidden;
}

.hero-slider {
    width: 100%;
    height: 100%;
    position: relative;
}

.hero-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    pointer-events: none;
}

.hero-slide.active {
    opacity: 1;
    pointer-events: all;
}

.slide-background {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.slide-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    /* Overlay sutil sin degradado */
    z-index: 1;
}

.slide-content {
    position: absolute;
    bottom: 8rem;
    left: 5%;
    max-width: 500px;
    z-index: 2;
    color: #fff;
}

.slide-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 0.4rem 1rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.slide-title {
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 0.5rem;
    font-weight: 700;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}

.slide-subtitle {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #e0e0e0;
    font-weight: 600;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.slide-description {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    color: #b0b0b0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.slide-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.play-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.9rem 2rem;
    background: #fff;
    color: #000;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.play-button:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
}

.play-button i {
    font-size: 0.9rem;
}

/* Hero Slider Navigation Arrows - Sutiles */
.hero-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 20;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
    /* Siempre visible */
    transition: all 0.3s ease;
}

.hero-nav-left {
    left: 1%;
}

.hero-nav-right {
    right: 1%;
}

.hero-nav-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
}

.slider-dots {
    position: absolute;
    bottom: 2rem;
    left: 5%;
    z-index: 3;
    display: flex;
    gap: 0.5rem;
}

.slider-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.slider-dots .dot.active {
    background: #fff;
    width: 24px;
    border-radius: 4px;
}

/* Galleries (Content Rails) */
.section-header {
    text-align: left;
    margin-bottom: 0.5rem;
    padding-left: 5%;
}

.section-header h2 {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 0.2rem;
    font-weight: 600;
}

.section-header p {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 0;
}

.gallery-wrapper {
    position: relative;
    padding: 0 5%;
}

.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 20;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.scroll-btn.left {
    left: 1%;
}

.scroll-btn.right {
    right: 1%;
}

.gallery-wrapper:hover .scroll-btn {
    opacity: 1;
}

.scroll-btn:hover {
    background: #fff;
    color: #000;
    transform: translateY(-50%) scale(1.1);
}

@media (hover: none) {
    .scroll-btn {
        display: none;
    }
}

.static-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 2rem;
    padding: 1rem 5% 2rem 5%;
    width: 100%;
}

.gallery-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1rem;
    padding: 1rem 0 2rem 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    scroll-behavior: smooth;
    width: 100%;
    position: relative;
}



.gallery-grid::-webkit-scrollbar {
    display: none;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 2/3;
    cursor: pointer;
    border-radius: 6px;
    flex: 0 0 240px;
    scroll-snap-align: start;
    border: 2px solid transparent;
}

.gallery-item:hover {
    z-index: 10;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
    border-color: rgba(255, 255, 255, 0.8);
}

.placeholder-img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.gallery-item:hover .placeholder-img {
    filter: brightness(1.1);
}

.item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0.8rem 1rem 0.8rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.5) 50%, transparent 100%);
    color: white;
    text-align: center;
    opacity: 1;
}

.gallery-item:hover .item-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.6) 50%, transparent 100%);
}

.item-overlay h3 {
    font-size: 0.9rem;
    margin: 0;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 1);
    line-height: 1.3;
}

/* About Section */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 5%;
    align-items: center;
}

.about-image {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.about-content {
    color: #fff;
}

.about-content h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #fff;
    font-weight: 700;
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #ccc;
    text-align: justify;
}

/* Contact Section */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 4rem auto;
    background: rgba(20, 20, 20, 0.8);
    backdrop-filter: blur(20px);
    padding: 4rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-info h2 {
    color: #fff;
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.5rem 0;
    font-size: 1.1rem;
    color: #ccc;
}

.info-item i {
    color: #fff;
}

.social-links {
    margin-top: 2rem;
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    color: #888;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #fff;
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: #aaa;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 4px;
    font-family: 'Outfit', sans-serif;
    transition: border-color 0.3s ease, background 0.3s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background-color: #fff;
    color: #000;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.submit-btn:hover {
    background-color: #e0e0e0;
    transform: scale(1.02);
}

/* Mobile Styles */
@media (max-width: 768px) {
    .header-top {
        padding: 0.5rem 1rem;
    }

    .header-bottom {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        padding: 1rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .header-bottom.active {
        display: block;
    }

    .nav-links {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .hero-section {
        height: 60vh;
        min-height: 400px;
    }

    .hero-nav-btn {
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }

    .slide-background {
        background-size: contain;
        background-position: center;
        background-color: #000;
    }

    .slide-overlay {
        background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.7) 30%, transparent 60%);
    }

    .slide-title {
        font-size: 1.6rem;
        line-height: 1.2;
    }

    .slide-subtitle {
        font-size: 0.95rem;
    }

    .slide-description {
        font-size: 0.8rem;
    }

    .slide-badge {
        font-size: 0.6rem;
        padding: 0.3rem 0.7rem;
    }

    .play-button {
        padding: 0.7rem 1.3rem;
        font-size: 0.85rem;
    }

    .slide-content {
        bottom: 3rem;
        left: 4%;
        max-width: 92%;
    }

    .slider-dots {
        bottom: 1rem;
        left: 4%;
    }

    .content-section {
        padding: 0.5rem 0;
    }

    .section-header {
        margin-bottom: 0.3rem;
    }

    .about-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }

    .about-content h3 {
        font-size: 1.5rem;
    }

    .about-content p {
        font-size: 1rem;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 1.5rem;
        margin: 2rem 1rem;
    }

    .logo {
        height: 18px;
    }

    .gallery-item {
        flex: 0 0 160px;
    }

    .section-header h2 {
        font-size: 1.2rem;
    }
}

/* HBO Max Style Podcast Episode List */
.podcast-episodes-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 5%;
}

.season-selector {
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1rem;
}

.season-title {
    font-size: 1.5rem;
    color: #fff;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.season-title:hover {
    color: var(--text-secondary);
}

.season-title i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.season-title:hover i {
    transform: rotate(180deg);
}

.episodes-grid {
    display: flex;
    flex-direction: column;
    gap: 1px;
    /* Divider look */
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    overflow: hidden;
}

.episode-card {
    display: flex;
    gap: 2rem;
    padding: 2rem;
    background: transparent;
    transition: background 0.3s ease;
    text-decoration: none;
    color: inherit;
    border-left: 3px solid transparent;
}

.episode-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-left-color: var(--accent-color);
}

.episode-card-thumbnail {
    flex: 0 0 280px;
    height: 157px;
    /* 16:9 ratio */
    position: relative;
    border-radius: 4px;
    overflow: hidden;
}

.episode-card-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.episode-card:hover .episode-card-thumbnail img {
    transform: scale(1.05);
}

.episode-play-overlay {
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
}

.episode-card:hover .episode-play-overlay {
    opacity: 1;
}

.episode-card-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.episode-meta-top {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.episode-card-title {
    font-size: 1.2rem;
    color: #fff;
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-family: 'Product Sans', 'Outfit', sans-serif;
}

.episode-card-desc {
    font-size: 1rem;
    color: #ccc;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 768px) {
    .episode-card {
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem;
    }

    .episode-card-thumbnail {
        flex: none;
        width: 100%;
        height: auto;
        aspect-ratio: 16/9;
    }
}