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

body {
  background: rgba(24, 26, 28, 1);
  color: #fff;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 40px;
  background: rgba(24, 26, 28, 1);
  position: fixed;
  width: 100%;
  z-index: 10;
}

.nav-left {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.logo {
  width: 100px;
  height: 44px;
}

.navbar nav a {
  margin: 0 12px;
  text-decoration: none;
  color: #ccc;
}

.navbar nav a:hover {
  color: #fff;
}

.profile {
  position: relative;
  display: flex;
  align-items: center;
  cursor: pointer;
}

/* Hero Section */
.hero {
  height: 90vh;
  background:
    linear-gradient(
      rgba(0, 0, 0, 0),
      rgba(16, 18, 19, 0.86),
      rgba(24, 26, 28, 1)
    ),
    url("img/tugas-setelah-sekolah.png") center/cover no-repeat;
  display: flex;
  align-items: center;
  padding: 40px;
}

.hero-content {
  max-width: 600px;
}

.hero-content h2 {
  font-size: 40px;
  font-weight: bold;
  margin-bottom: 16px;
}

.hero-content p {
  font-size: 16px;
  margin-bottom: 20px;
  color: #ddd;
}

.hero-buttons {
  display: flex;
  justify-content: space-between;
}

.main-button {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn1 {
  background: rgba(15, 30, 147, 1);
  color: #fff;
  padding: 10px 18px;
  border: none;
  border-radius: 20px;
  cursor: pointer;
}

/* Hover effect */
.btn1:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(0, 119, 255, 0.45);
  filter: brightness(1.05);
}

/* Active / klik */
.btn1:active {
  transform: translateY(0);
  box-shadow: 0 8px 18px rgba(0, 119, 255, 0.45);
}

.btn2 {
  background: rgba(34, 40, 42, 1);
  color: #fff;
  padding: 10px 18px;
  border: none;
  border-radius: 20px;
  cursor: pointer;
}

/* Hover effect */
.btn2:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgb(49, 55, 57);
  filter: brightness(1.05);
}

/* Active / klik */
.btn2:active {
  transform: translateY(0);
  box-shadow: 0 8px 18px rgb(49, 55, 57);
}

.btn3 {
  background: transparent;
  color: #fff;
  padding: 10px 18px;
  border: 1px solid;
  border-radius: 20px;
  cursor: pointer;
}

/* Hover effect */
.btn3:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgb(49, 55, 57);
  filter: brightness(1.05);
}

/* Active / klik */
.btn3:active {
  transform: translateY(0);
  box-shadow: 0 8px 18px rgb(49, 55, 57);
}

.btn-volume {
  position: absolute;
  right: 40px;
  cursor: pointer;
}

/* Hover effect */
.btn-volume:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgb(49, 55, 57);
  filter: brightness(1.05);
}

/* Active / klik */
.btn-volume:active {
  transform: translateY(0);
  box-shadow: 0 8px 18px rgb(49, 55, 57);
}

/* Movie Section */
.movie-section {
  padding: 20px 40px;
}

.movie-section h3 {
  margin-bottom: 10px;
}

.movie-row {
  display: flex;
  gap: 12px;
  overflow-x: auto;
}

/* HILANGKAN SCROLLBAR BESAR */
.movie-row::-webkit-scrollbar {
  height: 6px;
}

.movie-row::-webkit-scrollbar-track {
  background: transparent;
}

.movie-row::-webkit-scrollbar-thumb {
  background: #333;
  border-radius: 10px;
}

/* Poster */
.movie-row img {
  border-radius: 6px;
  cursor: pointer;
  transition: transform 0.3s;
}

/*Hoover Effect*/
.movie-row img:hover {
  transform: scale(1.08);
}

/* Footer */
.footer {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 30px;
  align-items: center;
  padding: 20px;
  color: #aaa;
}

.list h4 {
  color: #fff;
  margin-bottom: 14px;
  font-size: 14px;
}

.list ul {
  list-style: none;
}

.list ul li {
  margin-bottom: 10px;
}

.list ul li a {
  text-decoration: none;
  color: #aaa;
  font-size: 13px;
}

.list ul li a:hover {
  color: #fff;
}

/* RESPONSIVE MOBILE*/

@media (max-width: 768px) {
  /* Navbar */
  .navbar {
    padding: 12px 20px;
  }

  .nav-left {
    gap: 14px;
  }

  .navbar nav {
    display: none; /* sembunyikan menu (opsional) */
  }

  .logo {
    width: 80px;
    height: auto;
  }

  /* Hero */
  .hero {
    height: auto;
    padding: 100px 20px 40px;
    align-items: flex-end;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-content h2 {
    font-size: 26px;
    line-height: 1.3;
  }

  .hero-content p {
    font-size: 14px;
  }

  /* Buttons */
  .hero-buttons {
    flex-direction: column;
    gap: 12px;
  }

  .main-button {
    flex-wrap: wrap;
    gap: 10px;
  }

  .btn1,
  .btn2,
  .btn3 {
    padding: 8px 14px;
    font-size: 13px;
  }

  .btn-volume {
    width: 30px;
    height: 30px;
    margin-right: -30px;
  }

  /* Movie Section */
  .movie-section {
    padding: 20px;
  }

  .movie-section h3 {
    font-size: 16px;
  }

  .movie-row img {
    width: 110px;
  }

  /* Footer */
  .footer {
    grid-template-columns: 1fr;
    gap: 20px;
    text-align: center;
  }

  .list h4 {
    font-size: 13px;
  }

  .list ul li a {
    font-size: 12px;
  }
}

/* Overlay via JS atau class from JS */
.movie-card {
  position: relative;
}

.movie-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) rgba(0, 0, 0, 0.2));
  display: flex;
  align-items: center;
  opacity: 0;
  border-radius: 10px;
  transition: opacity 0.3s ease;
}

.movie-overlay span {
  font-size: 100px;
  color: #ff0000;
  margin-left: auto;
  margin-right: auto;
  cursor: pointer;
}

@media (max-width: 768px) {
  .movie-overlay span {
    font-size: 40px;
    color: #ff0000;
    margin-left: auto;
    margin-right: auto;
    cursor: pointer;
  }
}

.movie-card:hover img {
  transform: scale(1.08);
}

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