    .nav-item {
        display: flex;
        flex-direction: column; /* Icon on top, label below */
        align-items: center;
        color: #555; /* Default icon color */
        cursor: pointer;
        text-decoration: none;
    }
    .nav-item.active {
        color: #fff; /* Highlight active icon */
    }
    .nav-icon {
        font-size: 24px; /* Adjust icon size */
        margin-bottom: 3px; /* Space between icon and label */
    }
    .nav-label {
        font-family: "Poppins", serif;
        font-size: 12px;
        font-weight: 500;
    }
    .nav-item.active .nav-label {
        font-weight: 700;
    }
    /* Bottom bar - adjust info card padding to accomodate bottom bar */
    #info-card {
        padding-bottom: 80px;
    }

    /* Minimum height for info crd */
    #info-card #content .slick-list.draggable {
        min-height: 300px;
    }

/* Desktop Styles */
@media (min-width: 769px) {
    .header-bar, .container, .hero-card {
        max-width: 1500px;
    }

    /* Hide header bar background on desktop when detached */
    .header-bar.header-bar-detached {
        background: transparent !important;
        box-shadow: none !important;
        backdrop-filter: none !important;
    }
    .header-bar.header-fixed {
        background-color: rgb(0 0 0 / 20%);
    }

    /* Convert header from grid to flex for desktop */
    .header-bar {
        display: flex !important;
    }
    .header-logo {
        width: 80px;
        margin-top: -3px;
        margin-left: 14px !important;
        margin-right: 5px !important;
    }

    #hero-card {
        margin-top: 75px;
    }
    #info-card {
        margin-top: 100px;
    }
    .header-bar {
        margin: 0 auto;
    }
    .bottom-nav {
        display: none;
    }
    /* Disable info card slide up on desktop */
    #info-card.animate-slide-up {
        animation: none !important;
    }
}

#disqus_thread {
    overflow-x: hidden;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .cast-grid,
    .related-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }
    /* Fancybox - pure black bg on mobile */
    .fancybox__container {
        --fancybox-bg: rgb(0 0 0);
    }
    /* Fancybox - remove toolbar button background */
    .fancybox__toolbar__column.is-right .f-button {
        background: transparent;
    }
    /* Hide extra genre tags on mobile (show only one row of tags) */
    #genres {
        height: 50px;
        overflow: hidden;
    }
}

.title-grid-container {
    display: grid;
    grid-template-rows: auto auto auto;
    grid-template-columns: 85% 15%;
}
.left-column {
    grid-row: span 3;
    padding-right: 10px;
}
.right-column {
    display: grid;
    grid-template-rows: 50% 50%;
    justify-items: end;
}
.right-top {
    grid-row: 1;
    justify-items: end;
}

#share-button, #comments-button {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    width: 50px;
    padding: 3px;
    backface-visibility: hidden;
    transform: translateZ(0);
    will-change: transform;
    perspective: 1000px;
    transition: all 0.2s;
}
#share-button:hover, #comments-button:hover {
    transform: scale(0.94);
}
#share-button:active, #comments-button:active {
    transform: scale(0.80);
    transition: 0.1s;
    background: #4d4d4d;
    border-radius: 14px;
}

/* Watch Providers */
.providers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(65px, 0fr));
    gap: 10px;
    align-items: center;
    justify-items: start;
    margin-top: 10px;
}
.providers img {
    width: 100%;
    max-width: 65px;
    height: auto;
    border-radius: 14px;
    cursor: pointer;
    backface-visibility: hidden;
    transform: translateZ(0);
    will-change: transform;
    perspective: 1000px;
    transition: all 0.2s;
}
.providers img:hover {
    transform: scale(0.94);
}
#provider-category {
    max-width: 130px;
    cursor: pointer;
}