/*
 * DooPlay Theme - Adapted from DooPlay WordPress by Doothemes
 * Dark style with accent color #408bea
 * Font: Roboto
 */

/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1;
    background: #000;
    color: rgba(255,255,255,.6);
}
a { text-decoration: none; color: #408bea; cursor: pointer; }
a:hover { color: #5a9fef; }
img { max-width: 100%; height: auto; }
ul, ol { list-style: none; }

/* === DESKTOP NAV === */
#dt-nav {
    position: fixed; top: 0; left: 0; width: 100%; height: 70px; z-index: 999;
    background: rgba(12,12,12,.95);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,.06);
}
.dt-nav-inner {
    max-width: 1200px; margin: 0 auto; height: 70px;
    display: flex; align-items: center; padding: 0 15px;
}
.dt-logo a { font-size: 22px; font-weight: 700; color: #fff; white-space: nowrap; margin-right: 10px; }
.dt-logo a:hover { color: #fff; }

/* Menu items */
.dt-menu { display: flex; align-items: center; list-style: none; margin: 0; padding: 0; flex: 1; }
.dt-menu > li > a {
    display: flex; align-items: center; gap: 5px;
    padding: 0 14px; height: 70px; line-height: 70px;
    color: rgba(255,255,255,.8); font-size: 14px; white-space: nowrap;
    transition: color .2s;
}
.dt-menu > li > a:hover { color: #408bea; }
.dt-menu > li > a i.fa-angle-down { font-size: 10px; color: rgba(255,255,255,.35); transition: transform .2s; }
.dt-menu > li:hover > a i.fa-angle-down { transform: rotate(180deg); color: #408bea; }

/* Dropdown panel */
.dt-has-dd { position: relative; }
.dt-dd {
    display: none; position: absolute; top: 70px; left: 0;
    background: #111; border: 1px solid rgba(255,255,255,.08);
    border-top: 2px solid #408bea; border-radius: 0 0 6px 6px;
    min-width: 200px; padding: 6px 0;
    box-shadow: 0 12px 35px rgba(0,0,0,.7);
}
.dt-has-dd:hover > .dt-dd { display: block; }
.dt-dd a {
    display: block; padding: 10px 18px; color: rgba(255,255,255,.65);
    font-size: 13px; transition: all .15s;
}
.dt-dd a:hover { background: rgba(64,139,234,.1); color: #fff; padding-left: 22px; }

/* Grid dropdown (genres) */
.dt-dd.dt-dd-grid {
    display: none; width: 420px; padding: 10px;
    flex-wrap: wrap; max-height: 65vh; overflow-y: auto;
}
.dt-has-dd:hover > .dt-dd-grid { display: flex; }
.dt-dd-grid a {
    width: 50%; padding: 8px 12px; font-size: 13px;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.dt-dd-grid a:hover { padding-left: 16px; }

/* Years dropdown (4 cols) */
.dt-dd.dt-dd-years {
    display: none; width: 340px; padding: 10px;
    flex-wrap: wrap; max-height: 65vh; overflow-y: auto;
}
.dt-has-dd:hover > .dt-dd-years { display: flex; }
.dt-dd-years a { width: 25%; padding: 7px 4px; text-align: center; font-size: 13px; }
.dt-dd-years a:hover { padding-left: 4px; background: rgba(64,139,234,.15); }

/* Scrollbar for dropdowns */
.dt-dd::-webkit-scrollbar { width: 4px; }
.dt-dd::-webkit-scrollbar-thumb { background: #408bea; border-radius: 2px; }
.dt-dd::-webkit-scrollbar-track { background: transparent; }

/* Align last dropdowns to right edge */
.dt-menu > li:nth-last-child(-n+2) > .dt-dd { left: auto; right: 0; }

/* Search box */
.dt-search-box { margin-left: auto; }
.dt-search-box form {
    display: flex; align-items: center; height: 38px;
    background: rgba(255,255,255,.08); border-radius: 5px;
}
.dt-search-box input {
    border: 0; background: transparent; color: #fff; width: 220px;
    padding: 0 12px; height: 38px; font-size: 14px; outline: none;
    font-family: 'Roboto', sans-serif;
}
.dt-search-box input::placeholder { color: rgba(255,255,255,.4); }
.dt-search-box button {
    border: 0; background: transparent; color: rgba(255,255,255,.5);
    padding: 0 14px; height: 38px; cursor: pointer; font-size: 14px;
}
.dt-search-box button:hover { color: #408bea; }

/* === MOBILE HEADER === */
.mob-header { display: none; }
.mob-bar {
    position: fixed; top: 0; left: 0; width: 100%; height: 50px; z-index: 999;
    background: rgba(12,12,12,.97); border-bottom: 1px solid rgba(255,255,255,.06);
    display: flex; align-items: center; justify-content: space-between; padding: 0 15px;
}
.mob-logo { color: #fff; font-size: 18px; font-weight: 700; }
.mob-logo:hover { color: #fff; }
.mob-btn { color: #fff; font-size: 18px; padding: 8px; cursor: pointer; }
.mob-search {
    display: none; position: fixed; top: 50px; left: 0; width: 100%; z-index: 998;
    background: rgba(8,8,8,.98); border-bottom: 1px solid rgba(255,255,255,.06);
}
.mob-search.open { display: block; }
.mob-search form { display: flex; padding: 10px 15px; }
.mob-search input {
    flex: 1; border: 0; background: transparent; color: #fff;
    font-size: 14px; padding: 10px; outline: none;
}
.mob-search button { border: 0; background: transparent; color: #fff; padding: 10px 15px; cursor: pointer; }
.mob-menu {
    display: none; position: fixed; top: 50px; left: 0; width: 100%; z-index: 997;
    background: rgba(8,8,8,.98); max-height: calc(100vh - 50px); overflow-y: auto;
}
.mob-menu.open { display: block; }
.mob-menu > a {
    display: block; padding: 14px 20px; color: rgba(255,255,255,.8);
    font-size: 14px; border-bottom: 1px solid rgba(255,255,255,.06);
}
.mob-menu > a i { margin-right: 10px; width: 20px; text-align: center; }
.mob-menu > a:hover { color: #408bea; background: rgba(255,255,255,.03); }
.mob-menu > a.mob-sub { padding-left: 45px; color: rgba(255,255,255,.45); font-size: 13px; }
.mob-section {
    padding: 14px 20px 8px; font-size: 11px; text-transform: uppercase;
    color: #408bea; font-weight: 600; letter-spacing: .5px;
    border-top: 1px solid rgba(255,255,255,.06);
}
.mob-grid { display: flex; flex-wrap: wrap; padding: 5px 10px 10px; }
.mob-grid a {
    width: 50%; padding: 9px 10px; color: rgba(255,255,255,.6);
    font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.mob-grid a:hover { color: #408bea; }
.mob-grid-years a { width: 25%; text-align: center; }

/* === MAIN LAYOUT === */
#contenedor { max-width: 1200px; margin: 70px auto 0; }
.module {
    float: left; width: 100%; min-height: 600px; position: relative;
    background: rgba(15,15,15,.9);
    backdrop-filter: saturate(180%) blur(10px);
    -webkit-backdrop-filter: saturate(180%) blur(10px);
    border-bottom: solid 1px rgba(255,255,255,.07);
    border-top: solid 1px rgba(255,255,255,.07);
}
.module .content {
    width: 100%; padding: 20px; float: left;
}
.module .content.right { border-right: 0; }
.module .content.normal { padding: 20px; }
.module .content.full_width_layout { width: 100%; }

/* === ITEMS GRID (Card Grid) === */
.items { width: 100%; float: left; margin-bottom: 25px; border-bottom: solid 1px rgba(255,255,255,.08); }
.items:last-child { border-bottom: 0; }
.items header {
    float: left; width: 100%; padding: 15px 10px; line-height: 20px;
}
.items header h1,
.items header h2 {
    float: left; font-size: 20px; font-weight: 500; color: #fff;
    padding-left: 10px; border-left: solid 3px #408bea;
}
.items header h1 i,
.items header h2 i { margin-right: 8px; color: #408bea; }
.items header span { float: right; font-weight: 500; }
.items header span a.see-all {
    font-size: 10px; font-weight: 300; text-transform: uppercase;
    padding: 3px 8px; border-radius: 3px; background: #408bea; color: #fff;
}

/* Item Card */
.items .item {
    width: calc(100% / 5); float: left; margin: 0; padding: 10px; position: relative;
}
.items .item .poster {
    width: 100%; height: 100%; float: left; position: relative;
    overflow: hidden; margin: 0; padding-top: 140%; background: #000;
    border-radius: 4px;
}
.items .item .poster img {
    width: 100%; height: auto; margin-top: -140%; position: absolute;
    object-fit: cover; transition: all .2s ease-in-out;
}
.items .item .poster:hover > img {
    transform: scale(1.2);
    filter: blur(2px) brightness(.3);
}

/* Play overlay */
.items .item .poster a .see {
    width: 100%; height: 100%; position: absolute; top: 0; right: 0;
    transition: all .65s ease-in-out; opacity: 0;
    display: flex; align-items: center; justify-content: center;
}
.items .item .poster a .see::after {
    content: '\f04b'; font-family: 'Font Awesome 6 Free'; font-weight: 900;
    font-size: 40px; color: #fff; text-shadow: 0 0 20px rgba(0,0,0,.8);
}
.items .item .poster a:hover > .see {
    transform: scale(.75); opacity: 1;
}

/* Rating badge */
.items .item .poster .rating {
    background: rgba(255,255,255,.2); color: #fff; text-shadow: 1px 0 #000;
    position: absolute; bottom: 0; right: 0; padding: 3px 8px;
    line-height: 18px; font-size: 12px; font-weight: 300;
    margin-bottom: -40px; overflow: hidden; transition: .2s;
    border-radius: 3px 0 0 0;
}
.items .item .poster .rating::before {
    content: '\f005'; font-family: 'Font Awesome 6 Free'; font-weight: 900;
    color: #ffd600; margin-right: 5px; font-size: 10px;
}
.items .item .poster:hover > .rating { margin-bottom: 0; }

/* Item data */
.items .item .data {
    float: left; width: 100%; margin-bottom: 10px; margin-top: 12px;
}
.items .item .data h3 {
    font-weight: 500; font-size: 14px; line-height: 20px; margin-bottom: 1px;
    width: 100%; float: left; text-overflow: ellipsis; white-space: nowrap; overflow: hidden;
}
.items .item .data h3 a { color: #fff; }
.items .item .data h3 a:hover { color: #408bea; }
.items .item .data span {
    float: left; width: 100%; line-height: 1.5; font-size: 12px;
    color: rgba(255,255,255,.5); text-overflow: ellipsis; white-space: nowrap; overflow: hidden;
}

/* === EPISODE BADGE ON POSTER === */
.ep-badge-poster {
    position: absolute; top: 8px; left: 8px;
    background: #408bea; color: #fff; padding: 3px 8px;
    border-radius: 3px; font-size: 11px; font-weight: 600;
    z-index: 1; line-height: 1.3;
}
.slider-nav {
    position: absolute; top: 50%; transform: translateY(-50%);
    background: rgba(0,0,0,.7); border: 0; color: #fff;
    width: 36px; height: 36px; border-radius: 50%; cursor: pointer;
    font-size: 14px; z-index: 2; transition: background .2s;
}
.slider-nav:hover { background: #408bea; }
.slider-prev { left: 5px; }
.slider-next { right: 5px; }

/* === SINGLE PAGE === */
#single {
    background: rgba(15,15,15,.85);
    backdrop-filter: saturate(180%) blur(15px);
    -webkit-backdrop-filter: saturate(180%) blur(15px);
    border-bottom: solid 1px rgba(255,255,255,.07);
    float: left; width: 100%; position: relative;
}
.dtsingle .content {
    width: 100%; float: left; padding: 0; position: relative;
}
.dtsingle .content.right { border-right: 0; }

/* Sheader (poster + info) */
.sheader {
    width: 100%; float: left; padding: 25px; overflow: hidden;
    border-bottom: solid 3px rgba(255,255,255,.08);
}
.sheader .poster {
    float: left; width: 185px; margin-right: 20px; position: relative;
}
.sheader .poster img { width: 100%; border-radius: 4px; }
.sheader .poster .poster-placeholder {
    width: 100%; height: 280px; display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,.05); border-radius: 4px; color: #408bea; font-size: 3rem;
}
.sheader .data { padding: 0; width: calc(100% - 210px); float: left; }
.sheader .data h1 {
    font-size: 28px; font-weight: 500; color: #fff; line-height: 1.3;
    margin-bottom: 10px;
}
.sheader .data .extra { margin-bottom: 10px; }
.sheader .data .extra span {
    display: inline-block; margin-right: 15px; font-size: 14px;
    color: rgba(255,255,255,.5);
}
.sheader .data .extra span a { color: rgba(255,255,255,.5); }
.sheader .data .extra span a:hover { color: #408bea; }
.sheader .data .extra .ep-info {
    background: #408bea; color: #fff; padding: 4px 10px; border-radius: 3px;
    font-size: 12px; font-weight: 600;
}

/* Rating */
.srating { margin-bottom: 12px; }
.srating .rating-value {
    display: inline-block; padding: 5px 12px; border-radius: 3px;
    background: rgba(255,255,255,.08); color: #fff; font-weight: 500;
}
.srating .rating-value i { color: #ffd600; margin-right: 5px; }

/* Genres */
.sgeneros { margin-bottom: 10px; }
.sgeneros a {
    display: inline-block; color: #fff; padding: 5px 12px;
    border-left: solid 1px rgba(255,255,255,.08); font-size: 13px;
    transition: color .2s;
}
.sgeneros a:first-child { border-left: 0; padding-left: 0; }
.sgeneros a:hover { color: #408bea; }

/* === SBOX (Content boxes) === */
.sbox {
    width: 100%; float: left; padding: 25px 30px;
    border-bottom: solid 3px rgba(255,255,255,.08);
}
.sbox h2 {
    float: left; width: 100%; margin-bottom: 12px; padding-bottom: 12px;
    font-size: 18px; font-weight: 500; color: #fff;
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.sbox h2 i { color: #408bea; margin-right: 8px; }
.wp-content { float: left; width: 100%; }
.wp-content p { line-height: 23px; color: rgba(255,255,255,.6); margin-bottom: 10px; }
.wp-content .no-synopsis { font-style: italic; color: rgba(255,255,255,.3); }

/* === PLAYER === */
.dooplay_player { float: left; width: 100%; position: relative; }
.dooplay_player h2 {
    font-size: 18px; font-weight: 500; width: 100%; float: left;
    padding: 20px 30px; color: #fff;
}
.dooplay_player h2 i { color: #408bea; margin-right: 8px; }
.dooplay_player .options { padding: 0 25px; float: left; width: 100%; }
.dooplay_player .options ul { margin: 15px 0; float: left; width: 100%; }
.dooplay_player .options ul li {
    float: left; width: auto; padding: 12px 18px; font-weight: 500;
    cursor: pointer; line-height: 20px; margin: 0 5px 5px 0;
    background: rgba(255,255,255,.08); border-radius: 5px;
    color: rgba(255,255,255,.6); transition: all .2s;
}
.dooplay_player .options ul li:hover { background: rgba(255,255,255,.15); color: #fff; }
.dooplay_player .options ul li.active { background: #408bea; color: #fff; }
.dooplay_player .options ul li i { margin-right: 8px; }
.dooplay_player .options ul li .title { font-weight: 600; }
.dooplay_player .play {
    position: relative; float: left; width: 100%; background: #000;
}
.dooplay_player .play .pframe {
    position: relative; padding-bottom: 56.29%; max-width: 100%;
    display: none; margin: auto; height: 0; overflow: hidden;
}
.dooplay_player .play .pframe.on { display: block; }
.dooplay_player .play .pframe iframe {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
}
.source-box { display: none; }
.source-box.on { display: block; }

/* === SEASONS & EPISODES === */
#serie_contenido { width: 100%; float: left; padding: 15px 0 0; }
#seasons { width: 100%; float: left; }
#seasons .se-c { width: 100%; float: left; margin-bottom: 2px; }
#seasons .se-c .se-q {
    cursor: pointer; line-height: 25px; float: left; width: 100%;
    padding: 0 15px 0 90px; position: relative;
    background: rgba(0,0,0,.5); transition: background .2s;
}
#seasons .se-c .se-q:hover { background: rgba(0,0,0,.7); }
#seasons .se-c .se-q span.title {
    float: left; padding: 13px 0; font-size: 15px; width: 100%;
    overflow: hidden; font-weight: 500; color: #fff;
}
#seasons .se-c .se-q span.title i {
    font-style: normal; font-size: 12px; margin-left: 10px;
    font-weight: 300; color: #a7acb9;
}
#seasons .se-c .se-q span.se-t {
    line-height: 21px; float: left; font-size: 21px; padding: 15.5px 0;
    position: absolute; left: 0; width: 75px; text-align: center;
    background: #000; color: #fff; font-weight: 700;
}
#seasons .se-c .se-q span.se-o {
    float: right; padding: 15px 0; color: #fff; transition: transform .3s;
}
#seasons .se-c .se-q span.se-o.rotated { transform: rotate(180deg); }
#seasons .se-c .se-a {
    width: 100%; float: left; max-height: 0; overflow: hidden;
    transition: max-height .4s ease;
}
#seasons .se-c .se-a.active { max-height: 2000px; }
#seasons .se-c .se-a ul.episodios { width: 100%; float: left; }
#seasons .se-c .se-a ul.episodios li {
    width: 100%; float: left; padding: 5px 0;
    border-bottom: solid 1px rgba(255,255,255,.08);
    display: flex; align-items: center;
}
#seasons .se-c .se-a ul.episodios li:last-child { border-bottom: 0; }
#seasons .se-c .se-a ul.episodios li .numerando {
    float: left; padding: 9px; margin: 5px 0; border-right: solid 1px rgba(255,255,255,.08);
    width: 80px; text-align: center; font-weight: 600; color: rgba(255,255,255,.5);
    flex-shrink: 0;
}
#seasons .se-c .se-a ul.episodios li .episodiotitle {
    float: left; padding: 10px 15px; flex: 1;
    text-overflow: ellipsis; white-space: nowrap; overflow: hidden;
}
#seasons .se-c .se-a ul.episodios li .episodiotitle a {
    color: #fff; font-size: 14px; font-weight: 400; transition: color .2s;
}
#seasons .se-c .se-a ul.episodios li .episodiotitle a:hover { color: #408bea; }

/* === EPISODE NAVIGATION === */
.pag_episodes {
    display: flex; width: 100%; float: left;
    border-bottom: solid 1px rgba(255,255,255,.08);
    border-top: solid 1px rgba(255,255,255,.08);
}
.pag_episodes .item { flex: 1; border-right: solid 1px rgba(255,255,255,.08); text-align: center; }
.pag_episodes .item:last-child { border-right: 0; }
.pag_episodes .item a {
    display: block; padding: 15px; color: rgba(255,255,255,.6);
    background: rgba(0,0,0,.5); transition: all .2s;
}
.pag_episodes .item a:hover { color: #408bea; }
.pag_episodes .item a i { color: #fff; }
.pag_episodes .item .disabled {
    display: block; padding: 15px; color: rgba(255,255,255,.2);
    background: rgba(0,0,0,.3); cursor: not-allowed;
}

/* Related grid */
.srelacionados .items.related-grid .item { width: calc(100% / 4); }

/* === PAGINATION === */
.pagination {
    float: left; width: 100%; font-size: 14px; padding: 20px 10px;
    display: flex; justify-content: center; gap: 5px; flex-wrap: wrap;
}
.pagination a, .pagination span {
    padding: 10px 18px; border: 1px solid rgba(255,255,255,.08);
    border-radius: 3px; font-size: 13px; color: #fff;
    background: rgba(0,0,0,.1); transition: all .2s;
}
.pagination a:hover { background: #000; border-color: #408bea; }
.pagination span.current {
    border-color: #000; background: #000; color: #408bea; font-weight: 500;
}

/* === FOOTER === */
.dt-footer {
    width: 100%; float: left; margin-bottom: 60px;
    color: rgba(255,255,255,.6); border-top: 1px solid rgba(255,255,255,.08);
}
.dt-footer .fbox { max-width: 1200px; margin: 0 auto; font-size: 13px; }
.dt-footer .copy { float: left; padding: 30px 15px; }
.dt-footer .copy strong { color: #fff; }

/* === DT-BTN === */
.dt-btn {
    display: inline-block; padding: 10px 20px; background: #408bea;
    color: #fff; border-radius: 4px; font-weight: 500; transition: background .2s;
}
.dt-btn:hover { background: #3578d0; color: #fff; }

/* === RESPONSIVE === */
@media only screen and (max-width: 1024px) {
    .items .item { width: calc(100% / 4); }
    .srelacionados .items.related-grid .item { width: calc(100% / 3); }
}

@media only screen and (max-width: 768px) {
    #dt-nav { display: none; }
    .mob-header { display: block; }
    #contenedor { margin-top: 50px; }
    .items .item { width: calc(100% / 3); }
    .sheader .poster { width: 120px; margin-right: 15px; }
    .sheader .data { width: calc(100% - 140px); }
    .sheader .data h1 { font-size: 22px; }
    .sbox { padding: 20px 15px; }
    .dooplay_player h2 { padding: 15px; }
    .dooplay_player .options { padding: 0 15px; }
    .dooplay_player .options ul li { padding: 10px 12px; font-size: 12px; }
    #seasons .se-c .se-q { padding-left: 65px; }
    #seasons .se-c .se-q span.se-t { width: 55px; font-size: 16px; }
    .srelacionados .items.related-grid .item { width: calc(100% / 2); }
}

@media only screen and (max-width: 480px) {
    .items .item { width: calc(100% / 2); padding: 5px; }
    .sheader { padding: 15px; }
    .sheader .poster { width: 100px; }
    .sheader .data { width: calc(100% - 115px); }
    .sheader .data h1 { font-size: 18px; }
    .sheader .data .extra span { font-size: 12px; }
    .sgeneros a { font-size: 11px; padding: 3px 8px; }
    .pag_episodes .item a { padding: 12px 5px; font-size: 12px; }
}

/* === CLEARFIX === */
.module::after, .items::after, .sheader::after, .sbox::after,
.dooplay_player::after, #seasons::after {
    content: ''; display: table; clear: both;
}

/* CUSTOM_JS_SECTION_3 centered wrapper */
.custom-js3-wrap{display:flex;justify-content:center;align-items:center;width:100%;margin:15px 0;overflow:hidden}

/* === PLAYER EXPANDIDO === */
.dooplay_player { float: none; max-width: 900px; margin: 0 auto 30px; }
.dooplay_player h2 { font-size: 16px; font-weight: 600; color: #fff; margin-bottom: 15px; display: flex; align-items: center; gap: 8px; padding: 0 15px; }
.dooplay_player .options { margin-bottom: 15px; padding: 0 15px; }
.dooplay_player .options ul { display: flex; flex-wrap: wrap; gap: 8px; }
.dooplay_player .options li { padding: 8px 16px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 6px; cursor: pointer; font-size: 13px; color: rgba(255,255,255,.7); transition: all .2s; display: flex; align-items: center; gap: 6px; }
.dooplay_player .options li:hover { background: rgba(64,139,234,.15); border-color: #408bea; color: #fff; }
.dooplay_player .options li.active { background: #408bea; border-color: #408bea; color: #fff; }
.dooplay_player .play { position: relative; width: 100%; }
.pframe { display: none; }
.pframe.on { display: block; }
.dooplay_player .play .pframe.source-box { position: relative; width: 100%; height: 0; padding-bottom: 65% !important; background: #000; overflow: hidden; }
@media (max-width: 768px) { .dooplay_player .play .pframe.source-box { padding-bottom: 100% !important; } }
@media (min-width: 769px) and (max-width: 1200px) { .dooplay_player .play .pframe.source-box { padding-bottom: 70% !important; } }
.pframe.source-box iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; }
