/* ========================= */


/* NAVBAR STYLES - ADVANCED */


/* ========================= */


/* Base Navbar */

.navbar {
    background: rgba(0, 0, 0, 0.85);
    /* Dark semi-transparent */
    backdrop-filter: blur(8px);
    border-bottom: 2px solid yellow;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: background 0.3s ease;
    animation: slideDown 0.5s ease;
}

.nav-link {
    font-size: 15px !important;
    /* or your desired size */
}


/* On scroll: solid background */

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.95) !important;
}


/* Navbar toggler (mobile) */

.navbar-toggler {
    border: none;
    padding: 0.25rem 0.75rem;
    outline: none;
}

.navbar-toggler-icon {
    background-image: url("../images/588a64e7d06f6719692a2d11.png");
    background-repeat: no-repeat;
    background-size: contain;
    width: 25px;
    height: 30px;
}


/* Logo responsiveness */

.navbar-brand img {
    max-height: 50px;
    width: auto;
}


/* Divider between social & login */

.vr {
    border: 1px solid white;
    height: 2rem;
    margin-left: 0.5rem;
    margin-right: 0.5rem;
    opacity: 20%;
}

@media (max-width: 991px) {
    .navbar-nav .dropdown-menu {
        position: static !important;
        float: none;
        background-color: rgba(20, 20, 20, 0.95);
        border-radius: 8px;
        margin-left: 1rem;
        margin-right: 1rem;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    }
    .navbar-nav .dropdown-menu.show {
        display: block;
    }
    .navbar-nav .dropdown-item {
        padding-left: 2rem;
    }
    .dropdown-toggle::after {
        float: right;
        margin-top: 8px;
    }
}



@media all and (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: none;
        background-color: rgba(0, 0, 0, 0.95);
        color: grey;
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        border-radius: 10px;
        transition: all 0.3s ease;
    }
    .navbar .nav-item:hover .nav-link {
        color: white;
    }
    .navbar .nav-item:hover .dropdown-menu {
        display: block;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    .navbar .nav-item .dropdown-menu a {
        color: white;
        text-decoration: none;
        background-color: transparent;
        transition: all 0.3s ease-in-out;
    }
    .navbar .nav-item .dropdown-menu a:hover {
        color: rgb(0, 0, 0);
        background-color: #FFD800;
    }
    .vr {
        display: none;
    }
}

@media (max-width: 767px) {
    .masonry-grid {
    grid-template-columns: 1fr 1fr !important;
    grid-auto-rows: auto !important;
}

.masonry-grid > div {
    grid-column: span 2 !important; /* full width on small screens */
    grid-row: auto !important;
    height: auto !important;
}

.masonry-grid img {
    width: 100%;
    height: auto;       /* keeps natural height */
    display: block;     /* removes inline gap under image */
    object-fit: contain; /* no cropping, keeps full image visible */
}


    /* Dropdown menu with no animation */
    .navbar .nav-item .dropdown-menu {
        display: none;
        background-color: rgba(0, 0, 0, 0.95);
        color: grey;
        border-radius: 10px;
        opacity: 1;
        visibility: visible;
        transform: none;
        transition: none;
    }
    .navbar .nav-item:hover .nav-link {
        color: white;
    }
    .navbar .nav-item:hover .dropdown-menu {
        display: block;
    }
    .navbar .nav-item .dropdown-menu a {
        color: white;
        text-decoration: none;
        background-color: transparent;
        transition: none;
    }
    .navbar .nav-item .dropdown-menu a:hover {
        color: rgb(0, 0, 0);
        background-color: #FFD800;
    }

    .vr {
        display: none;
    }
}


/* ============ Tablet view ============ */
@media (min-width: 768px) and (max-width: 991px) {
    
    .masonry-grid {
    grid-template-columns: 1fr 1fr !important;
    grid-auto-rows: auto !important;
}

.masonry-grid > div {
    grid-column: span 2 !important; /* full width on small screens */
    grid-row: auto !important;
    height: auto !important;
}

.masonry-grid img {
    width: 100%;
    height: auto;       /* keeps natural height */
    display: block;     /* removes inline gap under image */
    object-fit: contain; /* no cropping, keeps full image visible */
}




/* Mobile nav item font */

.nav-link-mobile {
    font-size: 20px;
}


/* Dropdown shadow and spacing */

.dropdown-menu {
    background-color: rgba(20, 20, 20, 0.95);
    border: none;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    margin-top: 10px;
}


/* Dropdown item hover effect */

.dropdown-item:hover {
    background-color: #FFD800;
    color: white;
    transition: background 0.3s ease;
}



/* Mobile nav item font */

.nav-link-mobile {
    font-size: 20px;
}


/* Dropdown shadow and spacing */

.dropdown-menu {
    background-color: rgba(20, 20, 20, 0.95);
    border: none;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    margin-top: 10px;
}


/* Dropdown item hover effect */

.dropdown-item:hover {
    background-color: #FFD800;
    color: white;
    transition: background 0.3s ease;
}


/* Navbar link animations */

.nav-link,
.fa {
    transition: color 0.3s ease, transform 0.3s ease;
}

.nav-link:hover,
.fa:hover {
    color: #FFD800 !important;
    transform: scale(1.1);
}


/* Social icon animation */

.social-icon i {
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-icon i:hover {
    color: #FFD800;
    transform: scale(1.2);
}


/* Active nav item highlight */

.nav-item.active>.nav-link {
    color: #FFD800 !important;
    font-weight: 700;
    border-bottom: 2px solid #FFD800;
    transition: all 0.3s ease;
}


/* Watch Live Button (mobile + desktop) */

.btn-danger {
    font-weight: bold;
    background: linear-gradient(to right, #ff416c, #ff4b2b);
    border: none;
    transition: transform 0.2s ease-in-out;
}

.btn-danger:hover {
    transform: scale(1.05);
    background: linear-gradient(to right, #ff4b2b, #ff416c);
}


/* Custom live button for navbar */

.btnnav {
    font-weight: bold;
    transition: background 0.3s ease, transform 0.2s ease;
    padding: 6px 16px;
    font-size: 14px;
    border-radius: 30px;
}

.btnnav:hover {
    background: #ff002b;
    transform: scale(1.05);
    color: white;
}


/* Slide down animation on load */

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0%);
        opacity: 1;
    }
}

@keyframes pulseGlow {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}


/* view Drama cards css */

h2.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    background: linear-gradient(to right, #ffc107, #ffc107);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
}

.card-custom {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    border-radius: 1rem;
    overflow: hidden;
}

.card-custom:hover {
    transform: translateY(-8px);
    box-shadow: 0 0 20px rgba(231, 235, 21, 0.3);
}

.card-title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 1rem;
}

.pagination-button {
    border-radius: 50px;
    padding: 0.4rem 1rem;
    font-weight: bold;
}

.btn-warning {
    background-color: #ffc107;
    border: none;
    color: #000;
}

.btn-outline-warning:hover {
    background-color: #ffc107;
    color: #000;
}

.video-thumbnail {
    height: 250px;
    object-fit: cover;
}


