/* Add this CSS code to your existing stylesheet */
@import url("https://fonts.googleapis.com/css2?family=Baloo+Da+2&display=swap");
html,
body {
    font-family: "Baloo Da 2";
}

/* Style for the movie cards container */
@media (min-width: 992px) {
    .movie-cards-container-view {
        display: grid;
        grid-template-columns: 40% auto;
        grid-column-gap: 20px;
        margin: 2px;
        margin-bottom: 20px;
        justify-items: start;
        align-items: start;
    }
}

@media (max-width: 991px) {
    .movie-cards-container-view {
        display: grid;
        justify-items: center;
        grid-template-columns: auto;
        grid-column-gap: 20px;
        grid-row-gap: 20px;
    }
}

/* Style for the movie card */
.movie-card-view {
    background-color: transparent;
    color: #fff;
    padding: 0;
    margin-top: 4px;
    text-align: left;
    border-radius: 4px;
    position: relative;
    overflow: hidden;

    /* Responsive layout */
    @media (max-width: 768px) {
        height: auto;
        min-width: calc(100% - 10px);
        max-width: calc(100% - 10px);
    }

    @media (min-width: 769px) {
        min-width: calc(100% - 10px);
        max-width: calc(100% - 10px);
    }
}

/* Style for the movie card image container */
.movie-card-view .image-container-view {
    position: relative;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    display: block;
    margin: 0 auto;
    width: 260;
    overflow: hidden;

    /* Responsive layout */
    @media (max-width: 768px) {
        height: auto;
    }

    @media (min-width: 769px) {
        height: auto;
    }

    /* Sky Blue Diagonal Shine Effect - Start */
    &::after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
        height: 200%;
        width: 0.4em;
        background: linear-gradient(to bottom,
                transparent,
                #87CEEB,
                #87CEEB,
                #87CEEB,
                transparent);
        opacity: 1.5;
        animation: fullGlide 3.0s infinite linear;
        z-index: 2;
        pointer-events: none;
    }

    &::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(45deg,
                rgba(135, 206, 235, 0.03) 0%,
                transparent 30%,
                transparent 70%,
                rgba(135, 206, 235, 0.03) 100%);
        z-index: 1;
        pointer-events: none;
    }

    /* Sky Blue Diagonal Shine Effect - End */
}

/* Style for the overlay data */
.movie-card-view .quality {
    position: absolute;
    top: 8px;
    right: 8px;
    border-radius: 2px 2px 2px 2px;
    background-color: #001c55;
    color: #fff;
    padding: 3px 6px 0 6px;
    font-weight: bold;
    font-size: 12px;
    z-index: 3;

    @media (min-width: 769px) {
        font-size: 18px;
    }
}

.movie-card-view .notice {
    position: absolute;
    top: 8px;
    left: 8px;
    border-radius: 2px 2px 2px 2px;
    background-color: #FF0000;
    color: #fff;
    padding: 3px 6px 0 6px;
    font-weight: bold;
    font-size: 12px;
    z-index: 3;

    @media (min-width: 769px) {
        font-size: 18px;
    }
}

.movie-card-view .image-container-view .language {
    position: absolute;
    bottom: 0;
    left: 0;
    border-radius: 0 2px 0 4px;
    background-color: #5f8f00;
    color: #fff;
    padding: 3px 4px 0 4px;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 12px;
    z-index: 3;

    @media (min-width: 769px) {
        font-size: 18px;
    }
}

.movie-card-view .image-container-view .type {
    position: absolute;
    bottom: 0;
    right: 0;
    border-bottom-right-radius: 4px;
    border-radius: 2px 0 4px 0;
    background-color: #FF0000;
    color: #fff;
    padding: 3px 4px 0 4px;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 12px;
    z-index: 3;

    @media (min-width: 769px) {
        font-size: 18px;
    }
}

/* Style for the movie card image */
.movie-card-view .image-container-view img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    transition: transform 0.3s, opacity 0.3s;
}

.movie-card-view .rating {
    position: absolute;
    top: 8px;
    left: 8px;
    border-radius: 2px 2px 2px 2px;
    background-color: #F50F51;
    color: #fff;
    padding: 3px 6px 0 6px;
    font-weight: bold;
    font-size: 12px;
    z-index: 3;

    @media (min-width: 769px) {
        font-size: 18px;
    }
}

/* Hover effect for the movie card image */
.movie-card-view .image-container-view:hover img {
    border-radius: 4px;
    opacity: 0.8;
}

/* Style for other content */
.movie-card-view .content-view {
    position: relative;
    height: 60px;
    padding: 5px;
    overflow: hidden;
}

/* Style for truncated text */
.movie-card-view .content-view a {
    margin-top: 3px;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    max-height: 3.2em;
    font-size: 14px;
    text-decoration: none;
    color: #fff !important;
}

/* Highlight text color on hover within .movie-card */
.movie-card-view a:hover {
    color: #4e73df !important;
}

/* Additional CSS for button text responsiveness */
.btn-text {
    color: #ffffff !important;
    font-size: 24px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.btn-text i {
    color: #ffffff !important;
}

.btn-user {
    padding: 8px 15px;
}

/* Adjust button size for different screen sizes using Bootstrap classes */
@media (max-width: 767px) {

    /* Small screens (e.g., mobile) */
    .btn-text {
        font-size: 27px;
    }

    .btn-user {
        padding: 8px 15px;
    }

    .text-lg {
        font-size: 24px;
    }
}

@media (max-width: 575px) {

    /* Extra small screens (e.g., smaller mobile devices) */
    .btn-text {
        font-size: 15px;
    }

    .btn-user {
        padding: 6px 10px;
    }
}

.carousel-inner {
    border-radius: 4px;
}

.carousel-inner img {
    border-radius: 4px;
}

/* Media query for larger screens */
@media (min-width: 769px) {
    .text-lg {
        font-size: 32px;
    }
}

.text-green {
    color: green !important;
}

.text-red {
    color: red !important;
}

.text-blue {
    color: blue !important;
}

.text-orange {
    color: orange !important;
}

.text-purple {
    color: purple !important;
}

.text-pink {
    color: pink !important;
}

.text-yellow {
    color: yellow !important;
}

.text-cyan {
    color: cyan !important;
}

.text-teal {
    color: teal !important;
}

.text-brown {
    color: brown !important;
}

/* Add custom CSS for highlighting */
.custom-highlight {
    background-color: #001f3f;
    border-radius: 10px;
}

.shadow-lg {
    --tw-shadow: 0 10px 12px -1px rgba(0, 0, 0, 1), 0 6px 8px -2px rgba(0, 0, 0, 1);
    --tw-shadow-colored: 0 10px 12px -1px var(--tw-shadow-color), 0 6px 8px -2px var(--tw-shadow-color);
    box-shadow:
        0 0 var(--tw-shadow),
        0 0 var(--tw-shadow),
        var(--tw-shadow), 0 0 var(--tw-shadow),
        var(--tw-shadow);
}

.shadow-rounded {
    --tw-shadow: 0 4px 6px -1px rgba(0, 0, 0, .1), 0 2px 4px -2px rgba(0, 0, 0, .1);
    --tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)
}

.screenshot-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
    padding: 10px;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-item:hover {
    transform: scale(1.02);
}

@media (max-width: 480px) {
    .screenshot-gallery {
        grid-template-columns: 1fr;
    }
}

/* =========================================== */
/* SKY BLUE DIAGONAL SHINE EFFECT ANIMATION */
/* =========================================== */
@keyframes fullGlide {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
        opacity: 0;
    }

    10% {
        opacity: 0.1;
    }

    15% {
        opacity: 0.13775;
    }

    20% {
        opacity: 0.1;
    }

    30% {
        opacity: 0.13775;
    }

    40% {
        opacity: 0.1;
    }

    50% {
        opacity: 0.13775;
    }

    60% {
        opacity: 0.1;
    }

    70% {
        opacity: 0.13775;
    }

    80% {
        opacity: 0.1;
    }

    90% {
        opacity: 0.13775;
    }

    95% {
        opacity: 0.1;
    }

    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
        opacity: 0;
    }
}

/* Animation definition */
@keyframes moveUpDown {
    0%, 100% { transform: translateY(0); }     /* Start at center */
    25%      { transform: translateY(-10px); }  /* Move up 10px */
    75%      { transform: translateY(10px); }   /* Move down 10px */
}

/* Apply animation to the icon */
.animate-icon {
    display: inline-block;
    animation: moveUpDown 1.5s ease-in-out infinite;
}