/*
Color kPrimaryColor = const Color(0xFFe84c3d);
Color kBackgroundColor = const Color(0xFF101010);
Color kBackgroundDarkColor = const Color(0xFF0c0c0c);

Color kBack1Color = const Color(0xFF171717);
Color kBack2Color = const Color(0xFF222222);
Color kTextColor = Colors.white;
*/

.welcome-text {
    text-align: center;
    color: grey;
    font-size: 1em;
}

.card-title {
    color: white;
    font-size: 1.2em;
    font-weight: bold;
}

.day-text {
    color: white;
    font-size: 1.5em;
    font-weight: bold;
}

.price-text {
    color: #ccc;
    font-size: 1em;
}

.subtitle {
    color: white;
    font-weight: bold;
    font-size: 0.9em;
}

.feature-list {
    list-style: none;
    padding: 0;
    font-size: 0.9em;
    color: white;
}

.feature-list i {
    color: #e84c3d;
}

.content-text {
    margin-top: 0.5rem;
    font-size: 0.85em;
    color: #aaa;
}

/* 📱 Mobile: reduce font sizes */
@media (max-width: 768px) {
    .welcome-text {
        font-size: 0.9em;
    }

    .card-title {
        font-size: 1em;
    }

    .day-text {
        font-size: 1.2em;
    }

    .price-text {
        font-size: 0.9em;
    }

    .subtitle {
        font-size: 0.8em;
    }

    .feature-list {
        font-size: 0.8em;
    }

    .content-text {
        font-size: 0.75em;
    }
}

/*                           new                       */

#loader {
    border: 4px solid white;
    border-radius: 50%;
    border-top: 4px solid #444444;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}

.loading_center {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

.body {
    margin: 0;
    padding: 0;
    background-color: #0c0c0c;
    font-family: 'Montserrat';
}

.main {
    margin-top: 1vh;
    margin-left: 1vh;
    margin-right: 1vh;
}

a {
    text-decoration: none;
    color: #000;
}

/* ----------------- Header --------------- */
.topnav {
    z-index: 10000000000000;
    position: fixed;
    overflow: hidden;
    width: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
}

.topnav_a {
    float: left;
    color: white;
    text-align: center;
    padding: 1em 16px;
    text-decoration: none;
    font-size: 2.08vh;
}

.topnav_a:hover {
    color: #e84c3d;
}

.topnav-right {
    float: right;
}

.topnav-logo {
    height: 7vh;
    float: left;
    margin-right: 1.6em;
    margin-left: 0.4em;
}

/* ----------------- Header end --------------- */
/* ----------------- Home --------------------- */

/* ----------------- Banner --------------------- */
.top_banner {
    height: 70vh;
    width: 100%;
    position: relative;
}

.banner_image {
    height: 70vh;
    width: 100%;
    object-fit: cover;
    position: absolute;
    z-index: 1;
}

.banner_gradient {
    z-index: 2;
    background: -moz-linear-gradient(top, #000000 100%, #000000 60%);
    /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(100%, #000000), color-stop(60%, #000000));
    /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #000000 100%, #000000 60%);
    /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #000000 100%, #000000 60%);
    /* Opera 11.10+ */
    background: -ms-linear-gradient(top, #000000 100%, #000000 60%);
    /* IE10+ */
    background: linear-gradient(to bottom, #000000 100%, #000000 60%);
    /* W3C */
    height: 70vh;
    width: 100%;
    opacity: 0.5;
    position: absolute;
}

.banner_information {
    width: 46%;
    max-height: 68vh;
    position: absolute;
    z-index: 10000000;
    margin: 0 auto;
    text-align: center;
    content: "";
    display: flex;
}

.banner_title {
    margin-top: 20vh;
    margin-left: 1.5vh;
    color: white;
    font-size: 2.5vh;
    position: absolute;
    text-align: left;
}

.banner_desc {
    margin-top: 23.5vh;
    margin-left: 1.5vh;
    color: white;
    opacity: 0.6;
    font-size: 1.5vh;
    position: absolute;
    text-align: left;
}

.banner_content {
    margin-top: 28vh;
    margin-left: 1.5vh;
    color: white;
    opacity: 0.6;
    font-size: 2.0vh;
    position: absolute;
    text-align: left;
    max-height: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    /* number of lines to show */
    line-clamp: 3;
    -webkit-box-orient: vertical;
}

.banner_play_btn {
    margin-top: 40vh;
    margin-left: 1.5vh;
    position: absolute;
    border: none;
    border-radius: 4px;
    background-color: #e84c3d;
    color: white;
    padding: 1vh 7.5vh;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 2.0vh;
    cursor: pointer;
}

.banner_item_builder {
    width: 100%;
    z-index: 10000;
    position: absolute;
    bottom: 0;
    margin-bottom: 0.2vh;
}

.banner_item {
    width: 30vh;
    height: 17vh;
    margin-top: 0.5vh;
    margin-bottom: 0.2vh;
    margin-left: 1.1vh;
    object-fit: cover;
    will-change: transform;
    transition: transform 450ms;
}

.banner_item:hover {
    transition: transform 150ms;
    transform: translateY(-10px);
    cursor: pointer;
}

.banner_category_title {
    font-size: 1.2em;
    font-weight: lighter;
    color: white;
    margin-left: 1.1vh;
}

/* ----------------- Banner end --------------- */

/* ----------------- Item builder --------------- */
.category_title {
    font-size: 1em;
    font-weight: lighter;
    color: white;
}

.movie_item {
    width: 18vh;
    height: 25vh;
    margin-top: 0.5vh;
    margin-bottom: 0.5vh;
    margin-left: 0.3vh;
    object-fit: cover;
    transition: 0.375s;
}

.movie_item:hover {
    scale: 1.05;
}

/* ----------------- Item builder end --------------- */

/* ----------------- Home end--------------------- */

/* ----------------- Movie deatil ---------------- */
.movie_detail {
    height: 55vh;
    width: 100%;
    position: relative;
}

.movie_detail_image {
    height: 55vh;
    width: 100%;
    object-fit: cover;
    position: absolute;
    z-index: 1;
}

.movie_detail_gradient {
    z-index: 2;
    background: -moz-linear-gradient(top, #000000 100%, #000000 60%);
    /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(100%, #000000), color-stop(60%, #000000));
    /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #000000 100%, #000000 60%);
    /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #000000 100%, #000000 60%);
    /* Opera 11.10+ */
    background: -ms-linear-gradient(top, #000000 100%, #000000 60%);
    /* IE10+ */
    background: linear-gradient(to bottom, #000000 100%, #000000 60%);
    /* W3C */
    height: 55vh;
    width: 100%;
    opacity: 0.5;
    position: absolute;
}

.movie_detail_watch {
    padding-top: 56.25%;
    position: absolute;
    z-index: 1000000000;
}

.movie_detail_information {
    width: 100%;
    max-height: 55vh;
    position: absolute;
    z-index: 10000000;
    margin: 0 auto;
    text-align: center;
    content: "";
    display: flex;
}

.movie_detail_play_btn {
    margin-top: 27vh;
    margin-left: 4vh;
    position: absolute;
    border: none;
    border-radius: 2px;
    background-color: white;
    color: black;
    padding: 0.5vh 4.5vh;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 1.5vh;
    cursor: pointer;
    font-weight: bold;
    transition: 0.375s;
}

.movie_detail_trailer_btn {
    margin-top: 27vh;
    margin-left: 18vh;
    position: absolute;
    border: none;
    border-radius: 2px;
    background-color: rgb(255, 255, 255, 0.3);
    color: white;
    padding: 0.5vh 4.5vh;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 1.5vh;
    cursor: pointer;
    transition: 0.375s;
}

.movie_detail_play_btn:hover {
    scale: 1.1;
}

.movie_detail_trailer_btn:hover {
    scale: 1.1;
}

.movie_detail_title {
    margin-top: 22vh;
    margin-left: 4vh;
    color: white;
    font-size: 2.5vh;
    position: absolute;
    text-align: left;
}

.movie_detail_category_title {
    margin-top: 33vh;
    margin-left: 4vh;
    color: white;
    opacity: 0.6;
    font-size: 1.5vh;
    position: absolute;
    text-align: left;
}

.movie_detail_desc {
    margin-top: 36vh;
    margin-left: 4vh;
    color: white;
    opacity: 0.6;
    font-size: 1.5vh;
    position: absolute;
    text-align: left;
}

.movie_detail_desc2 {
    margin-top: 40vh;
    margin-left: 4vh;
    color: white;
    opacity: 0.6;
    font-size: 1.5vh;
    position: absolute;
    text-align: left;
}

.movie_detail_desc3 {
    margin-top: 42.5vh;
    margin-left: 4vh;
    color: white;
    opacity: 0.6;
    font-size: 1.5vh;
    position: absolute;
    text-align: left;
}

.movie_detail_like_btn {
    margin-top: 47vh;
    margin-left: 4vh;
    background-color: transparent;
    border: none;
    color: white;
    padding: 2px 12px;
    font-size: 3vh;
    cursor: pointer;
    border-radius: 8px;
    transition: 0.375s;
}

.movie_detail_like_btn:hover {
    background-color: #e84c3d;
    scale: 1.1;
}

.movie_detail_dislike_btn {
    margin-top: 47vh;
    margin-left: 2vh;
    background-color: transparent;
    border: none;
    color: white;
    padding: 2px 12px;
    font-size: 3vh;
    cursor: pointer;
    border-radius: 8px;
    transition: 0.375s;
}

.movie_detail_dislike_btn:hover {
    background-color: #e84c3d;
    scale: 1.1;
}

.movie_detail_share_btn {
    margin-top: 47vh;
    margin-left: 2vh;
    background-color: transparent;
    border: none;
    color: white;
    padding: 2px 12px;
    font-size: 3vh;
    cursor: pointer;
    border-radius: 8px;
    transition: 0.375s;
}

.movie_detail_share_btn:hover {
    background-color: #e84c3d;
    scale: 1.1;
}

.movie_detail_favorite_btn {
    margin-top: 47vh;
    margin-left: 2vh;
    background-color: transparent;
    border: none;
    color: white;
    padding: 2px 12px;
    font-size: 3vh;
    cursor: pointer;
    border-radius: 8px;
    transition: 0.375s;
}

.movie_detail_favorite_btn:hover {
    background-color: #e84c3d;
    scale: 1.1;
}

.movie_detail_close_btn {
    top: 10vh;
    right: 3vh;
    background-color: transparent;
    border: none;
    color: white;
    padding: 2px 12px;
    font-size: 3vh;
    cursor: pointer;
    border-radius: 8px;
    z-index: 10;
    position: absolute;
}

.movie_detail_close_btn:hover {
    background-color: #e84c3d;
}

.movie_detail_information {
    width: 100%;
    margin-top: 2vh;
    position: relative;
}

.movie_detail_content {
    font-size: 1.8vh;
    margin-left: 4vh;
    margin-right: 4vh;
    color: white;
    text-align: justify;
}

.movie_detail_regular_movies {
    width: 100%;
    margin-top: 2vh;
    position: relative;
}

.movie_detail_regular_movie {
    margin-left: 4vh;
    margin-right: 4vh;
}

/* ----------------- Movie deatil end -__--------- */

@media screen and (max-width: 1024px) {
    .main {
        margin-top: 0.5vh;
        margin-left: 1.2vh;
        margin-right: 1vh;
    }

    .movie_item {
        width: 15vh;
        height: 23vh;
        margin-top: 0.4vh;
        margin-bottom: 0.15vh;
        margin-right: 0.34vh;
        object-fit: cover;
    }

    .category_title {
        font-size: 0.8em;
        font-weight: lighter;
        color: white;
    }

    .topnav-menu {
        position: absolute;
        visibility: hidden;
    }

    .movie_detail_like_btn {
        margin-top: 47vh;
        margin-left: 1.5vh;
        font-size: 2.5vh;
    }

    .movie_detail_dislike_btn {
        margin-top: 47vh;
        margin-left: 1vh;
        font-size: 2.5vh;
    }

    .movie_detail_share_btn {
        margin-top: 47vh;
        margin-left: 1.5vh;
        font-size: 2.5vh;
    }

    .movie_detail_favorite_btn {
        margin-top: 47vh;
        margin-left: 1vh;
        font-size: 2.5vh;
    }

    .movie_detail_play_btn {
        margin-left: 2vh;
    }

    .movie_detail_trailer_btn {
        margin-left: 16vh;
    }

    .movie_detail_title {
        margin-left: 2vh;
    }

    .movie_detail_category_title {
        margin-top: 31.7vh;
        margin-left: 2vh;
    }

    .movie_detail_desc {
        margin-top: 34vh;
        margin-left: 2vh;
    }

    .movie_detail_desc2 {
        margin-top: 36vh;
        margin-left: 2vh;
    }

    .movie_detail_desc3 {
        margin-top: 38.5vh;
        margin-left: 2vh;
    }

    .movie_detail_content {
        font-size: 1.6vh;
        margin-left: 2vh;
        margin-right: 2vh;
        color: white;
        text-align: justify;
    }

    .movie_detail_regular_movie {
        margin-left: 2vh;
        margin-right: 2vh;
    }
}

/*     Popup style      */
.center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.popup {
    width: 360px;
    height: 300px;
    padding: 30px 20px;
    background: #161616;
    border-radius: 10px;
    box-sizing: border-box;
    z-index: 100000000000000000;
    text-align: center;
    opacity: 0;
    top: -200%;
    transform: translate(-50%, -50%) scale(0.5);
    transition: opacity 300ms ease-in-out, top 1000ms ease-in-out, transform 1000ms ease-in-out;
}

.popup.active {
    opacity: 1;
    top: 50%;
    transform: translate(-50%, -50%) scale(1);
    transition: transform 300ms cubic-bezier(0.18, 0.89, 0.43, 1.49);
}

.popup .icon {
    margin: 5px 0px;
    width: 50px;
    height: 50px;
    border: 2px solid white;
    text-align: center;
    display: inline-block;
    border-radius: 50%;
    line-height: 60px;
}

.popup .icon i.fa {
    font-size: 30px;
    color: #e84c3d;
}

.popup .title {
    margin: 5px 0px;
    font-size: 26px;
    font-weight: 600;
    color: white;
}

.popup .description {
    color: grey;
    font-size: 15px;
    padding: 5px;
}

.popup .dismiss-btn {
    margin-top: 15px;
}

.popup .dismiss-btn button {
    padding: 10px 20px;
    background: #e84c3d;
    color: #f5f5f5;
    border: 2px solid #111;
    font-size: 16px;
    font-weight: 600;
    outline: none;
    cursor: pointer;
    border-radius: 10px;
    transition: all 300ms ease-in-out;
}

.popup .dismiss-btn button:hover {
    color: #111;
    background: #f5f5f5;
}

.popup>div {
    position: relative;
    top: 10px;
    opacity: 0;
}

.popup.active>div {
    top: 0px;
    opacity: 1;
}

.popup.active .icon {
    transition: all 300ms ease-in-out 250ms;
}

.popup.active .title {
    transition: all 300ms ease-in-out 250ms;
}

.popup.active .description {
    transition: all 300ms ease-in-out 250ms;
}

.popup.active .dismiss-btn {
    transition: all 300ms ease-in-out 250ms;
}

/*     Popup style end     */