:root {
    --green-dark: #041108;
    --green: #0f3d24;
    --green-light: #1f7a45;
    --green-bright: #2ecc71;
    --gold: #d4af37;
    --white: #ffffff;

    --card-background: rgba(255, 255, 255, 0.1);
    --card-background-hover: rgba(255, 255, 255, 0.15);
    --border: rgba(255, 255, 255, 0.15);
}

/* CONFIGURACIÓN GENERAL */

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

html {
    min-height: 100%;
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    padding-bottom: 92px;
    overflow-x: hidden;
    color: var(--white);
    text-align: center;
    font-family: "Segoe UI", Arial, sans-serif;

    background:
        linear-gradient(
            135deg,
            var(--green-dark),
            var(--green),
            var(--green-light)
        );
}

img,
iframe,
video {
    max-width: 100%;
}

button,
input {
    font: inherit;
}

/* ENCABEZADO */

.hero {
    padding: 36px 20px 22px;
}

.hero-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    width: min(1200px, 100%);
    margin: 0 auto;
}

.logo {
    width: 150px;
    height: auto;
    flex-shrink: 0;
    border-radius: 50%;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.25);
}

.hero-text {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero h1 {
    font-size: clamp(2.1rem, 5vw, 3.5rem);
    line-height: 1.1;
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.45);
}

.subtitle {
    margin-top: 10px;
    font-size: 1.15rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

/* CONTENEDOR PRINCIPAL */

.main-container {
    width: min(1200px, 100%);
    margin: 0 auto;
    padding: 0 20px;
}

/* TARJETAS */

.content-card,
.verse-card {
    width: 100%;
    margin: 24px auto;
    padding: 28px;
    border: 1px solid var(--border);
    border-radius: 28px;
    background: var(--card-background);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.verse-card {
    max-width: 900px;
}

.verse-card h2 {
    margin-bottom: 18px;
    color: var(--gold);
}

.verse-card h2 i {
    margin-right: 8px;
}

#dailyVerse {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

#dailyVerse p {
    max-width: 700px;
    font-size: 1.15rem;
    line-height: 1.75;
}

#dailyVerse strong {
    color: var(--gold);
}

/* ENCABEZADOS DE SECCIÓN */

.section-heading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-bottom: 24px;
}

.section-heading > i {
    color: var(--gold);
    font-size: 3rem;
}

.section-heading h2 {
    margin-bottom: 5px;
    font-size: 1.8rem;
}

.section-heading p {
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.85);
}

/* RADIO */

.radio-section {
    max-width: 760px;
}

.live-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
    font-weight: 700;
}

.live-badge span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ff3030;
    animation: pulse 1s infinite;
}

@keyframes pulse {
    50% {
        opacity: 0.25;
    }
}

.radio-player {
    padding: 24px;
    border-radius: 24px;
    background: rgba(0, 0, 0, 0.2);
}

.play-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 92px;
    height: 92px;
    margin: 10px auto 25px;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
    border: 0;
    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            var(--green-bright),
            var(--green-light)
        );

    box-shadow: 0 0 30px rgba(46, 204, 113, 0.5);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.play-btn:hover,
.play-btn:focus-visible {
    transform: scale(1.08);
    box-shadow: 0 0 45px rgba(46, 204, 113, 0.75);
}

.volume-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.volume-section input {
    width: min(280px, 75%);
    cursor: pointer;
}

.mute-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    color: var(--white);
    font-size: 1.2rem;
    cursor: pointer;
    border: 1px solid var(--border);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

#statusText {
    margin-top: 20px;
    color: rgba(255, 255, 255, 0.9);
}

/* TELEVISIÓN */

.tv-player-container {
    position: relative;
    width: min(1000px, 100%);
    margin: 0 auto;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border-radius: 20px;
    background: #000000;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.4);
}

.tv-player-container iframe {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.tv-actions {
    display: flex;
    justify-content: center;
    margin-top: 22px;
}

.vimeo-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 28px;
    color: var(--white);
    font-weight: 700;
    text-decoration: none;
    border-radius: 18px;

    background:
        linear-gradient(
            135deg,
            var(--green-bright),
            var(--green-light)
        );

    box-shadow: 0 0 25px rgba(46, 204, 113, 0.4);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.vimeo-button:hover,
.vimeo-button:focus-visible {
    transform: scale(1.04);
    box-shadow: 0 0 35px rgba(46, 204, 113, 0.65);
}

.tv-help {
    max-width: 750px;
    margin: 18px auto 0;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
}

/* BUSCADOR DE GALERÍA */

.gallery-search-container {
    position: relative;
    width: min(650px, 100%);
    margin: 0 auto 25px;
}

.gallery-search-container > i {
    position: absolute;
    top: 50%;
    left: 18px;
    color: var(--green);
    transform: translateY(-50%);
    pointer-events: none;
}

.search-box {
    width: 100%;
    padding: 16px 18px 16px 50px;
    color: #111111;
    text-align: center;
    border: 0;
    border-radius: 18px;
    outline: none;
    background: var(--white);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

.search-box:focus {
    box-shadow:
        0 0 0 3px rgba(46, 204, 113, 0.45),
        0 8px 25px rgba(0, 0, 0, 0.25);
}

/* GALERÍA */

/* CARRUSEL DE GALERÍA */

.gallery-carousel {
    position: relative;
    width: 100%;
    padding: 0 55px;
}

.gallery-track {
    display: flex;
    gap: 22px;
    width: 100%;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color:
        var(--green-bright)
        rgba(255, 255, 255, 0.12);
}

.gallery-track::-webkit-scrollbar {
    height: 9px;
}

.gallery-track::-webkit-scrollbar-track {
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.12);
}

.gallery-track::-webkit-scrollbar-thumb {
    border-radius: 20px;
    background:
        linear-gradient(
            90deg,
            var(--green-bright),
            var(--gold)
        );
}

.video-card {
    min-width: calc((100% - 44px) / 3);
    max-width: calc((100% - 44px) / 3);
    padding: 18px;
    flex: 0 0 auto;
    overflow: hidden;
    scroll-snap-align: start;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);

    transition:
        transform 0.3s ease,
        background 0.3s ease,
        box-shadow 0.3s ease;
}

.video-card:hover {
    transform: translateY(-5px);
    background: var(--card-background-hover);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
}

.carousel-button {
    position: absolute;
    top: 50%;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: var(--white);
    font-size: 1.2rem;
    cursor: pointer;
    border: 1px solid var(--border);
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.72);
    transform: translateY(-50%);
    transition:
        background 0.25s ease,
        transform 0.25s ease;
}

.carousel-button:hover,
.carousel-button:focus-visible {
    background: var(--green-bright);
    transform: translateY(-50%) scale(1.08);
}

.carousel-prev {
    left: 0;
}

.carousel-next {
    right: 0;
}

/* TABLET */

@media (max-width: 900px) {
    .video-card {
        min-width: calc((100% - 22px) / 2);
        max-width: calc((100% - 22px) / 2);
    }
}

/* TELÉFONOS */

@media (max-width: 600px) {
    .gallery-carousel {
        padding: 0 42px;
    }

    .video-card {
        min-width: 100%;
        max-width: 100%;
    }

    .carousel-button {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
}

.video-card {
    padding: 18px;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);

    transition:
        transform 0.3s ease,
        background 0.3s ease,
        box-shadow 0.3s ease;
}

.video-card:hover {
    transform: translateY(-6px);
    background: var(--card-background-hover);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
}

.video-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border-radius: 18px;
    background: #000000;
}

.video-wrapper iframe {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-card h3 {
    margin-top: 15px;
    line-height: 1.5;
}

.no-results {
    margin-top: 25px;
    padding: 18px;
    color: rgba(255, 255, 255, 0.9);
}

/* FOOTER */

.site-footer {
    margin-top: 55px;
    padding: 42px 20px 130px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.28);
}

.footer-logo {
    width: 90px;
    height: auto;
    margin-bottom: 16px;
    border-radius: 50%;
}

.site-footer h2 {
    margin-bottom: 10px;
}

.site-footer p {
    margin-top: 7px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
}

.footer-copy {
    margin-top: 20px !important;
    font-size: 0.9rem;
}

/* BARRA INFERIOR DE REDES SOCIALES */

.social-navbar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1000;

    display: flex;
    align-items: stretch;
    justify-content: center;

    min-height: 76px;
    padding:
        8px
        max(12px, env(safe-area-inset-right))
        calc(8px + env(safe-area-inset-bottom))
        max(12px, env(safe-area-inset-left));

    border-top: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(0, 0, 0, 0.82);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.social-navbar a {
    display: flex;
    width: min(220px, 33.333%);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;

    padding: 8px;
    color: var(--white);
    text-decoration: none;
    border-radius: 14px;

    transition:
        color 0.25s ease,
        transform 0.25s ease,
        background 0.25s ease;
}

.social-navbar a i {
    font-size: 1.5rem;
}

.social-navbar a span {
    font-size: 0.76rem;
    font-weight: 600;
}

.social-navbar a:hover,
.social-navbar a:focus-visible {
    color: var(--gold);
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

/* RESPONSIVE */

@media (max-width: 768px) {
    body {
        padding-bottom: 86px;
    }

    .hero-header {
        flex-direction: column;
        gap: 16px;
    }

    .logo {
        width: 125px;
    }

    .main-container {
        padding: 0 14px;
    }

    .content-card,
    .verse-card {
        padding: 22px 16px;
        border-radius: 22px;
    }

    .section-heading {
        flex-direction: column;
        gap: 10px;
    }

    .section-heading > i {
        font-size: 2.6rem;
    }

    .radio-player {
        padding: 20px 14px;
    }

    .play-btn {
        width: 80px;
        height: 80px;
    }

    .volume-section {
        flex-direction: column;
    }

    .volume-section input {
        width: 90%;
    }

    .tv-player-container {
        border-radius: 14px;
    }

    .vimeo-button {
        width: 100%;
        max-width: 360px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .site-footer {
        padding-bottom: 125px;
    }
}

@media (max-width: 420px) {
    .social-navbar a span {
        font-size: 0.7rem;
    }

    .social-navbar a i {
        font-size: 1.35rem;
    }
}

/* ==================================================
   PÁGINA 404
================================================== */

.error-page {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
    padding-bottom: 92px;
}

.error-main {
    display: flex;
    width: 100%;
    flex: 1;
    align-items: center;
    justify-content: center;
    padding: 45px 20px 30px;
}

.error-card {
    position: relative;
    width: min(760px, 100%);
    padding: 42px 34px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 32px;
    background: rgba(255, 255, 255, 0.1);
    box-shadow:
        0 20px 55px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.error-card::before {
    position: absolute;
    top: -120px;
    left: 50%;
    width: 340px;
    height: 340px;
    content: "";
    border-radius: 50%;
    background: rgba(46, 204, 113, 0.16);
    filter: blur(45px);
    transform: translateX(-50%);
    pointer-events: none;
}

.error-logo-link {
    position: relative;
    z-index: 1;
    display: inline-block;
}

.error-logo {
    width: 115px;
    height: auto;
    border-radius: 50%;
    box-shadow:
        0 0 0 5px rgba(255, 255, 255, 0.08),
        0 0 35px rgba(255, 255, 255, 0.25);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.error-logo-link:hover .error-logo,
.error-logo-link:focus-visible .error-logo {
    transform: scale(1.05);
    box-shadow:
        0 0 0 5px rgba(255, 255, 255, 0.12),
        0 0 45px rgba(46, 204, 113, 0.45);
}

.error-station-name {
    position: relative;
    z-index: 1;
    margin-top: 17px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.error-code {
    position: relative;
    z-index: 1;
    margin: 8px 0 2px;
    color: var(--gold);
    font-size: clamp(6rem, 18vw, 10rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.07em;
    text-shadow:
        0 0 18px rgba(212, 175, 55, 0.35),
        0 0 45px rgba(212, 175, 55, 0.2);
    animation: errorGlow 3s ease-in-out infinite;
}

@keyframes errorGlow {
    0%,
    100% {
        transform: scale(1);
        text-shadow:
            0 0 18px rgba(212, 175, 55, 0.35),
            0 0 45px rgba(212, 175, 55, 0.2);
    }

    50% {
        transform: scale(1.025);
        text-shadow:
            0 0 26px rgba(212, 175, 55, 0.55),
            0 0 60px rgba(212, 175, 55, 0.3);
    }
}

.error-card h1 {
    position: relative;
    z-index: 1;
    margin-top: 8px;
    font-size: clamp(1.8rem, 5vw, 2.6rem);
}

.error-description {
    position: relative;
    z-index: 1;
    max-width: 610px;
    margin: 16px auto 0;
    color: rgba(255, 255, 255, 0.84);
    font-size: 1.05rem;
    line-height: 1.7;
}

.error-verse {
    position: relative;
    z-index: 1;
    width: min(560px, 100%);
    margin: 28px auto;
    padding: 22px 20px;
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 22px;
    background: rgba(0, 0, 0, 0.2);
}

.error-verse > i {
    margin-bottom: 12px;
    color: var(--gold);
    font-size: 2rem;
}

.error-verse p {
    font-size: 1.08rem;
    font-style: italic;
    line-height: 1.7;
}

.error-verse cite {
    display: block;
    margin-top: 10px;
    color: var(--gold);
    font-style: normal;
    font-weight: 700;
}

.error-actions {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 25px;
}

.error-button {
    display: inline-flex;
    min-height: 54px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 25px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 17px;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}

.error-button-primary {
    color: var(--white);
    background:
        linear-gradient(
            135deg,
            var(--green-bright),
            var(--green-light)
        );
    box-shadow: 0 0 25px rgba(46, 204, 113, 0.38);
}

.error-button-secondary {
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
}

.error-button:hover,
.error-button:focus-visible {
    transform: translateY(-4px);
}

.error-button-primary:hover,
.error-button-primary:focus-visible {
    box-shadow: 0 0 38px rgba(46, 204, 113, 0.62);
}

.error-button-secondary:hover,
.error-button-secondary:focus-visible {
    background: rgba(255, 255, 255, 0.16);
}

.error-help {
    position: relative;
    z-index: 1;
    max-width: 590px;
    margin: 26px auto 0;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.92rem;
    line-height: 1.6;
}

.error-footer {
    padding: 24px 20px 115px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.18);
}

.error-footer p {
    margin-top: 5px;
    color: rgba(255, 255, 255, 0.75);
}

.error-footer p:first-child {
    color: var(--white);
    font-weight: 700;
}

.error-copyright {
    margin-top: 14px !important;
    font-size: 0.85rem;
}

/* ACCESIBILIDAD */

@media (prefers-reduced-motion: reduce) {
    .error-code {
        animation: none;
    }

    .error-logo,
    .error-button {
        transition: none;
    }
}

/* RESPONSIVE */

@media (max-width: 600px) {
    .error-main {
        align-items: flex-start;
        padding: 24px 14px;
    }

    .error-card {
        padding: 30px 17px;
        border-radius: 24px;
    }

    .error-logo {
        width: 92px;
    }

    .error-code {
        margin-top: 15px;
    }

    .error-description {
        font-size: 0.98rem;
    }

    .error-verse {
        margin: 23px auto;
        padding: 18px 14px;
    }

    .error-actions {
        flex-direction: column;
        gap: 12px;
    }

    .error-button {
        width: 100%;
        max-width: 350px;
    }

    .error-footer {
        padding-bottom: 115px;
    }
}

/* REPRODUCTOR VIDEO.JS */

.tv-player-container .video-js {
    width: 100% !important;
    height: 100% !important;
    aspect-ratio: 16 / 9;
    background: #000000;
}

.tv-player-container .video-js .vjs-big-play-button {
    width: 70px;
    height: 70px;
    line-height: 66px;
    border: 2px solid var(--white);
    border-radius: 50%;
    background: rgba(46, 204, 113, 0.82);
    transition: transform 0.25s ease, background 0.25s ease;
}

.tv-player-container .video-js .vjs-big-play-button:hover {
    background: var(--green-bright);
    transform: scale(1.08);
}

.tv-player-container .video-js .vjs-control-bar {
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(5px);
}

.tv-player-container .video-js .vjs-play-progress,
.tv-player-container .video-js .vjs-volume-level {
    background: var(--green-bright);
}

.tv-actions {
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.hls-button,
.tv-actions .vimeo-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 12px 22px;
    color: var(--white);
    font-weight: 700;
    text-decoration: none;
    border: 1px solid var(--border);
    border-radius: 18px;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.3);
    transition: transform 0.25s ease, background 0.25s ease;
}

.hls-button:hover,
.hls-button:focus-visible,
.tv-actions .vimeo-button:hover,
.tv-actions .vimeo-button:focus-visible {
    transform: translateY(-3px);
    background: var(--green-light);
}

.tv-actions .vimeo-button.is-fullscreen {
    background: #b72c2c;
}

.tv-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 13px;
    color: var(--white);
    font-size: 0.82rem;
    font-weight: 700;
    border-radius: 999px;
}

.tv-status-badge i {
    font-size: 0.6rem;
}

.tv-status-badge.online { background: #218c4b; }
.tv-status-badge.offline { background: #b72c2c; }
.tv-status-badge.loading { background: #b47716; }

/* GALERÍA DE VIDEOS */

.gallery-section {
    overflow: hidden;
}

.gallery-section .gallery-carousel {
    margin-top: 5px;
}

.daily-verse-icon {
    color: var(--gold);
    font-size: 2.5rem;
}

@media (max-width: 768px) {
    .tv-actions {
        flex-direction: column;
    }

    .hls-button,
    .tv-actions .vimeo-button {
        width: 100%;
        max-width: 360px;
    }

    .tv-status-badge {
        margin-top: 2px;
    }

    .tv-player-container .video-js .vjs-big-play-button {
        width: 54px;
        height: 54px;
        line-height: 50px;
    }
}

/* ==================================================
   TARJETAS DE CRISTAL ESTABLES
   Mantiene el mismo estilo en Radio, TV, Galería y Versículo
   sin cambios de transparencia al interactuar con videos.
================================================== */

.content-card,
.verse-card {
    position: relative;
    isolation: isolate;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.content-card::before,
.verse-card::before {
    position: absolute;
    inset: 0;
    z-index: -1;
    content: "";
    border-radius: inherit;
    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.115),
            rgba(255, 255, 255, 0.075)
        );
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    pointer-events: none;
}

/* Evita que Video.js y YouTube alteren la composición visual de la tarjeta. */
.tv-section,
.gallery-section {
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.tv-section .section-heading,
.gallery-section .section-heading {
    position: relative;
    z-index: 2;
    opacity: 1;
    filter: none;
    transform: none;
}

.tv-player-container,
.gallery-track,
.video-card {
    position: relative;
    z-index: 1;
}

/* El hover se conserva solamente en los controles y tarjetas de video. */
.tv-section:hover,
.gallery-section:hover,
.tv-section:focus-within,
.gallery-section:focus-within {
    background: transparent;
    opacity: 1;
}
