body {
    background: none var(--color-bg);
    color: var(--text-color);
    font-family: arial, Tahoma, Verdana, Helvetica, sans-serif;
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-weight: 400;
    font-size: 1.1em;
    line-height: 1.475;
    padding-top: 55px;
    font-weight: lighter;
    font-variant: normal;
}

/* Video Alternative Buttons */
#video-alternatives .alts-list {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

#video-alternatives .alt-btn {
    background: #2a2a2a;
    color: #fff;
    border: none;
    padding: 10px 18px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
    font-size: 14px;
}

#video-alternatives .alt-btn:hover {
    background: #3a3a3a;
    transform: translateY(-1px);
}

#video-alternatives .alt-btn.active {
    background: #ff4444 !important;
    color: #fff !important;
}

#video-alternatives .alt-btn i.fa-play {
    font-size: 12px;
}

input::placeholder {
    color: var(--text-color) !important;
    opacity: 1;
}

input:placeholder-shown {
    border: 1px solid var(--input-border-placeholer);
}

@media (min-width: 1200px) {
    .container {
        max-width: 1024px;
    }
}


a {
    text-decoration: none;

}


header nav {
    background-color: var(--color-bg-dark);
}

header .navbar {
    padding: 0;
}

header nav .navbar-nav .active {
    background-color: var(--color-hover-tone) !important;
}

header nav .navbar-nav .nav-item {
    padding: 5px 0px;
}

header nav .navbar-nav .nav-item:hover {
    background-color: var(--color-hover-tone) !important;
}

header nav .navbar-nav .nav-item a {
    color: var(--text-color);
    font-size: 13px;
}

.search-input {
    box-shadow: none !important;
    border: 1px solid var(--color-border-tone) !important;
    background: url(../img/search-dark.png) no-repeat 10px 6px #444;
    border: 0;
    background-color: var(--color-bg-dark-hard) !important;
    padding-left: 40px;
    padding-top: 4px;
    padding-bottom: 4px;
    font-size: 13px;
    color: var(--color-white) !important;
    max-width: 180px;
    border-radius: 0;
}

header nav .mode a {
    color: #ffeb3b;
    margin-left: 10px;
}

header nav .member a {
    margin-left: 20px;
    font-size: 13px;
    color: var(--text-color);
}

header .header {
    margin-top: 10px;
}

header .header .swiper {
    margin-top: 10px;
}

.alpha .d-flex {
    padding: 10px;
    background-color: var(--color-bg-dark-hard);
    margin-top: 20px;
    border-radius: 5px;
}

.alpha .d-flex a {
    padding: 3px 8px;
    background-color: var(--color-hover-tone);
    margin-right: 10px;
    color: var(--color-white);
    font-size: 14px
}

.alpha .d-flex a:last-child {
    margin-right: 0;
}


.animes {
    margin-top: 20px;
}

.animes .home-anime .swiper-slide {
    text-align: center
}

.animes .home-anime .swiper-slide img {
    box-shadow: 0 5px 15px 0 rgba(0, 0, 35, .25);
    border-radius: 8px;
    width: 100px;
    height: 140px;
    object-fit: cover;
    margin-top: 5px;
    margin-bottom: 15px;
    -webkit-transition: all .5s ease;
    -moz-transition: all .5s ease;
    -o-transition: all .5s ease;
    transition: all .5s ease;
}


.promo {
    margin-top: 20px;
}

.promo .box {
    border: 1px solid var(--color-bg-dark-hard);
    background: var(--color-bg-dark-hard);
    -webkit-box-shadow: 0 0 5px var(--color-border-tone);
    -moz-box-shadow: 0 0 5px var(--color-border-tone);
    box-shadow: 0 0 5px var(--color-border-tone);
    border-radius: 5px;
}

.promo .box .title {
    padding: 5px 10px;
    font-weight: BOLD;
}

.promo .box .content {
    background-color: var(--color-bg-dark) !important;
    padding: 10px;
}

.promo .box .content .area {
    overflow-y: scroll;
    height: 245px;
}



.promo .box .content .area .item {
    margin-bottom: 0px;
}

.promo .box .content .area .date {
    float: right;
    font-size: 12px;
    color: #777;
    margin-top: -15px;
}

.promo .box .content .area .item>.img {
    margin-right: 12px;
}

.promo .box .content .area .item>.img img {
    width: 100px;
}

.promo .box .content .area .item>.desc {
    margin-top: -8px;
}

.promo .box .content .area .item>.desc a {
    color: var(--text-color);
    font-size: 13px;
    font-weight: bold;
}

.promo .box .content .area .item>.desc p {
    color: var(--text-color);
    font-size: 11px;
}

.content-body {
    margin-top: 20px;
}

.content-body .banner-area {
    background-color: var(--color-bg-dark);
    padding: 10px;
    margin: 20px 0;
    border: 1px solid var(--color-bg-dark-hard);
    border-radius: 5px;
}

.general-box {
    border: 1px solid var(--color-bg-dark-hard);
    background: var(--color-bg-dark-hard);
    -webkit-box-shadow: 0 0 5px var(--color-border-tone);
    -moz-box-shadow: 0 0 5px var(--color-border-tone);
    box-shadow: 0 0 5px var(--color-border-tone);
    border-radius: 5px;
}

.general-box .head {
    padding: 5px 0 0 0;
    font-weight: BOLD;

}

.general-box .head a {
    background: var(--color-bg-dark);
    color: var(--text-color);
    font-size: 13px;
    padding: 6px 15px 4px 15px;
    font-weight: normal;
}

.general-box .head .active {
    background: var(--color-bg-dark-hard);
}

.general-box .head a:hover {
    background-color: var(--color-bg-dark-hard);

}

.general-box .body {
    background-color: var(--color-bg-dark);
    padding: 10px;
}










.pagination .where {
    background-color: var(--color-bg-dark-hard);
    padding: 8px;
    font-size: 12px;
    margin-top: 1px;
}

.pagination .pages {
    border: 1px solid var(--color-bg-dark);
    background: var(--color-bg-dark-hard);
    border-radius: 8px;
    margin-top: 5px;
    float: right;
    text-align: center;
    display: flex;
    padding: 0 10px;
}

.pagination .pages a {
    font-size: 12px;
    color: var(--text-color);
    border-right: 1px solid var(--color-bg-dark);
    padding: 5px 10px;

}

.pagination .pages a:last-child {
    border-right: 0;
}





.video-list-item {
    border: 1px solid var(--color-bg-dark-hard);
    background: var(--color-bg-dark-hard);
    -webkit-box-shadow: 0 0 5px var(--color-border-tone);
    -moz-box-shadow: 0 0 5px var(--color-border-tone);
    box-shadow: 0 0 5px var(--color-border-tone);
    border-radius: 5px;
    margin-bottom: 20px;
}

.video-list-item .title {
    padding: 8px 15px;
    font-weight: 600;
    font-size: 13px;
    color: var(--text-color);
    border-bottom: 1px solid var(--color-bg-dark);
}

.video-list-item .content {
    background-color: var(--color-bg-dark) !important;
    padding: 10px;
}

.video-list-item .content .d-flex {
    display: flex;
    align-items: flex-start;
    gap: 0;
}

.video-list-item .content .img {
    margin-right: 15px;
    flex-shrink: 0;
    width: 100px;
    height: 140px;
    overflow: hidden;
}

.video-list-item .content .img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.video-list-item .content .details {
    flex: 1;
    min-width: 0;
}

.video-list-item .content .video-name {
    font-weight: 600;
    font-size: 13px;
    color: var(--text-color);
    display: block;
    margin-bottom: 8px;
    text-decoration: none;
    position: relative;
    padding-right: 25px;
}

.video-list-item .content .video-name:hover {
    color: var(--color-hover-tone);
}

.video-list-item .content .video-name .lang {
    position: absolute;
    right: 0;
    top: 0;
    margin-left: 5px;
    margin-top: 2px;
}

.video-list-item .content .translate {
    margin-top: 5px;
    font-weight: normal;
    font-size: 12px;
    color: var(--text-color);
    opacity: 0.8;
}

.video-list-item .content .tanslator {
    font-weight: normal;
    font-size: 12px;
    color: var(--text-color);
    margin-top: 5px;
}

.video-list-item .content .profile-link {
    font-weight: normal;
    font-size: 12px;
    color: var(--text-color);
    display: inline-block;
    margin-top: 8px;
    text-decoration: none;
}

.video-list-item .content .profile-link:hover {
    color: var(--color-hover-tone);
}

.video-list-item .content .time {
    font-weight: normal;
    font-size: 11px;
    color: var(--text-color);
    margin-top: 8px;
    opacity: 0.7;
}

.video-list-item .content .interaction {
    border: 1px solid var(--color-bg-dark);
    background: var(--color-bg-dark-hard);
    border-radius: 8px;
    margin-top: 10px;
    text-align: center;
    display: inline-flex;
    padding: 0;
    align-items: center;
    float: none;
    clear: both;
}

.video-list-item .content .interaction a {
    font-size: 12px;
    color: var(--text-color);
    border-right: 1px solid var(--color-bg-dark);
    padding: 6px 12px;
    text-decoration: none;
    transition: background 0.2s;
    display: inline-block;
    white-space: nowrap;
}

.video-list-item .content .interaction a:hover {
    background: var(--color-bg-dark);
}

.video-list-item .content .interaction a:last-child {
    padding-right: 12px;
    border-right: 0;
}

.video-list-item .content .interaction .like-count-display {
    cursor: default;
    pointer-events: none;
}

.video-list-item .content .interaction .episode-like-btn.active {
    background: #ff4444;
    color: #fff;
}


/* Comments Section Styles */
.comment-item {
    transition: background 0.2s;
}

.comment-item:hover {
    background: var(--color-bg-dark) !important;
}

.comment-item .reply-form {
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reply-btn:hover {
    opacity: 1 !important;
    color: var(--color-hover-tone) !important;
}

.comment-replies {
    margin-left: 20px;
    border-left: 2px solid var(--color-border-tone);
    padding-left: 15px;
}

.sidebar .search-box {
    box-shadow: none !important;
    border: 1px solid var(--color-border-tone) !important;
    background: url(../img/search-dark.png) no-repeat 10px 6px #444;
    border: 0;
    background-color: var(--color-bg-dark-hard) !important;
    padding-left: 40px;
    padding-top: 4px;
    padding-bottom: 4px;
    font-size: 13px;
    color: var(--color-white) !important;
    width: 100%;
    border-radius: 0;
}





.sidebar .link-list {
    margin-top: 5px;
}

.sidebar .link-list a {
    border-bottom: 1px solid var(--color-bg-dark-hard) !important;
    padding: 5px 5px;
    width: 100%;
    display: inline-block;
    color: var(--text-color);
    font-size: 12px;
}

.sidebar .link-list a:hover {
    background-color: var(--color-hover-tone);
}

.sidebar .link-list a:last-child {
    border-bottom: 0 !important;
}

.sidebar {
    margin-top: 0;
}

.sidebar .box {
    border: 1px solid var(--color-bg-dark-hard);
    background: var(--color-bg-dark-hard);
    -webkit-box-shadow: 0 0 5px var(--color-border-tone);
    -moz-box-shadow: 0 0 5px var(--color-border-tone);
    box-shadow: 0 0 5px var(--color-border-tone);
    border-radius: 5px;
    margin-top: 20px;
    font-size: 13px;
}

.sidebar .general-box {
    margin-top: 0;
}

.sidebar .box .title {
    padding: 5px 10px;
    font-weight: BOLD;
}

/* Video Player Area */
#player-area {
    position: relative;
    width: 100%;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
}

#player-area iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    z-index: 2;
}

.sidebar .box .content {
    background-color: var(--color-bg-dark) !important;
    padding: 10px;
}

.link-list-2 a {
    font-size: 12px;
    color: var(--text-color);
    border-bottom: 1px solid var(--color-bg-dark-hard);
    padding: 10px 0;
    display: flex;
    align-items: center;
}

.link-list-2 a .text {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding-right: 5px;
}

.link-list-2 a .watched-indicator {
    flex-shrink: 0;
}

/* Custom Scrollbar for Episode Lists */
#episodes-list,
.episode-list-container,
.link-list-2 {
    padding-right: 5px;
}

#episodes-list::-webkit-scrollbar,
.episode-list-container::-webkit-scrollbar,
.link-list-2::-webkit-scrollbar {
    width: 8px;
}

#episodes-list::-webkit-scrollbar-track,
.episode-list-container::-webkit-scrollbar-track,
.link-list-2::-webkit-scrollbar-track {
    background: var(--color-bg-dark-hard);
    border-radius: 4px;
}

#episodes-list::-webkit-scrollbar-thumb,
.episode-list-container::-webkit-scrollbar-thumb,
.link-list-2::-webkit-scrollbar-thumb {
    background: var(--color-border-tone);
    border-radius: 4px;
    transition: background 0.2s;
}

#episodes-list::-webkit-scrollbar-thumb:hover,
.episode-list-container::-webkit-scrollbar-thumb:hover,
.link-list-2::-webkit-scrollbar-thumb:hover {
    background: var(--color-hover-tone);
}

/* Firefox scrollbar */
#episodes-list,
.episode-list-container,
.link-list-2 {
    scrollbar-width: thin;
    scrollbar-color: var(--color-border-tone) var(--color-bg-dark-hard);
}

.link-list-2 a:first-child {
    padding-top: 5px;
}

.link-list-2 a:last-child {
    border-bottom: 0;
    padding-bottom: 5px;

}

.link-list-2 a .firts {
    background-color: #f0ad4e;
    color: var(--color-white);
    margin-right: 5px;
    border-radius: 5px;
    padding: 0 5px;
}

.link-list-2 a .last {
    font-size: 11px;
}

.tags .box {
    background-color: var(--color-hover-tone);
    color: var(--color-white);
    padding: 20px;
    margin-top: 30px;
}

.tags .box h4 {
    font-size: 20px;
}

.tags .box p {
    font-size: 13px;
}

.tags .box a {
    font-size: 11px;
    background-color: var(--color-bg);
    padding: 5px 10px;
    color: var(--text-color);
    margin-right: 10px;
    margin-bottom: 10px;
    display: inline-block;
}

footer {
    padding: 20px 0 10px;
    background-color: var(--color-bg-dark);
    margin-top: 30px;
}

footer p {
    font-size: 15px;
}




@media (max-width: 767px) {
    .hidden-xs {
        display: none !important;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .hidden-sm {
        display: none !important;
    }
}

@media (min-width: 991px) and (max-width: 1024px) {
    .hidden-1024 {
        display: none !important;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .hidden-md {
        display: none !important;
    }
}

@media (min-width: 1200px) {
    .hidden-lg {
        display: none !important;
    }
}




@media (max-width: 767px) {


    .mobile-menu {
        background-color: var(--color-bg-dark-hard);
        padding: 10px 0;

    }

    .mobile-menu .right .fa-sun {
        color: #ffeb3b;
    }

    .mobile-menu .right .link {
        color: var(--text-color);
        font-size: 15px;
        position: relative;
        top: -1px;
        margin-left: 8px;
    }


    header .d-flex {
        justify-content: center;
    }

    .alpha {
        overflow: hidden;
    }

    .alpha .d-flex {
        overflow-x: auto !important;
        overflow-y: hidden !important;
        display: -webkit-box !important;
    }

    .general-box .head {
        overflow-x: auto !important;
        overflow-y: hidden !important;
        display: -webkit-box !important;
        display: -moz-box !important;
    }

    .general-box .head a {
        display: block;
    }
}