*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family:Arial, sans-serif;
}

body{
  background:#000;
  color:#fff;
}

/* NAVBAR */
.navbar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  background:#111;
  padding:15px 30px;
}

.navbar h1{
  color:#e50914;
  font-size:28px;
  letter-spacing:2px;
}

/* SEARCH BOX */
.search-box{
  display:flex;
  width:100%;
  max-width:400px;
}

.search-box input{
  flex:1;
  padding:10px;
  background:#111;
  border:1px solid #333;
  color:#fff;
}

.search-box button{
  padding:10px 15px;
  background:#e50914;
  border:0;
  color:#fff;
  cursor:pointer;
}

/* CONTAINER */
.container{
  padding:20px;
}

.container h2{
  margin:10px 0 15px;
}

/* GRID */
.grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(180px, 1fr));
  gap:20px;
}

/* CARD */
.card{
  position:relative;
  overflow:hidden;
  border-radius:8px;
  cursor:pointer;
}

.card img{
  width:100%;
  height:260px;
  object-fit:cover;
  transition:transform .4s ease;
}

.card:hover img{
  transform:scale(1.1);
}

/* OVERLAY */
.overlay{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.7);
  opacity:0;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  transition:.3s ease;
}

.card:hover .overlay{
  opacity:1;
}

.overlay h3{
  margin-bottom:10px;
}

.desc{
  font-size:13px;
  color:#ddd;
  margin:8px 0 12px;
  line-height:1.4;
  max-height:60px;
  overflow:hidden;
}

/* BUTTONS */
.btn{
  text-decoration:none;
  background:#e50914;
  padding:8px 20px;
  border-radius:5px;
  color:#fff;
  font-weight:bold;
}

.copy-btn{
  margin-top:8px;
  padding:8px 10px;
  background:#222;
  color:#fff;
  border:1px solid #333;
  cursor:pointer;
  font-size:13px;
}

.copy-btn:hover,
.btn:hover{
  background:#ff1e27;
}

/* FOOTER */
.footer{
  margin-top:40px;
  padding:15px 10px;
  text-align:center;
  font-size:13px;
  color:#777;
  border-top:1px solid #222;
}

/* RESPONSIVE */
@media(max-width:600px){
  .navbar{
    flex-direction:column;
    align-items:flex-start;
    gap:10px;
  }

  .search-box{
    width:100%;
    max-width:100%;
  }

  .navbar h1{
    font-size:22px;
  }
  
}

.left-area{
  display:flex;
  flex-direction:column;
  gap:8px;
}

/* TAB BAR */
.tabs{
  display:flex;
  gap:10px;
}

.tabs a{
  text-decoration:none;
  padding:6px 8px;
  background:#111;
  border:1px solid #333;
  border-radius:10px;
  color:#fff;
  font-size:13px;
}

.tabs a:hover{
  background:#e50914;
}

.btn-watch{
  display:block;
  padding:8px 12px;
  margin:8px auto 12px;
  width:max-content;
  text-decoration:none;
  background:red;
  color:white;
  border-radius:8px;
  font-weight:bold;
}
.desc{
  font-size:10px;
  opacity:.8;
}

.video-grid{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
}

.card{
  background: #0f0f0f;
  color: #fff;
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
}

.card img{
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.badge{
  display: inline-block;
  padding: 6px 10px;
  margin-top: 6px;
  border-radius: 6px;
  background: crimson;
}

.text-button {
  font-size: 28px;
  font-weight: bold;
  color: #e50914;        /* warna merah */
  text-decoration: none; /* hilangkan garis bawah */
  cursor: pointer;
  transition: 0.2s;
}

.text-button:hover {
  text-decoration: underline; /* muncul garis saat diarahkan */
  opacity: 0.8;               /* sedikit redup saat hover */
}


