@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 */
    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;
      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 */
      }
    }


/* 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*/


/* TV Live Streaming Start */
/* TV Live Streaming Layout */
h {
  display: flex;
  justify-content: center;
  font-weight: bold;
  color: red;
}
h1 {
  display: flex;
  justify-content: center;
  margin-top: 150px;
  font-size: 50px;
  font-weight: bold;
}

        #tv-container {
    display: flex;
    justify-content: center; /* Center everything horizontally */
    align-items: flex-start; /* Center everything vertically */
    flex-direction: row; /* Arrange items in a row */
    width: 100%;
    max-width: 1200px; /* Adjust width */
    margin: auto;
    padding: 10px;
    gap: 20px; /* Space between channel list and video */
    margin-top: 10px;
    margin-bottom: 100px;
}

        #channel-list {
    width: 30%;
    max-width: 300px;
    background: #222;
    padding: 0; /* Remove padding from the main container */
    border-radius: 5px;
    overflow-y: auto; /* Enables vertical scrolling */
    max-height: 400px; /* Set a height to allow scrolling */
    position: relative;
}
#channel-header {
    background: #333;
    padding: 10px;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    color: white;
    position: sticky;
    top: 0;
    z-index: 10;
    border-bottom: 2px solid #0296cc;
}

        #channel-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 10px; /* Add some padding to prevent content from touching the edges */
    
}

        .channel-btn {
    background: #333;
    color: white;
    border: none;
    padding: 10px;
    width: 100%;
    max-width: 250px;
    text-align: center;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.2s, transform 0.1s;
    font-size: 14px;
}

        .channel-btn:hover {
            background: #0296cc;
            transform: scale(1.05);
        }

        .channel-btn.active {
            background: #0296cc;
        }

        #video-container {
    width: 70%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #0296cc;
    border-radius: 0px;
    padding: 5px;
}

        video {
    width: 100%;
    max-width: 800px;
    height: auto;
}
.channel-btn.active {
    background: #0296cc !important;
    font-weight: bold;
    transform: scale(1.05);
}

/* Responsive: Stack items in row on small screens */
@media (max-width: 768px) {
h1 {
    font-size: 30px;
    margin-top: 75px;
  }
#tv-container {
    display: flex;
    flex-direction: column; /* Stack items vertically */
    align-items: center; /* Center horizontally */
    justify-content: center; /* Center vertically */
    margin-bottom: 50px;
}
    #channel-list {
        width: 50%;
        max-height: 300px;
    }
    #video-container {
        width: 100%;
        height: auto;
        order: -1; /* Moves the video to the top */
    }  
}

/* TV Live Streaming End */

#fullscreen-btn {
    display: block;
    margin: 10px auto;
    padding: 10px 15px;
    font-size: 16px;
    font-weight: bold;
    color: white;
    background-color: #0296cc;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.3s;
}

#fullscreen-btn:hover {
    background-color: #0275a6;
}


/* 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*/

/* Chatroom Section Start */
#netplex-chatroom {
  position: fixed;
  bottom: 0px;
  right: 0px;
  overflow: hidden;
  z-index: 9999;
}
/* Chatroom Section End */
