body {
  background: #000;
  color: cyan;
  font-family: Arial, sans-serif;
  text-align: center;
  padding: 20px;
}
h1 {
  color: yellow;
}
a {
  color: yellow;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* Grid untuk daftar video */
.video-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr); /* 5 kolom tetap */
  gap: 15px;
  margin-top: 20px;
  padding: 10px;
}

.video-item {
  background: #111;
  padding: 8px;
  border: 1px solid cyan;
  border-radius: 6px;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.video-item:hover {
  transform: scale(1.05);
  box-shadow: 0 0 10px cyan;
}

.video-item video {
  width: 100%;
  height: 120px;       /* kecil, mirip thumbnail */
  object-fit: cover;   /* crop biar rapi */
  border-radius: 5px;
  margin-bottom: 5px;
}

.video-item p {
  color: yellow;
  font-size: 12px;
  word-wrap: break-word;
  margin: 0;
}


/* Pagination */
.pagination {
  margin-top: 20px;
}
.pagination a {
  color: cyan;
  padding: 8px 12px;
  border: 1px solid cyan;
  border-radius: 5px;
  margin: 0 5px;
  text-decoration: none;
}
.pagination a:hover {
  background: cyan;
  color: black;
}

/* Progress bar container */
.progress-container {
  width: 80%;
  margin: 15px auto;
  background: #222;
  border-radius: 10px;
  overflow: hidden;
  padding: 5px;
  color: white;
  font-size: 14px;
  text-align: left;
}

/* Progress bar */
.progress-bar {
  height: 25px;
  width: 0;
  background: linear-gradient(90deg, red, orange);
  border-radius: 5px;
  text-align: center;
  font-weight: bold;
  font-size: 14px;
  color: black;
  transition: width 0.3s ease;
}

/* Gaya untuk halaman video tunggal */
.video-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 30px;
}

.video-player {
  width: 800px;            /* ukuran tetap video */
  height: 450px;           /* proporsi 16:9 */
  background: #111;
  border: 2px solid cyan;
  border-radius: 8px;
  overflow: hidden;
}

.video-player video {
  width: 100%;
  height: 100%;
  object-fit: contain;     /* biar tidak crop video */
}

/* Banner di bawah video */
.video-banner {
  margin-top: 15px;
  background: linear-gradient(90deg, #ffcc00, #ff6600);
  color: black;
  font-weight: bold;
  text-align: center;
  width: 800px;
  padding: 10px;
  border-radius: 5px;
}

.video-banner {
  margin-top: 15px;
  display: flex;
  justify-content: center;
}

.video-banner a {
  display: inline-block;
}

.banner-img {
  width: 800px;        /* ukuran banner mengikuti video */
  max-width: 100%;     /* tetap responsif di layar kecil */
  border-radius: 6px;
  transition: transform 0.3s ease;
}

.banner-img:hover {
  transform: scale(1.03);
  box-shadow: 0 0 15px cyan;
}
