/* ==========================
   🎬 Movie Detail Header
========================== */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #1a1a1a;
    padding: 12px 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
  }
  
  .main-header .logo {
    font-size: 22px;
    font-weight: bold;
    color: #c4ff00;
  }
  
  .main-header .logo span {
    color: #fff;
  }
  
  /* Navigation */
  .main-header .nav-links {
    display: flex;
    gap: 16px;
  }
  
  .main-header .nav-links a {
    color: #fff;
    text-decoration: none;
    transition: color 0.2s ease;
    padding-left: 12px;
  }
  
  .main-header .nav-links a:hover,
  .main-header .nav-links a.active {
    color: #c4ff00;
  }
  
  /* Search */
  .main-header .search-login {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  
  .main-header .search-login input {
    margin-left: 10px;
    padding: 6px 10px;
    border-radius: 4px;
    border: none;
    color: #fff;
    outline: none;
  }
  
  .main-header .search-login button {
    padding: 6px 10px;
    border: none;
    border-radius: 4px;
    background: #2a2a2a;
    color: #c4ff00;
    cursor: pointer;
    transition: 0.2s ease;
  }
  
  .main-header .search-login button:hover {
    background: #c4ff00;
    color: #000;
  }
  
  /* Hamburger (hidden on desktop) */
  .main-header .hamburger {
    display: none;
    font-size: 22px;
    background: none;
    border: none;
    color: #c4ff00;
    cursor: pointer;
  }
  
  /* ==========================
     📱 Responsive
  ========================== */
  @media (max-width: 768px) {
    .main-header {
      flex-wrap: wrap;
    }
  
    .main-header .hamburger {
      display: block;
    }
  
    .main-header .nav-links {
      flex-direction: column;
      width: 100%;
      display: none;
      background: #1a1a1a;
      padding: 10px 0;
      margin-top: 10px;
      border-radius: 6px;
    }
  
    .main-header .nav-links.show {
      display: flex;
    }
  
    .main-header .search-login {
      flex: 1;
      margin-top: 10px;
    }
  
    .main-header .search-login input {
      width: 100%;
    }
  }
  















  /* ==========================
   🌑 Overlay
========================== */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 900;
  display: none;
  transition: opacity 0.3s ease;
  opacity: 0;
}

.overlay.show {
  display: block;
  opacity: 1;
}
