@import url('https://fonts.googleapis.com/css2?family=Helvetica+Neue:wght@300;400;500;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Helvetica Neue", Arial, sans-serif;
}

body {
    background-color: #121212;
    color: #ffffff;
}

/* NAVIGATION BAR START */
    nav {
      width: 100%;
      background: rgba(0, 0, 0, 0); /* Transparent at the top */
      position: fixed;
      top: 0;
      left: 0;
      z-index: 1000;
      padding: 10px 20px;
      transition: background-color 0.3s;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    /* Sticky Header when Scrolling */
    .nav-solid {
      background-color: rgba(0, 0, 0, 1); /* Solid background when scrolled */
    }

    /* Logo Style */
    #logo {
      max-height: 25px;
      display: inline-block;
    }

    /* Navigation Menu (Links) */
    nav ul {
      display: flex;
      justify-content: flex-end;
      margin: 0;
      padding: 0;
      list-style-type: none;
    }

    nav ul li {
      margin-left: 5px;
    }

    nav ul li a {
      color: #fff;
      text-decoration: none;
      font-weight: bold;
      text-transform: uppercase;
      padding: 10px;
      display: inline-block;
      border-radius: 5px;
      transition: background 0.3s;
    }

    nav ul li a:hover,
    nav ul li a.active {
      background-color: #0296cc;
    }
/* Mobile Navbar */
.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: white;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 0;
        background-color: #1e1e1e;
        width: 100%;
        text-align: center;
    }

    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    .nav-links li {
        padding: 15px 0;
    }
}

/* Mobile Styles (Screen width below 768px) */
    @media (max-width: 768px) {
      /* Navigation links initially hidden on mobile */
      nav ul {
        display: none;  /* Hidden by default */
        flex-direction: column;
        align-items: center;
        background-color: rgba(0, 0, 0, 0.9);
        position: absolute;
        top: 50px; /* To place the menu below the nav bar */
        left: 0;
        right: 0;
        width: 100%;
        padding: 10px 0;
      }
      /* Active state of the menu */
      nav.active ul {
        display: flex; /* Show the menu when active */
      }
      nav ul li {
        width: 100%;
        text-align: center;
        margin: 2px 0;
      }

      nav ul li a {
        padding: 10px;
        width: 100%;
        text-align: center;
      }

      /* Logo will adjust for smaller screens */
      #logo {
        max-height: 20px;
      }

      /* Menu Button visible on mobile */
      .menu-btn {
        color: white;
        font-size: 18px;
        font-weight: bold;
        cursor: pointer;
        background-color: #0296cc;
        padding: 10px 20px;
        border-radius: 5px;
        display: block;  /* Visible on mobile */
      }

      /* Show menu when active */
#menu.active {
    display: flex;
}
    }

    /* Hide the menu button on desktop */
    @media (min-width: 769px) {
      .menu-btn {
        display: none;  /* Hide the menu button on desktop */
      }
    }
/* NAVIGATION BAR END */


/* SCROLL CONTAINER START */
.scroll-container {
    position: relative; /* Needed for absolute positioning of arrows */
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-left, .scroll-right {
    position: absolute;
    top: 45%; /* Center vertically */
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    color: white;
    border: none;
    font-size: 30px;
    padding: 10px;
    cursor: pointer;
    z-index: 20; /* Ensure arrows are above the posters */
    border-radius: 5%;
}

.scroll-left {
    left: 0px; /* Adjust left arrow position */
}

.scroll-right {
    right: 0px; /* Adjust right arrow position */
}

.scroll-left:hover, .scroll-right:hover {
    background: rgba(255, 255, 255, 0.8);
    color: black;
}

/* Adjustment of arrow button in mobile */
@media (max-width: 768px) {
       .scroll-left {
          font-size: 20px;
          padding: 8px;
}
       .scroll-right {
          font-size: 20px;
          padding: 8px;
}
}
/* SCROLL CONTAINER START */


/* BANNER SECTION START */
.banner {
    position: relative;
    width: 100%;
    height: 500px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    padding: 20px;
}
.banner h1 {
        font-size: 50px;
        margin-bottom: 10px;
    }

.banner p {
        font-size: 12px;
        margin-bottom: 20px;
    }
.banner p1 {
        font-size: 15px;
    }

.banner-content {
    max-width: 40%;
    background: rgba(0, 0, 0, 0.3);
    padding: 25px;
    border-radius: 10px;
}
.banner::after {
            content: "";
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 100px;
            background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, #121212 100%);
        }

/* Mobile Banner */
@media (max-width: 768px) {
    .banner {
        height: 300px;
        padding: 10px;
    }

    .banner-content {
        max-width: 75%;
        font-size: 14px;
        padding: 5px;
    }

    .banner h1 {
        font-size: 25px;
        margin-bottom: 5px;
    }

    .banner p {
        font-size: 8px;
    }
    .banner p1 {
        font-size: 10px;
    }
}
/* BANNER SECTION END */

/* Section Titles */
.section {
    margin: 20px;
}

.section h2 {
    color: white;
    margin-bottom: -10px;
}


/* Poster Rows */
.media-row {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 10px;
    white-space: nowrap;
    scroll-behavior: smooth;
    padding-bottom: 20px; 
    object-fit: contain;
    padding-top: 30px;
    padding-bottom: 25px;
}
/* Make scrollbar always visible in Chrome */
.media-row::-webkit-scrollbar {
    height: 8px; /* Adjust scrollbar height */
    background: rgba(255, 255, 255, 0.1); /* Light background for visibility */
}

/* Customize scrollbar thumb */
.media-row::-webkit-scrollbar-thumb {
    background: #ccc; /* Light gray scrollbar */
    border-radius: 4px;
}

/* Ensure scrollbar is visible in Firefox */
.media-row {
    scrollbar-width: thin; /* Firefox */
    scrollbar-color: #ccc rgba(255, 255, 255, 0.1);
}

/* Media Items */
.media-item {
    position: relative;
    display: inline-block;
    overflow: visible; /* Ensure the enlarged image is not clipped */
}

.poster-card {
    position: relative;
    display: inline-block;
    border-radius: 8px;
    overflow: hidden; /* Ensures image does not exceed bounds */
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.poster-card:hover {
    transform: scale(1.1);
    z-index: 10; /* Ensures it appears above other elements */
    box-shadow: 0 10px 20px #0296cc;
}



/* Mobile Poster Adjustments */
@media (max-width: 768px) {
    .media-item img {
        width: 195px;
    }
}


/* FLOATING MESSAGE START */
#floating-message {
position: fixed;
top: 25%
bottom: 0;
left: 50%;
transform: translateX(-50%);
background-color: #121212;
color: white;
text-align: center;
padding: 15px;
font-size: 15px;
z-index: 1000;
border-radius: 20px; /* Rounded top corners */
width: 30%; /* You can adjust the width as needed */
backdrop-filter: blur(8px); /* Apply blur effect to the background */
-webkit-backdrop-filter: blur(8px); /* Ensure blur effect works on iOS */
border: 2px solid white;
}

#floating-message button {
background-color: red; /* Green background for the "OK" button */
color: white;
border: none;
font-size: 10px;
padding: 8px 16px;
cursor: pointer;
border-radius: 5px; /* Rounded button corners */
margin-top: 10px; /* Adds space between the message and the button */
}

#floating-message button:hover {
background-color: #0296cc; /* Darker green on hover */
}

/* Adjustment of floating message in mobile */
@media (max-width: 768px) {
   #floating-message {
     padding: 5px;
     font-size: 15px;
     width: 75%;
     top: 25%;
   
}}
/* FLOATING MESSAGE END */


/* Star Rating Styles */
/* Container for each media item */
.media-item {
    position: relative;
    display: inline-block;
}

/* Poster card wrapper */
.poster-card {
    position: relative;
    display: inline-block;
    border-radius: 10px;
    overflow: hidden;
}

/* Rating inside the card, positioned at the top-left */
.rating {
    position: absolute;
    top: 0px;
    left: 0px;
    background-color: rgba(0, 0, 0, 0);
    color: gold;
    padding: 5px 8px;
    font-size: 20px;
    font-weight: bold;
    border-radius: 5px;
    display: flex;
    align-items: center;
}

/* Star icon */
.star {
  font-size: 1.3rem;
  margin-right: 5px;
  display: inline-block;
}

.star.filled::before {
  content: '★'; /* Filled star */
  color: #f7c400; /* Gold color */
}

.star.empty::before {
  content: '☆'; /* Empty star */
  color: #ccc; /* Light gray color for empty stars */
}

/* Poster image */
.poster-card img {
    width: 205px;
    border-radius: 8px;
    transition: transform 0.3s ease-in-out;
}


/* Galaxy Glow Play Button Overlay */
.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, #551A8B, #000);
    color: white;
    font-size: 28px;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
    box-shadow: 0 0 15px violet;
}

/* Swirling Galaxy Effect */
@keyframes galaxyGlow {
    0% { box-shadow: 0 0 15px violet; }
    50% { box-shadow: 0 0 30px blue; }
    100% { box-shadow: 0 0 15px violet; }
}

.poster-card:hover .play-button {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.2);
    animation: galaxyGlow 1.5s infinite alternate;
}

.play-button i {
    font-size: 30px;
}


/* Dropdown MORE Button Start*/
.dropdown {
    position: relative;
    display: inline-block;
}

.dropbtn {
    background: none;
    color: white;
    font-weight: bold;
    border: none;
    cursor: pointer;
    padding: 10px;
    text-transform: uppercase;
    font-size: 17px;
    border-radius: 5px;
    transition: background 0.3s;
}
.dropbtn:hover {
    background-color: #0296cc;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #1e1e1e;
    min-width: 150px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    border-radius: 5px;
    right: 0;
}

.dropdown-content li {
    list-style: none;
    padding: 5px;
    text-align: right;
}

.dropdown-content li a {
    color: white;
    text-decoration: none;
    display: block;
    padding: 10px;
    transition: background 0.3s;
}

.dropdown-content li a:hover {
    background-color: #0296cc;
}

/* Show dropdown on hover (for larger screens) */
@media (min-width: 769px) {
    .dropdown:hover .dropdown-content {
        display: block;
    }
}

/* Show dropdown on click (for mobile) */
@media (max-width: 768px) {
    .dropdown-content {
        position: static;
        display: none;
    }
    .dropdown-content li {
        padding: 2px;
    }
    .dropdown.active .dropdown-content {
        display: block;
    }
}
/* Dropdown MORE Button End*/


/* Footer Section Start*/
.site-footer {
  background-color: #1e1e1e;
  color: white;
  text-align: center;
  padding: 20px;
  margin-bottom: 0px;
  border-top: 1px solid #333;
}

.site-footer p {
  margin: 8px 0;
  font-size: 16px;
}

.footer-links {
  margin-top: 10px;
}

.footer-links a {
  color: #0296cc;
  text-decoration: none;
  margin: 0 10px;
  font-weight: bold;
}

.footer-links a:hover {
  text-decoration: underline;
}

@media (max-width: 600px) {
  .site-footer {
    margin-bottom: 54px;
    padding: 10px;
  }
  
  .site-footer p {
    font-size: 14px;
  }

  .footer-links {
    flex-direction: row;
    gap: 8px;
    text-align: center;
  }

  .footer-links a {
    margin: 0;
  }
}
/* Footer Section End*/

/* Poster Title Section Start*/
.poster-title {
    max-width: 205px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 15px;
    font-weight: bold;
    color: #00d4ff;
    text-align: center;
    margin-bottom: 15px;
}
/* Poster Title Section End*/

/* Chatroom Section Start */
#netplex-chatroom {
  position: fixed;
  bottom: 0px;
  right: 0px;
  overflow: hidden;
  z-index: 9999;
}
/* Chatroom Section End */
