* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}
/* NAVBAR */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  background: rgb(42, 73, 42);
  border-bottom: 2px solid #eee;
}

.menu button {
  color: darkgreen;
}
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 15px; /* 🔥 tipis biar hemat tempat */
}
.menu button:hover {
  background: var(--green-soft);
}

/* MENU */
.menu {
  display: flex;
  gap: 10px;
}

.menu button {
  font-size: 12px;
  padding: 5px 8px;
  border: none;
  background: transparent;
  color: white;
  cursor: pointer;
  border-radius: 6px;
  transition: 0.2s;
}

.menu button:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* TOMBOL DAFTAR */
.btn-daftar {
  background: black;
  color: white;
  padding: 8px 16px;
  border-radius: 12px;
  font-weight: bold;
  box-shadow: 0 4px 0 #3b8f02;
  transition: 0.2s;
}

.btn-daftar:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 0 #2f7301;
}

.sub-item {
  text-align: center;
  color: white;
  font-size: 12px;
}

.sub-item h4 {
  margin-bottom: 5px;
}

.sub-item .btn {
  display: inline-block;
  margin: 2px;
  padding: 4px 8px;
  font-size: 11px;
}

.sub-item .login {
  background: #22c55e;
  color: black;
}
/* SECTION */
.section {
  min-height: 100vh;
  background: var(--gray-bg);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  padding: 20px 0;
  flex-direction: column;
}

/* CONTENT */
.content {
  position: relative;
  z-index: 2;
  color: rgb(255, 255, 255);
  text-align: center;
}

/* BACKGROUND */
.bg1 {
  background-image: url("foto1.jpeg");
}
.bg2 {
  background-image: url("foto2.jpeg");
}
.bg3 {
  background-image: url("foto3.jpeg");
}
.bg4 {
  background-image: url("foto4.jpeg");
}
.bg5 {
  background-image: url("foto5.jpeg");
}
.bg6 {
  background-image: url("foto6.jpeg");
}
.bg7 {
  background-image: url("foto7.jpeg");
}

/* MAIN */
.main {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-right: 10px;
}

/* CARDS */
.card {
  background: rgb(186, 232, 184);
  border-radius: 16px;
  padding: 20px;
  color: var(--text-dark);
  box-shadow: 0 6px 0 #e5e5e5;
  transition: 0.2s;
}

.card:hover {
  transform: translateY(-5px);
}

.card.active {
  border: 3px solid var(--green-main);
  box-shadow: 0 6px 0 #cdebb0;
}

.card.active::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 9px;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.4),
    transparent 70%
  );
}

.price {
  font-weight: bold;
  margin-bottom: 6px;
}

.btn {
  display: inline-block; /* penting: biar tidak full lebar */
  width: auto; /* jangan melebar */
  padding: 5px 10px; /* kecilin */
  font-size: 12px;

  background: #ffffff;
  color: black;
  text-decoration: none;

  border-radius: 20px; /* bikin pill */
  margin: 3px 4px 3px 0;

  white-space: nowrap; /* biar ga turun */
}
.hero-text {
  position: absolute;
  down: 100px; /* jarak dari atas */
  left: 30px; /* nempel kanan */
  max-width: 400px;

  color: white;
  font-size: 3px;
  line-height: 1.6;
  text-align: right;

  /* biar kebaca di atas gambar */
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
}

.layout-quiz {
  display: flex;
  flex-direction: column; /* atas ke bawah */
  gap: 20px;
  width: 100%;
}

.main {
  width: 100%;
}

.quiz-box {
  width: 100%;
}

/* ===== REVIEW ===== */
.review-section {
  margin-bottom: 60px;
}

.review-section h2 {
  text-align: center;
  margin-bottom: 20px;
}

.review-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
}

.review-card {
  background: white;
  padding: 15px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.review-card h4 {
  margin-bottom: 5px;
}

.review-card p {
  font-size: 14px;
  color: #555;
}
.faq-layout {
  align-items: flex-start; /* ⬅️ pindah ke atas */
  padding-top: 100px; /* kasih jarak dari atas */
  justify-content: center;
  align-items: flex-start;
  padding-top: 100px;
}
.faq-layout .main {
  align-items: flex-start; /* ⬅️ ini kuncinya */
  padding-top: 100px;
}
.faq-main {
  align-items: flex-start;
  padding-top: 100px;
}

body {
  background: var(--gray-bg);
  font-family: "Poppins", sans-serif;
  color: var(--text-dark);
}
.video-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  width: 97%;
  margin: auto;
}

.video {
  backdrop-filter: blur(10px);
  padding: 15px;
  border-radius: 15px;
  transition: 0.3s;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.video:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.6);
}

.video iframe {
  width: 95%;
  height: 220px; /* ukuran HP */
  border-radius: 10px;
  border: none;
}

/* tablet */
@media (min-width: 768px) {
  .video iframe {
    height: 300px;
  }
}

/* desktop */
@media (min-width: 1024px) {
  .video iframe {
    height: 400px;
  }
}

.tiktok-box {
  width: 100%;
  display: flex;
  justify-content: center;
}

/* kontrol ukuran */
.tiktok-box blockquote {
  max-width: 280px; /* 🔥 kecilkan di sini */
  width: 130%;
}

/* optional biar lebih kecil lagi di desktop */
@media (min-width: 768px) {
  .tiktok-box blockquote {
    max-width: 250px;
  }
}

.quiz-box {
  background: white;
  border-radius: 16px;
  box-shadow: 0 6px 0 #e5e5e5;
}

.option {
  background: #f1f5f9;
  color: var(--text-dark);
  border-radius: 12px;
}

.option:hover {
  background: var(--green-soft);
}

/* KHUSUS MOBILE */
@media (max-width: 768px) {
  .option {
    padding: 18px; /* 🔥 lebih tebal di HP */
    font-size: 18px; /* 🔥 lebih besar */
  }
}
#result {
  margin-top: 15px;
  font-weight: bold;
}
button {
  background: var(--green-main);
  color: white;
  border-radius: 12px;
  box-shadow: 0 4px 0 #3b8f02;
}

button:hover {
  background: var(--green-dark);
}
.footer {
  padding: 20px;
  text-align: center;
  background: #043c0b;
  color: white;
}
.progress-container {
  width: 100%;
  height: 10px;
  background: #ddd;
  border-radius: 10px;
  margin-bottom: 15px;
}

.progressBar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, red, rgb(255, 0, 191));
  border-radius: 10px;
}

.option {
  margin: 8px 0;
  padding: 10px;
  background: #4bd635;
  border-radius: 8px;
  cursor: pointer;
}
.option:hover {
  transform: scale(1.03);
}

@keyframes pop {
  0% {
    transform: scale(0.7);
  }
  100% {
    transform: scale(1);
  }
}
.cards2 {
  display: flex;
  flex-direction: column;
  gap: 10px;

  max-width: 900px; /* 🔥 dari 300 → 900 */
  width: 90%;
}

/* 🔥 dari gamesss*/ /* 🔥 dari 300 → 900 */ /* 🔥 dari gamess*/
body {
  font-family: "Poppins", Arial, sans-serif;
  background: linear-gradient(135deg, #e0f7ef, #f5f7ff);
  text-align: center;
  padding: 5px;
  margin: 0;
}

/* CONTAINER */
.container {
  width: 105%;
  max-width: 500px;
  height: 520px;

  margin: 50px auto; /* ⬅️ kasih jarak atas bawah */

  background: #ffffff;
  padding: 10px;
  border-radius: 5px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);

  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.section {
  display: block; /* matikan flex untuk quiz */
}
/* TOP BAR */
.top-bar {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
  font-weight: 600;
  font-size: 14px;
}

/* QUESTION */
.question {
  font-size: 22px;
  margin-bottom: 20px;
  font-weight: 600;
  min-height: 60px;
  max-height: 80px;
  overflow: hidden;
}

/* AREA */
.answer,
.word-bank {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  padding: 12px;
  border-radius: 12px;
  min-height: 60px;
  min-height: 100px;
  max-height: 120px;
  overflow-y: auto;
}

.answer {
  border: 2px dashed #cbd5e1;
  background: #f8fafc;
  margin-bottom: 20px;
  min-height: 80px;
  max-height: 100px;
  overflow-y: auto;
}

/* WORD BLOCK */
.word {
  padding: 10px 16px;
  background: #f1f5f9;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-weight: 500;
}

.word:hover {
  background: #e2e8f0;
  transform: translateY(-2px);
}

.word:active {
  transform: scale(0.92);
}

/* BUTTON */
.btn-group {
  display: flex;
  justify-content: center;
  gap: 10px;
}

button {
  margin-top: 10px;
  padding: 10px 20px;
  border: none;
  background: linear-gradient(135deg, #80a07b, #809b7d);
  color: white;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 600;
  transition: 0.2s;
}

button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* RESET BUTTON */
.reset {
  background: linear-gradient(135deg, #f59e0b, #d97706);
}

/* RESULT TEXT */
#result {
  margin-top: 15px;
  font-weight: bold;
}

/* ANIMASI */
.correct {
  animation: pop 0.3s;
  color: #16a34a;
}

.wrong {
  animation: shake 0.3s;
  color: #dc2626;
}

@keyframes pop {
  0% {
    transform: scale(0.8);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes shake {
  0% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-6px);
  }
  50% {
    transform: translateX(6px);
  }
  75% {
    transform: translateX(-6px);
  }
  100% {
    transform: translateX(0);
  }
}

/* STREAK */
.streak {
  margin-top: 10px;
  font-weight: bold;
  color: #f59e0b;
  font-size: 15px;
}
.btn-group button {
  flex: 1;
}
.share-box {
  margin-top: 15px;
}

.share-box button {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(135deg, #758f6e, #849c88);
  color: white;
  font-weight: bold;
  cursor: pointer;
}

/* POPUP */
.share-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.share-content {
  background: white;
  padding: 20px;
  border-radius: 15px;
  text-align: center;
}

.share-content a {
  display: block;
  margin: 10px 0;
  padding: 10px;
  background: #eee;
  border-radius: 8px;
  text-decoration: none;
  color: black;
}
.layout4 {
  display: flex;
  min-height: 80vh;
}

/* SIDEBAR KANAN */
.sidebar {
  width: 220px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 25px;

  position: fixed;
  right: 20px;
  top: 35%;
  transform: translateY(-50%);
}

/* TOMBOL */
.menu-btn {
  padding: 12px;
  border: none;
  border-radius: 8px;
  background: #835620;
  color: white;
  cursor: pointer;
  text-align: center;
  transition: 0.3s;
}

.menu-btn:hover {
  background: #094f0e;
  transform: translateX(5px);
}
.sidebar {
  align-items: flex-end;
}

.menu-btn {
  width: fit-content;
  padding: 10px 36px;
  font-size: 14px;
}
/* KONTEN KANAN */
.content {
  flex: 1;
  padding: 20px;
}
.section {
  padding: 20px 0;
}
.layout {
  display: flex;
  width: 100%;
  margin: 0;
}

.video-wrapper {
  display: flex;
  justify-content: flex-start; /* ke kiri */
  align-items: flex-end; /* ke bawah */
  height: 550px; /* tinggi area (atur sesuai layout kamu) */
  padding: 20px;
}

.video-box {
  width: 320px;
  height: 180px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.video-box iframe {
  width: 100%;
  height: 100%;
}
