/* INDEX PAGE CSS */

body {
    font-family: Arial, sans-serif;
    margin: 20px;
}
.search-bar {
    margin-bottom: 20px;
}
.search-results {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.anime-card {
    border: 1px solid #ddd;
    padding: 10px;
    width: 200px;
    text-align: center;
    cursor: pointer;
}



/* yeah here is raul css works */

/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body, * {
    user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    -moz-user-select: none;
    cursor: default;
}
body::-webkit-scrollbar {
    display: none;
}
body {
    scrollbar-width: none;
}
body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: rgb(2, 2, 2);
    color: #ffffff;
    line-height: 1.6;
    margin: 0;
    padding: 0px 25px;
}
.container {
    max-width: 800px;
    margin: 0 auto;
}

/* Header */
.landing-header {
    display: flex;
    flex-direction: column;
    gap: 25px;
    align-items: center;
    background-color: rgb(2, 2, 2);
    padding: 20px;
}
.link-cursor {
    cursor: pointer;
}
.landing-header .logo img {
    width: 200px;
    height: auto;
}
.landing-header nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
}
.landing-header nav ul li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    padding: 5px 10px;
}
.landing-header nav ul li a:hover {
    background-color: transparent;
    color: #8a63e5;
    border-radius: 5px;
}

/* Hero Section */
.landing-hero {
    position: relative;
    text-align: center;
    height: 100%;
    overflow: hidden;
}
.landing-hero .banner img {
    width: 100%;
    height: auto;
    display: block;
}
.landing-hero .overlay-image {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.landing-hero .overlay-image img {
    height: 20vw;
    width: 20vw;
}
@media screen and (max-width: 1700px) {
    .landing-hero .overlay-image img {
        height: 30vw;
        width: 30vw;
    }
}
.homepage-button {
    display: inline-block;
    margin-top: -56px;
    background-color: #f39c12;
    color: #000000;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.3s;
    z-index: 1;
    position: relative;
    cursor: pointer;
    width: 300px;
}
.homepage-button-svg {
    width: 27px;
    height: 27px;
    margin-bottom: -10px;
    fill: #000000;
}
.homepage-button:hover {
    background-color: #ffae2c;
}

/* Info Section */
.info-section {
    padding: 50px 0px 100px 0px;
}
.info-section h2 {
    font-size: 24px;
    font-weight: 100;
    margin-bottom: 20px;
}
.info-section p {
    margin-bottom: 20px;
    font-size: 14px;
    color: #aaa;
    font-weight: 100;
}
.info-section .faq h3 {
    margin: 20px 0 10px;
    font-size: 24px;
    font-weight: 100;
}
.info-section .faq ul {
    list-style: inside;
}
.info-section .faq ul li {
    margin-bottom: 10px;
    font-size: 14px;
    color: #aaa;
    font-weight: 100;
}

/* Footer */
footer {
    background-color: rgb(2, 2, 2);
    text-align: left;
    padding: 15px 0;
    font-size: 14px;
    color: #ffffff;
}

/* Mobile Style */
@media screen and (max-width: 770px) {
    .landing-header {
        gap: 5px;
    }
    .landing-header nav ul li a {
        font-size: 14px;
    }
    .landing-header nav ul {
        gap: 0px;
        flex-wrap: wrap;
        justify-content: center;
    }
    .homepage-button {
        margin-top: -51px;
        padding: 13px 16px;
        font-size: 15px;
        width: 200px;
    }
    .homepage-button-svg {
        width: 23px;
        height: 23px;
        margin-bottom: -9px;
    }
    .info-section h2 {
        font-size: 20px;
        margin-bottom: 10px;
    }
    .info-section .faq h3 {
        font-size: 20px;
    }
    #copy-all-reserved {
        font-size: 10px;
    }
    .info-section {
        padding: 50px 0px 50px 0px;
    }
}
@media screen and (max-width: 550px) {
    .landing-header {
        padding: 0px;
    }
    .landing-header .logo img {
        width: 150px;
    }
    .banner {
        height: 65vw;
    }
    .landing-hero .overlay-image img {
        height: 60vw;
        width: 60vw;
    }
}

.search-container {
    position: relative;
    width: 75%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
    z-index: 10;
}
.search-bar {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #171717;
    border: 1px solid #444;
    border-radius: 5px;
    width: 100%;
    padding: 8px;
    position: relative;
}
.search-bar.flat-bottom {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}
.search-bar-column {
    display: flex;
    align-items: center;
    width: 100%;
    transition: all 0.3s;
    position: relative;
}
.search-bar:focus-within {
    border: 1px solid #444;
}
.search-icon {
    color: #666;
    width: 9px;
    height: 19px;
    margin-right: 15px;
}
.search-icon:hover {
    color: #aaa;
}
.search-input {
    flex: 1;
    background: transparent;
    border: none;
    color: #aaa;
    font-size: 16px;
    outline: none;
}
.search-input {
    width: 100%;
}
.clear-btn {
    color: #666;
    text-decoration: underline;
    margin-left: 10px;
    cursor: pointer;
    font-size: 14px;
}
.clear-btn:hover {
    color: #aaa;
}
.tip {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    color: #aaa;
    margin-left: 20px;
    cursor: pointer;
}
.tip .icon {
    width: 16px;
    height: 16px;
    fill: #aaa;
}
.search-popup {
    position: absolute;
    top: 100%;
    width: 100.1%;
    background: #171717;
    border-left: 1px solid #444;
    border-right: 1px solid #444;
    border-bottom: 1px solid #444;
    border-radius: 0 0 5px 5px;
    border-top: none;
    overflow-y: auto;
    box-shadow: 0 8px 6px -6px black;
}
.results-container {
    width: 100%;
}
.result-item {
    display: flex;
    align-items: center;
    padding: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.result-item:nth-child(odd) {
    background-color: #1c1c1c;
}
.result-item:nth-child(even) {
    background-color: #171717;
}
.result-item:not(.highlighted):hover {
    background: rgba(40, 30, 53, 0.52);
}
.result-item.highlighted {
    background-color: rgba(40, 30, 53, 0.52);
}
.additional-content {
    background-color: #171717;
    color: #ccc;
    border-top: none;
    width: 100%;
    justify-content: space-between;
    font-size: 1rem;
    line-height: 1rem;
    border-bottom: 1px solid #292929;
    padding: 10px 15px 0;
}
.additional-content {
    display: none;
}
.search-bar:focus + .additional-content,
.additional-content.active {
    display: flex;
}
.result-item img {
    width: 50px;
    height: 70px;
    object-fit: cover;
    margin-right: 10px;
}
.result-item .info {
    color: #aaa;
}
.result-item .title {
    font-size: 16px;
    font-weight: bold;
}
.icon-search {
    display: flex;
    flex-direction: row;
}
.footer-search {
    background: #202020;
    color: #666;
    line-height: 2.5rem;
    font-size: 1.1rem;
    overflow: hidden;
}
.anime-header-text {
    font-size: 14px;
}
.anime-header-text::after {
    content: '';
    color: #aaa;
    position: absolute;
    top: 26px;
    left: 0;
    height: 1px;
    background-color: #aaa;
    width: 8%;
    margin-left: 11px;
}
.filter {
    margin-top: -15px;
    text-decoration: none;
    color: #666;
    font-size: 14px;
}
.filter:hover {
    color: #aaa;
}
.result-item .meta {
    display: flex;
    gap: 5px;
    font-size: 12px;
    color: #aaa;
}
.dot:before {
    content: "";
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #515151;
    vertical-align: middle;
    display: inline-block;
    margin-left: 5px;
    margin-right: 8px;
}
.name {
    font-weight: 500;
    margin-bottom: 6px;
    display: block;
    font-size: 1rem;
    display: -webkit-box;
    line-height: 1.5rem;
    max-height: 3rem;
    overflow: hidden;
}
.rating {
    font-size: .8em;
    border: 1px solid #666;
    color: #666;
    border-radius: 5px;
    padding: 0 3px;
}
.fa-star:before {
    content: "\2605";
    font-family: system-ui;
    font-weight: bold;
}
/* Mobile Style */
@media screen and (max-width: 770px) {
    .search-input {
        font-size: 14px;
    }
    .anime-header-text::after {
        width: 9%;
        margin-left: 11px;
    }
}
@media screen and (max-width: 550px) {
    .search-container {
        width: 100%;
    }
    .search-bar {
        width: 100%;
    }
    .result-item .meta {
        gap: 0px;
        font-size: 8.8px;
    }
    .anime-header-text::after {
        width: 13%;
        margin-left: 14px;
    }
}

/* Basic alignment for header elements */
.header-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 0px;
    background-color: #1c1c1c;
}
.start {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 53%;
    height: 100%;
}
.end {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-grow: 1;
    height: 100%;
}
.menu-icon-container {
    padding: 10px;
}
.menu-icon {
    cursor: pointer;
    width: 30px;
    height: 18px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}
.menu-icon span {
    position: absolute;
    width: 100%;
    height: 3px;
    background-color: #fff;
}
.menu-icon span:nth-child(1) {
    top: 0;
    transition: all 0.3s;
}
.menu-icon span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}
.menu-icon span:nth-child(3) {
    bottom: 0;
    transition: all 0.3s;
}
.menu-icon.open span:nth-child(1) {
    transform: rotate(44deg) translate(4px, 4.5px);
    transition: all 0.3s;
}
.menu-icon.open span:nth-child(2) {
    opacity: 0;
}
.menu-icon.open span:nth-child(3) {
    transform: rotate(-45deg) translate(6.5px, -6px);
    transition: all 0.3s;
}
.logo {
    margin-left: 20px;
    width: 11.2rem;
    height: 3.2rem;
}
.search-container {
    flex-grow: 1;
    margin-left: 20px;
}
.menu {
    display: flex;
    align-items: center;
    margin-left: 25px;
}
.menu ul {
    display: flex;
    align-items: center;
    gap: 35px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.menu ul li a {
    margin-left: 20px;
    color: #aaa;
    font-size: 16px;
    text-decoration: none;
}
.menu ul li a:hover {
    color: #6735ae;
}
.language-switch {
    display: flex;
    margin-left: 10px;
}
.sign-in-btn {
    margin-left: 20px;
}

/* Hamburger Menu */
.hamburger-menu {
    position: absolute;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out;
    z-index: 10;
    border-radius: 0 0 5px 5px;
}
.hamburger-menu.open {
    max-height: 500px;
}
.dropdown-menu {
    position: absolute;
    background-color: #0f0f0f;
    display: block;
    z-index: 10;
    max-width: 0;
    overflow: hidden;
    transition: max-width 0.4s ease-in-out;
    border-radius: 0 0 5px 5px;
}
.dropdown-menu.open {
    max-width: 532px;
}
.dropdown-columns {
    display: flex;
    padding: 10px;
}
.dropdown-link.active {
    background-color: #0f0f0f;
}
.dropdown-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.dropdown-menu ul li a {
    color: #fff;
    padding: 6px 10px;
    display: block;
    text-decoration: none;
    font-size: 14px;
    width: 120px;
}
.dropdown-link:after {
    content: "\23F5";
    font-size: 25px;
    position: absolute;
    right: 10px;
    top: 33%;
    margin-top: -12px;
    z-index: 10;
    color: #242424;
    font-weight: 900;
}
.dropdown-menu ul li a:hover {
    background-color: #1c1c1c;
    border-radius: 5px;
}
.hamburger-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.hamburger-menu ul li {
    position: relative;
}
.hamburger-menu ul li a {
    color: #fff;
    background-color: #1c1c1c;
    padding: 10px 20px;
    display: block;
    text-decoration: none;
}
.hamburger-menu ul li a:hover{
    background-color: #0f0f0f;
}
.hamburger-menu ul li .dropdown-menu {
    position: absolute;
    top: 0;
    left: 100%;
    background-color: #1c1c1c;
    display: none;
    width: 200px; /* Adjust as needed */
    z-index: 11;
}
.hamburger-menu ul li .dropdown-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.hamburger-menu ul li .dropdown-menu ul li a {
    color: #fff;
    padding: 10px;
    display: block;
    text-decoration: none;
}
.hamburger-menu ul li .dropdown-menu ul li a:hover {
    background-color: #333;
}
.hamburger-menu ul li.dropdown.active .dropdown-menu {
    display: block;
}

/* Search Bar */
.search-container {
    margin-top: 0px !important;
}

/* Popup alignment */
.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}
.header-popup {
    display: flex;
    align-items: center;
    background: #141414;
    padding: .4rem 1.6rem;
    margin: -20px -20px 20px -20px;
    border-radius: 5px 5px 0px 0px;
}
.popup-content {
    background-color: #1c1c1c;
    color: #777; 
    padding: 20px;
    border-radius: 5px;
    width: 350px;
    max-width: 100%;
    position: relative;
}
.popup-content p {
    font-size: 14px;
    padding: 10px 0px 25px 0px;
}
.close-popup {
    margin: 0 0 0 auto;
    font-size: 22px;
    cursor: pointer;
}
.close-popup:hover {
    color: #aaa;
}
.imput-submit-btn-container {
    display: flex;
    flex-direction: column;
}
.form-control {
    display: block;
    width: 100%;
    height: calc(1.5em + .75rem + 2px);
    padding: .375rem .9rem;
    font-size: .8rem;
    font-weight: 400;
    line-height: 1.5;
    color: #aaa;
    background-color: #212121;
    background-clip: padding-box;
    border: 1px solid #303030;
    border-radius: 5px;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}
.input-bar.form-control {
    margin-bottom: 1rem;
}
.submit-btn {
    padding: .5rem 1rem;
    font-size: .9rem;
    line-height: 1.1rem;
    border-radius: .3rem;
    width: 100%;
    color: #fff;
    background-color: #5a2e98;
    border: 1px solid #5a2e98;
}
.submit-btn:hover {
    color: #fff;
    background-color: #6735ae;
    border: 1px solid #6735ae;
}

/* external mneu */
.language-switch {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
}

.language-switch>button {
    padding: 0 4px;
    font-weight: 600;
    border: 2px solid #171717;
    background-color: #292929;
    color: #aaa;
    cursor: pointer;
    height: 21px;
    line-height: 21px;
    box-sizing: content-box;
    display: inline-block;
    border-right-width: 0;
    transition: all .2s;
    border-radius: 0 5px 5px 0;
}
.language-switch>button.active {
    color: #1c1c1c;
    background-color: #aaa;
    border-radius: 5px 0 0 5px;
}
/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body, * {
    user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    -moz-user-select: none;
    cursor: default;
}
body::-webkit-scrollbar {
    display: none;
}
body {
    scrollbar-width: none;
}
body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #0e0e0e;
    color: #ffffff;
    line-height: 1.6;
    margin: 0;
}
header {
    width: 100%;
    z-index: 50;
    transition: background .2s;
    margin-bottom: 10px;
}
header.fixed {
    background: #1c1c1c;
    margin-top: 0;
    position: fixed;
}
.container {
    max-width: 1800px;
    width: 100%;
    padding: 0px 25px;
    margin: 0 auto;
}

.btn-primary {
    padding: .5rem 1rem;
    font-size: .9rem;
    line-height: 1.1rem;
    border-radius: .3rem;
    color: #fff;
    background-color: #5a2e98;
    border: 1px solid #5a2e98;
}
.btn-primary:hover {
    color: #fff;
    background-color: #6735ae;
    border: 1px solid #6735ae;
}

input:is(:-webkit-autofill, :autofill) {
   display: none !important;
  }

.ep-range {
    display: block;
    height: max-content;
    position: relative;
    max-width: -webkit-fill-available;
    width: 100%;
}

#w-episodes .body .episodes {
    max-height: 100%;
}


.servers ul {
    display: flex;
    flex-direction: row;
    gap: 4px;
}

.custom-loader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: black;
    align-items: center;
    justify-content: center;
    color: white;
    display: flex
;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 14px;
    text-align: center;
    z-index: 999;
}

.plyr--video {
    overflow: hidden;
    width: 100%;
    height: 100%;
}



  