@font-face {
    font-family: 'Inter';
    src: url('Inter.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Inter';
    src: url('Inter.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Inter';
    src: url('Inter.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

body::-webkit-scrollbar {
    width: 5px;
    background: rgba(0, 0, 0, 0.704);
}
body::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.19);
    border-radius: 0px;
    border: none;
}
body::-webkit-scrollbar-thumb:hover {
    background-color: rgba(255, 255, 255, 0.416);
}
body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-image: url('');
    background-size: cover;
    background-position: center;
    background-color: #000000;
    -webkit-overflow-scrolling: touch;
    cursor: url("/cursors/Normal.cur"), auto;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-touch-callout: none;
}

h1 {
    margin: 0 0 0 0;
    font-weight: 700;
    color: #ffffff;
    line-height: 100%;
}
@media (max-width: 1000px) {
    h1 {
        font-size: calc(32px - 10px);
    }
}
@media (max-width: 600px) {
    h1 {
        font-size: calc(32px - 13px);
    }
}

h2 {
    margin: 0 0 0 0;
    font-size: 22px;
    font-weight: 500;
    color: #ffffff;
    line-height: 20px;
}
@media (max-width: 1000px) {
    h2 {
        font-size: 19px;
    }
}
@media (max-width: 600px) {
    h2 {
        font-size: 17px;
    }
}

h3 {
    font-size: 18px;
    margin: 0 0 0 0;
    font-weight: 500;
    color: #ffffff;
}
@media (max-width: 1000px) {
    h3 {
        font-size: 16.5px;
    }
}
@media (max-width: 600px) {
    h3 {
        font-size: 15.5px;
    }
}

h4, h5, h6 {
    margin: 0 0 0 0;
    font-weight: 500;
    color: #ffffff;
}

p {
    margin: 0 0 0 0;
    line-height: 126%;
    font-weight: 400;
    letter-spacing: -0.4px;
    color: #ffffffbb;
}
@media (max-width: 1000px) {
    p {
        font-size: 13px;
    }
}
@media (max-width: 600px) {
    p {
        font-size: 12px;
    }
}

span {
    color: #555;
}

a {
    color: #007bff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.container {
    position: relative;
    width: 100%;
    overflow: hidden;
    transition: background-image 1s ease, filter 0.5s ease;
}

.container2 {
    position: relative;
    width: 100%;
    box-sizing: border-box;
    background-image: url('no2.png');
    background-attachment: fixed;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top;
    z-index: 0;
    padding: 16px;
}
.container2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background: linear-gradient(to bottom, #380404ef, #110f0ff4);
    background-blend-mode: multiply;
    z-index: -1;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    align-items: center;
    color: #fff;
    padding: 10px 16px 10px 14px;
    text-align: center;
    box-sizing: border-box;
    z-index: 100;
    gap: 10px;
}

header::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0%;
    width: 100%;
    height: 54px;
    pointer-events: none;
    background: inherit;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: -1;
    border: 1px solid #ffffff4b;
}

.header {
    max-width: 1456px;
    width: 100%;
    display: flex;
    align-items: center;
    margin: auto;
}

footer {
    background-color: #000000;
    color: #fff;
    text-align: center;
    padding: 18px 0 26px 0;
}

button {
    position: relative;
    padding: 7px 15px;
    border: none;
    border-radius: 50px;
    background-color: #ffffff21;
    border: 1px solid #ffffff21;
    color: #ffffffc0;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    overflow: hidden !important;
    transition: all 0.2s ease;
    flex-shrink: 0;
    cursor: url("/cursors/Link.cur"), auto;
}
button:hover {
    transition: all 0.2s ease;
    color: #fff;
    border: 1px solid rgb(255, 255, 255);
    cursor: url("/cursors/Link.cur"), auto !important;
}
button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        120deg,
        rgba(255,255,255,0) 0%,
        rgba(255, 255, 255, 0.474) 50%,
        rgba(255,255,255,0) 100%
    );
    transform: skewX(-20deg);
    pointer-events: none;
    transition: none;
}
button:hover::before {
    animation: shine 0.8s forwards;
}
@keyframes shine {
    0% {
        left: -75%;
    }
    100% {
        left: 125%;
    }
}
.btn1 {
    border-radius: 50px 0 0 50px;
    transition: all 0.2s ease;
}
.btn2 {
    border-radius: 0 0 0 0;
    transition: all 0.2s ease;
}
.btn3 {
    border-radius: 0 50px 50px 0;
    transition: all 0.2s ease;
}

ul, ol {
    margin: 0 0 15px 20px;
}

li {
    margin-bottom: 5px;
}

.logo-gradient {
    font-size: 22px;
    font-weight: 800;
    line-height: 110%;
    cursor: url("/cursors/Link.cur"), auto;
    text-align: center;
    transform: translateY(1px);
    background: linear-gradient(
        90deg,
        #686868,
        #b5b5b5,
        #ffffff,
        #aeaeae, 
        #555555 
    );
    background-size: 200% 100%;
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    animation: liquid-gradient 6s ease-in-out infinite;
    text-shadow: 0 0 12px rgba(176, 176, 176, 0.5),
                 0 0 25px rgba(91, 91, 91, 0.3);
}
@keyframes liquid-gradient {
    0% {
        background-position: 0% 50%;
    }
    25% {
        background-position: 50% 100%;
    }
    50% {
        background-position: 100% 50%;
    }
    75% {
        background-position: 50% 0%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.header-left {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: url("/cursors/Link.cur"), auto;
}
.header-left .logo {
    height: 50px;
}

/* Търсачка в средата */
.header-center {
    flex: 1;
    display: flex;
    justify-content: center;
    gap: 0;
}
@media (max-width: 400px) {
    .header-center {
        justify-content: right;
    }
}
.header-center input {
    width: 300px;
    border-radius: 50px 0 0 50px;
    transition: all 0.2s ease;
}
@media (max-width: 850px) {
    .header-center input {
        width: 200px;
    }
}
@media (max-width: 480px) {
    .header-center input {
        width: 100px;
    }
}

input {
    width: 100%;
    padding: 7px 15px;
    border-radius: 50px;
    font-family: 'Inter', sans-serif;
    background-color: #ffffff21;
    border: 1px solid #ffffff21;
    color: #fff;
    font-weight: 500;
    outline: none;
    transition: all 0.2s ease;
}

input::placeholder {
    color: #ffffff7c;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    transition: all 0.2s ease;
}

input:hover {
    border: 1px solid rgb(255, 255, 255);
}

.header-center button {
    padding: 8px 16px;
    border: none;
    width: 40px;
    border-radius: 0 50px 50px 0;
    background-color: #ffffff21;
    border: 1px solid #ffffff21;
    color: #fff;
    cursor: url("/cursors/Link.cur"), auto;
    background-image: url('img/search.svg');
    background-repeat: no-repeat;
    background-position: 6.5px center;
    background-size: 22px 22px;
}

.header-center button:hover {
    background-image: url('img/search1.svg');
    background-repeat: no-repeat;
    background-position: 6.5px center; 
    background-size: 22px 22px; 
    border: 1px solid rgb(255, 255, 255);
}

.header-right {
    display: flex;
    gap: 0;
}
@media (max-width: 400px) {
    .header-right {
        display: none;
    }
}

.container {
    box-sizing: border-box;

}

.header-btnnv {
    display: none;
    height: 32px;
    width: 40px;
    border: 1px solid #ffffff21;
    transition: all 0.2s ease;
    flex-shrink: 0;
}
.header-btnnv:hover {
    border: 1px solid #ffffff;
    transition: all 0.2s ease;
    flex-shrink: 0;
}
.header-btnnv::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('img/menu.svg');
    background-size: 24px 24px;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.3s ease;
    transform-origin: center;
}
.header-btnnv:hover::after {
    transform: rotate(-90deg);
        background-image: url('img/menu1.svg');
    background-size: 24px 24px;
    background-repeat: no-repeat;
    background-position: center;
}
@media (min-width: 400px) and (max-width: 750px) {
    .header-btnnv {
        display: block;
    }
}
@media (max-width: 750px) {
    .navopt {
        display: none;
    }
}

.logo-img {
    width: 30px;
    height: 30px;
    position: relative;
}

.main-container {
    width: 100%;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-sizing: border-box;
    background-image: url('no2.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center calc(50% + 50px);
}
.main-container::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 25%;
    pointer-events: none;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.505) 0%, rgba(0,0,0,0) 100%);
    z-index: 0;
    transition: all 0.2s ease;
}
@media (max-width: 1000px) {
    .main-container {
        height: 90vh;
    }
}
@media (max-width: 600px) {
    .main-container {
        height: 100vh;
    }
}
@media (max-height: 600px) {
    .main-container {
        height: 90vh;
    }
}
@media (min-height: 600px) {
    .main-container {
        height: 70vh;
    }
}

.title-left {
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    gap: 5px;
    flex: 1 1 auto;
    width: 100%;
}

.titlediv {
    position: absolute;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 1490px;
    top: 0;
    padding: 63px 16px 60px 16px;
    align-items: flex-start;
    display: inline-flex;
    gap: 5px;
    box-sizing: border-box;
    margin: 0 auto;
    z-index: 2;
}
.titlediv::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgb(0, 0, 0) 40%,
        rgba(0, 0, 0, 0) 100%
    );
    z-index: -1; /* Под основното съдържание */
    pointer-events: none; /* Не пречи на кликане */
}
@media (max-width: 1250px) {
    .titlediv {
        display: flex;
        justify-content: center;
        width: 100%;
        max-width: min(710px, calc(100% - var(--logo-width)));
        margin: auto;
}}
@media (max-width: 620px) {
    .titlediv {
        flex-direction: column;
        max-width: 100% !important;
    }
}

.overlay-container {
    position: relative;
    height: max-content;
    width: 100%;
    display: flex;
    gap: 10px;
    padding: 0 0 16px 0;
    align-items: last baseline;
    box-sizing: border-box;
    z-index: 1;
}
@media (max-width: 1250px) {
    .overlay-container {
        width: 100%;
        max-width: 890px;
        margin: auto;
    }
}

.content-image {
    position: absolute;
    left: 15px;
    bottom: 15px;
    height: 230px;
    aspect-ratio: 1 / 1.5;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 30px #000000;
    border-radius: 16px;
}
@media (max-width: 1000px) {
    .content-image {
        height: 190px;
    }
}
@media (max-width: 700px) {
    .content-image {
        height: 150px;
    }
}
@media (max-width: 500px) {
    .content-image {
        top: -186px;
        left: 0;
    }
}

:root {
    --logo-width: 150px;
}
.content-logo {
    position: relative;
    height: 80px;
    width: var(--logo-width);
    flex-shrink: 0;
    object-fit: contain;
    object-position: right top !important;
    background-color: transparent;
    box-sizing: border-box;
    display: block;
}

@media (min-width: 1000px) {
    .content-logo {
        height: 80px;
        width: 170px;
    }
    :root {
        --logo-width: 170px;
    }
}
@media (min-width: 1251px) {
    .content-logo {
        height: 100px;
        width: 190px;
    }
    :root {
        --logo-width: 190px;
    }
}
@media (max-width: 620px) {
    .content-logo {
        object-position: left top !important;
        margin-top: 10px;
    }
}

.overlay-texts {
    position: relative;
    margin: auto;
    width: 100%;
    max-width: 1460px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background-color: #000000a9;
    padding: 15px 15px 15px 184px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    line-height: 100%;
    color: #fff;
    box-shadow: 0 0 30px #00000072;
    transition: all 0.2s ease;
    box-sizing: border-box;
}
@media (max-width: 1000px) {
    .overlay-texts {
        padding: 15px 15px 15px 156px;
    }
}
@media (max-width: 700px) {
    .overlay-texts {
        padding: 15px 15px 15px 130px;
    }
}
@media (max-width: 500px) {
    .overlay-texts {
        padding: 15px;
    }
}

.share {
    position: relative;
    padding-left: 34px;
    width: max-content;
    height: 32px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background-image: url('img/share.svg');
    background-repeat: no-repeat;
    background-position: 8px center;
    background-size: 22px 22px;
}
.share:hover {
    background-image: url('img/share1.svg');
    background-repeat: no-repeat;
    background-position: 8px center; 
    border: 1px solid rgb(255, 255, 255);
    background-size: 22px 22px; 
}

.categories {
    width: max-content;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: -2px;
}

.text-box {
    border-radius: 8px;
    color: #ffffffd2;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    line-height: 100%;
}
@media (max-width: 800px) {
    .text-box {
        font-size: 12px;
    }
}

.seasons-container {
    display: inline-flex;
    width: max-content;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    margin-right: auto;
    gap: 0;
    margin-top: 10px;
    padding-bottom: 6.5px;
    box-sizing: border-box;
    transition: all 0.2s ease;
}
.seasons-container button{
    font-weight: 600;
    font-size: 14.5px;
    transition: all 0.2s ease;
}

.seasons-container::-webkit-scrollbar,
.btn-scroll::-webkit-scrollbar,
.filter-left::-webkit-scrollbar {
    height: 9px;
    background: transparent;
}
.seasons-container::-webkit-scrollbar-thumb,
.btn-scroll::-webkit-scrollbar-thumb,
.filter-left::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.19);
    border-radius: 50px;
    border: none;
}
.seasons-container::-webkit-scrollbar-thumb:hover,
.btn-scroll::-webkit-scrollbar-thumb:hover,
.filter-left::-webkit-scrollbar-thumb:hover {
    background-color: rgba(255, 255, 255, 0.416);
}

.season-container {
    display: flex;
    align-items: center;
    gap: 30px;
    line-height: 100%;
}
@media (max-width: 800px) {
    .season-container {
        flex-direction: column;
        gap: 6px;
        align-items: normal;
    }
}

.sizef {
    width: 100%;
    max-width: 1455px;
    align-items: flex-start;
    display: flex;
    margin: 0 auto 16px auto;
    gap: 30px;
}
@media (max-width: 1250px) {
    .sizef {
        flex-direction: column;
        align-items: center;
        flex-wrap: wrap
    }
}

.episodes-container {
    display: flex;
    flex-direction: column !important;
    align-self: flex-start;
    gap: 10px;
}
@media (max-width: 1250px) {
    .episodes-container {
        width: 100%;
        align-items: center;
        flex-wrap: wrap
    }
}

.episode-card {
    width: 100%;
    max-width: 885px;
    display: flex;
    gap: 10px;
    background: rgba(255,255,255,0.05);
    border-radius: 16px;
    padding: 10px;
    box-sizing: border-box;
    border: 1px solid rgba(255,255,255,0.1);
}

.episode-thumb {
    will-change: transform, opacity;
    transform: translateZ(0);
    shape-rendering: geometricPrecision;
    height: auto; 
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    width: 230px;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block; 
    align-self: flex-start;
}
@media (max-width: 650px) {
    .episode-thumb {
        width: 190px;
    }
}

.episode-info {
    flex: 1;
    display: grid;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.episode-info p {
    font-size: 14px;
}
@media (max-width: 1000px) {
    .episode-info p {
        font-size: 13px;
    }
}
@media (max-width: 600px) {
    .episode-info p {
        font-size: 12px;
    }
}

.episode-info h3 {
    margin: 0 0 0 0;
    line-height: 110%;
}

.episode-info button {
    width: max-content;
    line-height: 110%;
}

@media (max-width: 450px) {
    .episode-card {
        flex-direction: column;
        padding: 12px;
    }

    .episode-thumb {
        width: 100%;
        aspect-ratio: 16 / 9;
    }
}

.movie-card {
    width: 100%;
    max-width: 885px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: rgba(255,255,255,0.05);
    border-radius: 16px;
    padding: 10px;
    box-sizing: border-box;
    border: 1px solid rgba(255,255,255,0.1);
}

.movie-thumb {
    height: auto; 
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block; 
    align-self: flex-start;
}

.movie-info {
    flex: 1;
    display: grid;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.movie-info p {
    font-size: 14px;
}
@media (max-width: 600px) {
    .movie-info p {
        font-size: 13px;
    }
}

.movie-info button {
    width: max-content;
    line-height: 110%;
}

.next-watch {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    border-radius: 16px;
    box-sizing: border-box;
    margin: 0 auto 0 auto;
}
@media (max-width: 1250px) {
    .next-watch {
        max-width: 885px;
        width: 100%;
    }
}

#continue-watch,
#good-to-watch {
    align-items: flex-start;
}

.tv-thumb {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px 16px 0 0 ;
    transition: all 0.2s ease;
}

.rec-thumb {
    width: 100%;
    aspect-ratio: 1 / 1.5;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px 16px 0 0 ;
    transition: all 0.2s ease;
}

.tv-content {
    position: relative;
    width: 124.5px;
    object-fit: cover;
    background-color: #ffffff0e;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    box-shadow: 0 0 10px #0000001e;
    transition: all 0.2s ease;
    cursor: url("/cursors/Link.cur"), auto;
}

.similar-content {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 124.5px;
    aspect-ratio: 1 / 1.5;
    object-fit: cover;
    background-color: #ffffff0e;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    box-shadow: 0 0 10px #0000001e;
    transition: all 0.2s ease;
    cursor: url("/cursors/Link.cur"), auto;
    gap: 0;
}
.similar-content:hover,
.tv-content:hover {
    border: 1px solid rgba(255, 255, 255, 0.54);
    transition: all 0.2s ease;
}
.border-opacity:hover {
    border: 1px solid rgb(255, 255, 255);
    transition: all 0.2s ease;
}

.similar-content p,
.tv-content p {
    margin: -3px 7px 7px 7px;
    font-size: 13px;
    text-align: center;
    transition: all 0.2s ease;
}
.similar-content:hover p {
    color: #fff;
    transition: all 0.2s ease;
}

.similar-content:hover .rec-thumb {
    opacity: 1;
    transition: all 0.2s ease;
}
.similar-content:hover .rec-title {
    background-color: #000000;
    opacity: 1;
    transition: all 0.2s ease;
}
.similar-content:hover .rec-year {
    color: #fff;
    transition: all 0.2s ease;
}

.homepagetitles {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1340px;
    margin-top: 20px;
}

.home-watch {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 16px;
    border-radius: 16px;
    box-sizing: border-box;
    margin: auto;
}

.slider-wrapper {
    width: 100%;
    max-width: 1450px;
    margin: 0 auto;
}

.background-s {
    pointer-events: none;
    position: fixed;
    width: calc(100% + 160px);
    height: calc(100% + 160px);
    top: -80px;
    left: -80px;
    background-size: cover;
    background-position: center;
    z-index: -1;
    filter: blur(8px) brightness(0.7);
    transition: background-image 1s ease, filter 0.5s ease;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: clamp(70vh, 90vh - 3.3vh, 90vh);
    box-shadow: 0 0 20px #0000007b;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    border-radius: 0 0 20px 20px;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    pointer-events: none;
}
.slide.active {
    opacity: 1;
}

.slide-content {
    position: absolute;
    display: flex;
    flex-direction: column;
    text-align: center;
    bottom: 0px;
    left: 70px;
    right: 70px;    
    width: auto;  
    background-color: #00000080;
    padding: 10px;
    border-radius: 15px 15px 0px 0px;
    background: rgba(0, 0, 0, 0.7);
    gap: 10px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    font-family: 'Inter', sans-serif;
    opacity: 0;
    transform: translateY(80px);
    transition: all 0.5s ease;
    pointer-events: auto;
    z-index: 3;
}
@media (max-width: 1000px) {
    .slide-content {
        gap: 5px;
        left: 18px;
        right: 18px;
    }
}

.slide-content button {
    width: max-content;
    margin: auto;
    margin-top: 3px;
}

@media (max-width: 1000px) {
    .slide-content p {
        font-size: 14px;
    }
}

@media (max-width: 600px) {
    .slide-content p {
        font-size: 12px;
    }
}

.slide.active .slide-content {
    opacity: 1;
    transform: translateY(0);
}

.slide-title {
    font-size: 50px;
    font-weight: bold;
    margin-bottom: 15px;
}

.slide-desc {
    font-size: 20px;
    line-height: 1.5;
}

.nav-arrow {
    position: absolute;
    bottom: 9px;
    width: 42px;
    height: 35px;
    font-size: 25px;
    line-height: 100%;
    font-weight: 800;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.arrow-left {
    left: 50%;
    transform: translateX(-50%);
    margin-left: -100px;
}

.arrow-right {
    right: 50%;
    transform: translateX(50%);
    margin-right: -100px;
}
@media (max-width: 1000px) {
    .arrow-left {
    left: 29px;
    transform: translateX(0);
    margin-left: 0;
}
.arrow-right {
    right: 29px;
    transform: translateX(0);
    margin-right: 0;
}
}
/* DOTS */
.dots {
    position: absolute;
    bottom: -22px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 5;
}

.dot {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.469);
    border-radius: 50%;
    transition: 0.3s;
    box-shadow: 0 0 6px rgba(0, 0, 0, 1);
}
.dots:hover {
    cursor: url("/cursors/Link.cur"), auto;
}

.dot.active {
    width: 13px;
    height: 13px;
    background: rgba(255, 255, 255, 0.93);
}

#player-overlay {
    position: fixed;
    inset: 0;
    background: linear-gradient(
    to bottom,
    rgb(0, 0, 0) 0%,
    rgb(36, 33, 32) 100%
    );
    display: flex;
    flex-direction: column;
    padding: 16px;
    box-sizing: border-box;
    z-index: 9999;
    display: none;
}
@media (min-width: 800px) {
   #player-overlay {
    padding: 24px;
}}
@media (min-width: 1000px) {
   #player-overlay {
    padding: 32px;
}}
@media (min-width: 1200px) {
   #player-overlay {
    padding: 38px;
}}

/* Горната част */
.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: start;
    height: 62px;
    width: 100%;
}

.btn-scroll {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    display: flex;
    gap: 7px;
    overflow-x: auto;
    padding-bottom: 8px;
    max-width: calc(100% - 64px);
}

.close-player {
    height: 32px;
    width: 40px;
    background-image: url('img/close.svg');
    background-size: 26px 26px;
    background-position: center;
    background-repeat: no-repeat;
}
.close-player:hover {
    background-image: url('img/close1.svg');
    background-size: 26px 26px;
    background-position: center;
    background-repeat: no-repeat;
}

.player {
    background-color: #ffffff21;
    border: 1px solid #ffffff21;
    color: #fff;
    height: 100%;
    width: 100%;
    height: calc(100% - 66px);
    border-radius: 16px;
    flex-grow: 1;
}

.dropdown-menu {
    border: 1px solid #ffffff4a;
    background-color: rgba(0, 0, 0, 0.85);
    position: fixed;
    top: 54px;
    right: 16px;
    width: 120px;
    border-radius: 16px;
    overflow: hidden;
    font-size: 14px;
    text-align: right;
    opacity: 0;
    transform: translateY(-80px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 100;
}

.dropdown-menu.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.menu-item {
    position: relative;
    overflow: hidden;  
    padding: 4px 13px;
    color: #fff;
    border-bottom: 1.5px solid #ffffff21;
    cursor: url("/cursors/Link.cur"), auto;
    transition: background 0.2s;
}
.menu-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        120deg,
        rgba(255,255,255,0) 0%,
        rgba(255, 255, 255, 0.474) 50%,
        rgba(255,255,255,0) 100%
    );
    transform: skewX(-20deg);
    pointer-events: none;
}
.menu-item:hover::before {
    animation: shine 0.8s forwards;
}
@keyframes shine {
    0% {
        left: -75%;
    }
    100% {
        left: 125%;
    }
}

.ft:hover {
    text-decoration: underline;
    cursor: url("/cursors/Link.cur"), auto;
}

.loading-screen {
  box-sizing: border-box;
  position: fixed;
  display: flex;
  align-items: center;
  width: 100%;
  height: 100%;
  z-index: 99999999;
  background-color: #35353567;
  transition: opacity 0.5s ease;
}
.loading-screen.hide {
  opacity: 0;
}

.spinner-container {
  position: relative;
  width: 52px;
  height: 52px;
  display: inline-block;
  margin: auto;
}

.google-spinner {
  animation: rotate 2s linear infinite;
}
.google-spinner-path {
  stroke: #fff;
  stroke-dasharray: 1, 200;
  stroke-dashoffset: 0;
  animation: dash 1.5s ease-in-out infinite, color 6s ease-in-out infinite;
}
@keyframes rotate {
  100% {
    transform: rotate(360deg);
  }
}
@keyframes dash {
  0% {
    stroke-dasharray: 1, 200;
    stroke-dashoffset: 0;
  }
  50% {
    stroke-dasharray: 90, 200;
    stroke-dashoffset: -35px;
  }
  100% {
    stroke-dasharray: 90, 200;
    stroke-dashoffset: -124px;
  }
}
@keyframes color {
  0% { stroke: #ffffff; }
}

.filter-bar {
  display: flex;
  justify-content: space-between;
  align-items: self-start;
  width: 100%;
  max-width: 1450px;
  margin: auto;
  padding-bottom: 10px;
  box-sizing: border-box;
  border-bottom: 1px solid #ffffff7d;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.filter-left {
  display: flex;
  gap: 0px;
  overflow-x: auto;
  flex-shrink: 1;
  padding-bottom: 7px;
}

.filmserial-title1 { align-self: flex-start; width: 100%; max-width: 1450px; margin: auto; }
@media (max-width: 600px) { .filmserial-title { display: none; }}

.filmserial-title {padding-right: 20px; align-self: center; }
@media (min-width: 600px) { .filmserial-title1 { display: none; }}

.signal-container {
    left: 0;
    top: 0;
    position: fixed;
    padding: 12px 16px 16px 16px;
    width: 275px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background-color: #000000c3;
    border-radius: 16px;
    color: white;
    display: none;
    z-index: 9999999;
    margin-left: 10px;
    margin-top: 6px;
}
.signal-container button {
    margin-top: 10px;
}
.signal-container p {
    font-size: 14px;
    margin-top: 5px;
}

.signal-video {
    height: 32px;
    width: 40px;
    background-image: url('img/noplay.svg');
    background-size: 25px 24px;
    background-position: center;
    background-repeat: no-repeat;
}
.signal-video:hover {
    background-image: url('img/noplay1.svg');
    background-size: 25px 24px;
    background-position: center;
    background-repeat: no-repeat;
}

.watch-btn {
    padding-left: 34px;
    background-image: url('img/play.svg');
    background-size: 27px 27px;
    background-position: calc(0% + 6px) center;
    background-repeat: no-repeat;
}
.watch-btn:hover {
    background-image: url('img/play1.svg');
    background-size: 27px 27px;
    background-position: calc(0% + 6px) center;
    background-repeat: no-repeat;
}

#fullscreen-btn {
    height: 32px;
    width: 40px;
    background-image: url('img/fullscreen.svg');
    background-size: 25px 24px;
    background-position: center;
    background-repeat: no-repeat;
}
#fullscreen-btn:hover {
    background-image: url('img/fullscreen1.svg');
    background-size: 25px 24px;
    background-position: center;
    background-repeat: no-repeat;
}

.rec-year {
    position: absolute;
    left: 5px;
    top: 5px;
    padding: 1px 6px 1px 6px;
    font-size: 11px;
    background-color: #000000b6;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.8);
    z-index: 2;
    transition: all 0.2s ease;
}

.recdiv { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }

.rec-title {
    margin-top: -1px;
    position: relative;
    background-image: url('');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 0 0 16px 16px;
    overflow: hidden;
    padding-bottom: 1px;
    transition: all 0.2s ease;
}
.rec-title::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #0000005a;
    z-index: 1;
    border-radius: 0 0rgba(0, 0, 0, 0.868)x;
}
.rec-title p {
    position: relative;
    z-index: 2;
    margin: 0;
    padding: 5px 5px 6.5px 5px;
    font-weight: 500;
}

.home-content { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; width: 100%; max-width: 1340px; align-items: flex-start;}
.opacity2 { opacity: 1; }

.filter-dropdown {
    margin-top: 10px;
    position: absolute;
    background-color: #000000cf;
    border: 1px solid #ffffff21;
    border-radius: 16px;
    font-size: 14px;
    overflow: hidden;
    z-index: 999;
}
.filter-option {
    padding: 3px 14px;
    cursor: url("/cursors/Link.cur"), auto;
    color: #fff;
}
.filter-option:hover {
    background-color: #ffffff22;
}

.search-dropdown {
    position: absolute;
    margin-top: 10px;
    width: 370px;
    top: 100%;
    right: calc(0 - 1);
    border: 1px solid #ffffff40;
    background-color: rgba(0, 0, 0, 0.85);
    border-radius: 16px;
    overflow: hidden;
    z-index: 999;
    transition: all 0.2s ease;
}
.search-item {
    padding: 4px 10px;
    text-align: left;
    cursor: url("/cursors/Link.cur"), auto;
    white-space: nowrap;
    font-size: 13px;
}
.search-item:hover {
    background: #ffffff33;
}
@media (max-width: 850px) {
    .search-dropdown {
        width: 270px;
    }
}
@media (max-width: 480px) {
    .search-dropdown {
        width: 170px;
    }
}

.second-letter {
    background: none;
    -webkit-text-fill-color: #ff0000;
    color: #ff0000;
}

.toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.9);
    color: #fff;
    padding: 6px 22px;
    border-radius: 50px;
    font-size: 15px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    text-align: center;
    z-index: 9999;
    width: 300px;
    line-height: 110%;
    border: 1px solid rgba(255, 255, 255, 0.15);
}
.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(-30px);
}
@media (min-width: 500px) {
    .toast {
        width: max-content;
    }
}

.btn-flex {
    display: flex;
    gap: 6px;
}

.card-inner {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.down-btn {
    position: relative;
    padding-left: 34px;
    width: max-content;
    height: 32px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    cursor: url("/cursors/Link.cur"), auto;
    background-image: url('img/download.svg');
    background-repeat: no-repeat;
    background-position: 8px center;
    background-size: 24px 24px;
}
.down-btn:hover {
    background-image: url('img/download1.svg');
    background-repeat: no-repeat;
    background-position: 8px center; 
    border: 1px solid rgb(255, 255, 255);
    background-size: 24px 24px; 
}

.player-choice-btn.active {
    background-color: #ffffff46;
    transition: all 0.2s ease;
}

.sls {
    max-width: 1460px;
    gap: 6.5px;
}







/* Изолираме всичко вътре в контейнера на Google */
/* Премахваме анимацията и блясъка конкретно за Google бутоните */
.fc-consent-root button::before, 
.fc-consent-root button::after {
    content: none !important;
    display: none !important;
    animation: none !important;
}

/* Форсираме техния overflow да е чист */
.fc-consent-root button {
    overflow: visible !important; /* Връщаме техния оригинален вид */
    background-clip: padding-box;
}