/* =========================================================
   PelisPlusFlix — GLOBAL CSS
   PGHD v3.0
   Diseño unificado — Películas / Series / Directorios
========================================================= */


/* =========================================================
   01. VARIABLES
========================================================= */

:root {

    --pg-purple: #3b9cff;
    --pg-purple-light: #67b5ff;
    --pg-purple-dark: #1976d2;

    --pg-bg: #223143;
    --pg-bg-2: #1d2a3a;
    --pg-surface: #27384a;
    --pg-surface-2: #2c3e51;
    --pg-surface-3: #32465a;

    --pg-text: #ffffff;
    --pg-text-soft: #c4c5ce;
    --pg-text-muted: #858794;

    --pg-border: rgba(255,255,255,.075);

    --pg-container: 1400px;
    --pg-side-space: 40px;

    --pg-header-height: 72px;

    --pg-radius: 18px;
    --pg-radius-sm: 12px;

    --pg-shadow:
        0 25px 70px rgba(0,0,0,.35);
}


/* =========================================================
   02. RESET
========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;

    min-width: 0;

    background:
        radial-gradient(
            circle at 50% -10%,
            rgba(74,168,255,.10),
            transparent 35%
        ),
        var(--pg-bg);

    color: var(--pg-text);

    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Arial,
        sans-serif;

    overflow-x: hidden;

    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

iframe {
    display: block;
    max-width: 100%;
}

button,
input,
textarea,
select {
    font: inherit;
}

main,
section,
article,
div {
    min-width: 0;
}


/* =========================================================
   03. CONTENEDOR GLOBAL
========================================================= */

.pg-container,
.pg-header-inner,
.pg-content,
.pg-footer-inner,
.pghd-header-inner,
.pghd-container,
.directory-wrapper {

    width: min(
        var(--pg-container),
        calc(100% - (var(--pg-side-space) * 2))
    );

    margin-left: auto;
    margin-right: auto;

    min-width: 0;
}


/* =========================================================
   04. HEADER INDEX
========================================================= */

.pg-header,
.pghd-header {

    position: sticky;

    top: 0;

    z-index: 1000;

    width: 100%;

    height: var(--pg-header-height);

    background:
        linear-gradient(
            180deg,
            rgba(27,41,57,.97),
            rgba(27,41,57,.90)
        );

    border-bottom:
        1px solid rgba(255,255,255,.055);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.pg-header-inner,
.pghd-header-inner {

    height: var(--pg-header-height);

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;
}


/* =========================================================
   05. LOGO INDEX
========================================================= */

.pg-logo {

    display: inline-flex;

    align-items: center;

    gap: 9px;

    color: #ffffff;

    font-size: 24px;

    font-weight: 900;

    letter-spacing: -1px;

    white-space: nowrap;

    flex-shrink: 0;
}

.pg-logo-mark {

    width: 34px;
    height: 34px;

    display: flex;

    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    border-radius: 10px;

    background:
        linear-gradient(
            135deg,
            #4aa8ff,
            #1976d2
        );

    box-shadow:
        0 8px 30px rgba(25,118,210,.35);
}

.pg-logo-mark::after {

    content: "▶";

    color: #ffffff;

    font-size: 13px;

    transform: translateX(1px);
}

.pg-logo span:not(.pg-logo-mark) {

    background:
        linear-gradient(
            90deg,
            #ffffff,
            #82c4ff
        );

    -webkit-background-clip: text;
    background-clip: text;

    color: transparent;
}

.pg-logo {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.pg-logo-image {
    display: block;
    width: auto;
    height: 42px;
    max-width: 190px;
    object-fit: contain;
}

@media (max-width: 700px) {
    .pg-logo-image {
        height: 36px;
        max-width: 160px;
    }
}

@media (max-width: 520px) {
    .pg-logo-image {
        height: 32px;
        max-width: 145px;
    }
}

.pghd-logo {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.pghd-logo-image {
    display: block;
    width: auto;
    height: 42px;
    max-width: 190px;
    object-fit: contain;
}

@media (max-width: 700px) {
    .pghd-logo-image {
        height: 36px;
        max-width: 160px;
    }
}

@media (max-width: 520px) {
    .pghd-logo-image {
        height: 32px;
        max-width: 145px;
    }
}

/* =========================================================
   06. LOGO PELÍCULA
========================================================= */

.pghd-logo {

    display: inline-flex;

    align-items: center;

    color: #ffffff;

    font-size: 24px;

    font-weight: 900;

    letter-spacing: -1px;

    white-space: nowrap;

    flex-shrink: 0;
}

.pghd-logo span {
    color: var(--pg-purple);
}


/* =========================================================
   07. NAVIGATION
========================================================= */

.pg-nav,
.pghd-nav {

    display: flex;

    align-items: center;

    gap: 26px;

    margin-left: auto;

    flex-shrink: 0;
}

.pg-nav a,
.pghd-nav a {

    color: #b8b8c0;

    font-size: 14px;

    font-weight: 600;

    transition:
        color .2s ease,
        transform .2s ease;
}

.pg-nav a:hover,
.pghd-nav a:hover {

    color: #ffffff;

    transform: translateY(-1px);
}


/* =========================================================
   08. HOME BUTTON
========================================================= */

.pg-home {

    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 40px;

    padding: 0 16px;

    border:
        1px solid rgba(255,255,255,.08);

    border-radius: 10px;

    background: rgba(255,255,255,.055);

    color: #ffffff;

    font-size: 13px;

    font-weight: 700;

    transition:
        background .2s ease,
        border-color .2s ease,
        transform .2s ease;
}

.pg-home:hover {

    background: var(--pg-purple);

    border-color: var(--pg-purple);

    transform: translateY(-1px);
}


/* =========================================================
   09. HERO INDEX
========================================================= */

.pg-hero {

    position: relative;

    min-height: 500px;

    display: flex;

    align-items: center;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 75% 35%,
            rgba(74,168,255,.22),
            transparent 34%
        ),
        radial-gradient(
            circle at 20% 60%,
            rgba(74,168,255,.10),
            transparent 32%
        ),
        #1e2d3e;
}

.pg-hero::before {

    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            #1e2d3e 0%,
            rgba(30,45,62,.94) 35%,
            rgba(30,45,62,.45) 72%,
            #1e2d3e 100%
        );
}

.pg-hero::after {

    content: "";

    position: absolute;

    left: -10%;
    right: -10%;

    bottom: -180px;

    height: 300px;

    background: var(--pg-bg);

    filter: blur(35px);
}

.pg-hero-content {

    position: relative;

    z-index: 2;

    width: min(
        var(--pg-container),
        calc(100% - (var(--pg-side-space) * 2))
    );

    margin: 0 auto;

    padding: 80px 0 100px;
}

.pg-kicker {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    margin-bottom: 20px;

    color: #82c4ff;

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 1.6px;

    text-transform: uppercase;
}

.pg-kicker::before {

    content: "";

    width: 28px;

    height: 2px;

    border-radius: 10px;

    background: var(--pg-purple);
}

.pg-hero h1 {

    max-width: 780px;

    margin: 0 0 22px;

    font-size: clamp(40px, 5vw, 38px);

    line-height: 1.02;

    letter-spacing: -3px;

    font-weight: 900;
}

.pg-hero h1 span {

    background:
        linear-gradient(
            90deg,
            #ffffff,
            #82c4ff
        );

    -webkit-background-clip: text;
    background-clip: text;

    color: transparent;
}

.pg-hero-description {

    max-width: 720px;

    margin: 0 0 30px;

    color: #b5b5bd;

    font-size: 17px;

    line-height: 1.75;
}

.pg-hero-buttons {

    display: flex;

    gap: 12px;

    flex-wrap: wrap;
}


/* =========================================================
   10. BUTTONS
========================================================= */

.pg-button {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-height: 48px;

    padding: 0 22px;

    border-radius: 12px;

    font-size: 14px;

    font-weight: 800;

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.pg-button:hover {
    transform: translateY(-2px);
}

.pg-button-primary {

    background:
        linear-gradient(
            135deg,
            #4aa8ff,
            #1976d2
        );

    box-shadow:
        0 12px 35px rgba(25,118,210,.30);
}

.pg-button-secondary {

    background: rgba(255,255,255,.07);

    border:
        1px solid rgba(255,255,255,.10);
}


/* =========================================================
   11. SECTIONS
========================================================= */

.pg-section {

    margin-bottom: 65px;
}

.pg-section-header {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    margin-bottom: 22px;
}

.pg-section-title {

    margin: 0;

    font-size: 25px;

    line-height: 1.2;

    font-weight: 850;

    letter-spacing: -.7px;
}

.pg-section-title::before {

    content: "";

    display: inline-block;

    width: 4px;

    height: 23px;

    margin-right: 10px;

    vertical-align: -3px;

    border-radius: 5px;

    background:
        linear-gradient(
            180deg,
            #67b5ff,
            #1976d2
        );
}

.pg-section-subtitle {

    margin: 0 0 25px;

    color: #777b88;

    font-size: 14px;

    line-height: 1.6;
}

.pg-view-all {

    color: #67b5ff;

    font-size: 13px;

    font-weight: 700;
}


/* =========================================================
   12. MOVIE GRID
========================================================= */

.pg-grid {

    display: grid;

    grid-template-columns:
        repeat(5, minmax(0, 1fr));

    gap: 20px;

    width: 100%;
}


/* =========================================================
   13. MOVIE CARD
========================================================= */

.pg-card {

    position: relative;

    min-width: 0;

    transition:
        transform .28s ease;
}

.pg-card:hover {

    transform: translateY(-7px);
}

.pg-card-image {

    position: relative;

    width: 100%;

    aspect-ratio: 2 / 3;

    overflow: hidden;

    border-radius: 14px;

    background: var(--pg-surface);

    box-shadow:
        0 10px 30px rgba(0,0,0,.28);
}

.pg-card-image img {

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform .45s ease,
        filter .35s ease;
}

.pg-card:hover .pg-card-image img {

    transform: scale(1.06);

    filter: brightness(.65);
}

.pg-card-overlay {

    position: absolute;

    inset: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    opacity: 0;

    background:
        linear-gradient(
            180deg,
            transparent 20%,
            rgba(0,0,0,.82)
        );

    transition: opacity .3s ease;
}

.pg-card:hover .pg-card-overlay {
    opacity: 1;
}

.pg-play {

    width: 54px;
    height: 54px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #ffffff;

    color: #111111;

    font-size: 16px;

    box-shadow:
        0 10px 35px rgba(0,0,0,.45);
}

.pg-card-info {

    padding: 12px 2px 0;
}

.pg-card-title {

    margin: 0;

    color: #f5f5f7;

    font-size: 14px;

    line-height: 1.4;

    font-weight: 750;

    overflow: hidden;

    text-overflow: ellipsis;

    white-space: nowrap;
}

.pg-card-meta {

    display: flex;

    align-items: center;

    gap: 8px;

    margin-top: 7px;

    color: #85858d;

    font-size: 11px;
}

.pg-rating {
    color: #f4c95d;
    font-weight: 700;
}


/* =========================================================
   14. SEO BOX
========================================================= */

.pg-seo-box {

    margin: 30px 0 70px;

    padding: 32px;

    border:
        1px solid rgba(255,255,255,.07);

    border-radius: 18px;

    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,.045),
            rgba(255,255,255,.015)
        );

    box-shadow:
        0 20px 50px rgba(0,0,0,.18);
}

.pg-seo-box h2 {

    margin: 0 0 13px;

    font-size: 20px;
}

.pg-seo-box p {

    margin: 0;

    color: #9c9ca5;

    font-size: 14px;

    line-height: 1.8;
}


/* =========================================================
   15. PELÍCULA — CONTENEDOR
========================================================= */

.pghd-container {

    width: min(
        var(--pg-container),
        calc(100% - (var(--pg-side-space) * 2))
    );

    margin-left: auto;
    margin-right: auto;

    min-width: 0;
}


/* =========================================================
   16. BREADCRUMB
========================================================= */

.pghd-breadcrumb {

    width: 100%;

    padding: 28px 0 20px;

    color: #858895;

    font-size: 13px;

    line-height: 1.5;

    overflow: hidden;

    text-overflow: ellipsis;

    white-space: nowrap;
}

.pghd-breadcrumb a {
    color: #aaa;
}

.pghd-breadcrumb a:hover {
    color: #ffffff;
}

.pghd-breadcrumb span {

    margin: 0 8px;

    color: #666873;
}


/* =========================================================
   17. PLAYER SECTION
========================================================= */

.pghd-player-section {

    position: relative;

    width: 100%;

    display: flex;

    justify-content: center;

    background:
        radial-gradient(
            ellipse at center,
            rgba(74,168,255,.12),
            transparent 60%
        );
}


/* =========================================================
   18. PLAYER
========================================================= */

.pghd-player {

    position: relative;

    width: 100%;

    aspect-ratio: 16 / 9;

    max-height: 760px;

    overflow: hidden;

    margin: 0 auto;

    padding: 0;

    background: #000;

    border:
        1px solid rgba(255,255,255,.06);

    border-radius: 16px;

    box-shadow:
        0 30px 80px rgba(0,0,0,.58);
}

.pghd-player iframe {

    position: absolute;

    inset: 0;

    display: block;

    width: 100% !important;
    height: 100% !important;

    max-width: none !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;

    outline: 0;
}


/* =========================================================
   19. EMPTY PLAYER
========================================================= */

.pghd-no-player {

    position: absolute;

    inset: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 30px;

    color: #777;

    text-align: center;

    background: #172331;
}


/* =========================================================
   20. MOVIE CONTENT
========================================================= */

.pghd-content {

    width: 100%;

    padding: 48px 0 90px;
}


/* =========================================================
   21. MOVIE INFORMATION BOX
========================================================= */

.pghd-main {

    display: grid;

    grid-template-columns:
        240px minmax(0, 1fr);

    align-items: start;

    gap: 38px;

    width: 100%;

    padding: 32px;

    border:
        1px solid rgba(255,255,255,.075);

    border-radius: 22px;

    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,.045),
            rgba(255,255,255,.018)
        );

    box-shadow:
        0 25px 70px rgba(0,0,0,.28);
}


/* =========================================================
   22. MOVIE POSTER
========================================================= */

.pghd-poster {

    position: relative;

    width: 240px;

    max-width: 100%;

    overflow: hidden;

    border-radius: 15px;

    background: #2a3b4e;

    box-shadow:
        0 25px 55px rgba(0,0,0,.45);
}

.pghd-poster img {

    display: block;

    width: 100%;

    aspect-ratio: 2 / 3;

    object-fit: cover;
}


/* =========================================================
   23. MOVIE INFO
========================================================= */

.pghd-info {

    min-width: 0;

    align-self: center;
}

.pghd-info h1 {

    margin: 0 0 18px;

    color: #ffffff;

    font-size: clamp(30px, 4vw, 52px);

    line-height: 1.04;

    letter-spacing: -1.8px;

    font-weight: 900;

    overflow-wrap: anywhere;
}


/* =========================================================
   24. MOVIE META
========================================================= */

.pghd-meta {

    display: flex;

    flex-wrap: wrap;

    align-items: center;

    gap: 8px;

    margin-bottom: 22px;
}

.pghd-pill {

    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 34px;

    padding: 7px 11px;

    border:
        1px solid rgba(255,255,255,.07);

    border-radius: 9px;

    background: rgba(255,255,255,.055);

    color: #c4c5cc;

    font-size: 12px;

    white-space: nowrap;
}

.pghd-rating {

    background:
        linear-gradient(
            135deg,
            #4aa8ff,
            #3b9cff
        );

    border-color: transparent;

    color: #ffffff;

    font-weight: 800;
}


/* =========================================================
   25. MOVIE DESCRIPTION
========================================================= */

.pghd-description {

    width: 100%;

    max-width: 900px;

    margin: 0;

    color: #b3b5bf;

    font-size: 15px;

    line-height: 1.8;

    overflow-wrap: anywhere;
}


/* =========================================================
   26. MOVIE DETAILS
========================================================= */

.pghd-details {

    width: 100%;

    max-width: 900px;

    margin-top: 28px;

    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 14px 35px;
}

.pghd-detail {

    min-width: 0;

    color: #858895;

    font-size: 13px;

    line-height: 1.6;

    overflow-wrap: anywhere;
}

.pghd-detail strong {

    color: #ffffff;

    margin-right: 5px;
}


/* =========================================================
   27. MOVIE TAGS
========================================================= */

.pghd-tags {

    display: flex;

    flex-wrap: wrap;

    gap: 8px;

    margin-top: 24px;
}

.pghd-tags span {

    display: inline-flex;

    align-items: center;

    padding: 7px 10px;

    border:
        1px solid rgba(255,255,255,.06);

    border-radius: 8px;

    background: #2c3f52;

    color: #aaa;

    font-size: 11px;
}


/* =========================================================
   28. SERIES HERO
========================================================= */

.series-hero {

    position: relative;

    width: 100%;

    min-height: 470px;

    margin: 32px 0 55px;

    overflow: hidden;

    border:
        1px solid rgba(255,255,255,.07);

    border-radius: 24px;

    background: #27384a;

    box-shadow:
        0 25px 70px rgba(0,0,0,.28);
}

.series-hero::after {

    content: "";

    position: absolute;

    inset: 0;

    z-index: 1;

    background:
        linear-gradient(
            90deg,
            rgba(16,17,22,.98) 0%,
            rgba(16,17,22,.90) 40%,
            rgba(16,17,22,.60) 70%,
            rgba(16,17,22,.90) 100%
        );
}

.series-hero-bg {

    position: absolute;

    inset: -5%;

    width: 110%;
    height: 110%;

    background-position: center;

    background-size: cover;

    background-repeat: no-repeat;

    opacity: .28;

    filter: blur(5px);

    transform: scale(1.05);
}

.series-hero-content {

    position: relative;

    z-index: 2;

    display: grid;

    grid-template-columns:
        230px minmax(0, 1fr);

    align-items: center;

    gap: 38px;

    min-height: 470px;

    padding: 45px;
}


/* =========================================================
   29. SERIES POSTER
========================================================= */

.series-poster,
.series-poster-placeholder {

    display: block;

    width: 230px;

    max-width: 100%;

    aspect-ratio: 2 / 3;

    overflow: hidden;

    border-radius: 16px;
}

.series-poster {

    object-fit: cover;

    box-shadow:
        0 25px 60px rgba(0,0,0,.60);
}

.series-poster-placeholder {

    background:
        linear-gradient(
            135deg,
            #2e4256,
            #354b61
        );
}


/* =========================================================
   30. SERIES CONTENT
========================================================= */

.series-hero-content > div:last-child {

    min-width: 0;

    max-width: 850px;
}


/* =========================================================
   31. SERIES BADGE
========================================================= */

.series-badge {

    display: inline-flex;

    align-items: center;

    gap: 7px;

    margin-bottom: 15px;

    padding: 7px 11px;

    border:
        1px solid rgba(74,168,255,.30);

    border-radius: 999px;

    background: rgba(74,168,255,.14);

    color: #82c4ff;

    font-size: 12px;

    font-weight: 700;
}


/* =========================================================
   32. SERIES TITLE
========================================================= */

.series-title {

    max-width: 850px;

    margin: 0 0 18px;

    color: #ffffff;

    font-size: clamp(34px, 5vw, 60px);

    line-height: 1.02;

    letter-spacing: -2.2px;

    font-weight: 900;

    overflow-wrap: anywhere;
}


/* =========================================================
   33. SERIES DESCRIPTION
========================================================= */

.series-description {

    max-width: 720px;

    margin: 0;

    color: #b8bbc6;

    font-size: 15px;

    line-height: 1.8;
}


/* =========================================================
   34. SERIES META
========================================================= */

.series-meta {

    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 8px;

    margin-top: 22px;
}

.meta-pill {

    display: inline-flex;

    align-items: center;

    min-height: 34px;

    padding: 7px 11px;

    border:
        1px solid rgba(255,255,255,.08);

    border-radius: 9px;

    background: rgba(255,255,255,.065);

    color: #dfe0e6;

    font-size: 12px;

    white-space: nowrap;
}

.rating {
    color: #ffd75e;
}


/* =========================================================
   35. SEASONS
========================================================= */

.season {

    width: 100%;

    margin-bottom: 30px;

    overflow: hidden;

    border:
        1px solid rgba(255,255,255,.07);

    border-radius: 18px;

    background: #27384a;

    box-shadow:
        0 15px 40px rgba(0,0,0,.18);
}

.season-header {

    min-height: 64px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 15px;

    padding: 18px 20px;

    background: rgba(255,255,255,.025);

    border-bottom:
        1px solid rgba(255,255,255,.06);
}

.season-name {

    min-width: 0;

    margin: 0;

    color: #ffffff;

    font-size: 18px;

    line-height: 1.3;
}

.episode-count {

    flex-shrink: 0;

    color: #777b88;

    font-size: 13px;
}


/* =========================================================
   36. EPISODES GRID
========================================================= */

.episodes {

    width: 100%;

    display: grid;

    grid-template-columns:
        repeat(
            auto-fill,
            minmax(250px, 1fr)
        );

    gap: 13px;

    padding: 18px;

    min-width: 0;
}


/* =========================================================
   37. EPISODE CARD
========================================================= */

.episode {

    width: 100%;

    min-width: 0;

    display: flex;

    align-items: center;

    gap: 13px;

    padding: 11px;

    border:
        1px solid transparent;

    border-radius: 13px;

    background:
        linear-gradient(
            145deg,
            #2b3e51,
            #26384a
        );

    transition:
        transform .2s ease,
        background .2s ease,
        border-color .2s ease,
        box-shadow .2s ease;
}

.episode:hover {

    transform: translateY(-2px);

    background:
        linear-gradient(
            145deg,
            #354a60,
            #304357
        );

    border-color:
        rgba(74,168,255,.45);

    box-shadow:
        0 10px 30px rgba(0,0,0,.22);
}


/* =========================================================
   38. EPISODE IMAGE
========================================================= */

/*
   IMPORTANTE:
   El placeholder NO comparte las dimensiones
   de la miniatura.
*/

.episode-image {

    width: 88px;

    height: 58px;

    flex: 0 0 88px;

    display: block;

    overflow: hidden;

    border-radius: 9px;

    object-fit: cover;

    background: #3a4d60;
}


/* =========================================================
   38.1 PLACEHOLDER — EPISODIO SIN IMAGEN
========================================================= */

.episode-placeholder {

    width: 100%;

    min-width: 0;

    min-height: 82px;

    display: flex;

    align-items: center;

    gap: 13px;

    padding: 11px;

    box-sizing: border-box;

    border:
        1px solid transparent;

    border-radius: 13px;

    background:
        linear-gradient(
            145deg,
            #2b3e51,
            #26384a
        );

    color: #aeb0bc;

    text-align: left;

    overflow: hidden;

    transition:
        transform .2s ease,
        background .2s ease,
        border-color .2s ease,
        box-shadow .2s ease;
}


/* =========================================================
   PLACEHOLDER — HOVER
========================================================= */

.episode-placeholder:hover {

    transform: translateY(-2px);

    background:
        linear-gradient(
            145deg,
            #354a60,
            #304357
        );

    border-color:
        rgba(74,168,255,.45);

    box-shadow:
        0 10px 30px rgba(0,0,0,.22);
}


/* =========================================================
   38.2 PLACEHOLDER — MINIATURA SIN IMAGEN
========================================================= */

.episode-placeholder::before {

    content: "▶";

    width: 88px;

    height: 58px;

    flex: 0 0 88px;

    display: flex;

    align-items: center;

    justify-content: center;

    border:
        1px solid rgba(74,168,255,.18);

    border-radius: 9px;

    background:
        radial-gradient(
            circle at center,
            rgba(74,168,255,.18),
            transparent 70%
        ),
        #3a4d60;

    color: #67b5ff;

    font-size: 16px;

    box-shadow:
        0 8px 20px rgba(0,0,0,.25);
}


/* =========================================================
   39.1 PLACEHOLDER — INFO
========================================================= */

.episode-placeholder .episode-info {

    min-width: 0;

    flex: 1;
}


/* =========================================================
   MOBILE — PLACEHOLDER
========================================================= */

@media (max-width: 520px) {

    .episode-placeholder {

        min-height: 74px;

        padding: 10px;

        gap: 10px;

        font-size: 13px;
    }

    .episode-placeholder::before {

        width: 75px;

        height: 52px;

        flex-basis: 75px;

        border-radius: 8px;

        font-size: 14px;
    }

}


/* =========================================================
   39. EPISODE INFO
========================================================= */

.episode-info {

    min-width: 0;

    flex: 1;
}

.episode-number {

    margin-bottom: 5px;

    color: #67b5ff;

    font-size: 11px;

    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: .3px;
}

.episode-title {

    margin: 0;

    color: #ffffff;

    font-size: 14px;

    line-height: 1.35;

    font-weight: 700;

    overflow: hidden;

    white-space: nowrap;

    text-overflow: ellipsis;
}

.episode-play {

    margin-top: 5px;

    color: #777b88;

    font-size: 12px;
}

@media (max-width: 520px) {

    .episode-placeholder {

        min-height: 120px;

        padding: 25px 18px;

        font-size: 13px;

    }

    .episode-placeholder::before {

        width: 36px;
        height: 36px;

        flex-basis: 36px;

        margin-right: 11px;

        font-size: 12px;
    }
}

/* =========================================================
   40. SERIES TAGS
========================================================= */

.tags {

    display: flex;

    flex-wrap: wrap;

    gap: 9px;
}

.tag {

    display: inline-flex;

    align-items: center;

    padding: 9px 13px;

    border:
        1px solid rgba(255,255,255,.07);

    border-radius: 10px;

    background: #293c4f;

    color: #bfc1ca;

    font-size: 13px;
}


/* =========================================================
   41. DIRECTORIES
========================================================= */

.directory-wrapper {

    padding: 55px 0 80px;
}

.directory-header {

    margin-bottom: 35px;
}

.directory-kicker {

    margin-bottom: 8px;

    color: #4aa8ff;

    font-size: 13px;

    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 1.5px;
}

.directory-title {

    margin: 0 0 12px;

    color: #ffffff;

    font-size: 38px;

    line-height: 1.15;

    font-weight: 800;

    letter-spacing: -1px;
}

.directory-description {

    max-width: 820px;

    margin: 0;

    color: #92929e;

    font-size: 15px;

    line-height: 1.7;
}

.directory-info {

    margin-bottom: 20px;

    color: #777783;

    font-size: 14px;
}

.directory-info strong {
    color: #b5b5c0;
}

.directory-grid {

    display: grid;

    grid-template-columns:
        repeat(6, minmax(0, 1fr));

    gap: 24px 16px;
}

.directory-card {
    min-width: 0;
}

.directory-card-link {
    display: block;
}

.directory-poster {

    position: relative;

    width: 100%;

    aspect-ratio: 2 / 3;

    overflow: hidden;

    border-radius: 12px;

    background: #2b3e51;

    box-shadow:
        0 10px 25px rgba(0,0,0,.25);
}

.directory-poster img {

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform .35s ease,
        opacity .25s ease;
}

.directory-card:hover
.directory-poster img {

    transform: scale(1.055);

    opacity: .88;
}

.directory-overlay {

    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    padding: 50px 12px 12px;

    background:
        linear-gradient(
            to bottom,
            transparent,
            rgba(0,0,0,.86)
        );
}

.directory-year {

    margin-bottom: 3px;

    color: #c4c4ca;

    font-size: 12px;
}

.directory-name {

    display: -webkit-box;

    overflow: hidden;

    color: #ffffff;

    font-size: 14px;

    line-height: 1.35;

    font-weight: 700;

    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.directory-no-image {

    width: 100%;
    height: 100%;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 20px;

    text-align: center;

    color: #6f6f7a;

    font-size: 13px;
}


/* =========================================================
   42. PAGINATION
========================================================= */

.directory-pagination {

    display: flex;

    align-items: center;

    justify-content: center;

    flex-wrap: wrap;

    gap: 7px;

    margin-top: 50px;
}

.directory-page {

    min-width: 42px;
    height: 42px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    padding: 0 12px;

    border-radius: 8px;

    background: #2b3e51;

    color: #9999a5;

    font-size: 13px;

    font-weight: 700;

    transition:
        background .2s ease,
        color .2s ease;
}

.directory-page:hover {

    background: #3a4d60;

    color: #ffffff;
}

.directory-page.active {

    background: var(--pg-purple);

    color: #ffffff;
}

.directory-page.arrow {
    font-size: 18px;
}


/* =========================================================
   43. FOOTER
========================================================= */

.pg-footer {

    margin-top: 80px;

    padding: 45px 0;

    border-top:
        1px solid rgba(255,255,255,.06);

    color: #707078;
}

.pg-footer-inner {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;
}

.pg-footer-brand {

    color: #ffffff;

    font-weight: 800;
}

.pg-footer p {

    margin: 5px 0 0;

    font-size: 12px;
}

.pghd-footer {

    width: 100%;

    padding: 35px 20px;

    border-top:
        1px solid rgba(255,255,255,.06);

    color: #666a76;

    text-align: center;

    font-size: 13px;
}


/* =========================================================
   44. TABLET — 1100
========================================================= */

@media (max-width: 1100px) {

    .pg-grid {
        grid-template-columns:
            repeat(4, minmax(0, 1fr));
    }

    .directory-grid {
        grid-template-columns:
            repeat(5, minmax(0, 1fr));
    }

    .pghd-main {
        grid-template-columns:
            210px minmax(0, 1fr);
    }

    .pghd-poster {
        width: 210px;
    }

}


/* =========================================================
   45. TABLET — 900
========================================================= */

@media (max-width: 900px) {

    :root {
        --pg-side-space: 28px;
    }

    .directory-grid {
        grid-template-columns:
            repeat(4, minmax(0, 1fr));
    }

    .pghd-main {

        grid-template-columns:
            180px minmax(0, 1fr);

        gap: 25px;

        padding: 25px;
    }

    .pghd-poster {
        width: 180px;
    }

    .series-hero-content {

        grid-template-columns:
            170px minmax(0, 1fr);

        gap: 25px;

        min-height: 400px;

        padding: 32px;
    }

    .series-poster,
    .series-poster-placeholder {

        width: 170px;
    }

    .episodes {

        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


/* =========================================================
   46. TABLET / MOBILE — 800
========================================================= */

@media (max-width: 800px) {

    .pg-nav a:nth-child(2) {
       
    }

    .pg-nav,
    .pghd-nav {
        gap: 15px;
    }

    .pg-grid {

        grid-template-columns:
            repeat(3, minmax(0, 1fr));

        gap: 14px;
    }

    .pg-hero {
        min-height: 430px;
    }

    .pg-hero-content {
        padding: 65px 0 80px;
    }

    .pghd-header,
    .pghd-header-inner {

        height: 65px;
    }

    .pghd-nav {
        display: none;
    }

    .pghd-player {
        border-radius: 12px;
    }

}


/* =========================================================
   47. MOBILE — 700
========================================================= */

@media (max-width: 700px) {

    :root {
        --pg-side-space: 20px;
    }

    .pg-header,
    .pg-header-inner,
    .pghd-header,
    .pghd-header-inner {

        height: 62px;
    }

    .pg-logo,
    .pghd-logo {
        font-size: 21px;
    }

    .pg-logo-mark {
        width: 30px;
        height: 30px;
    }

    .pg-nav {
        gap: 10px;
    }

    .pg-nav a {
        font-size: 12px;
    }

    .pg-grid {

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 15px;
    }

    .pg-section {
        margin-bottom: 48px;
    }

    .pg-section-title {
        font-size: 21px;
    }

    .pg-hero-content {
        width: calc(100% - 40px);
    }

    .pg-hero h1 {
        font-size: 39px;
        letter-spacing: -2px;
    }

    .pg-hero-description {
        font-size: 14px;
        line-height: 1.65;
    }


    /* =========================
       MOVIE
    ========================= */

    .pghd-container {

        width: calc(100% - 40px);
    }

    .pghd-breadcrumb {

        padding: 20px 0 15px;

        font-size: 12px;
    }

    .pghd-content {
        padding: 30px 0 65px;
    }

    .pghd-main {

        grid-template-columns:
            115px minmax(0, 1fr);

        gap: 18px;

        padding: 18px;

        border-radius: 17px;
    }

    .pghd-poster {
        width: 115px;
        border-radius: 11px;
    }

    .pghd-info {
        align-self: start;
    }

    .pghd-info h1 {

        margin-bottom: 12px;

        font-size: 25px;

        line-height: 1.08;

        letter-spacing: -.8px;
    }

    .pghd-meta {

        gap: 6px;

        margin-bottom: 14px;
    }

    .pghd-pill {

        min-height: 30px;

        padding: 6px 8px;

        font-size: 10px;
    }

    .pghd-description {

        grid-column: 1 / -1;

        margin-top: 3px;

        font-size: 14px;

        line-height: 1.7;
    }

    .pghd-details {

        grid-column: 1 / -1;

        grid-template-columns: 1fr;

        margin-top: 20px;

        gap: 10px;
    }

    .pghd-tags {

        grid-column: 1 / -1;
    }


    /* =========================
       SERIES
    ========================= */

    .series-hero {

        margin: 18px 0 40px;

        min-height: auto;

        border-radius: 18px;
    }

    .series-hero-content {

        grid-template-columns:
            120px minmax(0, 1fr);

        gap: 18px;

        min-height: auto;

        padding: 24px 18px;
    }

    .series-poster,
    .series-poster-placeholder {

        width: 120px;

        border-radius: 12px;
    }

    .series-badge {

        margin-bottom: 9px;

        padding: 6px 9px;

        font-size: 10px;
    }

    .series-title {

        margin-bottom: 11px;

        font-size: 28px;

        letter-spacing: -1px;
    }

    .series-description {

        font-size: 13px;

        line-height: 1.6;
    }

    .series-meta {

        gap: 6px;

        margin-top: 14px;
    }

    .meta-pill {

        min-height: 30px;

        padding: 6px 8px;

        font-size: 10px;
    }

    .season {
        border-radius: 14px;
    }

    .season-header {
        padding: 15px;
    }

    .season-name {
        font-size: 16px;
    }

    .episodes {

        grid-template-columns: 1fr;

        padding: 12px;
    }

    .episode {
        padding: 10px;
    }


    /* =========================
       DIRECTORY
    ========================= */

    .directory-wrapper {

        width: calc(100% - 40px);

        padding-top: 35px;
    }

    .directory-title {
        font-size: 29px;
    }

    .directory-description {
        font-size: 14px;
    }

    .directory-grid {

        grid-template-columns:
            repeat(3, minmax(0, 1fr));

        gap: 18px 10px;
    }

    .directory-name {
        font-size: 12px;
    }

    .directory-overlay {
        padding: 35px 8px 8px;
    }

    .pg-footer-inner {

        flex-direction: column;

        align-items: flex-start;
    }

}


/* =========================================================
   48. MOBILE — 520
========================================================= */

@media (max-width: 520px) {

    :root {
        --pg-side-space: 16px;
    }

    .pg-logo,
    .pghd-logo {
        font-size: 19px;
    }

    .pg-nav a {
        font-size: 11px;
    }

    .pg-grid {
        gap: 13px;
    }

    .pg-card-title {
        font-size: 13px;
    }

    .pg-card-meta {
        font-size: 10px;
    }

    .pg-seo-box {
        padding: 22px;
    }


    /* MOVIE */

    .pghd-container {
        width: calc(100% - 32px);
    }

    .pghd-main {

        grid-template-columns:
            95px minmax(0, 1fr);

        gap: 15px;

        padding: 15px;
    }

    .pghd-poster {
        width: 95px;
    }

    .pghd-info h1 {
        font-size: 21px;
    }

    .pghd-description {
        font-size: 13px;
    }


    /* SERIES */

    .series-hero-content {

        grid-template-columns:
            100px minmax(0, 1fr);

        gap: 15px;

        padding: 20px 15px;
    }

    .series-poster,
    .series-poster-placeholder {
        width: 100px;
    }

    .series-title {
        font-size: 24px;
    }

    .series-description {
        font-size: 12px;
    }

    .episode-image,
    .episode-placeholder {

        width: 75px;
        height: 52px;

        flex-basis: 75px;
    }

    .episode-title {
        font-size: 13px;
    }

    .episode-number {
        font-size: 10px;
    }

    .episode-play {
        font-size: 11px;
    }

    .directory-grid {

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 18px 12px;
    }

}


/* =========================================================
   49. MOBILE — 430
========================================================= */

@media (max-width: 430px) {

    .pghd-main {

        grid-template-columns:
            82px minmax(0, 1fr);

        gap: 13px;

        padding: 13px;
    }

    .pghd-poster {
        width: 82px;
    }

    .pghd-info h1 {
        font-size: 19px;
    }

    .pghd-pill {
        font-size: 9px;
        padding: 5px 7px;
    }

    .series-hero-content {

        grid-template-columns:
            88px minmax(0, 1fr);

        gap: 13px;

        padding: 17px 12px;
    }

    .series-poster,
    .series-poster-placeholder {
        width: 88px;
    }

    .series-title {
        font-size: 21px;
    }

    .series-description {
        font-size: 11px;
    }

}


/* =========================================================
   50. VERY SMALL MOBILE
========================================================= */

@media (max-width: 360px) {

    .pghd-main {

        grid-template-columns:
            76px minmax(0, 1fr);

        gap: 11px;

        padding: 11px;
    }

    .pghd-poster {
        width: 76px;
    }

    .pghd-info h1 {
        font-size: 18px;
    }

    .series-hero-content {

        grid-template-columns:
            80px minmax(0, 1fr);

        gap: 11px;

        padding: 15px 10px;
    }

    .series-poster,
    .series-poster-placeholder {
        width: 80px;
    }

    .series-title {
        font-size: 19px;
    }

}


/* =========================================================
   51. OVERFLOW PROTECTION
========================================================= */

.pghd-container,
.pghd-player-section,
.pghd-player,
.pghd-content,
.pghd-main,
.pghd-info,
.series-hero,
.series-hero-content,
.series-hero-content > div,
.season,
.episodes,
.episode,
.episode-info,
.directory-wrapper,
.directory-grid {

    max-width: 100%;

    min-width: 0;
}

.pghd-info,
.pghd-detail,
.pghd-description,
.series-description,
.series-title {

    overflow-wrap: anywhere;
}

.pghd-player > * {
    max-width: 100%;
}


/* =========================================================
   52. ACCESSIBILITY / TOUCH
========================================================= */

@media (hover: none) {

    .pg-card:hover {
        transform: none;
    }

    .pg-card:hover .pg-card-image img {
        transform: none;
        filter: none;
    }

    .pg-card:hover .pg-card-overlay {
        opacity: 0;
    }

}

/* =========================================================
   53. EPISODE NAVIGATION
========================================================= */

.pg-episode-navigation {

    width: 100%;

    margin: 50px 0 60px;

    padding: 28px;

    border: 1px solid rgba(255,255,255,.07);

    border-radius: 20px;

    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,.045),
            rgba(255,255,255,.015)
        );

    box-shadow:
        0 20px 55px rgba(0,0,0,.22);

    overflow: hidden;
}


/* =========================================================
   HEADER
========================================================= */

.pg-episode-navigation-header {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    margin-bottom: 22px;

    padding-bottom: 18px;

    border-bottom:
        1px solid rgba(255,255,255,.06);
}

.pg-episode-navigation-header h2 {

    margin: 0;

    color: #ffffff;

    font-size: 20px;

    line-height: 1.3;

    font-weight: 850;

    letter-spacing: -.4px;
}

.pg-episode-navigation-header h2::before {

    content: "";

    display: inline-block;

    width: 4px;

    height: 20px;

    margin-right: 10px;

    vertical-align: -3px;

    border-radius: 5px;

    background:
        linear-gradient(
            180deg,
            #67b5ff,
            #3b9cff
        );
}

.pg-episode-navigation-header span {

    flex-shrink: 0;

    padding: 6px 10px;

    border:
        1px solid rgba(0,122,255,.25);

    border-radius: 8px;

    background:
        rgba(0,122,255,.10);

    color: #82c4ff;

    font-size: 12px;

    font-weight: 700;
}


/* =========================================================
   GRID
========================================================= */

.pg-episode-nav-grid {

    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 16px;

    width: 100%;
}


/* =========================================================
   CARD
========================================================= */

.pg-episode-nav-card {

    position: relative;

    display: flex;

    align-items: center;

    gap: 16px;

    width: 100%;

    min-width: 0;

    min-height: 108px;

    padding: 13px;

    border:
        1px solid rgba(255,255,255,.06);

    border-radius: 15px;

    background:
        linear-gradient(
            145deg,
            #2b3e51,
            #2a3b4e
        );

    color: inherit;

    overflow: hidden;

    transition:
        transform .25s ease,
        background .25s ease,
        border-color .25s ease,
        box-shadow .25s ease;
}

.pg-episode-nav-card:hover {

    transform: translateY(-3px);

    border-color:
        rgba(0,122,255,.40);

    background:
        linear-gradient(
            145deg,
            #354a60,
            #171821
        );

    box-shadow:
        0 14px 35px rgba(0,0,0,.28);
}


/* =========================================================
   LEFT / PREVIOUS
========================================================= */

.pg-episode-prev {

    text-align: left;
}


/* =========================================================
   RIGHT / NEXT
========================================================= */

.pg-episode-next {

    justify-content: flex-end;

    text-align: right;
}


/* =========================================================
   ARROWS
========================================================= */

.pg-episode-nav-arrow {

    flex: 0 0 42px;

    width: 42px;

    height: 42px;

    display: flex;

    align-items: center;

    justify-content: center;

    border:
        1px solid rgba(74,168,255,.22);

    border-radius: 50%;

    background:
        rgba(0,122,255,.12);

    color: #82c4ff;

    font-size: 21px;

    font-weight: 500;

    line-height: 1;

    transition:
        background .2s ease,
        color .2s ease,
        transform .2s ease;
}

.pg-episode-nav-card:hover
.pg-episode-nav-arrow {

    background:
        var(--pg-purple);

    border-color:
        var(--pg-purple);

    color: #ffffff;
}

.pg-episode-prev:hover
.pg-episode-nav-arrow {

    transform: translateX(-2px);
}

.pg-episode-next:hover
.pg-episode-nav-arrow {

    transform: translateX(2px);
}


/* =========================================================
   THUMBNAIL
========================================================= */

.pg-episode-nav-thumb {

    flex: 0 0 120px;

    width: 120px;

    height: 68px;

    display: block;

    object-fit: cover;

    border-radius: 10px;

    background: #3a4d60;

    box-shadow:
        0 8px 20px rgba(0,0,0,.30);
}


/* =========================================================
   PLACEHOLDER
========================================================= */

.pg-episode-nav-placeholder {

    display: flex;

    align-items: center;

    justify-content: center;

    flex: 0 0 120px;

    width: 120px;

    height: 68px;

    border:
        1px solid rgba(74,168,255,.18);

    border-radius: 10px;

    background:
        radial-gradient(
            circle at center,
            rgba(74,168,255,.18),
            transparent 70%
        ),
        #171821;

    color: #67b5ff;

    font-size: 18px;

    box-shadow:
        0 8px 20px rgba(0,0,0,.30);
}


/* =========================================================
   INFO
========================================================= */

.pg-episode-nav-info {

    min-width: 0;

    flex: 1;
}

.pg-episode-nav-info span {

    display: block;

    margin-bottom: 5px;

    color: #67b5ff;

    font-size: 10px;

    font-weight: 800;

    line-height: 1.2;

    letter-spacing: .8px;

    text-transform: uppercase;
}

.pg-episode-nav-info strong {

    display: -webkit-box;

    margin: 0;

    color: #ffffff;

    font-size: 13px;

    font-weight: 700;

    line-height: 1.4;

    overflow: hidden;

    text-overflow: ellipsis;

    -webkit-line-clamp: 2;

    -webkit-box-orient: vertical;
}

.pg-episode-nav-info small {

    display: block;

    margin-top: 7px;

    color: #777b88;

    font-size: 11px;

    line-height: 1.3;

    transition: color .2s ease;
}

.pg-episode-nav-card:hover
.pg-episode-nav-info small {

    color: #aaa8b8;
}


/* =========================================================
   PREVIOUS — ORDEN
========================================================= */

.pg-episode-prev
.pg-episode-nav-arrow {

    order: 1;
}

.pg-episode-prev
.pg-episode-nav-thumb {

    order: 2;
}

.pg-episode-prev
.pg-episode-nav-info {

    order: 3;
}


/* =========================================================
   NEXT — ORDEN
========================================================= */

.pg-episode-next
.pg-episode-nav-info {

    order: 1;
}

.pg-episode-next
.pg-episode-nav-thumb {

    order: 2;
}

.pg-episode-next
.pg-episode-nav-arrow {

    order: 3;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 800px) {

    .pg-episode-navigation {

        margin: 40px 0 50px;

        padding: 20px;
    }

    .pg-episode-nav-grid {

        grid-template-columns: 1fr;

        gap: 12px;
    }

    .pg-episode-next {

        justify-content: flex-start;

        text-align: left;
    }

    .pg-episode-next
    .pg-episode-nav-info {

        order: 2;
    }

    .pg-episode-next
    .pg-episode-nav-thumb {

        order: 1;
    }

    .pg-episode-next
    .pg-episode-nav-arrow {

        order: 3;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 520px) {

    .pg-episode-navigation {

        margin: 35px 0 45px;

        padding: 16px;

        border-radius: 16px;
    }

    .pg-episode-navigation-header {

        align-items: flex-start;

        flex-direction: column;

        gap: 10px;

        margin-bottom: 16px;
    }

    .pg-episode-navigation-header h2 {

        font-size: 18px;
    }

    .pg-episode-nav-card {

        gap: 10px;

        min-height: 90px;

        padding: 10px;

        border-radius: 12px;
    }

    .pg-episode-nav-arrow {

        flex-basis: 34px;

        width: 34px;

        height: 34px;

        font-size: 17px;
    }

    .pg-episode-nav-thumb,
    .pg-episode-nav-placeholder {

        flex-basis: 90px;

        width: 90px;

        height: 55px;

        border-radius: 8px;
    }

    .pg-episode-nav-info span {

        font-size: 9px;
    }

    .pg-episode-nav-info strong {

        font-size: 12px;
    }

    .pg-episode-nav-info small {

        font-size: 10px;
    }

}


/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 380px) {

    .pg-episode-nav-thumb,
    .pg-episode-nav-placeholder {

        flex-basis: 75px;

        width: 75px;

        height: 50px;
    }

    .pg-episode-nav-arrow {

        flex-basis: 30px;

        width: 30px;

        height: 30px;

        font-size: 15px;
    }

    .pg-episode-nav-info strong {

        font-size: 11px;
    }

    .pg-episode-nav-info small {

        display: none;
    }

}

/* =========================================================
   BOX SEO
========================================================= */

.pghd-seo-box {
    width: 100%;
    margin-top: 28px;
    padding: 0;
    box-sizing: border-box;
}

.pghd-seo-inner {
    width: 100%;
    padding: 32px;
    box-sizing: border-box;

    background:
        linear-gradient(
            145deg,
            #2c3f52,
            #1b1c24
        );

    border: 1px solid rgba(0,122,255,.14);
    border-radius: 18px;
}


/* =========================================================
   TÍTULO
========================================================= */

.pghd-seo-inner h2 {
    margin: 0 0 14px;

    color: #fff;

    font-size: 25px;
    line-height: 1.3;
    font-weight: 800;
}


.pghd-seo-inner h3 {
    margin: 0 0 12px;

    color: #fff;

    font-size: 19px;
    line-height: 1.4;
    font-weight: 750;
}


.pghd-seo-inner h4 {
    margin: 0 0 7px;

    color: #fff;

    font-size: 15px;
    line-height: 1.45;
    font-weight: 700;
}


/* =========================================================
   TEXTOS
========================================================= */

.pghd-seo-intro,
.pghd-seo-description p,
.pghd-faq-item p {
    margin: 0;

    color: #9699a6;

    font-size: 14px;
    line-height: 1.75;
}


.pghd-seo-intro strong,
.pghd-seo-description strong {
    color: #d9d7ff;
    font-weight: 700;
}


/* =========================================================
   INFORMACIÓN RÁPIDA
========================================================= */

.pghd-seo-facts {
    display: grid;

    grid-template-columns:
        repeat(
            auto-fit,
            minmax(140px, 1fr)
        );

    gap: 10px;

    margin-top: 25px;
}


.pghd-seo-fact {
    padding: 15px;

    background: rgba(255,255,255,.025);

    border: 1px solid rgba(255,255,255,.055);

    border-radius: 12px;
}


.pghd-seo-fact-label {
    display: block;

    margin-bottom: 5px;

    color: #707481;

    font-size: 11px;

    text-transform: uppercase;

    letter-spacing: .06em;
}


.pghd-seo-fact strong {
    display: block;

    color: #e9e9ed;

    font-size: 13px;

    line-height: 1.5;
}


/* =========================================================
   DESCRIPCIÓN SEO
========================================================= */

.pghd-seo-description {
    margin-top: 28px;

    padding-top: 26px;

    border-top:
        1px solid
        rgba(255,255,255,.06);
}


.pghd-seo-description p + p {
    margin-top: 12px;
}


/* =========================================================
   FAQ
========================================================= */

.pghd-faq {
    margin-top: 30px;

    padding-top: 26px;

    border-top:
        1px solid
        rgba(255,255,255,.06);
}


.pghd-faq-item {
    padding: 18px 0;

    border-bottom:
        1px solid
        rgba(255,255,255,.05);
}


.pghd-faq-item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .pghd-seo-inner {
        padding: 23px 18px;

        border-radius: 15px;
    }


    .pghd-seo-inner h2 {
        font-size: 21px;
    }


    .pghd-seo-inner h3 {
        font-size: 17px;
    }


    .pghd-seo-intro,
    .pghd-seo-description p,
    .pghd-faq-item p {
        font-size: 13px;

        line-height: 1.7;
    }


    .pghd-seo-facts {
        grid-template-columns:
            repeat(2, 1fr);
    }

}

/* =========================================================
   CARGAR MÁS TEMPORADAS
========================================================= */

.series-load-more-wrapper {
    display: flex;
    justify-content: center;
    margin: 22px 0 5px;
}

.series-load-more {
    appearance: none;
    border: 1px solid rgba(108, 82, 238, .35);
    background: rgba(108, 82, 238, .10);
    color: #fff;
    padding: 11px 22px;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition:
        background .2s ease,
        border-color .2s ease,
        transform .2s ease,
        opacity .2s ease;
}

.series-load-more:hover {
    background: rgba(108, 82, 238, .18);
    border-color: rgba(108, 82, 238, .60);
    transform: translateY(-1px);
}

.series-load-more:disabled {
    cursor: wait;
    opacity: .65;
    transform: none;
}

@media (max-width: 600px) {

    .series-load-more {
        width: 100%;
        padding: 12px 18px;
    }

}
/* =========================================================
   CONTROL DE ORDEN DE TEMPORADAS
========================================================= */

.series-season-controls {
    display: flex;
    justify-content: flex-start;
    margin: 14px 0 20px;
}

.series-order-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 9px 14px;

    border: 1px solid rgba(108, 82, 238, .30);
    border-radius: 8px;

    background: rgba(108, 82, 238, .08);

    color: #fff;

    font-size: 12px;
    font-weight: 600;

    cursor: pointer;

    transition:
        background .2s ease,
        border-color .2s ease,
        transform .2s ease;
}

.series-order-toggle:hover {
    background: rgba(108, 82, 238, .16);
    border-color: rgba(108, 82, 238, .55);
    transform: translateY(-1px);
}

.series-order-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 22px;
    height: 22px;

    border-radius: 5px;

    background: rgba(108, 82, 238, .18);

    font-size: 13px;
}

.series-order-text {
    line-height: 1;
}

@media (max-width: 600px) {

    .series-season-controls {
        margin-top: 12px;
    }

    .series-order-toggle {
        width: 100%;
        justify-content: center;
    }

}

/* =========================================================
   CONTENEDOR
========================================================= */

.pg-episodes-section {
    margin-top: 35px;
}


/* =========================================================
   CABECERA
========================================================= */

.pg-episodes-heading {
    margin-bottom: 18px;
}

.pg-episodes-kicker {
    display: block;
    margin-bottom: 5px;
    color: #3b9cff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
}


/* =========================================================
   TEMPORADA
========================================================= */

.season {
    margin-bottom: 9px;
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 10px;
    background: #2c3f52;
    overflow: hidden;
}


/* =========================================================
   HEADER TEMPORADA
========================================================= */

.season-header {
    width: 100%;
    min-height: 52px;
    padding: 0 15px;
    border: 0;
    background: transparent;
    color: #fff;
    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: space-between;

    text-align: left;
}

.season-header:hover {
    background: rgba(0,122,255,.06);
}

.season-header-left,
.season-header-right {
    display: flex;
    align-items: center;
}

.season-header-left {
    min-width: 0;
    gap: 9px;
}

.season-header-right {
    gap: 12px;
}


.season-icon {
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 7px;
    background: rgba(0,122,255,.12);

    color: #8a75f2;
    font-size: 9px;
}


.season-name {
    font-size: 14px;
    font-weight: 700;
}


.episode-count {
    color: #747785;
    font-size: 11px;
}


.season-arrow {
    color: #777987;
    font-size: 9px;
    transition: transform .2s ease;
}


.season.open .season-arrow {
    transform: rotate(180deg);
}


/* =========================================================
   BADGE
========================================================= */

.series-badge {
    padding: 3px 7px;
    border-radius: 5px;
    background: rgba(0,122,255,.12);
    color: #927ff5;
    font-size: 9px;
    font-weight: 700;
}


/* =========================================================
   CONTENEDOR
========================================================= */

.episodes-container {
    display: none;
    padding: 0 12px 12px;
}

.season.open .episodes-container {
    display: block;
}


/* =========================================================
   GRID
========================================================= */

.episodes {
    display: grid;
    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 8px;
}


/* =========================================================
   EPISODIO
========================================================= */

.episode {
    position: relative;
    display: flex;
    align-items: center;
    min-width: 0;

    padding: 7px;

    border: 1px solid rgba(255,255,255,.05);
    border-radius: 8px;

    background: #27384a;

    color: #fff;
    text-decoration: none;

    transition:
        transform .15s ease,
        border-color .15s ease,
        background .15s ease;
}

.episode:hover {
    transform: translateY(-1px);
    border-color: rgba(0,122,255,.35);
    background: #171821;
}


.episode.current {
    border-color: rgba(0,122,255,.65);
    background: rgba(0,122,255,.09);
}


/* =========================================================
   IMAGEN
========================================================= */

.episode-image,
.episode-image-placeholder {
    flex: 0 0 55px;
    width: 55px;
    height: 34px;

    object-fit: cover;

    border-radius: 5px;
}


.episode-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;

    background: #20212a;

    color: #777;
    font-size: 11px;
}


/* =========================================================
   NUMERO
========================================================= */

.episode-number {
    flex: 0 0 auto;

    margin-left: 7px;

    color: #8f80e9;

    font-size: 9px;
    font-weight: 800;
}


/* =========================================================
   TITULO
========================================================= */

.episode-title {
    min-width: 0;
    margin-left: 6px;

    overflow: hidden;

    color: #c9cad1;

    font-size: 10px;
    line-height: 1.3;

    white-space: nowrap;
    text-overflow: ellipsis;
}


.episode.current .episode-title {
    color: #fff;
    font-weight: 700;
}


/* =========================================================
   BADGE VIENDO
========================================================= */

.episode-current-badge {
    position: absolute;
    top: 5px;
    right: 5px;

    padding: 2px 5px;

    border-radius: 4px;

    background: #3b9cff;

    color: #fff;

    font-size: 7px;
    font-weight: 800;
}


/* =========================================================
   LOAD MORE
========================================================= */

.pg-load-more {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    width: 100%;

    margin-top: 12px;
    padding: 11px;

    border: 1px solid rgba(0,122,255,.20);
    border-radius: 8px;

    background: rgba(0,122,255,.06);

    color: #fff;

    cursor: pointer;

    transition: .2s ease;
}

.pg-load-more:hover {
    background: rgba(0,122,255,.12);
    border-color: rgba(0,122,255,.35);
}

.pg-load-more.loading {
    opacity: .55;
    pointer-events: none;
}

.load-more-text {
    font-size: 11px;
    font-weight: 700;
}

.load-more-count {
    margin-top: 2px;
    color: #777987;
    font-size: 9px;
}


/* =========================================================
   LOADER
========================================================= */

.pg-episodes-loading {
    display: none;

    padding: 18px;

    text-align: center;

    color: #777987;

    font-size: 11px;
}

.pg-episodes-loading.active {
    display: block;
}


/* =========================================================
   ERROR
========================================================= */

.pg-episodes-error {
    display: none;

    padding: 15px;

    text-align: center;

    color: #888b98;

    font-size: 11px;
}

.pg-episodes-error.active {
    display: block;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .episodes {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .episodes {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 6px;
    }

    .episodes-container {
        padding: 0 7px 8px;
    }

    .episode {
        padding: 5px;
    }

    .episode-image,
    .episode-image-placeholder {
        flex-basis: 45px;
        width: 45px;
        height: 30px;
    }

    .episode-number {
        display: none;
    }

    .episode-title {
        font-size: 9px;
    }

    .episode-current-badge {
        display: none;
    }

    .season-header {
        padding: 0 11px;
    }

    .season-name {
        font-size: 12px;
    }

    .episode-count {
        font-size: 10px;
    }

}

.directory-seo-header {
    margin-bottom: 20px;
}
.directory-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}
.directory-title .directory-page-title {
    font-size: 1.2rem;
    color: #ff9900;
}
.directory-seo-description {
    font-size: 0.95rem;
    color: #a0a0a0;
    line-height: 1.5;
    max-width: 900px;
}

/* =========================================================
   BUSCADOR
========================================================= */

.pg-search-box {
    width: 100%;
    max-width: 850px;
    margin: 0 auto 35px;
    padding: 30px;
    box-sizing: border-box;
    text-align: center;
    background: linear-gradient(145deg, #2c3f52, #1b1c24);
    border: 1px solid rgba(0,122,255,.16);
    border-radius: 18px;
}

.pg-search-box h1 {
    margin: 0 0 8px;
    color: #fff;
    font-size: 28px;
    font-weight: 800;
}

.pg-search-box p {
    margin: 0 0 22px;
    color: #858895;
    font-size: 14px;
}

.pg-search-form {
    display: flex;
    width: 100%;
    gap: 10px;
}

.pg-search-form input {
    flex: 1;
    min-width: 0;
    height: 50px;
    padding: 0 17px;
    box-sizing: border-box;
    border: 1px solid #292b35;
    border-radius: 10px;
    outline: none;
    background: #27384a;
    color: #fff;
    font-size: 14px;
}

.pg-search-form input::placeholder {
    color: #666a77;
}

.pg-search-form input:focus {
    border-color: rgba(0,122,255,.65);
    box-shadow: 0 0 0 3px rgba(0,122,255,.10);
}

.pg-search-form button {
    height: 50px;
    padding: 0 25px;
    border: 0;
    border-radius: 10px;
    background: #3b9cff;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: .2s ease;
}

.pg-search-form button:hover {
    background: #7c65f2;
    transform: translateY(-1px);
}


/* =========================================================
   SIN RESULTADOS
========================================================= */

.pg-search-empty {
    width: 100%;
    padding: 55px 25px;
    box-sizing: border-box;
    text-align: center;
    border-radius: 16px;
    background: #2c3f52;
    border: 1px solid rgba(0,122,255,.12);
}

.pg-search-empty strong {
    display: block;
    margin-bottom: 8px;
    color: #fff;
    font-size: 17px;
}

.pg-search-empty p {
    margin: 0;
    color: #777b88;
    font-size: 13px;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .pg-search-box {
        padding: 23px 17px;
        border-radius: 15px;
    }

    .pg-search-box h1 {
        font-size: 23px;
    }

    .pg-search-form {
        flex-direction: column;
    }

    .pg-search-form button {
        width: 100%;
    }

}

/* =========================================================
   54. SERIES — TRAILER DE YOUTUBE
   ========================================================= */

.series-trailer-section {
    width: 100%;
    margin-bottom: 55px;
}

.series-trailer {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 24px auto 0;
}

/* Contenedor del reproductor */
.series-trailer-video {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;

    border: 1px solid rgba(108, 82, 238, .22);
    border-radius: 20px;

    background:
        linear-gradient(
            135deg,
            rgba(0,122,255,.08),
            rgba(17,17,23,.96)
        );

    box-shadow:
        0 25px 65px rgba(0,0,0,.38),
        0 0 0 1px rgba(255,255,255,.015);

    isolation: isolate;
}

/* Brillo morado muy sutil */
.series-trailer-video::before {
    content: "";
    position: absolute;
    inset: 0;

    pointer-events: none;
    z-index: 1;

    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(0,122,255,.10),
            transparent 45%
        );
}

/* Iframe */
.series-trailer-video iframe {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    display: block;

    border: 0;

    z-index: 2;
}

/* Pequeña etiqueta */
.series-trailer-label {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    margin-bottom: 12px;
    padding: 6px 10px;

    border: 1px solid rgba(74,168,255,.22);
    border-radius: 999px;

    background: rgba(0,122,255,.10);

    color: #67b5ff;

    font-size: 10px;
    line-height: 1;
    font-weight: 800;

    letter-spacing: .4px;
    text-transform: uppercase;
}

/* =========================================================
   TRAILER — TABLET
   ========================================================= */

@media (max-width: 800px) {

    .series-trailer {
        max-width: 100%;
    }

    .series-trailer-video {
        border-radius: 16px;
    }

}


/* =========================================================
   TRAILER — MOBILE 700
   ========================================================= */

@media (max-width: 700px) {

    .series-trailer-section {
        margin-bottom: 48px;
    }

    .series-trailer {
        margin-top: 20px;
    }

    .series-trailer-video {
        border-radius: 14px;

        box-shadow:
            0 18px 45px rgba(0,0,0,.32);
    }

}


/* =========================================================
   TRAILER — MOBILE 520
   ========================================================= */

@media (max-width: 520px) {

    .series-trailer {
        margin-top: 18px;
    }

    .series-trailer-video {
        border-radius: 12px;
    }

    .series-trailer-label {
        margin-bottom: 10px;
        padding: 6px 9px;
        font-size: 9px;
    }

}


/* =========================================================
   TRAILER — MOBILE 430
   ========================================================= */

@media (max-width: 430px) {

    .series-trailer-video {
        border-radius: 11px;
    }

}


/* =========================================================
   TRAILER — VERY SMALL MOBILE
   ========================================================= */

@media (max-width: 360px) {

    .series-trailer-video {
        border-radius: 10px;
    }

}

/* =========================================================
   55. MOVIE — TRAILER OFICIAL YOUTUBE
   ========================================================= */

.pghd-movie-trailer-section {
    width: 100%;
    margin: 72px 0 70px;
    padding: 0;
}

/* =========================================================
   TRAILER BOX
   ========================================================= */

.pghd-movie-trailer {
    position: relative;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;

    padding: 28px;

    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(0,122,255,.12),
            transparent 42%
        ),
        linear-gradient(
            180deg,
            rgba(255,255,255,.035),
            rgba(255,255,255,.015)
        ),
        #101016;

    border: 1px solid rgba(255,255,255,.075);
    border-radius: 24px;

    box-shadow:
        0 25px 70px rgba(0,0,0,.35),
        inset 0 1px 0 rgba(255,255,255,.025);

    overflow: hidden;
}

/* Línea decorativa superior */

.pghd-movie-trailer::before {
    content: "";

    position: absolute;
    top: 0;
    left: 8%;
    right: 8%;

    height: 2px;

    background: linear-gradient(
        90deg,
        transparent,
        rgba(0,122,255,.75),
        rgba(167,139,250,.9),
        rgba(0,122,255,.75),
        transparent
    );

    opacity: .75;
}

/* =========================================================
   HEADING
   ========================================================= */

.pghd-movie-trailer-heading {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto 24px;

    padding: 0 4px;
}

.pghd-movie-trailer-title {
    margin: 0 0 9px;

    color: #fff;

    font-size: 25px;
    line-height: 1.3;
    font-weight: 800;

    letter-spacing: -.3px;
}

.pghd-movie-trailer-subtitle {
    margin: 0;

    color: rgba(255,255,255,.55);

    font-size: 14px;
    line-height: 1.65;
}

/* =========================================================
   LABEL
   ========================================================= */

.pghd-movie-trailer-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    margin: 0 0 14px;

    padding: 7px 12px;

    border: 1px solid rgba(74,168,255,.22);
    border-radius: 999px;

    background: rgba(0,122,255,.09);

    color: #b09cff;

    font-size: 10px;
    line-height: 1;
    font-weight: 800;

    letter-spacing: .5px;
    text-transform: uppercase;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.025);
}

.pghd-movie-trailer-label span {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    font-size: 10px;

    color: #67b5ff;
}

/* =========================================================
   VIDEO FRAME
   ========================================================= */

.pghd-movie-trailer-video {
    position: relative;

    width: 100%;
    aspect-ratio: 16 / 9;

    overflow: hidden;

    background: #09090d;

    border: 1px solid rgba(0,122,255,.22);
    border-radius: 18px;

    box-shadow:
        0 18px 45px rgba(0,0,0,.38),
        0 0 0 1px rgba(255,255,255,.015);

    isolation: isolate;
}

/* Brillo superior del reproductor */

.pghd-movie-trailer-video::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;
    right: 0;

    height: 2px;

    background: linear-gradient(
        90deg,
        transparent,
        rgba(0,122,255,.65),
        rgba(167,139,250,.8),
        rgba(0,122,255,.65),
        transparent
    );

    z-index: 3;

    pointer-events: none;
}

/* Overlay muy sutil */

.pghd-movie-trailer-video::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,.018),
            transparent 15%
        );

    z-index: 3;

    pointer-events: none;
}

/* =========================================================
   IFRAME
   ========================================================= */

.pghd-movie-trailer-video iframe {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    display: block;

    border: 0;

    z-index: 2;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 800px) {

    .pghd-movie-trailer-section {
        margin-top: 60px;
        margin-bottom: 60px;
    }

    .pghd-movie-trailer {
        max-width: 100%;
        padding: 22px;
        border-radius: 21px;
    }

    .pghd-movie-trailer-video {
        border-radius: 16px;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {

    .pghd-movie-trailer-section {
        margin-top: 52px;
        margin-bottom: 52px;
    }

    .pghd-movie-trailer {
        padding: 18px;

        border-radius: 19px;
    }

    .pghd-movie-trailer-heading {
        margin-bottom: 20px;
    }

    .pghd-movie-trailer-title {
        font-size: 21px;
    }

    .pghd-movie-trailer-subtitle {
        font-size: 13px;
    }

    .pghd-movie-trailer-label {
        margin-bottom: 12px;
    }

    .pghd-movie-trailer-video {
        border-radius: 14px;

        box-shadow:
            0 16px 38px rgba(0,0,0,.35);
    }
}


/* =========================================================
   MOBILE 520
   ========================================================= */

@media (max-width: 520px) {

    .pghd-movie-trailer-section {
        margin-top: 44px;
        margin-bottom: 44px;
    }

    .pghd-movie-trailer {
        padding: 14px;

        border-radius: 17px;
    }

    .pghd-movie-trailer-heading {
        margin-bottom: 17px;
    }

    .pghd-movie-trailer-title {
        font-size: 19px;
    }

    .pghd-movie-trailer-subtitle {
        font-size: 12px;
        line-height: 1.55;
    }

    .pghd-movie-trailer-label {
        margin-bottom: 10px;

        padding: 6px 10px;

        font-size: 9px;
    }

    .pghd-movie-trailer-video {
        border-radius: 12px;
    }
}


/* =========================================================
   MOBILE 430
   ========================================================= */

@media (max-width: 430px) {

    .pghd-movie-trailer-section {
        margin-top: 40px;
        margin-bottom: 40px;
    }

    .pghd-movie-trailer {
        padding: 12px;

        border-radius: 15px;
    }

    .pghd-movie-trailer-title {
        font-size: 18px;
    }

    .pghd-movie-trailer-video {
        border-radius: 11px;
    }
}


/* =========================================================
   MOBILE 360
   ========================================================= */

@media (max-width: 360px) {

    .pghd-movie-trailer-section {
        margin-top: 36px;
        margin-bottom: 36px;
    }

    .pghd-movie-trailer {
        padding: 10px;

        border-radius: 14px;
    }

    .pghd-movie-trailer-title {
        font-size: 17px;
    }

    .pghd-movie-trailer-subtitle {
        font-size: 11px;
    }

    .pghd-movie-trailer-video {
        border-radius: 10px;
    }
}

/* =========================================================
   MENÚ MÓVIL
   ========================================================= */

.pghd-menu-toggle {
    display: none;

    width: 44px;
    height: 44px;

    padding: 0;

    border: 0;
    border-radius: 12px;

    background: rgba(255,255,255,.06);

    cursor: pointer;

    align-items: center;
    justify-content: center;

    flex-direction: column;

    gap: 5px;

    transition:
        background .25s ease,
        transform .25s ease;
}

.pghd-menu-toggle:hover {
    background: rgba(255,255,255,.10);
}

.pghd-menu-toggle span {
    display: block;

    width: 21px;
    height: 2px;

    border-radius: 10px;

    background: #fff;

    transition:
        transform .3s ease,
        opacity .25s ease;
}


/* =========================================================
   MÓVIL
   ========================================================= */

@media (max-width: 768px) {

    .pghd-header-inner {
        position: relative;

        display: flex;
        align-items: center;
        justify-content: space-between;
    }


    /* BOTÓN */

    .pghd-menu-toggle {
        display: flex;
    }


    /* MENÚ */

    .pghd-nav {

        position: absolute;

        top: calc(100% + 10px);
        left: 0;
        right: 0;

        z-index: 9999;

        display: flex;

        flex-direction: column;

        gap: 5px;

        padding: 10px;

        border-radius: 16px;

        background:
            rgba(15,15,22,.97);

        border:
            1px solid rgba(255,255,255,.08);

        box-shadow:
            0 20px 50px rgba(0,0,0,.45);

        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);

        /* OCULTO */

        opacity: 0;
        visibility: hidden;

        transform:
            translateY(-10px)
            scale(.98);

        pointer-events: none;

        transition:
            opacity .25s ease,
            transform .25s ease,
            visibility .25s ease;
    }


    /* MENÚ ABIERTO */

    .pghd-nav.is-open {

        opacity: 1;

        visibility: visible;

        transform:
            translateY(0)
            scale(1);

        pointer-events: auto;
    }


    /* ENLACES */

    .pghd-nav a {

        display: flex;

        align-items: center;

        width: 100%;

        min-height: 48px;

        padding: 0 16px;

        border-radius: 11px;

        text-decoration: none;

        color: rgba(255,255,255,.85);

        font-size: 15px;

        font-weight: 600;

        transition:
            background .2s ease,
            color .2s ease,
            padding-left .2s ease;
    }


    .pghd-nav a:hover,
    .pghd-nav a:focus {

        background:
            rgba(255,255,255,.07);

        color: #fff;

        padding-left: 20px;
    }


    /* =====================================================
       HAMBURGUESA → X
       ===================================================== */

    .pghd-menu-toggle.is-open span:nth-child(1) {

        transform:
            translateY(7px)
            rotate(45deg);
    }

    .pghd-menu-toggle.is-open span:nth-child(2) {

        opacity: 0;
    }

    .pghd-menu-toggle.is-open span:nth-child(3) {

        transform:
            translateY(-7px)
            rotate(-45deg);
    }

    .pghd-menu-toggle.is-open {

        background:
            rgba(255,255,255,.10);
    }
}
/* =========================================================
   END PGHD v3.0
========================================================= */