body{
  background:#0b0b0b;
  color:#fff;
  font-family:Arial;
  margin:0;
}

/* NAVBAR */
.navbar {
  display: flex;
  align-items: center;
  height: 70px;
  padding: 0 20px 0 90px;
  background: #111;
  border-bottom: 2px solid red;
  position: relative;
}

.logo {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

.logo img {
  height: 85px;
  transform: scale(2) translateX(-15px);
  transform-origin: left center;
}
.logo {
  pointer-events: none;
}
/* MENU */
.nav-menu {
  display: flex;
  gap: 20px;
  margin-left: 100px; /* 🔥 pindah ke kiri */
}

.nav-menu a {
  color: white;
  text-decoration: none;
  font-size: 14px;
}

.nav-menu a:hover {
  color: #e50914;
}

.nav-right {
  margin-left: 20px;
  font-size: 18px;
}

/* HERO SLIDER */
.hero-slider {
  width: 100%;
  height: 500px;
  position: relative;
  overflow: hidden;
}

/* SLIDE */
.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 1;
}

.slide.active {
  opacity: 1;
  z-index: 2;
}
/* GAMBAR */
.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

/* OVERLAY GELAP */
.slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  pointer-events: none;
}

/* TEXT */
.slide-content {
  position: absolute;
  bottom: 60px;
  left: 60px;
  z-index: 5;
}

.slide-content h2 {
  font-size: 36px;
  margin-bottom: 10px;
}

.slide-content p {
  font-size: 14px;
}

/* BUTTON */
.btn-play {
  display: inline-block;
  padding: 10px 20px;
  background: red;
  border-radius: 6px;
  color: #fff;
  text-decoration: none;
}

/* NAV BUTTON */
.nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 30px;
  background: rgba(0,0,0,0.5);
  padding: 10px;
  cursor: pointer;
  border-radius: 50%;
  z-index: 10;
}

.prev { left: 20px; }
.next { right: 20px; }

/* DOTS */
.dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.dots span {
  width: 10px;
  height: 10px;
  background: #aaa;
  border-radius: 50%;
  cursor: pointer;
}

.dots span.active {
  background: #fff;
}

/* MENU KATEGORI */
.menu {
  display: flex;
  gap: 10px;
  padding: 10px;
  overflow-x: auto;
}

.menu a {
  background: #222;
  padding: 8px 15px;
  border-radius: 20px;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
}

.menu a:hover {
  background: #e50914;
}

/* SECTION */
.section {
  margin: 15px 10px;
}

.section h2 {
  margin-bottom: 10px;
}

.video-list {
  display: flex;
  gap: 15px;
  overflow-x: auto;
  padding: 10px;
}
.card {
  min-width: 160px;
  height: 240px;
  background: #1a1a1a;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

/* gambar jadi poster */
.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* judul overlay */
.card p {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 8px;
  font-size: 13px;
  background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
}
.card:hover {
  transform: scale(1.08);
  z-index: 5;
}
/* HIDE SCROLL */
.video-list::-webkit-scrollbar,
.menu::-webkit-scrollbar {
  display: none;
}
.hero-slider * {
  pointer-events: none;
}

.hero-slider .slide.active,
.hero-slider .slide.active * {
  pointer-events: auto;
}

.nav,
.dots {
  pointer-events: auto;
}
.container-center {
  max-width: 1200px;
  margin: auto;
}

.video-list {
  display: flex;
  gap: 15px;
  overflow-x: auto;
  padding: 10px;
  scroll-behavior: smooth;
}
.container-center {
  max-width: 1200px;
  margin: auto;
  position: relative;
}

/* tombol scroll */
.scroll-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.6);
  color: #fff;
  font-size: 24px;
  padding: 10px;
  cursor: pointer;
  border-radius: 50%;
  z-index: 5;
}

.scroll-btn.left { left: -10px; }
.scroll-btn.right { right: -10px; }

/* list */
.video-list {
  display: flex;
  gap: 15px;
  overflow-x: auto;
  padding: 10px;
  scroll-behavior: smooth;
}
.menu-wrapper {
  max-width: 1200px;
  margin: auto; /* ðŸ”¥ bikin posisi "tengah tapi gak full" */
}

.menu {
  display: flex;
  gap: 10px;
  padding: 10px 5px;
  overflow-x: auto;
}
.video-list {
  position: relative;
}

.see-all {
  min-width: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  background: linear-gradient(to right, transparent, rgba(0,0,0,0.8));
  font-weight: bold;
  text-decoration: none;
  cursor: pointer;
}
.see-all {
  transition: 0.3s;
  opacity: 0.3;
}

.see-all:hover {
  opacity: 1;
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 15px;
}

/* tombol icon */
.icon-btn {
  font-size: 18px;
  text-decoration: none;
  color: #ccc;
  transition: 0.2s;
}

.icon-btn:hover {
  color: #fff;
}

/* profile */
.profile-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
  color: #ccc;
  font-size: 13px;
}

.profile-btn:hover {
  color: #fff;
}

/* avatar */
.avatar {
  font-size: 18px;
}
.nav-right {
  margin-left: auto; /* 🔥 dorong ke kanan */
  display: flex;
  align-items: center;
  gap: 15px;
}
.nav-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 15px;
}

/* SEARCH BOX */
.search-box {
  display: flex;
  align-items: center;
  background: #2a2a2a;
  padding: 5px 10px;
  border-radius: 20px;
  width: 300px;
}

.search-box input {
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  flex: 1;
  font-size: 13px;
}

.search-box .material-icons {
  color: #aaa;
  font-size: 20px;
}

/* ICON */
.icon {
  color: #ccc;
  cursor: pointer;
}

.icon:hover {
  color: #fff;
}

/* SUBSCRIBE */
.btn-subscribe {
  background: orange;
  color: #000;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 12px;
  text-decoration: none;
  font-weight: bold;
}

/* LOGIN */
.btn-login {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #fff;
  text-decoration: none;
  font-size: 13px;
}

.btn-login .material-icons {
  font-size: 20px;
}
.search-box button {
  background: none;
  border: none;
  cursor: pointer;
}
/* LIVE TV */
.tv-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  text-align: center;
  color: #fff;
  text-decoration: none;
  min-width: 95px; /* 🔥 tengah-tengah */
}

.live-tv-list {
  display: flex;
  gap: 12px; /* 🔥 diperkecil */
  overflow-x: auto;
  padding: 15px;
}
/* BULAT */
.tv-logo {
  width: 90px;   /* 🔥 diperbesar */
  height: 90px;
  border-radius: 50%;
  background: #222;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.tv-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 🔥 ini kunci */
}

/* HOVER */
.tv-item:hover .tv-logo {
  transform: scale(1.1);
  background: #333;
}

.tv-item p {
  margin-top: 8px;
  font-size: 13px;
}

/* HILANGIN SCROLLBAR */
.live-tv-list::-webkit-scrollbar {
  display: none;
}
.player {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
}

.player iframe,
.player video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
@media (max-width: 768px) {

  body {
    background: #000;
  }

  .container-center {
    padding: 0 10px;
  }

  /* NAVBAR */
  .navbar {
    height: 60px;
    padding: 0 15px;
  }

  .nav-menu {
    display: none; /* sembunyikan menu desktop */
  }

  .logo img {
    height: 40px;
    transform: none;
  }

  /* SLIDER */
  .hero-slider {
    height: 200px;
  }

  .slide img {
    height: 200px;
    object-fit: cover;
  }

  /* LIVE TV */
  .live-tv-list {
    gap: 10px;
    padding: 10px;
  }

  .tv-logo {
    width: 70px;
    height: 70px;
  }

  .tv-item {
    min-width: 80px;
  }

  .tv-item p {
    font-size: 12px;
  }

}
/* 🔥 BOTTOM NAVBAR */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #111;
  display: flex;
  justify-content: space-between;
  padding: 10px 10px; /* 🔥 langsung pakai yang tinggi */
  border-top: 1px solid #333;
  z-index: 99999;
}

/* ITEM */
.bottom-nav a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #aaa;
  font-size: 13px;
  text-decoration: none;
  padding: 6px 0;
}

/* ICON */
.bottom-nav a .material-icons {
  font-size: 26px;
}

/* ACTIVE */
.bottom-nav a.active {
  color: #e50914;
}

/* HOVER */
.bottom-nav a:hover {
  color: #fff;
}

/* SPACE BIAR GAK KETUTUP */
body {
  padding-bottom: 80px;
}