/* Dark theme */
html { scroll-behavior: smooth; }
body {
	background-color: #121212;
	color: #e0e0e0;
	font-family: Arial, sans-serif;
	margin: 0;
	padding: 0;
}
header { text-align: center; color: wheat; }
header h1 { margin-top: 20px; }
.header {
  position: relative;
  width: 100%;
  height: auto;
  background-color: #333;
  display: flex;
  align-items: center;
}
.scroll-container {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  white-space: nowrap;
  width: calc(100% - 100px);
  margin: 0 auto;
  padding-bottom: 12px;
}
.menu-item {
  display: inline-block;
  padding: 10px;
  text-align: center;
  background-color: #444;
  min-width: 100px;
  border-left: 0.5px solid #222;
  cursor: pointer;
}
.menu-item, .menu-item a { color: #FFF; }
.menu-item:hover { color: #ccc; background-color: #555; }
.menu-item.active { background-color: #666; cursor: default; }
.scroll-button {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background-color: #444;
  color: white;
  border: none;
  cursor: pointer;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.scroll-button:hover { background-color: #555; }
.scroll-left { left: 0px; }
.scroll-right { right: 0px; }
a:hover { color: wheat; }
footer p {
	margin: 0;
	font-size: 14px;
}
.video-container {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	justify-content: center;
	padding: 20px;
}
.video-item {
	width: calc(33.33% - 20px);
	background-color: #1f1f1f;
	padding: 10px;
	box-sizing: border-box;
	border-radius: 8px;
	transition: transform 0.2s ease;
}
.video-item:hover { transform: scale(1.05); }
.video-item a {
	text-decoration: none;
	color: inherit;
}
.video-item img {
	width: 100%;
	height: auto;
	border-radius: 8px;
	transition: opacity 0.3s ease;
}
.video-item img:hover { opacity: 0.8; }
.video-item h3 {
	font-size: 16px;
	margin: 10px 0;
	color: #fff;
}
.video-item p { font-size: 14px; color: #b3b3b3; }
.video-item button {
	background-color: #007bff;
	color: white;
	border: none;
	padding: 10px 15px;
	border-radius: 5px;
	cursor: pointer;
}
.video-item button:hover { background-color: #0056b3; }
.download {
  text-align: center;
  position: absolute;
  top: 10px;
  left: 5px;
}
.download button {
  padding: 10px 12px;
  margin: 0 5px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
}
.pagination {
	display: flex;
	justify-content: center;
	margin-bottom: 20px;
}
.pagination p {
  text-align: center;
  color: yellow;
  font-style: italic;
}
.pagination button {
	padding: 10px 15px;
	margin: 0 5px;
	background-color: #007bff;
	color: white;
	border: none;
	border-radius: 5px;
	cursor: pointer;
}
.pagination button.active { background-color: #0056b3; }
.jump-to-page {
	text-align: center;
	margin-bottom: 20px;
	display: flex;
	justify-content: center;
}
.jump-to-page input {
	padding: 10px;
	width: 50px;
	background-color: #333;
	color: #fff;
	border: 1px solid #555;
	border-radius: 5px;
}
.jump-to-page button {
	padding: 10px 20px;
	margin-left: 10px;
	background-color: #007bff;
	color: white;
	border: none;
	border-radius: 5px;
	cursor: pointer;
}
.jump-to-page button:hover { background-color: #0056b3; }
.video-player {
	display: inline-block;
	position: relative;
	width: 100%;
	max-width: 800px;
	aspect-ratio: 16 / 9;
	background: #000;
	border-radius: 8px;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
	margin: 20px auto;
}
.video-player video { width: 100%; height: 100%; }
#skipButton {
	display: none;
	position: absolute;
	top: 10px;
	right: 10px;
	padding: 10px 20px;
	background-color: #ff0000;
	color: white;
	border: none;
	cursor: pointer;
	z-index: 3; /* Pastikan berada di atas layer lainnya */
}
#adLink {
	display: none;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 2;
}
.btn {
  position: absolute;
  top: 1%;
  right: 0.5%;
  padding: 2px 5px;
}
#myBtn:hover { color:red; background-color: white;border:1px solid red;}
#myBtn {
	display: none;
	position: fixed;
	bottom: 60px;
	right: 20px;
	z-index: 99;
	font-size: 18px;
	border: none;
	outline: none;
	background-color: red;
	color: white;
	cursor: pointer;
	padding: 12px 15px;
	border-radius: 4px;
	transition: opacity 0.4s ease; /* Tambahkan transisi untuk smooth effect */
	opacity: 0; /
}
#myBtn.show {
    display: block;
    opacity: 1; /* Set opacity penuh ketika tombol ditampilkan */
}
.footer {
	background-color: #333;
	color: #fff;
	text-align: center;
	padding: 20px;
}
#footer-link { margin-top: 20px; }
.footer-link {
	font-size: 14px;
	color: wheat;
	margin: 0 6px;
	text-decoration: none;
	transition: color 0.3s ease;
}
.footer-link:hover { color: #ccc; }
.footer-link:nth-child(16):hover { color: #e1306c; }
@media screen and (max-width: 768px) {.video-item { width: 100%; } }