/* Custom CSS for the specific look */
body {
    background-color: #0b0b0b;
    /* Dark theme background */
    color: white !important;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Hero Banner with Blue Border */
.hero-container {
    margin: 20px;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    margin-top: 75px;
}

#new-banner-section {
    margin: 20px !important;
    position: relative !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    margin-top: 75px !important;
}

#new-banner-section .banner-section-coontainer .banner-section-holder #new-banner .item .video-banner {
    height: 530px !important;
    opacity: 0.4;
}

.banner-details {
    margin-top: 200px !important;
    position: relative !important;
    z-index: 3 !important;
}

.banner-details h3 {
    font-weight: 800;
    letter-spacing: 5px;
    font-size: 3rem;
}

.btn-watch-now {
    flex: 1 !important;
    background: rgb(212 188 188 / 15%) !important;
    color: #fff !important;
    border: none !important;
    padding: 6px 12px !important;
    border-radius: 6px !important;
    font-size: 16px !important;
    cursor: pointer !important;
}

.banner-details .platform-logo {
    height: 60px !important;
    width: 91px !important;
}

/* Hero Banner Container */
.hero-banner {
    height: 500px !important;
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    padding: 3 !important;
    overflow: hidden !important;
}


/* The actual Image Tag */
.hero-image {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    z-index: 1 !important;
}

.platform-logo {
    height: 60px;
    width: 91px;
}

/* The Gradient Overlay */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.hero-content {
    margin-top: 236px;
    position: relative;
    z-index: 3;
}

.hero-content h1 {
    font-weight: 800;
    letter-spacing: 5px;
    font-size: 3rem;
}

/* Movies Section Styling */
.content-row {
    padding: 20px 50px;
    /* Aligns with hero padding */
}

.section-header {
    /* display: flex; */
    align-items: center;
    justify-content: space-between;
    /* margin-bottom: 10px; */
}

.section-title {
    /* font-size: 1.2rem; */
    font-weight: 600;
    margin-bottom: 20px;
    color: #fff;
}

.search-input {
    background: #2b2b2b !important;
    border: 1px solid #333 !important;
    color: #fff !important;
    max-width: 986px !important;
    margin-left: auto !important;
    font-size: 17px !important;
}

.search-input::placeholder {
    color: #fff !important;
}

.search-input:focus {
    background: #2b2b2b !important;
    color: #fff !important;
    border-color: #2b2b2b !important;
    box-shadow: none !important;
}

.search-dropdown {
    position: absolute;
    top: 110%;
    left: 0;
    width: 100%;
    background: #212529;
    border-radius: 12px;
    max-height: 350px;
    overflow-y: auto;
    z-index: 9999;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
}

.search-item {
    display: flex;
    gap: 12px;
    padding: 10px 14px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.search-item:hover {
    background: rgba(255, 255, 255, 0.06);
}

.search-item img {
    width: 30px;
    height: 30px;
    border-radius: 6px;
    object-fit: cover;
}

.search-meta h6 {
    margin: 0;
    font-size: 14px;
    color: #fff;
}

.search-meta small {
    font-size: 12px;
    color: #aaa;
    text-transform: capitalize;
}

.search-item h6 {
    margin: 0;
    font-size: 14px;
    color: #fff;
}

.search-empty {
    padding: 14px;
    color: #aaa;
    text-align: center;
}

.search-loading {
    padding: 14px;
    text-align: center;
    color: #bbb;
    font-size: 14px;
    letter-spacing: 0.5px;
}

.view-all {
    font-size: 16px;
    font-weight: 500;
    color: #fff;
    text-decoration: none;
}

.view-all:hover {
    text-decoration: underline;
}

/* .section-title {
        font-size: 1.5rem;
        font-weight: 600;
        margin-bottom: 20px;
        color: #fff;
    } */

/* Owl nav buttons */
.movie-carousel .owl-nav {
    position: absolute;
    top: 40%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Show arrows on hover */
.content-row:hover .owl-nav {
    opacity: 1;
}

.movie-carousel .owl-nav button {
    background: transparent !important;
    width: 32px;
    height: 60px;
    pointer-events: auto;
    border-radius: 4px;
}

.movie-carousel .owl-nav button:hover {
    background: transparent !important;
}

.owl-arrow {
    color: #fff;
    font-size: 22px;
}

/* Hide arrows on mobile */
@media (max-width: 768px) {
    .movie-carousel .owl-nav {
        display: none;
    }
}

.movie-carousel .movie-card {
    position: relative;
    width: 100%;
    aspect-ratio: 2 / 3;
    /* Poster ratio */
    border-radius: 10px;
    overflow: hidden;
    background: #111;
    cursor: pointer;
}

.movie-carousel .movie-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* HOVER OVERLAY*/
.movie-hover {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.95) 32%,
            rgba(0, 0, 0, 0.6) 71%,
            rgba(0, 0, 0, 0.2) 100%);
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    opacity: 0;
    transition: all 0.35s ease;
}

/* Show overlay on hover */
.movie-card:hover .movie-hover {
    opacity: 1;
}

/* TEXT STYLES*/
.movie-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}

.movie-platform {
    font-size: 13px;
    color: #ccc;
    margin-bottom: 10px;
}

.movie-platform span {
    color: #1ce783;
    /* Prime Video blue/green */
    font-weight: 600;
}

.movie-platform img {
    height: 60px !important;
    width: 91px !important;
}

/* ACTION BUTTONS*/
.movie-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.play-btn {
    flex: 1;
    background: rgb(212 188 188 / 15%);
    color: #fff;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
    cursor: pointer;
}

.play-btn:hover {
    background: rgba(255, 255, 255, 0.25);
}

.wishlist-btn {
    background: rgb(212 188 188 / 15%);
    border: none;
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 14px;
    cursor: pointer;
}

.wishlist-btn:hover {
    background: rgba(255, 255, 255, 0.25);
}

/*RESPONSIVE HEIGHT*/
@media (min-width: 1200px) {
    .movie-carousel .movie-card {
        aspect-ratio: 2 / 3.1;
    }
}

.wishlist-btn i {
    color: #bbb;
    transition: 0.3s;
}

.wishlist-btn.active i {
    color: #e50914;
}

.wishlist-btn:hover i {
    transform: scale(1.2);
}

.platforms-card {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
}

.platforms-card img {
    max-width: 100%;
    height: auto;
}

.ott-content-carousel .owl-nav {
    position: absolute;
    top: 40%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Show arrows on hover */
.content-row:hover .owl-nav {
    opacity: 1;
}

.ott-content-carousel .owl-nav button {
    background: transparent !important;
    width: 32px;
    height: 60px;
    pointer-events: auto;
    border-radius: 4px;
}

.ott-content-carousel .owl-nav button:hover {
    background: transparent !important;
}

.owl-arrow {
    color: #fff;
    font-size: 22px;
}

/* Hide arrows on mobile */
@media (max-width: 768px) {
    .ott-content-carousel .owl-nav {
        display: none;
    }
}

.ott-content-carousel .movie-card {
    position: relative;
    width: 100%;
    aspect-ratio: 2 / 3;
    /* Poster ratio */
    border-radius: 10px;
    overflow: hidden;
    background: #111;
    cursor: pointer;
}

.ott-content-carousel .movie-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* HOVER OVERLAY*/
.movie-hover {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.95) 32%,
            rgba(0, 0, 0, 0.6) 71%,
            rgba(0, 0, 0, 0.2) 100%);
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    opacity: 0;
    transition: all 0.35s ease;
}

.remove-continue {
    position: absolute;
    top: 6px;
    right: 6px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    border: none;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    font-size: 18px;
    line-height: 24px;
    cursor: pointer;
    z-index: 5;
    display: none;
}

.movie-card:hover .remove-continue {
    display: block;
}

/* Show overlay on hover */
.movie-card:hover .movie-hover {
    opacity: 1;
}

/* TEXT STYLES*/
.movie-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}

.movie-platform {
    font-size: 13px;
    color: #ccc;
    margin-bottom: 10px;
}

.movie-platform span {
    color: #1ce783;
    /* Prime Video blue/green */
    font-weight: 600;
}

.movie-platform img {
    height: 60px !important;
    width: 91px !important;
}

/* ACTION BUTTONS*/
.movie-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.play-btn {
    flex: 1;
    background: rgb(212 188 188 / 15%);
    color: #fff;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
    cursor: pointer;
}

.play-btn:hover {
    background: rgba(255, 255, 255, 0.25);
}

.wishlist-btn {
    background: rgb(212 188 188 / 15%);
    border: none;
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 14px;
    cursor: pointer;
}

.wishlist-btn:hover {
    background: rgba(255, 255, 255, 0.25);
}

/*RESPONSIVE HEIGHT*/
@media (min-width: 1200px) {
    .ott-content-carousel .movie-card {
        aspect-ratio: 2 / 3.1;
    }
}

.wishlist-btn i {
    color: #bbb;
    transition: 0.3s;
}

.wishlist-btn.active i {
    color: #e50914;
}

.wishlist-btn:hover i {
    transform: scale(1.2);
}

.platforms-card {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
}

.platforms-card img {
    max-width: 100%;
    height: auto;
}

/* GRID LAYOUT */
.ott-content-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

/* Tablet */
@media (max-width: 992px) {
    .ott-content-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Mobile */
@media (max-width: 576px) {
    .ott-content-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

#platforms .item {
    padding: 4px;
}

#platforms label {
    padding: 8px 16px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    cursor: pointer;
    font-size: 14px;
    white-space: nowrap;
    transition: all 0.3s ease;
}

#platforms input:checked+label {
    background: #e50914;
    color: #fff;
}

#platforms label:hover {
    background: rgba(255, 255, 255, 0.2);
}