/*
 * 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; }

/* === HEADER === */
#header.dt-header {
    width: 100%; height: 70px; position: fixed; top: 0; left: 0; z-index: 104;
    background-color: rgba(15,15,15,.9);
    backdrop-filter: saturate(180%) blur(10px);
    -webkit-backdrop-filter: saturate(180%) blur(10px);
    box-shadow: 0 1px 5px rgba(0,0,0,.4);
    border-bottom: 1px solid #000;
}
#header .hbox { max-width: 1200px; height: 70px; margin: 0 auto; position: relative; }
#header .header-inner { display: flex; align-items: center; height: 100%; overflow: hidden; }
#header .logo { padding: 18px 17px; }
#header .logo a {
    font-size: 22px; font-weight: 700; color: #fff;
    text-decoration: none; white-space: nowrap;
}
.head-main-nav { display: flex; align-items: center; }
.head-main-nav .main-header {
    display: flex; gap: 0; list-style: none; margin: 0; padding: 0;
}
.head-main-nav .main-header li a {
    color: rgba(255,255,255,.8); padding: 25px 15px; display: block;
    font-size: 14px; font-weight: 400; transition: color .2s;
}
.head-main-nav .main-header li a:hover { color: #408bea; }

/* Search */
.headitems { margin-left: auto; padding: 14px 15px 0; }
.dt-search form {
    position: relative; border-radius: 5px;
    background: rgba(255,255,255,.1);
}
.dt-search form input[type="text"] {
    border: 0; width: 250px; height: 40px; padding: 0 40px 0 15px;
    font-size: 14px; font-weight: 300; color: #fff; background: transparent;
    outline: none;
}
.dt-search form input::placeholder { color: rgba(255,255,255,.5); }
.dt-search form button {
    border: 0; position: absolute; right: 0; top: 0;
    cursor: pointer; padding: 12px 15px; font-size: 14px;
    color: #fff; background: transparent;
}
.dt-search form button:hover { color: #408bea; }

/* === RESPONSIVE HEADER === */
.fixheadresp { display: none; }
header.responsive {
    width: 100%; display: none; position: fixed; top: 0; z-index: 105;
    background-color: rgba(15,15,15,.99);
    border-bottom: 1px solid #000;
    box-shadow: 0 1px 5px rgba(0,0,0,.4);
    height: 50px;
}
header.responsive .nav,
header.responsive .search {
    position: absolute; top: 0; padding: 14px 15px;
    border-color: #212121;
}
header.responsive .nav { left: 0; }
header.responsive .search { right: 0; }
header.responsive .nav a,
header.responsive .search a { color: #fff; font-size: 18px; cursor: pointer; }
header.responsive .logo {
    text-align: center; padding: 13px 0;
}
header.responsive .logo a { color: #fff; font-size: 18px; font-weight: 700; }

.search_responsive {
    display: none; position: fixed; top: 50px; left: 0; width: 100%; z-index: 104;
    background: rgba(0,0,0,.95); border-bottom: 1px solid rgba(255,255,255,.08);
}
.search_responsive.active { display: block; }
.search_responsive form {
    display: flex; padding: 10px 15px;
}
.search_responsive form input {
    flex: 1; border: 0; background: transparent; color: #fff;
    font-size: 14px; padding: 10px; outline: none;
}
.search_responsive form button {
    border: 0; background: transparent; color: #fff; padding: 10px 15px; cursor: pointer;
}

.menuresp { display: none; position: fixed; top: 50px; left: 0; width: 100%; z-index: 103; max-height: calc(100vh - 50px); overflow-y: auto; }
.menuresp.active { display: block; }
.menuresp .menu {
    background: rgba(10,10,10,.98);
}
.menuresp .menu ul.resp { margin: 0; padding: 0; }
.menuresp .menu ul.resp li { border-bottom: 1px solid rgba(255,255,255,.08); }
.menuresp .menu ul.resp li a {
    display: block; padding: 14px 20px; color: rgba(255,255,255,.8);
    font-size: 14px; transition: all .2s;
}
.menuresp .menu ul.resp li a i { margin-right: 10px; width: 20px; text-align: center; }
.menuresp .menu ul.resp li a:hover { color: #408bea; background: #000; }

/* === 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: calc(100% - 360px); padding: 20px; float: left;
    border-color: rgba(255,255,255,.08);
}
.module .content.right { border-right: solid 1px rgba(255,255,255,.08); }
.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;
}

/* === EPISODES SLIDER === */
.slider-container {
    position: relative; overflow: hidden; width: 100%; padding: 0 10px;
}
.slider-track {
    display: flex; gap: 10px; transition: transform .4s ease;
}
.episode-card { min-width: 200px; flex-shrink: 0; }
.episode-card .ep-poster {
    position: relative; padding-top: 56%; overflow: hidden; border-radius: 4px;
    background: #000;
}
.episode-card .ep-poster img {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover; transition: all .3s;
}
.episode-card .ep-poster:hover img {
    transform: scale(1.1); filter: brightness(.5);
}
.episode-card .ep-poster .see {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: opacity .3s;
}
.episode-card .ep-poster .see::after {
    content: '\f04b'; font-family: 'Font Awesome 6 Free'; font-weight: 900;
    font-size: 30px; color: #fff;
}
.episode-card .ep-poster:hover .see { opacity: 1; }
.ep-badge {
    position: absolute; top: 8px; left: 8px;
    background: #408bea; color: #fff; padding: 3px 8px;
    border-radius: 3px; font-size: 11px; font-weight: 600;
}
.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: calc(100% - 360px); float: left; padding: 0; position: relative;
}
.dtsingle .content.right { margin-right: 360px; border-right: solid 1px rgba(255,255,255,.08); }

/* 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;
}

/* === SIDEBAR === */
.dtsingle .sidebar {
    width: 360px; height: 100%; float: left; padding: 30px;
    position: absolute; overflow: hidden; overflow-y: auto;
    right: 0; top: 0; background: transparent;
}
.sidebar .widget { float: left; width: 100%; margin-bottom: 20px; }
.sidebar .widget .widget-title {
    font-weight: 400; font-size: 17px; width: 100%; float: left;
    margin-bottom: 15px; color: #fff;
}
.sidebar .widget ul { float: left; width: 100%; }
.sidebar .widget ul li {
    float: left; width: 100%; line-height: 16px; padding: 12px 0;
    border-bottom: solid 1px rgba(255,255,255,.1);
}
.sidebar .widget ul li::before {
    content: '\f105'; font-family: 'Font Awesome 6 Free'; font-weight: 900;
    margin-right: 10px; margin-left: 5px; color: #fff; font-size: 12px;
}
.sidebar .widget ul li a { color: rgba(255,255,255,.5); font-size: 14px; }
.sidebar .widget ul li a:hover { color: #408bea; }

/* 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) {
    .module .content { width: 100%; }
    .module .content.right { border-right: 0; }
    .dtsingle .content { width: 100%; }
    .dtsingle .content.right { margin-right: 0; border-right: 0; }
    .dtsingle .sidebar { display: none; }
    .items .item { width: calc(100% / 4); }
    .srelacionados .items.related-grid .item { width: calc(100% / 3); }
}

@media only screen and (max-width: 768px) {
    #header.dt-header { display: none; }
    .fixheadresp { display: block; }
    header.responsive { display: flex; align-items: center; justify-content: center; }
    #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); }
    .dt-search form input[type="text"] { width: 180px; }
}

@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; }
    .episode-card { min-width: 160px; }
    .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;
}