.episodes-container {
    margin-top: 0;
}

.season-content {
    display: none;
}

.season-content.active {
    display: block;
}

.episodes-list {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    border: 1px solid #e9ecef;
}

.episode-item {
    display: flex;
    padding: 12px 20px;
    border-bottom: 1px solid #e9ecef;
    transition: all 0.2s ease;
    cursor: pointer;
    font-family: "Mulish", sans-serif;
    align-items: flex-end;
}

.episode-item:last-child {
    border-bottom: none;
}

.episode-item:hover {
    background-color: #f8f9fa;
}

.episode-item.active .episode-title {
    color: #111111;
    font-weight: 600;
}

.episode-number {
    background: #35a9e2;
    color: white;
    padding: 6px 10px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 12px;
    margin-right: 15px;
    min-width: 50px;
    text-align: center;
    font-family: "Mulish", sans-serif;
    margin-bottom: 0 !important;
}

.episode-title {
    color: #3d3d3d;
    font-weight: 500;
    font-size: 14px;
    font-family: "Mulish", sans-serif;
    margin-bottom: 6px !important;
}

.seo-meta-tags {
    font-size: 10px;
    padding: 0rem 0rem 2rem 0rem;
}

.logo-minimal {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    font-weight: 800;
    font-size: 20px;
    letter-spacing: -0.3px;
    margin: 0;
    padding: 0;
    position: relative;
    color: #fff;
}
  
.logo-minimal::before {
    content: '';
    width: 4px;
    height: 20px;
    background: #fff;
    margin-right: 8px;
    border-radius: 2px;
}
  
.logo-minimal:hover {
    color: #e7e7e7;
    text-decoration: none;
}
  
.spad {
    padding-top: 30px !important;
    padding-bottom: 30px !important;
}

.sizmee {
    margin: 0px 0px 10px 0px;
}

.sizmeex2 {
    margin: 0px 0px 5px 0px;
}

#row-class-header {
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
    align-items: center;
}

img.logoweb {
    width: 100%;
}

#postagem-page {
    align-items: normal;
}

.padtitle {
    padding-right: 34px;
}

div#guardar-anime {
    background: #3d3d3d;
    border: none;
    padding: 8px;
    position: absolute;
    width: 40px;
    bottom: 20px;
    right: 15px;
    color: #fff;
    box-shadow: 0 1px 4px 0 rgb(0 0 0 / 15%);
    border-radius: 7px;
    cursor: pointer;
}

.boxx {
    position: relative;
}

.dropmenu ul li {
    background: none;
    border-radius: 0;
    width: 100%;
    padding: 0px 0px;
    left: 0;
    margin: 0;
    bottom: 0;
}

.dropmenu ul {
    width: 110px;
    position: absolute;
    margin: 0;
    padding: 0;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0px 0px 3px rgb(0 0 0 / 41%);
    top: -76px;
    left: -20px;
}

.dropmenu {
    position: absolute;
    top: -119px;
    right: 126px;
    z-index: 5;
}

.dropmenu li a i {
    color: #36a9e2;
}

.dropmenu li a {
    padding: 8px 4px 8px 12px;
    display: block;
    font-size: 13px;
    color: #000;
    background: #ffffff;
    text-align: left;
    text-shadow: none !important;
}

.dropmenu li a:hover {
    background: #f3f3f3;
    color: #36a9e2;
}

.dropmenu li a.activo {
    color: #ff9801;
    background: #f7f7f7;
}

.dropmenu li a.activo i {
    color: #ff9801;
}

#guardar-anime[data-status="ti-eye"] {
background: #1e95cf;
}

#guardar-anime[data-status="ti-circle-check"] {
    background: #17b8ae;
}

#guardar-anime[data-status="ti-player-pause"] {
    background: #ff9d00;
}

#guardar-anime[data-status="ti-heart"] {
    background: #d83a43;
}

div#filtro_div.n > form {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(45rem, 1fr));
    gap: 1rem;
}

div#filtro_div .btn {
    margin-right: 5px;
    margin-bottom: 5px;
    line-height: 27px;
    height: 40px !important;
    width: 100% !important;
}

div#filtro_div .d-flex {
    width: 100%;
}

div#filtro_div .filter-dropdown {
    flex: 1;
    min-width: 0;
    margin-right: 10px;
}

div#filtro_div .filter-dropdown:last-child {
    margin-right: 0;
}

div#filtro_div .nice-select {
    width: 100% !important;
}

a#loadmore.activo {
    background: #85b2c7;
    pointer-events: none;
}

div#botones {
    display: inline-block;
    width: 100%;
    margin-bottom: 10px;
}

div#filtro_div .nice-select {
    margin-right: 5px;
    margin-bottom: 5px;
    height: 40px;
    line-height: 40px;
}

.nice-select {
    clear: inherit;
}

div#filtro_div .nice-select .list {
    z-index: 100;
}

.custom_item2.joya {
    background: #fffbec;
}

.custom_item2 .joya_tag {
    position: absolute;
    left: 3px;
    top: 3px;
    z-index: 3;
    background: #ff9d00;
    padding: 0px 15px 3px 15px;
    line-height: 18px;
    border-radius: 5px;
    color: #fff;
}

.custom_item2.joya .card-title {
    background: rgb(107 74 0 / 81%);
}

.custom_item2 .joya_tag span {
    margin-right: 6px;
}

.trending__anime__episodios {
    margin-bottom: 20px;
}

div#video_box iframe {
    height: 100% !important;
    aspect-ratio: 3 / 1.1;
    border-radius: 7px;
}

.ep_bar {
    border-radius: 5px;
    border: 1px solid #e3e3e3;
    padding: 8px 7px;
}

.ep_bar .anime_bar {
    background: none;
    padding: 0;
}

.ep_bar .btn-primary {
    background: #fff;
    border: 1px solid #e3e3e3;
    color: #373737;
}

@media screen and (max-width: 1420px) {
    .container-play {
        padding: 0px 25px;
    }
}

.container-play {
    max-width: 1400px;
    margin: auto;
    display: block;
}

div#marcar_visto,#guardar-capitulo, #cmode {
    background: #fff;
    border: 1px solid #dbdbdb;
}

.video-info {
    margin: 0;
    margin-top: 25px;
    padding: 13px 27px;
    width: 100%;
    font-size: 14px;
    color: #ffffff;
    background: #6c757d;
    border-radius: 3px;
    float: left;
}

.video-info {
    background: #fff;
    color: #000;
}

.video-info {
    align-items: center;
    float: none;
}

.video_t {
    width: 85px;
    height: 140px;
    overflow: hidden;
    border-radius: 8px;
}

.video_t img {
    width: 100%;
    height: auto;
    display: inline-block;
}

.video_i a {
    font-size: 22px;
}

.btn-primary {
    background: #fff;
    border: 1px solid #e3e3e3;
    color: #373737;
}

.generos-grid {
    margin-top: 30px;
}

.genero-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    overflow: hidden;
    height: 100%;
}

.genero-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.genero-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.genero-content {
    padding: 25px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.genero-info {
    flex: 1;
}

.genero-nome {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.genero-count {
    font-size: 14px;
    color: #7f8c8d;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.genero-count i {
    font-size: 16px;
    color: #3498db;
}

.genero-arrow {
    color: #bdc3c7;
    font-size: 20px;
    transition: all 0.3s ease;
}

.genero-card:hover .genero-arrow {
    color: #3498db;
    transform: translateX(3px);
}

/* Responsividade */
@media (max-width: 768px) {
    .genero-content {
        padding: 20px 15px;
    }
    
    .genero-nome {
        font-size: 16px;
    }
    
    .genero-count {
        font-size: 13px;
    }
    
    .genero-arrow {
        font-size: 18px;
    }
    
    .section-title h4, .section-title h5 {
        margin-top: 20px !important;
        font-size: 22px;
        text-transform: uppercase;
        font-family: "Oswald", sans-serif;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

@media (max-width: 576px) {
    .generos-grid .row {
        margin: 0px -10px;
    }
    
    .generos-grid .col-sm-12 {
        padding: 0 10px;
        margin-bottom: 0.5rem !important;
    }
    
    .genero-card {
        margin-bottom: 15px;
    }
}

/* Estados de loading e empty */
.text-center.py-8 {
    padding: 60px 20px;
    background: #f8f9fa;
    border-radius: 12px;
    margin-top: 30px;
}

.text-gray-600 {
    color: #6c757d !important;
}

.text-gray-500 {
    color: #adb5bd !important;
}

.btn-lg {
    padding: 15px 30px;
    font-size: 18px;
}

/* Animações suaves */
.genero-card {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Stagger animation para múltiplos cards */
.genero-card:nth-child(1) { animation-delay: 0.1s; }
.genero-card:nth-child(2) { animation-delay: 0.2s; }
.genero-card:nth-child(3) { animation-delay: 0.3s; }
.genero-card:nth-child(4) { animation-delay: 0.4s; }
.genero-card:nth-child(5) { animation-delay: 0.5s; }
.genero-card:nth-child(6) { animation-delay: 0.6s; }

.episodes-container {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 0;
    margin: 20px 0;
}

.episodes-list {
    padding: 0;
    margin: 0;
}

.episode-item {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #e9ecef;
    transition: background-color 0.2s ease;
    text-decoration: none;
    color: inherit;
}

.episode-item:last-child {
    border-bottom: none;
}

.episode-item:hover {
    background-color: #f8f9fa;
}

.episode-number {
    background: #3498db;
    color: white;
    font-weight: bold;
    font-size: 12px;
    padding: 6px 12px;
    border-radius: 4px;
    margin-right: 15px;
    min-width: 50px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.episode-title {
    color: #2c3e50;
    font-size: 14px;
    font-weight: 500;
    flex: 1;
    line-height: 1.4;
}

/* Responsividade */
@media (max-width: 768px) {
    .episode-item {
        padding: 12px 15px;
    }
    
    .episode-number {
        font-size: 11px;
        padding: 5px 10px;
        margin-right: 12px;
        min-width: 45px;
    }
    
    .episode-title {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .episode-item {
        padding: 10px 12px;
    }
    
    .episode-number {
        font-size: 10px;
        padding: 4px 8px;
        margin-right: 10px;
        min-width: 40px;
    }
    
    .episode-title {
        font-size: 12px;
    }
}

#player-buttonsx {
    padding: 0px !important;
}

#installButtonOnMobile {
    display: none !important;
}

#installButton {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #35a9e2 0%, #35a9e2 50%, #35a9e2 100%);
    color: #fff;
    border: none;
    border-radius: 50px;
    box-shadow: 0 4px 6px rgb(0 0 0 / .2);
    cursor: pointer;
    z-index: 9999;
    font-size: 1rem;
    display: none;
    transform: translateY(0);
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
  }

@media (max-width: 768px) {
    #installButton {
        display: none !important;
    }

    #installButtonOnMobile {
        display: block !important;
    }

    .anime__page__title {
        margin-bottom: 0;
    }
}

button#installButtonOnMobile {
    border: 1px solid transparent;
    background: transparent;
}