@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600&display=swap');
a {
    color: inherit;
    text-decoration: none;
}
a:hover,
a:focus {
    text-decoration: none;
}
body.no-scroll {
    overflow-y: hidden;
    position: static;
    width: 100%;
    height: 100%;
}

html::-webkit-scrollbar {
    width: 8px;
}
#logoutMobile i,
#logout i {
    color: #eb4444;
}
html::-webkit-scrollbar-track {
    background: black;
}
html::-webkit-scrollbar-thumb {
    background-color: rgb(127, 127, 127);
    border-radius: 10px;
    border: 2px solid transparent;
    background-clip: content-box;
}

html::-webkit-scrollbar-thumb:hover {
    background-color: #ffffff;
}
body {
    font-family: Montserrat;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    scrollbar-width: thin;
    scrollbar-color: rgb(73, 73, 73) rgba(0, 0, 0, 0.0);
}
html, body {
    background-color: black;
    max-width: 100vw;
    height: 100%;
    cursor: default;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}
@keyframes slideUp {
    0% {
        transform: translate(-50%, 400%);
    }
    100% {
        transform: translate(-50%, 0);
    }
}

@keyframes slideUpNormal {
    0% {
        transform: translate(-50%, 100%);
    }
    100% {
        transform: translate(-50%, 0);
    }
}

@keyframes slideDownmenu {
    0% {
        transform: translate(-50%, 0);
    }
    100% {
        transform: translate(-50%, 400%);
    }
}
.out-div {
    display: flex;
    width: 100%;
    height: 20px;
    background-color: #000000;
    justify-content: center;
    align-items: center;
}

.out-div-text {
    color: whitesmoke !important;
    font-size: 8px;
}
.movie-close-mobile {
    display: none;
}
.modal-animate-spinner {
    display: block;
    margin: 0px auto;
    width: 200px;
}

.mobile-menu {
    width: 100%;
    display: none;
    position: fixed;
    bottom: -1px;
    left: 50%;
    color: white;
    box-sizing: border-box;
    background-color: black;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
    z-index: 2000;
}

.mobile-menu-player {
    width: 100%;
    display: none;
    position: fixed;
    bottom: -1px;
    left: 50%;
    color: white;
    box-sizing: border-box;
    background-color: black;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
    z-index: 2000;
    padding: 5px;
    padding-bottom: 2px;
    padding-top: 10px;
}

.mobile-menu.show {
    animation: slideUp 0.3s linear forwards;
}
.mobile-menu-player.show {
    animation: slideUpNormal 0.3s cubic-bezier(0.22, 0.68, 0.43, 1.00) forwards;
    display: flex;
}
.mobile-menu.hide,
.mobile-menu-player.hide {
    animation: slideDownmenu 0.6s cubic-bezier(0.22, 0.68, 0.43, 1.00) forwards;
}

.mobile-menu-ul {
    list-style-type: none;
    display: flex;
    padding: 0;
    margin: 0;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.mobile-menu-ul li {
    margin: 0 20px;
    font-size: 24px;
    align-items: center;
    justify-content: center;
    display: flex;
    text-align: center;
    flex: 1;
}
.mobile-menu-ul-active i {
    position: relative;
}

.mobile-menu-ul-active i::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -6px;
    height: 3px;
    background-color: currentColor;
    border-radius: 1px;
}

.close-btn {
    position: absolute;
    top: 2px;
    right: 7px;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 27px;
    color: whitesmoke;
    padding: 0;
    transition: color 0.2s, transform 0.2s ease;
    z-index: 5000;
    text-shadow: 0 0 20px rgb(0, 0, 0, 1);
}

.close-btn:hover,
.close-btn:focus {
    transform: rotate(90deg);
}
/* Hlavička Style */
.header {
    padding: 7px 25px;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: left;
    z-index: 2000;
    animation: slideDown 0.6s cubic-bezier(0.22, 0.68, 0.43, 1.00) forwards;
    background-color: rgb(0, 0, 0, 0.7);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}
.wrapper-div {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}
.info-modal {
    display: flex;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    justify-content: center;
    align-items: center;
    z-index: 1000;
    transition: 0.3s;
}
.info-modal-archive {
    display: flex;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    justify-content: center;
    align-items: flex-start;
    z-index: 5000;
    transition: 0.3s;
}
.archive-info-modal-content {
    position: relative;
    background-color: rgba(0, 0, 0, 0.8);
    border-radius: 15px;
    width: 750px;
    min-height: 645px;
    box-shadow: 0 0px 10px rgba(0, 0, 0, 1);
    animation: slideUpMovie 0.3s ease-out;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: 0.5s;
    box-sizing: border-box;
    z-index: 5000;
}



.user-info-modal-content {
    position: relative;
    background-color: rgba(255, 255, 255, 1);
    padding: 20px;
    border-radius: 15px;
    width: 300px;
    height: auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    animation: popIn 0.3s ease-out;
}
@keyframes scroll-text-title-big {
    0%, 20% {
        transform: translateX(0%);
    }
    45%, 55% {
        transform: translateX(var(--scroll-distance));
    }
    80%, 100% {
        transform: translateX(0%);
    }
}
@keyframes popIn {
    from {
        transform: translateY(-10vh) scale(0.7);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1.0);
        opacity: 1;
    }
}
@keyframes popOut {
    from {
        transform: translateY(0);
        opacity: 1;
    }
    to {
        transform: translateY(5vh);
        opacity: 0;
    }
}
@keyframes slideOutAndFade {
    0% {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
    }
    50% {
        transform: translateX(5%);
        opacity: 0.5;
    }
    100% {
        transform: translateX(10%);
        opacity: 0;
        visibility: hidden;
    }
}
@keyframes show-contents {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
.fade-out-slide-right {
    animation: slideOutAndFade 0.5s ease forwards;
}
.category {
    padding: 0 10px;
    margin-bottom: 20px;
    position: relative;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}
.category-sticky {
    padding: 0 10px;
    margin-bottom: 20px;
    position: relative;
    position: sticky;
    position: -webkit-sticky;
    top: 64px;
    z-index: 500;
    width: 100%;
}

.category-header {
    display: flex;
    align-items: first baseline;
    margin-bottom: 10px;
    padding: 10px 20px;
    background: linear-gradient(to right, rgb(25, 28, 26), black);
    border-radius: 10px;
}
.category-header-live {
    display: flex;
    align-items: first baseline;
    margin-bottom: 10px;
    padding: 10px 20px;
    background: linear-gradient(to right, rgb(25, 28, 26), black);
    border-radius: 10px;
    position: sticky;
    position: -webkit-sticky;
    top: 64px;
    z-index: 500;
}

.movie-details-container-header {
    display: flex;
    padding: 0 20px 0 10px;
}
.category-header h2,
.category-header-live h2 {
    margin: 0;
    font-size: 20px;
    margin-right: 30px;
    text-shadow: 0 0 10px rgba(0, 0, 0, 1);
    transition: 0.2s;
    color: whitesmoke;
}
.category-header h2 i,
.category-header a i {
    display: inline-block;
    transition: transform 0.2s ease;
}

.show-more {
    color: whitesmoke;
    cursor: pointer;
    font-size: 14px;
    transition: 0.2s;
    padding: 5px 10px;
    border-radius: 20px;
    background-color: #4646ff;
}
.show-more:hover,
.show-more:focus {
    color: black;
    background-color: whitesmoke;
    transition: 0.2s;
}

.prev-button, .next-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: rgb(180, 180, 180);
    background: none;
    padding: 0;
    border-radius: 0;
    border: 0;
    cursor: pointer;
    font-size: 40px;
    text-shadow: 0 0 10px rgba(0, 0, 0, 1);
    transition: 0.2s;
}

.prev-button:hover,
.next-button:hover,
.prev-button:focus,
.next-button:focus {
    color: white;
    transition: 0.2s;
}

.prev-button {
    left: 10px;
}

.next-button {
    right: 10px;
}
.movies-container {
    display: flex;
    overflow-x: scroll;
    padding-left: 10px;
    padding-right: 30px;
    padding-top: 20px;
    white-space: nowrap;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.movies-container::-webkit-scrollbar {
    display: none;
}
.movie {
    margin: 0 20px;
    display: inline-block;
    text-align: center;
    max-width: 173px;
    position: relative;
}
.movie-full-page {
    display: inline-block;
    text-align: center;
    max-width: 173px;
    position: relative;
}
.film-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(173px, 173px));
    grid-auto-rows: auto;
    gap: 30px;
    justify-content: center;
    width: 95%;
}
.film-container-search {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(173px, 173px));
    grid-auto-rows: auto;
    gap: 30px;
    justify-content: center;
    width: 95%;
    padding-top: 60px;
}

.movie-poster {
    width: 173px;
    height: 260px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 1);
    box-sizing: border-box;
    border: 1px solid transparent;
    transition: 0.2s;
}
.movie img:hover,
.movie img:focus,
.movie-full-page img:hover,
.movie-full-page img:focus {
    border-color: whitesmoke;
    transition: 0.2s;
}
.movie-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.movie-poster:hover {
    cursor: pointer;
}
.movie-poster-overlay-playe-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 150px;
    height: 225px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
}
.movie-poster-overlay-lock {
    position: absolute;
    top: 0;
    left: 0;
    width: 173.5px;
    height: 260px;
    -webkit-backdrop-filter: blur(9px);
    backdrop-filter: blur(9px);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
}
.movie-poster-overlay-lock:hover {
    cursor: pointer;
}
.play-icon-header {
    background-color: rgba(0, 0, 0, 0.8);
    border-radius: 25px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: rgb(216, 216, 216);
    font-size: 50px;
    /*text-shadow: 0 0 15px rgba(0, 0, 0, 1);*/
    transition: 0.2s;
}
.play-icon-header:hover,
.play-icon-header:focus {
    cursor: pointer;
    color: rgb(255, 255, 255);
    transition: 0.2s;
}
.lock-icon {
    color: white;
    font-size: 28px;
    text-shadow: 0 0 10px rgba(0, 0, 0);
}
.movie img:hover + p,
.movie img:focus + p,
.movie-full-page img:hover + p,
.movie-full-page img:focus + p {
    color: rgb(255, 255, 255);
    transition: color 0.2s;
    text-shadow: 0 0 1px rgba(255, 255, 255, 1);
}

.movie p,
.movie-full-page p {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    width: 173px;
    height: auto;
    color: rgb(180, 180, 180);
    font-size: 15px;
    text-shadow: 0 0 10px rgba(0, 0, 0, 1);
    transition: color 0.2s;
}

.movie p span,
.movie-full-page p span {
    display: inline-block;
    animation: none;
    white-space: nowrap;
}

@keyframes scroll-text {
    0%, 20% {
        transform: translateX(0%);
    }
    45%, 55% {
        transform: translateX(calc(-100% + 173px));
    }
    80%, 100% {
        transform: translateX(0%);
    }
}
@keyframes scroll-text-channel {
    0%, 20% {
        transform: translateX(0%);
    }
    45%, 55% {
        transform: translateX(calc(-100% + 169px));
    }
    80%, 100% {
        transform: translateX(0%);
    }
}
  
@keyframes slideDown {
  0% {
    transform: translateY(-400%);
  }
  50% {
    transform: translateY(10%);
  }
  100% {
    transform: translateY(0);
  }
}
.logo-header {
    color: whitesmoke;
    font-size: 22px;
    font-weight: 1000;
    letter-spacing: 2px;
    transition: 0.2s;
    cursor: default;
}

.menu-bar {
    width: 100%;
    display: flex;
    align-items: center;
    padding: 10px 5px;
    box-sizing: border-box;
    list-style-type: none;
    margin: 0 20px;
    justify-content: space-between;
}
.menu-bar div {
    display: flex;
    align-items: center;
}

.menu-bar .right-items li {
    margin-right: 10px;
    font-size: 17px;
}
.menu-bar .left-items li {
    font-size: 15px;
}
.menu-bar li {
    color: whitesmoke;
    margin: 0 10px;
    box-sizing: border-box;
    padding: 5px 10px;
    border-radius: 5px;
    transition: 0.3s;
    font-weight: bold;
}
.menu-bar-active {
    background-color: #4646ff;
}
.menu-bar li:hover {
    background-color: whitesmoke;
    color: black;
    transition: 0.3s;
}
#clock:hover {
    background-color: transparent;
    color: whitesmoke;
    cursor: default;
}
#clock {
    font-weight: bold;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.modal-pin {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}
.prompt-text-pin {
    font-size: 16px;
    color: whitesmoke;
    font-weight: bold;
    margin: 10px 0;
}
.modal-content-pin {
    background-color: rgba(0, 0, 0);
    padding: 10px;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid whitesmoke;
    box-shadow: 0 0 10px rgba(0, 0, 0, 1);
    animation: slideUpMovie 0.3s ease-out;
}
.inputs-container-pin {
    display: flex;
    justify-content: space-between;
    width: 100%;
}
.buttons-container-pin {
    display: flex;
    justify-content: space-between;
    width: 100%;
    height: auto;
    margin: 10px 0;
}
.pin-input {
    width: 25px;
    margin: 5px;
    height: 25px;
    font-size: 20px;
    text-align: center;
    border-bottom: 2px solid whitesmoke;
    border-top: none;
    border-left: none;
    border-right: none;
    background-color: rgba(0, 0, 0);
    color: whitesmoke;
}

.pin-submit, .pin-cancel {
    margin-top: 10px;
    margin-right: 2px;
    margin-left: 2px;
    padding: 5px 10px;
    font-size: 16px;
    border-radius: 5px;
}

.pin-cancel {
    background-color: #f44336;
    color: white;
    border: none;
}

.pin-submit {
    background-color: #4CAF50;
    color: white;
    border: none;
}

@keyframes menuslide {
    from {
        height: 0;
    }
    to {
        height: 100%;
    }
}

.contents {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: center;
    padding-top: 100px;
    animation: none;
    position: relative;
}

/* Login Styles */

@keyframes fadeInBackground {
    0% {
        background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0), rgba(0, 0, 0, 0) 100%),
                    linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0));
    }
    100% {
        background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.3), rgba(0, 0, 0, 0) 100%),
                    linear-gradient(to bottom, rgba(0, 0, 0, 0), #000 50%);
    }
}

/* Animace pozadí (postupné skrytí) */

.main-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    position: relative;
    background-color: #000;
    overflow: hidden;
}

/* Pozadí jako samostatný element */
.background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        ellipse at center,
        #032c40,
        rgba(0, 0, 0, 0) 100%
    ), 
    linear-gradient(to bottom, rgba(0, 0, 0, 0), #000 50%);
    opacity: 0; /* Výchozí stav - skryté */
    transition: opacity 1.5s ease; /* Plynulý přechod při zobrazení a skrytí */
    z-index: 0;
}

/* Aktivace pozadí */
.main-content.active .background-overlay {
    opacity: 1; /* Zobrazení pozadí */
}
.login-container.active {
    opacity: 0;
    transition: opacity 1.5s ease;
}
.login-container.show {
    opacity: 1;
    transition: opacity 1s ease;
}
.login-container {
    background-color: rgba(0, 0, 0, 0.2);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    padding: 20px;
    border-radius: 8px;
    width: 320px;
    box-sizing: border-box;
    z-index: 1;
    opacity: 0;
}

.login-container h1 {
    margin-bottom: 20px;
    font-size: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: rgb(226, 226, 226);
}

.login-container input {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

.login-container button {
    width: 100%;
    padding: 10px;
    background-color: #28a745;
    border: none;
    color: white;
    border-radius: 4px;
    cursor: pointer;
    margin: 10px 0;
    box-sizing: border-box;
}

.login-container button:hover,
.login-container button:focus {
    background-color: #218838;
}
.login-image {
    margin-right: 10px;
    width: 50px;
    height: auto;
    vertical-align: middle;
}
/* Movie info modal */

.progress-icon {
    width: 250px;
    height: auto;
}
.movie-info-modal-content-center {
    justify-content: center;
}
.movie-info-modal-content {
    position: relative;
    background-color: rgba(0, 0, 0, 0.8);
    border-radius: 15px;
    width: 750px;
    min-height: 645px;
    box-shadow: 0 0px 10px rgba(0, 0, 0, 1);
    animation: slideUpMovie 0.3s ease-out;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: 0.5s;
    box-sizing: border-box;
}
@keyframes slideUpMovie {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}
@keyframes slideDownMovie {
    from {
        transform: translateY(0);
        opacity: 1;
    }
    to {
        transform: translateY(100%);
        opacity: 0;
    }
}
.backdrop-image {
    width: 100%;
    height: 400px;
    border-radius: 15px;
    object-fit: cover;
    transition: opacity 0.3s ease;
}
.backdrop-container {
    position: relative;
    width: 100%;
    height: 400px;
    margin-bottom: 20px;
}
.backdrop-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 15px;
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
}
.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 56px;
    color: whitesmoke;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.play-icon-duration {
    font-size: 20px;
    top: 57%;
}

.backdrop-container:hover .backdrop-overlay,
.backdrop-container:focus .backdrop-overlay {
    opacity: 1;
    cursor: pointer;
}

.backdrop-container:hover .play-icon,
.backdrop-container:focus .play-icon {
    opacity: 1;
    cursor: pointer;
}
.movie-details-container {
    display: flex;
    width: 100%;
    align-items: flex-start;
    box-sizing: border-box;
    padding: 0 20px 10px 10px;
}
.movie-details-container-title {
    display: flex;
    width: 100%;
    align-items: flex-start;
    margin-bottom: 10px;
}
.cover-image-header-big {
    width: 100%;
    height: 100%;
    border-radius: 5px;
    background-size: cover;
}

.cover-image {
    width: 100%;
    height: 100%;
    border-radius: 5px;
    position: relative;
}
.cover-image-over {
    width: 150px;
    height: 225px;
    max-height: 234px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 1);
    margin-right: 10px;
    box-sizing: border-box;
    position: relative;
}
.cover-image-over-header {
    width: 150px;
    max-width: 150px;
    height: 225px;
    max-height: 225px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 1);
    margin-right: 10px;
    box-sizing: border-box;
    position: relative;
}
.movie-details {
    padding-left: 10px;
    width: calc(100% - 170px);
    color: whitesmoke;
}
.movie-details-header {
    padding-left: 5px;
    width: calc(100% - 160px);
}

.details-row {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
}
.details-row-header {
    display: flex;
    justify-content: space-between;
    margin-top: 0;
}
.movie-title {
    font-size: 22px;
    margin-bottom: 10px;
    margin-top: 0px;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    width: 100%;
    max-width: 100%;
    height: auto;
    transition: color 0.2s;
}
.movie-title h2 {
    font-size: 22px;
}
.movie-title h4,
.movie-title h2 {
    margin: 0;
    display: inline-block;
    white-space: nowrap;
}
.movie-duration {
    font-size: 14px;
    margin-left: auto;
    font-weight: bold;
}
.movie-title-p {
    margin-top: 0;
}
.movie-plot-header {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 0;
    font-size: 13px;
}
.movie-plot, .movie-director, .movie-cast, .movie-genre {
    font-size: 13px;
    margin: 5px 0;
    max-width: 100%;
}
.movie-cast {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    text-overflow: ellipsis;
}
.movie-plot {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 10px;
}
.star-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    height: fit-content;
    position: absolute;
    right: 0;
    bottom: 0;
    padding: 3px 0;
    background-color: rgb(0, 0, 0, 0.7);
}

.star {
    position: relative;
    display: inline-block;
    font-size: 14px;
    width: 14px;
    height: 14px;
    margin-right: 4px;
    color: yellow;
    line-height: 14px;
    text-align: center;
}

.star.empty:before {
    content: '☆';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: transparent;
    box-sizing: border-box;
}
.Movie-Header-Layout, .series-backdrop {
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    padding: 0 0;
    height: 646px;
    width: 1150px;
    color: whitesmoke;
    border-radius: 20px 20px 0 0;
    background-size: contain;
    background-position: top center;
    background-repeat: no-repeat;
    justify-content: flex-end;
    margin-top: -35px;
    text-shadow: 0 0 5px rgb(0, 0, 0, 1);
    opacity: 0;
    transition: opacity 0.5s, transform 0.2s;
    transform: scale(5);
    z-index: 500;
}
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Live Categories */

.live-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(173px, 173px));
    grid-auto-rows: auto;
    gap: 40px;
    justify-content: center;
    width: 100%;
    padding: 20px 0;
}
.live-wrapper {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    max-width: 193px;
}
.live {
    box-sizing: border-box;
    text-align: center;
    width: 173px;
    max-width: 173px;
    max-height: 113px;
    min-height: 113px;
    border-radius: 15px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, .7);
    background: linear-gradient(to bottom, #3c4040, #191a1a);
    border: 1px solid black;
    transition: 0.2s;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.live:hover,
.live:focus {
    border-color: whitesmoke;
    cursor: pointer;
    transition: 0.2s;
}
.live-poster {
    width: auto;
    max-height: 70px;
    height: 70px;
}

.live-wrapper p {
    text-align: center;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    max-width: 169px;
    height: auto;
    color: rgb(180, 180, 180);
    font-size: 13px;
    text-shadow: 0 0 5px rgba(0, 0, 0, 1);
    transition: color 0.2s;
    margin: 0px;
}

.live-wrapper p span {
    display: inline-block;
    animation: none;
    white-space: nowrap;
    font-size: 13px;
}
.catchup-image-cover {
    position: absolute;
    margin: 0;
    padding: 0;
    top: 7px;
    right: 7px;
    font-size: 18px;
    color: #ccc;
    transition: 0.3s;
}
.catchup-image-cover:hover {
    /*transform: rotate(-200deg);*/
    transition: 0.2s;
    text-shadow: 0px 0px 30px rgba(255, 255, 255, 1);
}
.live-progress {
    position: absolute;
    height: 5px;
    width: 0%;
    background-color: rgb(213, 213, 213);
    bottom: 0px;
    left: 3px;
    transition: width 0.5s ease-out;
}
.lock-icon-live {
    color: white;
    font-size: 20px;
    text-shadow: 0 0 10px rgba(0, 0, 0);
}
.live-overlay-lock {
    box-sizing: border-box;
    position: absolute;
    top: 0;
    left: 0;
    width: 173px;
    height: 113px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 15px;
    background-color: rgba(0, 0, 0, .7);
}
.live-overlay-lock:hover,
.live-overlay-lock:focus {
    border: none;
}
.epg-info {
    font-weight: bold;
    margin: 5px 0px;
}

.plyr__control.close-button {
    background: none;
    border: none;
    cursor: pointer;
    color: whitesmoke;
    font-size: 24px;
    max-width: 32px;
    max-height: 32px;
    width: 32px;
    height: 32px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loading-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10001;
    width: auto;
    height: 200px;
}

.hidden {
    display: none;
}


/* User info */
.user-info-content {
    display: block;
}
.user-info {
    display: flex;
    align-items: flex-start;
    box-sizing: border-box;
    margin: 20px;
    padding: 20px;
    width: 790px;
    color: rgb(180, 180, 180);
    border: 1px solid rgb(180, 180, 180);
    border-radius: 50px;
}

.user-avatar {
    width: 105px;
    height: 105px;
    border-radius: 50%;
    margin-right: 20px;
}

.user-details {
    flex: 1;
    height: 100%;
}
.user-email {
    margin: 0;
    margin-bottom: 10px;
}
.user-expiration, .user-pin {
    font-size: 14px;
    margin-bottom: 5px;
}
.user-pin {
    position: relative;
}

.user-info p {
    margin: 5px 0;
}
.clickable-text {
    transition: 0.2s;
    width: fit-content;
}
.clickable-text:hover,
.clickable-text:focus {
    cursor: pointer;
    color: whitesmoke;
    transition: 0.2s;
}


/* Series info */
.series-backdrop h4 {
    position: absolute;
    top: 110px;
    left: 20px;
    width: fit-content;
    background-color: #6722ff;
    box-sizing: border-box;
    padding: 10px 20px;
    border-radius: 20px;
    box-shadow: 2px 2px 10px black;
    transition: background-color 0.3s;
}

.series-backdrop h4:hover,
.series-backdrop h4:focus {
    cursor: pointer;
    background-color: #541dcc;
}

.series-backdrop h4 i {
    display: inline-block;
    transition: transform 0.2s ease;
}

.series-backdrop h4:hover i,
.series-backdrop h4:focus i {
    transform: translateX(-9px);
}

.series-info-container {
    display: flex;
    width: 100%;
}

.series-cover {
    height: 250px;
    margin-right: 5px;
    box-shadow: 0 0 10px rgb(0, 0, 0);
    border-radius: 5px;
}

.series-details {
    display: flex;
    flex-direction: column;
    width: calc(100% - 160px);
    padding-left: 5px;
}

.series-title {
    font-size: 22px;
    margin: 0;
    margin-bottom: 10px;
    text-shadow: 0 0 10px black;
}

.series-genre, .series-description {
    margin: 0;
    font-size: 13px;
    text-shadow: 0 0 10px black;
}
.season-title-modal {
    margin-top: 0;
}
.series-genre {
    margin-top: 10px;
    margin-bottom: 10px;
}

.series-episode {
    display: flex;
    flex-direction: column;
    /*margin: 9px;*/
    cursor: pointer;
    box-sizing: border-box;
    width: fit-content;
    border-radius: 10px;
    background-color: #25252d;
    justify-content: center;
    transition: 0.3s;
}

.series-episode:hover,
.series-episode:focus {
    background-color: #42424e;
    transition: 0.3s;
}
.series-episode:hover .series-play-icon,
.series-episode:focus .series-play-icon {
    opacity: 1;
    transition: 0.3s;
}
.series-episode-image {
    width: 241px;
    height: 138px;
    background-size: cover;
    background-position: center;
    position: relative;
    border-radius: 10px;
}

.series-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 44px;
    color: #eeeeee;
    text-shadow: 0 0 15px rgb(0, 0, 0, 1);
    border-radius: 50%;
    box-sizing: border-box;
    opacity: 0;
    transition: 0.3s;
}

.series-episode-details {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: whitesmoke;
    text-align: left;
    max-width: 235px;
    width: 235px;
    max-height: 89px;
    padding-left: 10px;
}

.series-episode-details h3 {
    margin-top: 15px;
    margin-bottom: 15px;
    font-size: 12px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
    text-overflow: ellipsis;
}

.series-episode-details p {
    margin-top: 15px;
    margin-bottom: 15px;
    font-size: 11px;
}
@keyframes scaleUpAnimation {
    from {
        transform: scale(1);
        opacity: 1;
    }
    to {
        transform: scale(10);
        opacity: 0;
    }
}
/*.content-series {
    width: 1300px;
    height: fit-content;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
}*/
.content-series {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(241px, 241px));
    gap: 30px;
    justify-content: center;
    width: 100%;
    max-width: 1150px;
    margin: 0 auto;
    box-sizing: border-box;
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 15px;
}

/* test */

.c-dropdown {
    margin-top: auto;
    align-self: flex-start;
    position: relative;
    display: inline-block;
    min-width: 200px;
    width: 200px;
    border-radius: 30px 30px 0 0;
    z-index: 50;
}
.season-name-button {
    margin-left: 10px;
    color: whitesmoke;
    font-family: Montserrat;
}
.c-button {
    text-align: left;
    background-color: #6722ff;
    color: white;
    padding: 6px;
    font-size: 16px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    white-space: nowrap;
    overflow: hidden;
    transition: 0.3s;
}

.c-button:hover,
.c-button:focus {
    background-color: #541dcc;
    transition: 0.3s;
}
.c-button i {
    color: #6722ff;
    background-color: whitesmoke;
    border-radius: 50%;
    padding: 7px;
    transition: .3s;
}
.dropdown-item {
    border-radius: 8px;
    box-sizing: border-box;
    padding: 7px 15px;
}
.dropdown-menu {
    margin-top: 10px;
    box-sizing: border-box;
    display: none;
    position: absolute;
    background-color: #541dcc;
    min-width: 200px;
    width: 200px;
    max-height: 250px;
    border-radius: 10px;
    z-index: 1;
    padding: 10px;
    transition: 0.3s;
    box-shadow: 5px 5px 5px rgb(0, 0, 0, 0.3);
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: rgb(85, 127, 255, 0.6) rgba(0, 0, 0, 0.0);
}

.dropdown-menu::-webkit-scrollbar {
    width: 8px;
}

.dropdown-menu::-webkit-scrollbar-track {
    border-radius: 10px;
}

.dropdown-menu::-webkit-scrollbar-thumb {
    background-color: rgb(85, 127, 255, 0.6);
    border-radius: 10px;
    border: 2px solid transparent;
    background-clip: content-box;
}

.dropdown-menu::-webkit-scrollbar-thumb:hover {
    background-color: #2727ff;
}

.dropdown-menu a {
    color: white;
    text-decoration: none;
    display: block;
    transition: 0.3s;
}

.dropdown-menu a:hover,
.dropdown-menu a:focus {
    background-color: #401798;
    transition: 0.3s;
}
.dropdown-menu.hide {
    visibility: hidden;
    height: 0;
    opacity: 0;
    animation: slideUpSerials 0.3s ease forwards;
}

.dropdown-menu.show {
    display: block;
    visibility: visible;
    height: auto;
    opacity: 1;
    animation: slideDownSerials 0.3s ease forwards;
}
@keyframes slideDownSerials {
    0% {
        opacity: 0;
        transform: translateY(-30px) scale(0.50);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1.0);
    }
}

@keyframes slideUpSerials {
    0% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateY(-20px);
    }
}

/* search style */
.search-container-wrapper {
    width: 100%;
    align-items: center;
    justify-content: center;
    display: flex;
    position: sticky;
    top: 60px;
    z-index: 100;
    animation: slideDown 0.6s cubic-bezier(0.22, 0.68, 0.43, 1.00) forwards;
}

.search-container {
    position: relative;
    width: 500px;
    margin: 20px;
    box-shadow: 5px 5px 20px rgba(0, 0, 0, 1);
    
}

.search-container i {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    color: black;
}

.search-container .fa-search {
    left: 15px;
}

.search-container .clear-icon {
    right: 15px;
    cursor: pointer;
    display: none;
}

.search-input {
    width: 100%;
    padding: 10px 10px 10px 40px;
    padding-right: 40px;
    border-radius: 10px;
    border: none;
    color: black;
    font-size: 14px;
    box-sizing: border-box;
}

.search-input:focus + .clear-icon {
    display: block; /* Zobrazíme křížek při fokusování pole */
}
.search-results {
    width: 100%;
    height: 100vh;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    height: auto;
    flex-wrap: wrap;
    overflow-y: auto;
}
.search-item {
    position: relative;
}
.item-type {
    position: absolute;
    top: 233px;
    left: 0;
    padding: 5px;
    background-color: rgba(0, 0, 0, 0.7);
    color: whitesmoke;
    font-size: 14px;
    width: calc(100% + 1px);
    text-align: center;
    box-sizing: border-box;
}
#backButton, #closeButton {
    box-sizing: border-box;
    color: whitesmoke;
}
#backButton a, #closeButton a {
    text-align: center;
    align-items: center;
    width: 29px;
    height: 29px;
    font-size: 24px;
    padding: 12px;
    background-color: #5e5ef8;
    border-radius: 50%;
}
/* EPG */


/* Mobile optimized */

@media (max-width: 840px) {
    .user-info {
        width: unset;
    }
    .film-container,
    .film-container-search {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(173px, 173px));
        grid-auto-rows: auto;
        gap: 10px;
        justify-content: center;
        width: 98%;
        max-width: 1300px;
    }
    .search-container-wrapper {
        top: 90px;
    }
    .series-play-icon {
        opacity: 1;
    }
    .modal-animate-spinner {
        width: 300px;
     }
    .series-backdrop h4 {
        display: none;
    }
    .series-title {
        font-size: 20px;
    }
    .Movie-Header-Layout, .series-backdrop {
        height: 460px;
        background-size: contain;
        background-position: top center;
        background-repeat: no-repeat;
        border-radius: 0;
        width: 100%;
    }
    .movie {
        margin: 10px 5px;
    }
    .category-header {
        padding: 10px 10px;
        margin-bottom: 0;
        display: flex;
        justify-content: space-between;
        border-radius: 0px;
    }
    .category-header-live {
        padding: 10px 10px;
        margin-bottom: 0;
        display: flex;
        justify-content: space-between;
        border-radius: 0px;
        top: 96px;
    }
    .backdrop-image {
        height: 300px;
    }
    .backdrop-container {
        height: 300px;
    }
    .play-icon {
        opacity: 1;
    }
    .movie-plot, .series-description {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 5;
        overflow: hidden;
        text-overflow: ellipsis;
        margin-top: 0;
    }
    .movie-plot, .movie-director, .movie-cast, .movie-genre, .movie-plot-header, .series-description, .series-genre {
        font-size: 13px;
    }
    .movie-director, .movie-cast, .movie-genre {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .backdrop-overlay {
        background-color: rgba(0, 0, 0, 0.3);
        opacity: 0;
    }
    .movie-details {
        padding-left: 5px;
        box-sizing: border-box;
        flex: 1;
    }
    .login-container {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        height: 100vw;
        width: 100vw;
        padding: 0 15%;
        background-color: transparent;
        box-shadow: none;
    }
    .login-container h1 {
        text-shadow: 0 0 10px rgba(0, 0, 0, 1);
    }
    .login-container button, input {
        box-shadow: 0 0 10px rgba(0, 0, 0, 1);
    }
    .category-header h2,
    .category-header-live h2 {
        font-size: 22px;
        color: whitesmoke;
        margin: 0;
    }
    .movie-title h2,
    .movie-title h4 {
        font-size: 20px;
    }
    .movie-info-modal-content {
        width: 90vw;
        max-width: 90vw;
        min-height: 560px;
        max-height: fit-content;
        box-sizing: border-box;
        overflow: auto;
        z-index: 1000;
    }
    .play-icon-duration {
        top: 59%;
        text-shadow: 4px 0 10px black;
        font-size: 24px;
    }
    .play-icon {
        text-shadow: 2px 0 5px black;
    }
    .category-sticky {
        padding: 0;
        top: 96px;
    }
    .category {
        padding: 0px;
    }
    .content-series {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(241px, 241px));
        grid-auto-rows: auto;
        gap: 10px;
        justify-content: center;
        width: 100%;
    }
    .close-btn {
    font-size: 34px;
    }
    .menu-bar .right-items li {
       display: none;
    }
    .mobile-menu {
        display: flex;
        animation: slideUp 0.3s ease-out forwards;
        padding: 5px;
        padding-bottom: 2px;
        padding-top: 10px;
    }
    .search-results {
        padding: 5px 5px;
    }
    .menu-bar {
        margin: 0 5px;
    }
    .menu-bar .left-items li {
        font-size: 20px;
    }
    .menu-bar {
        display: flex;
        justify-content: center;
    }
    .menu-bar li:hover {
        background-color: #4646ff;
        color: whitesmoke;
    }
    .logo-header {
        font-size: 26px;
    }
    .header {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 5px 0;
        background-color: rgb(0, 0, 0, 0.8);
    }
    .search-input {
        font-size: 24px;
        padding-left: 50px;
    }
    .search-container i {
        font-size: 24px;
    }
    .contents {
        padding-bottom: 62px;
        padding-top: 130px;
    }
    .movie-close-mobile {
        display: flex;
        position: absolute;
        bottom: 5px;
        right: 5px;
        color: #ff3333;
        font-size: 36px;
    }
    .backdrop-container:hover .backdrop-overlay,
    .backdrop-container:focus .backdrop-overlay {
        opacity: 0;
        cursor: pointer;
    }
    .live-wrapper {
        margin: 15px 5px;
    }
    .show-more {
        color: whitesmoke;
        cursor: pointer;
        font-size: 14px;
        transition: 0.2s;
        padding: 7px 11px;
        border-radius: 20px;
        background-color: #4646ff;
    }
    .live-container-mobile {
        display: block;
        padding-left: 10px;
        padding-right: 10px;
        max-width: 100%;
    }
    
    .live-wrapper-mobile {
        display: flex;
        margin: 15px 0;
        border-radius: 15px;
        /*background-color: rgb(255, 255, 255, 0.1);*/
        padding: 0 10px;
        height: 80px;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .Live-Logo-Div img {
        height: 60px;
        width: 100px;
    }
    
    .Live-Logo-Div {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 80px;
        background-color: rgb(255, 255, 255, 0.1);
        border-radius: 10px;
        box-sizing: border-box;
        padding: 5px;
    }
    
    .live-mobile-text-name-div {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        height: 80px;
        color: whitesmoke;
        padding: 0 10px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        overflow: hidden;
    }
    .live-mobile-text-name-div p {
        margin: 0;
    }
    .mobile-channel-name {
        font-weight: 700;
        font-size: 22px;
        padding-left: 5px;
    }
.mobile-channel-title {
    position: relative;
    font-size: 18px;
    overflow: hidden;
    white-space: nowrap;
    display: flex;
    box-sizing: border-box;
    width: 100%;
}

.mobile-channel-title::before,
.mobile-channel-title::after {
    content: '';
    position: absolute;
    top: 0;
    width: 8px;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.mobile-channel-title::before {
    left: 0;
    background: linear-gradient(to right, black, rgba(0, 0, 0, 0));
}

.mobile-channel-title::after {
    right: 0;
    background: linear-gradient(to left, black, rgba(0, 0, 0, 0));
}

.epg-info-mobile {
    font-size: 18px;
    display: inline-block;
    animation: none;
    white-space: nowrap;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    padding: 0 6px;
}
    .live-mobile-menu {
        display: flex;
        min-width: 50px;
        margin-left: auto;
        text-align: right;
        justify-content: right;
    }
    .live-mobile-menu i {
        color: whitesmoke;
        font-size: 32px;
        display: flex;
        height: 80px;
        justify-content: center;
        align-items: center;
    }
    .live-progress-container {
        width: 100%;
        height: 2px;
        background-color: rgb(255, 255, 255, 0.15);
        position: relative;
        overflow: hidden;
    }
    
    .live-progress-mobile {
        height: 100%;
        width: 0%;
        background-color: rgb(16, 163, 0);
        transition: width 0.5s ease-out;
        position: absolute;
    }  
}