html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden; /* Mencegah munculnya scroll menyamping (horizontal) */
}
:root {
  --navy: #234A76;
  --ocean: #4F86C6;
  --sky: #BFE3F0;
  --mist: #EAF7FB;
  --sand: #F4E7C8;
  --coral: #F58A7A;
  --sun: #F4C95D;
  --leaf: #4FAF7A;
  --ink: #2F4858;
  --white: #ffffff;

  --shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  --radius: 20px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
}

body {
  margin: 0;
    min-height: 100vh;
    /* Ganti URL gambar background sesuai file proyek Naraya Anda */
    background-image: url('Latar-Mobaca.1.png'); 
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    /* Kunci utama agar background tidak ikut bergeser saat digulir */
    background-attachment: fixed; 
}

/* 2. Lapisan pembungkus untuk mengatur efek transparansi */
.bg-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Warna penutup (misal warna putih atau biru navy transparan khas Naraya) */
    background-color: rgba(255, 255, 255, 0.9); 
    /* Mulai dari transparansi awal (misal opacity 0.2 = sangat transparan) */
    opacity: 0.2; 
    /* Agar elemen ini berada di belakang konten utama tetapi di atas background */
    z-index: -1; 
    /* Supaya elemen tidak menghalangi klik pada tombol/tautan */
    pointer-events: none; 
    /* Efek perubahan halus */
    transition: opacity 0.1s ease-out; 
}

#home {
  position: relative;
  margin-top: -100px;
  padding-top: 100px;
  padding-bottom: 40px;
  z-index: 1;
}

#home::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: auto;
  aspect-ratio: 3 / 2;
  background: url('Latar-Mobaca.jpeg') no-repeat top center;
  background-size: contain;
  z-index: -1;
}

@media (max-width: 768px) {

  #home::before {

    background: url('bg-mobile.png') no-repeat top center;

    background-size: cover;

    aspect-ratio: 9 / 16;

  }

}

header {
  background: transparent;
  color: var(--ink);
  padding: 16px 55px;
  height: 75px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  box-shadow: none;
  transition: background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}

header.scrolled {
  background: linear-gradient(90deg, rgba(234, 247, 251, 0.95), rgba(191, 227, 240, 0.95));
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}

.nav-menu {
  display: flex;
  gap: 28px;
}

/* style link */
.nav-menu a {
  text-decoration: none;
  color: var(--navy);
  font-weight: 600;
  font-family: 'Quicksand', sans-serif;
  position: relative;
}

/* hover effect */
.nav-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 2px;
  background: var(--navy);
  transition: 0.3s;
}

.nav-menu a:hover::after {
  width: 100%;
}

main.container {
  padding-top: 100px;
}

.logo-box {
  display: flex;
  align-items: center;
  height: 100%;
  overflow: visible;
}

.logo-img {
  height: 150px;
  width: auto;
  display: block;
}

.progress-box {
  background: rgba(255,255,255,0.15);
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 0.95rem;
}

.container {
  max-width: none;
  margin: 0 auto;
  padding: 24px 16px 0px;
}

.screen {
  display: none;
  animation: fadeIn 0.35s ease;
}

.screen.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero {
width: 100%;
  height: 100vh; /* Memenuhi tinggi layar perangkat */
  margin: 0;
  padding: 0;
  overflow: hidden;
  position: relative;
}
.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ajaibnya ada di sini: gambar akan zoom otomatis untuk memenuhi ruang tanpa gepeng */
  object-position: center; /* Memastikan karakter tetap berada di tengah */
  display: block;
}

.hero-text {
  max-width: 550px;
  margin: 0 auto;
  text-align: center;
}

.hero .maskot {
  font-size: 5rem;
  margin-bottom: 10px;
}

.hero h2 {
  font-family: 'Baloo 2', sans-serif;
  font-weight: 700;
  font-size: 2.8rem;
  color: var(--navy);
  margin-bottom: 10px;
}

.hero p {
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;   /* WAJIB biar gak tipis */
  font-size: 1.1rem;
  line-height: 1.7;
  max-width: 760px;
  margin: 0 auto 24px;
}

.hero-text h2 {
  font-size: 2.8rem;
  color: var(--navy);
  margin-bottom: 0px;
}

.hero-text p {
  line-height: 1.7;
  font-size: 1.08rem;
  max-width: 560px;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image {
  width: 100%;
  max-width: 360px;
  min-height: 220px;
  border-radius: 24px;
  background: linear-gradient(180deg, var(--mist), var(--sky));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  box-shadow: var(--shadow);
  object-fit: cover; /* Memastikan gambar memenuhi area tanpa merusak proporsi */
}

.intro-section {
  margin-top:140px;
}

.intro-card {
  text-align: center;
}

.menu-section {
  margin-top: 0;
  margin-bottom: 0;
  padding: 80px 24px 0px;
  position: relative;
  z-index: 2;
  width: 100vw;
  margin-left: calc(-50vw + 50%);

  background: linear-gradient(
    to bottom,
    #ffffff 0%,
    #AEDEFC 100%
  );
}

.menu-section::before {
  content: "";
  position: absolute;
  top: -160px;
  left: 0;
  width: 100%;
  height: 160px;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0),
    #ffffff
  );
  z-index: -1;
}

.menu-title {
  text-align: center;
  color: var(--navy);
  font-size: 2.3rem;
  margin-bottom: 36px;
  font-family: 'Baloo 2', sans-serif;
  font-weight: 800;
  position: relative;
}

.menu-title::after {
  content: "";
  display: block;
  width: 90px;
  height: 8px;
  background: var(--sun);
  border-radius: 999px;
  margin: 10px auto 0;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1150px;
  margin: 0 auto;
  padding-bottom: 90px;
}

.menu-card {
  appearance: none;
  -webkit-appearance: none;
  border: none;
  outline: none;

  position: relative;
  overflow: hidden;

  border-radius: 34px;
  padding: 46px 30px;
  min-height: 290px;

  background: rgba(255,255,255,0.92);

  cursor: pointer;
  text-align: center;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  border: 4px solid rgba(255,255,255,0.9);

  box-shadow:
    0 12px 0 rgba(35,74,118,0.14),
    0 20px 35px rgba(35,74,118,0.12);

  transition: all 0.25s ease;
}

/* bubble dekoratif */
.menu-card::before {
  content: "";
  position: absolute;
  width: 140px;
  height: 140px;
  background: rgba(191, 227, 240, 0.55);
  border-radius: 50%;
  top: -50px;
  right: -50px;
}

.menu-card::after {
  content: "";
  position: absolute;
  width: 90px;
  height: 90px;
  background: rgba(244, 201, 93, 0.35);
  border-radius: 50%;
  bottom: -25px;
  left: -20px;
}

/* warna card berbeda */
.menu-card:nth-child(1) {
  background: linear-gradient(180deg, #ffffff, #fff7e2);
}

.menu-card:nth-child(2) {
  background: linear-gradient(180deg, #ffffff, #ebfaff);
}

.menu-card:nth-child(3) {
  background: linear-gradient(180deg, #ffffff, #fff0eb);
}

.menu-card:hover {
  transform: translateY(-12px) rotate(-1deg);

  box-shadow:
    0 16px 0 rgba(35,74,118,0.16),
    0 28px 45px rgba(35,74,118,0.18);
}

.menu-card:active {
  transform: scale(0.97);
}

.menu-icon {
  position: relative;
  z-index: 2;

  font-size: 4.3rem;
  margin-bottom: 18px;

  animation: floatIcon 2.5s ease-in-out infinite;
}

.menu-heading {
  position: relative;
  z-index: 2;

  color: var(--navy);
  font-size: 1.7rem;
  font-weight: 800;
  margin-bottom: 10px;

  display: block;

  font-family: 'Baloo 2', sans-serif;
}

.menu-desc {
  position: relative;
  z-index: 2;

  font-size: 1.03rem;
  line-height: 1.7;
  color: var(--ink);

  display: block;

  font-family: 'Quicksand', sans-serif;
  font-weight: 700;

  max-width: 240px;
}

@keyframes floatIcon {
  0%, 100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-8px);
  }
}

@media (max-width: 768px) {
  .menu-grid {
    grid-template-columns: 1fr;
  }

  .menu-title {
    font-size: 2rem;
  }

  .menu-card {
    min-height: 240px;
  }
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

button {
  border: none;
  border-radius: 999px;
  padding: 14px 22px;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.18s ease, opacity 0.18s ease;
  box-shadow: var(--shadow);
}

button:hover {
  transform: translateY(-2px);
  opacity: 0.95;
}

.btn-primary {
  background: var(--coral);
  color: var(--white);
}

.btn-secondary {
  background: var(--ocean);
  color: var(--white);
}

.btn-yellow {
  background: var(--sun);
  color: var(--ink);
}

.option-btn {
  background: var(--white);
  color: var(--ink);
  border: 2px solid var(--sky);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.card {
  background: rgba(255,255,255,0.85);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}

.card h3 {
  color: var(--ocean-dark);
  margin-bottom: 10px;
}

.episode-card {
  cursor: pointer;
  border: 3px solid transparent;
}

.episode-card:hover {
  border-color: var(--soft-aqua);
}

.story-box {
  background: rgba(255,255,255,0.9);
  border-radius: 28px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.story-illustration {
  font-size: 5rem;
  text-align: center;
  margin-bottom: 16px;
}

.story-title {
  font-size: 1.7rem;
  color: var(--ocean-dark);
  margin-bottom: 14px;
  text-align: center;
}

.story-text {
  font-size: 1.15rem;
  line-height: 1.8;
  text-align: center;
  margin-bottom: 18px;
}

.highlight-word {
  background: var(--yellow);
  padding: 3px 8px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: bold;
  display: inline-block;
}

.info-box {
  background: #fff8df;
  border-left: 6px solid var(--yellow);
  padding: 14px 16px;
  border-radius: 14px;
  margin: 14px 0 18px;
  line-height: 1.6;
}

.quiz-options,
.roleplay-options,
.dictionary-list,
.game-options {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.option-btn {
  background: var(--white);
  color: var(--brown);
  border: 2px solid var(--soft-aqua);
  text-align: left;
  border-radius: 16px;
  padding: 14px 16px;
}

.result-box {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 14px;
  font-weight: bold;
  display: none;
}

.result-success {
  background: #dff7e8;
  color: var(--green);
  display: block;
}

.result-error {
  background: #ffe4e0;
  color: #c94b3d;
  display: block;
}

.badge {
  display: inline-block;
  background: var(--yellow);
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: bold;
  margin: 6px 6px 0 0;
}

.back-link {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--ocean-dark);
  cursor: pointer;
  font-weight: bold;
}

.footer-note {
  text-align: center;
  margin-top: 24px;
  opacity: 0.8;
  font-size: 0.95rem;
}

@media (max-width: 640px) {
  header {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }

  .hero h2 {
    font-size: 1.8rem;
  }

  .story-text {
    font-size: 1.02rem;
  }
}

.hero-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  /* Pastikan nama gambar sesuai */ 
  background-size: cover;
  background-position: center top; 
  background-repeat: no-repeat;

  display: flex;
  flex-direction: column;
  justify-content: center; 
  align-items: center;       
  padding: 0 20px 250px 20px;   
  overflow: hidden;
  background-attachment: fixed;
  transition: background-position 0.1s;
}

@media (max-width: 768px) {
  .hero-section {
    background-size: auto 100%;
    padding-bottom: 40px; 
    background-position: center center;
  }
}

/* GRADIENT SCRIM */
.hero-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40%;
  background: linear-gradient(to bottom, rgba(17, 34, 51, 0) 0%, rgba(17, 34, 51, 0.8) 100%);
  z-index: 1;
  pointer-events: none;
}

/* WADAH KONTEN TEKS */
.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;  /* Memusatkan elemen block (seperti accent-bar) ke tengah horizontal */
  justify-content: center;
  text-align: center;   /* Memusatkan semua teks di dalamnya */
  width: 100%;
  margin: 0 auto;       /* Memastikan kontainer berada di tengah layar */
}

/* AKSEN GARIS PENDEK (Warna Oranye) */
.accent-bar {
  width: 50px;
  height: 6px;
  background-color: #fca311; /* Oranye/kuning disesuaikan */
  border-radius: 10px;
  margin: 0 auto 15px auto;
  text-align: top;
  margin-left: auto;
  margin-right: auto;
}

/* JUDUL UTAMA (EFEK 3D/STIKER) */
.hero-title {
  color: #ffffff; 
  font-family: 'Baloo 2', sans-serif;
  font-size: clamp(2.2rem, 5vw, 4rem); 
  font-weight: 900;
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: 1px;
  text-align: center; /* Tambahkan baris ini untuk meratakan teks ke tengah */
  text-shadow: 
    -2px -2px 0 #152c3d,  
     2px -2px 0 #152c3d,
    -2px  2px 0 #152c3d,
     2px  2px 0 #152c3d,
     0px  6px 0px #152c3d, 
     0px 10px 15px rgba(0, 0, 0, 0.6); 
}

/* DESKRIPSI HERO (EFEK OUTLINE TEBAL) */
.hero-desc {
  color: #ffffff; 
  font-family: 'Quicksand', sans-serif;
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.6;
  font-weight: 700; 
  text-align: center;
  max-width: 800px; /* Opsional: membatasi lebar teks agar tidak terlalu memanjang ke ujung layar */
  margin: 0 auto;
  text-shadow: 
    -1.5px -1.5px 0 #152c3d,  
     1.5px -1.5px 0 #152c3d,
    -1.5px  1.5px 0 #152c3d,
     1.5px  1.5px 0 #152c3d,
     0px    3px   0px #152c3d, 
     0px    5px   10px rgba(0, 0, 0, 0.5);
}

/* =========================================
   RESPONSIF UNTUK LAYAR KECIL (HP)
========================================= */
@media (max-width: 768px) {
  .hero-section {
    padding-bottom: 40px; 
  }
  
  .hero-title {
    text-shadow: 
      -1.5px -1.5px 0 #152c3d,  
       1.5px -1.5px 0 #152c3d,
      -1.5px  1.5px 0 #152c3d,
       1.5px  1.5px 0 #152c3d,
       0px  4px 0px #152c3d,
       0px  6px 10px rgba(0, 0, 0, 0.5);
  }
}

  .hero-text p {
    margin: 0 auto;
  }

  .menu-grid {
    grid-template-columns: 1fr;
  }

  .menu-title {
    font-size: 1.5rem;
  }

.petualangan-page {
  background: #AEDEFC;
}

.game-modal {
  position: fixed;
  inset: 0;
  background: rgba(35, 74, 118, 0.45);
  backdrop-filter: blur(6px);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 3000;
  padding: 20px;
}

.game-modal.active {
  display: flex;
}

.game-modal-content {
  position: relative;
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  overflow-y: auto;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 32px;
  padding: 34px;
  text-align: center;
  box-shadow: 0 18px 40px rgba(35, 74, 118, 0.25);
}

.close-modal-btn {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 50%;
  background: var(--coral);
  color: white;
  font-size: 1.7rem;
  line-height: 1;
}

.game-badge {
  display: inline-block;
  background: #f08080;
  color: #ffffff;
  padding: 8px 18px;
  border-radius: 999px;
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  margin-bottom: 14px;
}

.game-modal-content h2 {
  font-family: 'Baloo 2', sans-serif;
  font-size: 2.4rem;
  color: var(--navy);
  margin-bottom: 6px;
}

.game-subtitle {
  font-family: 'Quicksand', sans-serif;
  font-weight: 600;
  line-height: 1.6;
  margin-bottom: 24px;
}

.wave-box {
  position: relative;
  overflow: hidden;

  background: linear-gradient(180deg, #eaf7fb 0%, #bfe3f0 100%);
  border-radius: 34px;
  padding: 34px 24px 32px;
  margin-bottom: 24px;

  border: 4px solid rgba(255, 255, 255, 0.85);
  box-shadow:
    0 10px 0 rgba(35, 74, 118, 0.12),
    0 18px 34px rgba(35, 74, 118, 0.14);
}

/* dekorasi gelembung */
.wave-box::before {
  content: "";
  position: absolute;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  top: -45px;
  right: -35px;
}

.wave-box::after {
  content: "🐟";
  position: absolute;
  left: 34px;
  bottom: 28px;
  font-size: 2.2rem;
  opacity: 0.35;
  animation: swimFish 3s ease-in-out infinite;
}

.wave-icon {
  position: relative;
  z-index: 2;

  width: 105px;
  height: 105px;
  margin: 0 auto 12px;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 3.8rem;
  background: rgba(255, 255, 255, 0.65);
  border-radius: 50%;

  box-shadow: 0 10px 22px rgba(35, 74, 118, 0.15);

  animation: floatWave 2.4s ease-in-out infinite;
}

#questionNumber {
  position: relative;
  z-index: 2;

  font-family: 'Quicksand', sans-serif;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 14px;
}

.play-sound-btn {
  position: relative;
  z-index: 2;

  background: #F08080;
  color: white;

  font-family: 'Quicksand', sans-serif;
  font-weight: 800;
  font-size: 1rem;

  padding: 14px 26px;
  border-radius: 999px;

  box-shadow:
    0 7px 0 rgba(180, 70, 70, 0.35),
    0 12px 22px rgba(240, 128, 128, 0.35);
}

.play-sound-btn:hover {
  transform: translateY(-4px);
}

.play-sound-btn:active {
  transform: translateY(2px);
  box-shadow:
    0 3px 0 rgba(180, 70, 70, 0.35),
    0 8px 16px rgba(240, 128, 128, 0.28);
}

@keyframes floatWave {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-6px);
  }

  100% {
    transform: translateY(0px);
  }
}

@keyframes swimFish {
  0%, 100% {
    transform: translateX(0);
  }

  50% {
    transform: translateX(12px);
  }
}

.play-sound-btn {
  background: #f08080;
  color: white;
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
}

.answer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.answer-grid button {
  background: #ffffff;
  color: var(--navy);
  border: 2px solid var(--sky);
  border-radius: 20px;
  padding: 17px 18px;
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(35, 74, 118, 0.08);
  transition: all 0.25s ease;
}

#answerOptions button {
  transition: all 0.25s ease;
}

#answerOptions button:hover {
  background: linear-gradient(180deg, #f08080, #e96f6f);
  border-color: #f08080;
  color: white;
  transform: translateY(-4px) scale(1.02);
  box-shadow:
    0 8px 0 rgba(180, 70, 70, 0.35),
    0 16px 28px rgba(240, 128, 128, 0.35);
}

#answerOptions button:active {
  transform: translateY(1px) scale(0.98);
}

.box-input-area {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

#boxAnswerInput {
  width: 100%;
  padding: 16px 18px;
  border-radius: 18px;
  border: 3px solid var(--sky);
  font-family: 'Quicksand', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  color: var(--navy);
  outline: none;
  text-align: center;
}

#boxAnswerInput:focus {
  border-color: #f08080;
  box-shadow: 0 0 0 4px rgba(240, 128, 128, 0.18);
}

#boxSubmitBtn {
  background: #f08080;
  color: white;
  font-family: 'Quicksand', sans-serif;
  font-weight: 800;
  box-shadow:
    0 7px 0 rgba(180, 70, 70, 0.35),
    0 12px 22px rgba(240, 128, 128, 0.35);
}

.next-question-btn {
  display: none;
  margin: 18px auto 0;
  background: #f08080;
  color: white;
  font-family: 'Quicksand', sans-serif;
  font-weight: 800;
  box-shadow:
    0 7px 0 rgba(180, 70, 70, 0.35),
    0 12px 22px rgba(240, 128, 128, 0.35);
}

.next-question-btn:hover {
  transform: translateY(-4px);
}

.game-feedback {
  min-height: 28px;
  margin-top: 20px;
  font-family: 'Quicksand', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
}

.game-feedback.correct {
  color: var(--leaf);
}

.game-feedback.wrong {
  color: var(--coral);
}

.game-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 22px;
  gap: 12px;
  flex-wrap: wrap;
}

#scoreText {
  font-family: 'Quicksand', sans-serif;
  font-weight: 800;
  color: #ffffff;
  background: #4FAF7A;
  padding: 10px 16px;
  border-radius: 999px;
}

#matchScoreText {
  font-family: 'Quicksand', sans-serif;
  font-weight: 800;
  color: #ffffff;
  background: #4FAF7A;
  padding: 10px 16px;
  border-radius: 999px;
}

#boxScoreText {
  font-family: 'Quicksand', sans-serif;
  font-weight: 800;
  color: #ffffff;
  background: #4FAF7A;
  padding: 10px 16px;
  border-radius: 999px;
}

.back-game-btn {
  background: var(--ocean);
  color: white;
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
}

/* ===== SCROLLBAR MODERN ===== */

/* Chrome, Edge, Safari */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: transparent;
  border-radius: 20px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--sky), var(--ocean));
  border-radius: 20px;
  border: 2px solid rgba(255,255,255,0.6);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--ocean), var(--navy));
}

/* ===== KHUSUS MODAL (BIAR LEBIH HALUS) ===== */
.game-modal-content::-webkit-scrollbar {
  width: 8px;
}

.game-modal-content::-webkit-scrollbar-thumb {
  background: var(--ocean);
  border-radius: 20px;
}

.game-modal-content::-webkit-scrollbar-thumb:hover {
  background: var(--navy);
}

.game-modal-content {
  scrollbar-width: thin;
  scrollbar-color: var(--ocean) transparent;
}

.match-area {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 24px;
}

.match-area h3 {
  font-family: 'Quicksand', sans-serif;
  color: var(--navy);
  margin-bottom: 12px;
}

.drag-column,
.drop-column {
  display: grid;
  gap: 12px;
}

.drag-item {
  background: var(--navy);
  color: var(--white);
  padding: 14px 16px;
  border-radius: 18px;
  font-family: 'Quicksand', sans-serif;
  font-weight: 800;
  cursor: grab;
  box-shadow: var(--shadow);
}

.drag-item:active {
  cursor: grabbing;
}

.drop-target {
  background: var(--mist);
  border: 2px dashed var(--ocean);
  color: var(--navy);
  padding: 14px 16px;
  border-radius: 18px;
  min-height: 54px;
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
}

.drop-target.correct {
  background: #dff7e8;
  border-style: solid;
  border-color: var(--leaf);
}

.drop-target.wrong {
  background: #ffe4e0;
  border-style: solid;
  border-color: var(--coral);
}

@media (max-width: 640px) {
  .match-area {
    grid-template-columns: 1fr;
  }
}

/* ===== SHAKE ANIMATION (SALAH) ===== */
@keyframes shake {
  0% { transform: translateX(0); }
  25% { transform: translateX(-6px); }
  50% { transform: translateX(6px); }
  75% { transform: translateX(-6px); }
  100% { transform: translateX(0); }
}

.shake {
  animation: shake 0.4s;
}

/* ===== SUCCESS POP ===== */
@keyframes pop {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

.pop {
  animation: pop 0.3s;
}

.result-icon {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.5);
  font-size: 96px;
  font-weight: 900;
  opacity: 0;
  z-index: 9999;
  transition: all 0.3s ease;
  pointer-events: none;
}

.result-icon.show {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.result-icon.correct {
  color: #22c55e;
}

.result-icon.wrong {
  color: #ef4444;
}

.drag-used {
  opacity: 0.35;
  pointer-events: none;
  cursor: not-allowed;
  transform: scale(0.96);
}

.drop-target.correct {
  background: #dff7e8;
  border-style: solid;
  border-color: var(--leaf);
  color: var(--leaf);
  pointer-events: none;
}

.box-modal-content {
  max-width: 880px;
}

.box-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin: 24px 0;
  transition: all 0.45s ease;
}

.box-card {
  min-height: 120px;
  border-radius: 16px;
  border: 4px solid #1f2452;
  background: linear-gradient(180deg, #fff, #f7f7ff);
  color: #111;
  font-family: 'Quicksand', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  box-shadow:
    0 8px 0 #1f2452,
    0 14px 20px rgba(35, 74, 118, 0.18);
  transition: all 0.35s ease;
}

.box-card:nth-child(5n+1) {
  outline: 8px solid #fbbf24;
}

.box-card:nth-child(5n+2) {
  outline: 8px solid #f472b6;
}

.box-card:nth-child(5n+3) {
  outline: 8px solid #7dd3fc;
}

.box-card:nth-child(5n+4) {
  outline: 8px solid #a78bfa;
}

.box-card:nth-child(5n+5) {
  outline: 8px solid #fb923c;
}

.box-card:hover {
  transform: translateY(-5px) scale(1.03);
}

.box-card.focused {
  transform: scale(1.35);
  background: linear-gradient(180deg, #8eeaff, #5fd0e8);
  color: #111;
  z-index: 10;
}

.box-card.hidden-box {
  opacity: 0.15;
  pointer-events: none;
  transform: scale(0.92);
}

.box-card.opened {
  opacity: 0.45;
  pointer-events: none;
}

.box-grid.zoom-mode {
  transform: scale(1.05);
}

.box-question-panel {
  display: none;
  background: linear-gradient(180deg, var(--mist), var(--sky));
  border-radius: 26px;
  padding: 24px 18px;
  margin-top: 18px;
}

.box-question-panel.active {
  display: block;
}

.box-word {
  font-family: 'Quicksand', sans-serif;
  font-size: 3rem;
  font-weight: 900;
  color: #111;
  margin-bottom: 12px;
  letter-spacing: 2px;
}

#boxQuestionText {
  font-family: 'Quicksand', sans-serif;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 18px;
}

@media (max-width: 640px) {
  .box-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .box-card {
    min-height: 90px;
    font-size: 1.5rem;
  }

  .box-card.focused {
    transform: scale(1.12);
  }

  .box-word {
    font-size: 2.2rem;
  }
}

.box-card.opened {
  pointer-events: none;
  font-size: 3rem;
  font-weight: 900;
  transform: scale(0.9);
  opacity: 0.45;
  filter: grayscale(15%);
  box-shadow: none;
}

/* BENAR */
.box-card.opened.correct-answer {
  background: linear-gradient(180deg, #22c55e, #16a34a);
  color: white;
  border-color: #14532d;
  outline: 8px solid #86efac;
  box-shadow:
    0 0 20px rgba(34,197,94,0.55),
    0 0 40px rgba(34,197,94,0.25);
}

/* SALAH */
.box-card.opened.wrong-answer {
  background: linear-gradient(180deg, #ef4444, #dc2626);
  color: white;
  border-color: #7f1d1d;
  outline: 8px solid #fca5a5;
  box-shadow:
    0 0 20px rgba(239,68,68,0.55),
    0 0 40px rgba(239,68,68,0.25);
}

.box-card:not(.opened) {
  opacity: 0.92;
}

/* ===== FOOTER ===== */

/* =========================================
   FOOTER (BERDASARKAN DESAIN MILIK ANDA)
========================================= */
/* =========================================
   FOOTER TEMA GELAP (SEMUA TEKS PUTIH & BOLD)
========================================= */
.dark-footer {
    background-color: #2b323c; /* Warna latar gelap sesuai gambar */
    color: #ffffff; /* Diubah menjadi putih */
    font-family: 'Quicksand', sans-serif;
    font-weight: bold; /* Menjadikan semua font tebal (bold) secara bawaan */
    padding: 60px 0 0 0;
    margin-top: 0 !important;
    position: relative;
    z-index: 10;
}

.footer-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Membagi 4 kolom sejajar */
    gap: 40px;
}

/* Kotak Judul Biru dan Garis Memanjang */
.footer-header {
    border-bottom: 2px solid #4b95c7; /* Garis biru memanjang */
    margin-bottom: 20px;
    display: flex; /* Mencegah kotak biru melebar penuh */
}

.footer-title {
    background-color: #3498db; /* Latar biru kotak teks */
    color: #ffffff;
    padding: 8px 16px;
    font-size: 1.1rem;
    font-weight: bold; /* Dipastikan tebal */
    margin: 0;
}

/* Gambar Logo */
.footer-logo {
    width: 200px !important; /* 🌟 Paksa lebar menjadi 130px */
    max-width: 130px !important; /* 🌟 Batas maksimal mutlak */
    height: auto !important; /* 🌟 Jaga proporsi agar tidak gepeng */
    margin-top: 15px !important;
    margin-bottom: 20px !important; /* Jarak pas dengan teks alamat di bawahnya */
    display: block !important;
}

/* Teks Hubungi Kami */
.footer-text p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0 0 10px 0;
    color: #ffffff; /* Diubah menjadi putih */
    font-weight: bold; /* Dipastikan tebal */
}
.footer-text strong {
    color: #ffffff;
    font-weight: bold;
}

/* Daftar Pranala (Bisa di-klik) */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2); /* Garis pemisah antar link sedikit diterangkan */
}

.footer-links li a {
    color: #ffffff; /* Diubah menjadi putih */
    text-decoration: none;
    font-size: 0.95rem;
    display: block;
    padding: 12px 0;
    font-weight: bold; /* Dipastikan tebal */
    transition: color 0.3s ease;
}

.footer-links li a:hover {
    color: #3498db; /* Berubah biru saat disentuh kursor */
}

/* Media Sosial */
.social-item {
    display: flex; /* 🌟 Fitur andalan untuk membuat elemen berjajar ke samping */
    align-items: center; /* 🌟 Meratakan posisi ikon dan teks di tengah-tengah secara vertikal */
    gap: 12px; /* Jarak antara ikon gambar dan tulisan username */
    margin-bottom: 15px; /* Jarak antar baris akun */
    color: #ffffff;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: bold;
    transition: color 0.2s ease, transform 0.2s ease;
    position: relative; /* 🌟 Memastikan tautan bisa di-klik */
    z-index: 2;
}

/* Ukuran Ikon Media Sosial */
.social-icon {
    width: 26px; /* 🌟 Lebar dan tinggi ikon disamaratakan */
    height: 26px;
    object-fit: contain; /* Memastikan logo tidak terpotong */
}

/* Efek saat disentuh kursor */
.social-item:hover {
    color: #3498db;
    transform: translateX(6px); /* Sedikit bergeser ke kanan (estetik) */
}

/* Hak Cipta Paling Bawah */
.footer-bottom {
    background-color: #222831; /* Warna lebih gelap untuk baris paling bawah */
    text-align: left;
    padding: 20px;
    margin-top: 50px;
}

.footer-bottom p {
    max-width: 1200px;
    margin: 0 auto;
    font-size: 0.9rem;
    color: #ffffff; /* Diubah menjadi putih */
    font-weight: bold; /* Dipastikan tebal */
}

/* Responsif untuk Layar HP dan Tablet */
@media (max-width: 992px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr); /* Menjadi 2 kolom di tablet */
    }
}

@media (max-width: 576px) {
    .footer-container {
        grid-template-columns: 1fr; /* Menjadi 1 kolom memanjang ke bawah di HP */
    }
    .footer-bottom {
        text-align: center;
    }
}

.instagram-link {
  display: flex !important;
  align-items: center;
  gap: 10px;

  color: var(--navy) !important;
}

.instagram-icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.box-grid.focus-mode {
  position: relative;
}

.box-grid.focus-mode .box-card:not(.focused):not(.opened) {
  filter: blur(4px);
  opacity: 0.18;
  pointer-events: none;
}

.box-card.focused {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1.45);
  z-index: 4000;

  background: linear-gradient(180deg, #8eeaff, #5fd0e8);
  color: #111;
}

.map-container {
  width: 100%;
  border-radius: 24px;
  overflow: hidden;

  box-shadow:
    0 10px 24px rgba(35, 74, 118, 0.18);

  border: 4px solid rgba(255,255,255,0.7);

  background: white;
}

.map-container iframe {
  display: block;
  width: 100%;
  border: none;
}

/* ===== TENTANG PAGE ===== */

.tentang-page {
  padding: 135px 24px 110px;
  background: transparent;
  
}

/* HERO */

.about-hero {
  max-width: 980px;
  margin: 0 auto 85px;
  text-align: center;
}

.about-badge {
  display: inline-block;
  background: #f08080;
  color: white;
  padding: 10px 24px;
  border-radius: 999px;
  font-family: 'Quicksand', sans-serif;
  font-weight: 800;
  margin-bottom: 22px;
  box-shadow: 0 10px 22px rgba(240, 128, 128, 0.28);
}

.about-hero h1 {
  font-family: 'Baloo 2', sans-serif;
  font-size: 3.7rem;
  line-height: 1.1;
  color: var(--navy);
  margin-bottom: 20px;
}

.about-hero p {
  max-width: 760px;
  margin: 0 auto;
  font-family: 'Quicksand', sans-serif;
  font-size: 1.13rem;
  line-height: 1.9;
  font-weight: 700;
  color: var(--ink);
}

/* SECTION */

.about-section {
padding-top: 140px; /* Tambahkan jarak dari atas layar */
    box-sizing: border-box;
}

.about-section h2 {
  text-align: center;
  font-family: 'Baloo 2', sans-serif;
  font-size: 5rem;
  color: var(--navy);
  margin-bottom: 35px;
}

/* TEMUAN */

.about-cloud {
  background: rgba(174, 222, 252, 0.82);
  border: 4px solid rgba(255, 255, 255, 0.9);
  border-radius: 42px;
  padding: 44px 54px;
  box-shadow: 0 18px 38px rgba(35, 74, 118, 0.13);
}

.about-cloud ul {
  margin: 0;
  padding-left: 22px;
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  line-height: 1.9;
  color: var(--navy);
  font-size: 1.05rem;
}

.about-cloud li {
  margin-bottom: 8px;
}

/* SOLUSI */
/* Pastikan section membungkus judul di tengah layar */
.solution-section {
  text-align: center; 
}

/* Kotak untuk judul "Lalu, Apa Solusinya?" */
.solution-section h2 {
  display: inline-block; /* Membuat kotak mengikuti panjang teks */
  background: rgba(255, 255, 255, 0.96);
  border: 3px solid rgba(191, 227, 240, 0.8); /* Garis pinggir biru muda */
  padding: 12px 40px; /* Memberi ruang di sekitar teks */
  border-radius: 999px; /* Membuat ujung kanan-kiri membulat penuh */
  box-shadow: 0 10px 22px rgba(35, 74, 118, 0.11);
  margin-bottom: 70px; /* Memberi jarak ke bawah untuk tempat garis penyambung */
  position: relative;
  z-index: 2; /* Memastikan judul berada di atas garis */
}

/* Garis vertikal turun dari kotak judul */
.solution-section h2::after {
  content: '';
  position: absolute;
  bottom: -40px; /* Turun 30px ke bawah */
  left: 50%;
  transform: translateX(-50%);
  width: 8px; /* Ketebalan garis */
  height: 40px; /* Panjang garis */
  background-color: #f08080; /* Warna merah muda (senada dengan badge Tentang) */
  z-index: -1;
}

/* Jarak ekstra di atas kartu untuk tempat garis turun */
.solution-card {
  position: relative; 
}

/* Garis vertikal pendek yang masuk ke masing-masing 3 kartu */
.solution-card::before {
  content: '';
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: 35px;
  background-color: #f08080;
  z-index: -1;
}

/* Garis horizontal panjang yang membentang (Dipasang dari kartu yang di tengah) */
.solution-card:nth-child(2)::after {
  content: '';
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  
  /* Rahasianya ada di sini: 
     Lebarnya adalah 2x lipat ukuran kartu + 52px (total jarak antar kartu) */
  width: calc(200% + 52px); 
  
  height: 8px;
  background-color: #f08080;
  border-radius: 8px; /* Membuat ujung garis sedikit membulat */
  z-index: -2;
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.solution-card {
  background: rgba(255, 255, 255, 0.96);
  border-radius: 34px;
  padding: 34px 28px;
  min-height: 250px;
  box-shadow: 0 16px 34px rgba(35, 74, 118, 0.11);
  border: 3px solid rgba(191, 227, 240, 0.6);
  transition: 0.3s ease;
}

.solution-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 42px rgba(35, 74, 118, 0.16);
}

.solution-card h3 {
  font-family: 'Baloo 2', sans-serif;
  font-size: 1.55rem;
  color: var(--navy);
  margin-bottom: 12px;
}

.solution-card p {
  font-family: 'Quicksand', sans-serif;
  line-height: 1.8;
  font-weight: 700;
  color: var(--ink);
}

/* MAKNA LOGO */

.logo-meaning-box {
  background: linear-gradient(180deg, #dff5ff, #bfe3f0);
  border-radius: 42px;
  padding: 44px;
  box-shadow: 0 18px 40px rgba(35, 74, 118, 0.16);
  border: 4px solid rgba(255, 255, 255, 0.85);
}

.logo-meaning-item {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 22px;
  align-items: start;
  padding: 22px 0;
  border-bottom: 2px dashed rgba(35, 74, 118, 0.16);
}

.logo-meaning-item:first-child {
  padding-top: 0;
}

.logo-meaning-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.logo-meaning-item span {
  width: 62px;
  height: 62px;
  border-radius: 20px;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 8px 18px rgba(35, 74, 118, 0.1);
}

.logo-meaning-item h3 {
  font-family: 'Baloo 2', sans-serif;
  color: var(--navy);
  font-size: 1.55rem;
  margin-bottom: 6px;
}

.logo-meaning-item p {
  font-family: 'Quicksand', sans-serif;
  line-height: 1.8;
  font-weight: 700;
  color: var(--ink);
}

/* QUOTE */

.about-quote {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
  background: white;
  border-radius: 38px;
  padding: 44px 38px;
  box-shadow: 0 16px 34px rgba(35, 74, 118, 0.12);
  border: 3px solid rgba(191, 227, 240, 0.65);
}

.about-quote p {
  font-family: 'Baloo 2', sans-serif;
  font-size: 1.95rem;
  line-height: 1.55;
  color: var(--navy);
}

/* RESPONSIVE */

@media (max-width: 900px) {
  .about-hero h1 {
    font-size: 2.8rem;
  }

  .solution-grid {
    grid-template-columns: 1fr;
  }

  .about-section h2 {
    font-size: 2.25rem;
  }

  .about-cloud,
  .logo-meaning-box {
    padding: 34px 28px;
  }
}

@media (max-width: 640px) {
  .tentang-page {
    padding: 120px 18px 80px;
  }

  .about-hero h1 {
    font-size: 2.35rem;
  }

  .about-hero p {
    font-size: 1rem;
  }

  .logo-meaning-item {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .logo-meaning-item span {
    margin: 0 auto;
  }

  .about-quote p {
    font-size: 1.45rem;
  }
}

/* KRIDA */

.krida-section {
  margin-bottom: 88px;
}

.krida-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.krida-card {
  background: rgba(255, 255, 255, 0.96);
  border-radius: 34px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 16px 34px rgba(35, 74, 118, 0.11);
  border: 3px solid rgba(191, 227, 240, 0.6);
  transition: 0.3s ease;
}

.krida-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 42px rgba(35, 74, 118, 0.16);
}

.krida-photo {
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: 26px;
  overflow: hidden;
  background: #dff5ff;
  margin-bottom: 18px;
}

.krida-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.krida-card h3 {
  font-family: 'Baloo 2', sans-serif;
  font-size: 1.35rem;
  color: var(--navy);
}

@media (max-width: 900px) {
  .krida-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .krida-grid {
    grid-template-columns: 1fr;
  }
}

.krida-card p {
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  color: var(--ink);
  margin-top: 4px;
  font-size: 1rem;
}

.nav-link.active {
  color: #f08080;
  font-weight: 800;
}

.nav-link.active::after {
  width: 100%;
  background: #f08080;
}

/* VIDEO SECTION */

.video-section {
  padding: 90px 24px;
  text-align: center;
  background:
    linear-gradient(
      180deg,
      #AEDEFC 0%,
      #EAF7FB 100%
    );
}

.video-section h2 {
  font-family: 'Baloo 2', sans-serif;
  font-size: 2.5rem;
  color: var(--navy);
  margin-bottom: 14px;
}

.video-section p {
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 32px;
}

.video-wrapper {
  max-width: 900px;
  margin: 0 auto;
  border-radius: 32px;
  overflow: hidden;

  box-shadow:
    0 18px 40px rgba(35,74,118,0.16);

  border: 4px solid rgba(255,255,255,0.8);
}

.video-wrapper iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
}

.video-wrapper {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: 32px;
  overflow: hidden;
  border: 4px solid rgba(255,255,255,0.85);
  box-shadow: 0 18px 40px rgba(35,74,118,0.16);
  background: #000;
}

.video-wrapper video,
.video-popup-content video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: #000;
}

.video-fullscreen-btn {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 2;
  background: #f08080;
  color: white;
  font-family: 'Quicksand', sans-serif;
  font-weight: 800;
  padding: 10px 18px;
  border-radius: 999px;
}

.video-popup {
  position: fixed;
  inset: 0;
  display: none;
  justify-content: center;
  align-items: center;
  padding: 24px;
  background: rgba(35,74,118,0.72);
  backdrop-filter: blur(8px);
  z-index: 5000;
}

.video-popup.active {
  display: flex;
}

.video-popup-content {
  position: relative;
  width: min(1100px, 94vw);
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 30px;
  overflow: hidden;
  border: 4px solid rgba(255,255,255,0.85);
}

.close-video-popup {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
  background: #f08080;
  color: white;
  font-size: 1.8rem;
}

* {
  box-sizing: border-box;
}

.app {
  width: min(100%, 1100px);
  min-height: 680px;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 28px;
  box-shadow: 0 24px 60px rgba(0, 60, 120, 0.16);
  padding: 28px;
  overflow: hidden;
}

.hidden {
  display: none !important;
}

/* ===================== */
/* COVER */
/* ===================== */

.cover-screen {
  min-height: 620px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
}

.cover-image-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}

.cover-image {
  width: min(100%, 430px);
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 22px 45px rgba(0, 60, 120, 0.22);
  background: #d8f2ff;
}

.cover-content h1 {
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1.05;
  margin: 0 0 18px;
}

.cover-content p {
  font-size: 18px;
  line-height: 1.6;
  margin: 0 0 26px;
  max-width: 520px;
}

/* ===================== */
/* BUTTON */
/* ===================== */

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 20px;
}

.cover-content .button-row {
  justify-content: flex-start;
}

button {
  border: 0;
  border-radius: 999px;
  padding: 13px 22px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  background: #1877b9;
  color: white;
  box-shadow: 0 10px 22px rgba(24, 119, 185, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(24, 119, 185, 0.26);
}

button.secondary {
  background: #eaf6ff;
  color: #17557d;
  box-shadow: none;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
  transform: none;
}

@media (max-width: 768px) {
  header {
    height: auto;
    min-height: 75px;
    padding: 10px 18px;
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  .logo-img {
    height: 54px;
  }

  .nav-menu {
    width: 100%;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
  }

  .nav-menu a {
    font-size: 0.9rem;
  }

  main.container {
    padding-top: 120px;
  }

  #home {
    margin-top: -120px;
    padding-top: 120px;
  }
}

@media (max-width: 640px) {
  .game-modal {
    padding: 12px;
    align-items: flex-start;
  }

  .game-modal-content {
    max-height: 92vh;
    padding: 24px 16px;
    border-radius: 24px;
    margin-top: 20px;
  }

  .game-modal-content h2 {
    font-size: 1.8rem;
  }

  .game-subtitle {
    font-size: 0.95rem;
  }

  .wave-icon {
    width: 82px;
    height: 82px;
    font-size: 3rem;
  }
}

@media (max-width: 640px) {
  .box-card.focused {
    transform: translate(-50%, -50%) scale(1.08);
    width: 68vw;
    min-height: 90px;
    font-size: 1.3rem;
  }
}

@media (max-width: 768px) {
  .footer-content {
    gap: 36px;
    padding: 50px 20px 32px;
  }

  .naraya-footer {
    margin-top: 0;
  }
}

@media (max-width: 640px) {
  .video-section {
    padding: 120px 16px 60px;
  }

  .video-section h2 {
    font-size: 2rem;
  }

  .video-wrapper {
    border-radius: 20px;
  }
}

@media (max-width: 900px) {
  /* Sembunyikan semua garis buatan jika layar mulai menyempit */
  .solution-section h2::after,
  .solution-card::before,
  .solution-card:nth-child(2)::after {
    display: none; 
  }
  
  /* Kembalikan margin ke normal */
  .solution-card {
    margin-top: 0;
  }
  
  .solution-section h2 {
    margin-bottom: 35px; /* Kurangi jarak bawah judul di versi HP */
  }
}

/* WADAH GRID TEMUAN */
.temuan-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* Ini rahasia agar 2 kotak di bawah otomatis ke tengah (selang-seling) */
  gap: 26px; /* Jarak antar kotak */
  margin-top: 30px;
}

/* DESAIN KOTAK (CARD) TEMUAN */
.temuan-card {
  background: rgba(255, 255, 255, 0.96);
  border: 3px solid rgba(191, 227, 240, 0.6);
  border-radius: 24px;
  overflow: hidden; /* Memastikan foto tidak keluar dari batas membulat kotak */
  
  /* Menghitung lebar agar pas 3 kotak per baris (dikurangi jarak/gap) */
  width: calc(33.333% - 26px); 
  min-width: 250px; /* Batas kecil kotak */
  
  box-shadow: 0 16px 34px rgba(35, 74, 118, 0.11);
  transition: 0.3s ease;
  display: flex;
  flex-direction: column;
}

.temuan-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 42px rgba(35, 74, 118, 0.16);
}

/* DESAIN FOTO DI DALAM KOTAK */
.temuan-card img {
  width: 100%;
  height: 180px; /* Anda bisa menyesuaikan tinggi fotonya di sini */
  object-fit: cover; /* Agar foto tidak gepeng walau ukurannya berbeda-beda */
  border-bottom: 3px solid rgba(191, 227, 240, 0.6); /* Garis pemisah foto dan teks */
}

/* DESAIN TEKS PENJELASAN */
.temuan-card p {
  padding: 20px;
  margin: 0;
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  line-height: 1.6;
  color: var(--navy); /* Pastikan variabel warna navy Anda berjalan */
  text-align: center;
  font-size: 0.95rem;
  flex-grow: 1; /* Mendorong teks agar rapi */
}

/* === RESPONSIVE UNTUK LAYAR KECIL (HP & TABLET) === */
@media (max-width: 950px) {
  .temuan-card {
    width: calc(50% - 26px); /* Jadi 2 kotak sebaris di tablet */
  }
}

@media (max-width: 600px) {
  .temuan-card {
    width: 100%; /* Jadi 1 kotak memanjang ke bawah di HP */
  }
}
/* =========================================
   BAGIAN SAMBUTAN (PROFIL)
========================================= */

/* Wadah Utama Sambutan */
.sambutan-section {
    background: rgba(255, 255, 255, 0.96); 
    border-radius: 34px;
    padding: 60px 50px;
    box-shadow: 0 16px 34px rgba(35, 74, 118, 0.11);
    border: 3px solid rgba(191, 227, 240, 0.6);
    max-width: 1080px;
    margin: 40px auto 88px;
}

/* Flexbox untuk membagi Kiri (Foto) & Kanan (Teks) */
.sambutan-layout {
    display: flex;
    align-items: center; /* Memastikan foto dan teks sejajar di tengah secara vertikal */
    gap: 70px; /* Jarak antara foto dan teks */
}

/* --- KIRI: FOTO BULAT --- */
.sambutan-image-wrapper {
    flex: 0 0 350px; /* Lebar area foto ditetapkan 350px */
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Lingkaran warna di belakang foto (seperti warna kuning di referensi) */
.circle-bg {
    position: absolute;
    width: 330px;
    height: 330px;
    background-color: #fca311; /* Warna aksen oranye/kuning */
    border-radius: 50%;
    z-index: 1;
    /* Geser sedikit lingkarannya agar terlihat asimetris dan artistik */
    top: -15px;
    left: -15px; 
}

/* Foto Utama */
.pejabat-img {
    width: 320px;
    height: 320px;
    object-fit: cover; /* Agar foto tidak gepeng walau ukuran aslinya persegi panjang */
    border-radius: 50%; /* Membuat foto menjadi bulat sempurna */
    border: 8px solid #ffffff; /* Bingkai putih tebal */
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15); /* Bayangan foto */
    z-index: 2; /* Memastikan foto berada di atas lingkaran warna */
    position: relative;
}

/* --- KANAN: TEKS --- */
.sambutan-text-content {
    flex: 1; /* Mengisi sisa ruang di sebelah kanan */
}

/* Tulisan kecil di atas judul */
.sambutan-badge {
    color: #f08080; /* Warna koral Naraya */
    font-weight: 800;
    font-family: 'Quicksand', sans-serif;
    font-size: 1.15rem;
    margin-bottom: 10px;
    display: inline-block;
    letter-spacing: 1px;
}

/* Judul Sambutan */
.sambutan-text-content h2 {
    font-family: 'Baloo 2', sans-serif;
    font-size: 3.2rem;
    color: var(--navy); /* Pastikan variabel warna navy Anda berjalan, atau ganti dengan #1d70b8 */
    margin-top: 0;
    margin-bottom: 25px;
    line-height: 1.1;
}

/* Membuat kata "Daerah" berbeda warna (seperti "Olivia Smith" di referensi) */
.sambutan-text-content h2 span {
    color: #fca311; /* Warna oranye/kuning */
}

/* Paragraf isi sambutan */
.kutipan-sambutan {
    font-family: 'Quicksand', sans-serif;
    font-size: 1.15rem;
    line-height: 1.8;
    font-weight: 600;
    color: #555;
    margin-bottom: 35px;
    font-style: italic; /* Efek miring karena berupa kutipan */
    border-left: 4px solid #f08080; /* Garis tipis di kiri teks */
    padding-left: 20px;
}

/* Nama dan Jabatan */
.pejabat-name h4 {
    font-family: 'Baloo 2', sans-serif;
    font-size: 1.6rem;
    color: var(--navy);
    margin: 0 0 5px 0;
}

.pejabat-name p {
    font-family: 'Quicksand', sans-serif;
    font-size: 1.05rem;
    color: #f08080;
    margin: 0;
    font-weight: 700;
}

/* =========================================
   RESPONSIVE (Untuk HP dan Tablet)
========================================= */
@media (max-width: 950px) {
    .sambutan-layout {
        flex-direction: column; /* Mengubah susunan menjadi atas-bawah */
        text-align: center;
        gap: 40px;
    }
    
    .sambutan-image-wrapper {
        flex: 0 0 auto;
    }

    .circle-bg {
        top: 0;
        left: 0; /* Reset posisi lingkaran latar di layar kecil */
    }

    .kutipan-sambutan {
        border-left: none; /* Hilangkan garis kiri */
        padding-left: 0;
    }
}
/* =========================================
   BAGIAN FOOTER & NARAHUBUNG
========================================= */

.site-footer {
    width: 100%;
    margin-top: 80px;
padding: 0;
    display: block;
}

/* --- 1. SPANDUK NARAHUBUNG --- */
.narahubung-banner {
    position: relative;
    /* Ganti 'bg-kontak.jpg' dengan foto tim atau background Anda */
    background: linear-gradient(rgba(29, 112, 184, 0.85), rgba(29, 112, 184, 0.85)), url('bg-kontak.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Memberikan efek paralaks saat discroll */
    padding: 100px 20px 150px; /* Padding bawah lebih besar untuk ruang kertas robek */
    text-align: center;
    color: #ffffff;

    width: 100%;
    box-sizing: border-box; 
    margin: 0;
}

.badge-kontak {
    display: inline-block;
    border: 2px solid #ffffff;
    padding: 8px 24px;
    border-radius: 999px;
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.banner-content h2 {
    font-family: 'Baloo 2', sans-serif;
    font-size: 4rem;
    margin: 0 0 15px 0;
    text-shadow: 2px 4px 10px rgba(0,0,0,0.2);
}

.banner-content p {
    font-family: 'Quicksand', sans-serif;
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Efek Kertas Robek (Torn Paper) di Bawah Spanduk */
.torn-paper-edge {
    position: absolute;
    bottom: -2px; /* Dibuat -1px agar tidak ada celah garis putih */
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 2;
}

.torn-paper-edge svg {
    display: block;
    width: 100%;
    height: 60px; /* Tingkat kedalaman gelombang/sobekan */
}

/* --- 2. INFO FOOTER (3 KOLOM) --- */
.footer-info {
    background-color: #eaf7fb; /* Warna biru muda khas Naraya */
    padding: 50px 20px 20px;
    margin: 0; /* Pastikan tidak ada margin atas yang membuat celah */
    position: relative;
    z-index: 1; /* Berada tepat di bawah gelombang */
}

.footer-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 2px solid rgba(29, 112, 184, 0.15); /* Garis pemisah tipis */
}

.footer-col h3, .footer-col .footer-title {
    font-family: 'Baloo 2', sans-serif;
    color: #ffffff; /* Warna koral untuk judul kolom */
    font-size: 1.5rem;
    margin-bottom: 20px;
    margin-top: 0;
}

.footer-desc {
    font-family: 'Quicksand', sans-serif;
    color: var(--navy, #1d70b8);
    line-height: 1.8;
    font-weight: 600;
}

/* Kotak Peta Google Maps */
.map-box {
    background: #ffffff;
    padding: 8px;
    border-radius: 16px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

/* Daftar Referensi */
.referensi-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.referensi-list li {
    font-family: 'Quicksand', sans-serif;
    color: var(--navy, #1d70b8);
    font-weight: 700;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.referensi-list .ikon {
    font-size: 1.2rem;
}

/* --- 3. GARIS BAWAH (COPYRIGHT) --- */
.footer-bottom {
    text-align: center;
    padding-top: 25px;
}

.footer-bottom p {
    font-family: 'Quicksand', sans-serif;
    color: var(--navy, #1d70b8);
    font-size: 0.9rem;
    font-weight: 600;
    margin: 5px 0;
}
/* Ukuran Logo di Header (Navigasi Atas) */
.site-logo {
    height: 300px; /* Sesuaikan tinggi logo di atas */
    width: auto;
    object-fit: contain;
    display: block;
}

/* Ukuran Logo di Footer (Bawah) */
.footer-logo-img {
    height: 5px; /* Sesuaikan tinggi logo di footer */
    width: auto;
    object-fit: contain;
    margin-bottom: 1px;
}
/* =========================================
   SUB-MENU PROFIL (DROPDOWN NAVIGASI)
========================================= */

/* Pastikan induk menu (Profil) menjadi acuan posisi */
.dropdown {
    position: relative;
}

/* Kotak Sub-menu (Disembunyikan secara bawaan) */
.dropdown-menu {
    position: absolute;
    top: 150%; /* Diturunkan sedikit agar muncul dari bawah */
    left: 0;
    background-color: #ffffff;
    min-width: 270px; /* Lebar kotak menu */
    box-shadow: 0 12px 30px rgba(35, 74, 118, 0.15); /* Bayangan estetik */
    border-radius: 16px;
    border: 2px solid rgba(191, 227, 240, 0.6);
    padding: 10px 0;
    margin: 0;
    list-style: none;
    
    /* Efek Menghilang (Animasi) */
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s ease-in-out;
    z-index: 100; /* Pastikan menu menimpa konten lain di bawahnya */
}

/* Munculkan sub-menu saat kursor berada di atas menu Profil */
.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0); /* Naik kembali ke posisi aslinya */
    top: 100%; /* Menempel tepat di bawah menu utama */
}

/* Desain Teks Tautan di dalam Sub-menu */
.dropdown-menu li a {
    display: block;
    padding: 12px 24px;
    color: var(--navy, #1d70b8);
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: 0.2s ease;
}

/* Efek saat sub-menu disorot (hover) kursor */
.dropdown-menu li a:hover {
    background-color: #eaf7fb; /* Biru muda khas MOBACA */
    color: #f08080; /* Teks berubah koral */
    padding-left: 30px; /* Teks sedikit bergeser ke kanan seperti didorong */
}
/* Container Navigasi Utama */
.nav-links {
    display: flex;
    align-items: center;
    gap: 36px; /* Jarak antar menu */
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Gaya Teks Bawaan (Biru Gelap & Tebal) */
.nav-links a.nav-item {
    text-decoration: none;
    color: #1a4268; /* Biru gelap khas gambar */
    font-family: 'Quicksand', 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    padding: 6px 0;
    position: relative;
    display: inline-block;
    transition: color 0.2s ease-in-out;
}

/* Efek Hover dan Status Menu Aktif (Warna Koral) */
.nav-links a.nav-item:hover,
.nav-links a.nav-item.active {
    color: #ff6f61; /* Warna koral/salmon */
}

/* Garis Bawah Merah Koral (Border Indicator) */
.nav-links a.nav-item.active::after,
.nav-links a.nav-item:hover::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #ff6f61; /* Garis koral sesuai gambar */
    border-radius: 2px;
}
/* =========================================
   BAGIAN BUKU CERITA (FLIPBOOK HEYZINE)
========================================= */

.flipbook-section {
    padding: 140px 20px 80px; /* Padding atas untuk menghindari navbar */
    max-width: 1000px; /* Lebar maksimal buku */
    margin: 0 auto;
    text-align: center;
}

.flipbook-section h2 {
    font-family: 'Baloo 2', sans-serif;
    color: #1a4268;
    font-size: 2.6rem;
    margin-bottom: 10px;
    margin-top: 0;
}

.flipbook-desc {
    font-family: 'Quicksand', sans-serif;
    font-size: 1.15rem;
    color: #666;
    margin-bottom: 30px;
    font-weight: 600;
}

/* Bingkai luar flipbook yang responsif */
.flipbook-container {
    position: relative;
    width: 100%;
    /* Mengunci rasio layar menjadi 16:9 (Lebar x Tinggi) */
    padding-top: 56.25%; 
    border-radius: 16px; /* Ujung bingkai melengkung estetik */
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(35, 74, 118, 0.15); /* Bayangan lembut */
    border: 4px solid #eaf7fb; /* Garis pinggir biru muda */
    background-color: #f8f9fa; /* Warna latar belakang sementara memuat */
}

/* Iframe buku di dalamnya */
.heyzine-embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Penyesuaian khusus untuk HP (Layar Tegak/Vertikal) */
@media (max-width: 768px) {
    .flipbook-container {
        padding-top: 85%; /* Di HP rasionya dibuat lebih tinggi agar buku tidak kekecilan */
    }
    
    .flipbook-section h2 {
        font-size: 2rem;
    }
}
/* =========================================
   1. STYLES BANNER SEMANGAT MOBACA
========================================= */
.semangat-section {
  position: relative;
  width: 100%;
  padding: 50px 20px;
  background-color: #ffffff; /* Sesuaikan warna background */
  z-index: 1; /* Supaya posisinya aman di bawah/di atas elemen lain dengan benar */
}

.semangat-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.gallery-item {
  width: 100%;
  height: 250px; /* Atur tinggi card agar seragam dan tidak terlalu panjang */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  background-color: #f0f0f0;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
/* Efek saat kursor diarahkan ke gambar */
.gallery-item img:hover {
  transform: scale(1.05);
}
.tentang-mobaca-section {
  position: relative;
  width: 100%;
  padding: 20px 20px 60px 20px;
  display: flex;
  justify-content: center;
  background-color: #ffffff; /* Sesuaikan dengan background web Anda */
}

.tentang-card {
  background: #ffffff;
  max-width: 850px;
  width: 100%;
  padding: 40px 30px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  text-align: center;
  border: 1px solid #eaeaea; /* Opsional untuk mempertegas garis tepi */
}

.tentang-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0066ff;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.tentang-card p {
  font-size: 1.15rem;
  font-weight: 600;
  color: #2c3e50;
  line-height: 1.6;
  margin-bottom: 24px;
}

.btn-pelajari {
  display: inline-block;
  background-color: #0066ff;
  color: #ffffff;
  padding: 12px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.2s ease;
}

.btn-pelajari:hover {
  background-color: #0052cc;
}

.semangat-card-wrapper {
  max-width: 1100px;
  margin: -100px auto 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 5;
}

.semangat-card {
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  padding: 40px 30px;
  opacity: 0;
  transform: scale(0.95);
  animation: scaleFadeIn 0.9s ease forwards;
  animation-delay: 0.6s;
}

/* Lengkungan Dekorasi Kiri & Kanan */
.card-deco-left, .card-deco-right {
  width: 70px;
  height: 100%;
  background-color: #ebf5ff;
  position: absolute;
  top: 0;
}

.card-deco-left {
  left: 0;
  border-radius: 0 50% 50% 0;
}

.card-deco-right {
  right: 0;
  border-radius: 50% 0 0 50%;
}

.card-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.semangat-subtitle {
  color: #1d61d1;
  font-weight: 700;
  font-size: 1rem;
  display: block;
  margin-bottom: 15px;
}

.semangat-title {
  font-size: 1.6rem;
  color: #2b323c;
  font-weight: 800;
  line-height: 1.4;
  margin-bottom: 25px;
}

.semangat-btn {
  display: inline-block;
  background-color: #0d6efd;
  color: #ffffff !important;
  padding: 12px 32px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95rem;
  transition: background 0.3s ease, transform 0.2s ease;
}

.semangat-btn:hover {
  background-color: #0b5ed7;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 20px rgba(13, 110, 253, 0.3);
}


/* =========================================
   2. STYLES INFORMASI UNTUK ANDA
========================================= */
.info-section {
  padding: 40px 20px 40px 20px;
  background-color: #f8fafc;
  margin-bottom: 0 !important;  /* 🌟 Paksa hilangkan jarak bocor di bagian bawah */
}

.info-container {
  max-width: 1200px;
  margin: 0 auto;
}

.info-heading {
  font-size: 2rem;
  color: #1e293b;
  font-weight: 800;
  margin-bottom: 35px;
  text-align: left;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.info-card {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.info-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.info-img {
  width: 100%;
  height: 180px;
  overflow: hidden;
}

.info-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.info-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.info-badge {
  background-color: #f1f5f9;
  color: #475569;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  align-self: flex-start;
  margin-bottom: 12px;
}

.info-title {
  font-size: 1.05rem;
  color: #0f172a;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.info-source {
  font-size: 0.85rem;
  color: #64748b;
  margin-bottom: 20px;
  font-weight: 600;
}

.info-btn {
  margin-top: auto;
  display: block;
  width: 100%;
  padding: 10px 0;
  text-align: center;
  background-color: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  color: #334155 !important;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.info-btn:hover {
  background-color: #0d6efd;
  color: #ffffff !important;
  border-color: #0d6efd;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}


/* =========================================
   RESPONSIF (TABLET & HP)
========================================= */
@media (max-width: 992px) {
  .info-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .semangat-title {
    font-size: 1.3rem;
  }
}

@media (max-width: 576px) {
  .info-grid {
    grid-template-columns: 1fr;
  }
  .semangat-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
  .card-deco-left, .card-deco-right {
    display: none;
  }
}
/* =========================================
   HALAMAN CERITA ANAK (FLIPBOOK)
========================================= */
.cerita-anak-section {
  background-color: #000, transparent;
  position: relative;
  width: 100%;
  padding: 80px 20px;
  background-size: cover;       /* Memastikan gambar menutupi seluruh area */
  background-position: center;  /* Memposisikan gambar di tengah */
  background-repeat: no-repeat; /* Mencegah gambar berulang */
  background-attachment: fixed; /* Opsional: Membuat efek paralaks saat discroll (gambar diam) */
    transition: background-position 0.1s ease;
}
.cerita-container { 
    /* Ubah background solid menjadi rgba (Red, Green, Blue, Alpha/Transparansi) */
    background-color: rgba(255, 255, 255, 0.8); /* Angka 0.8 berarti tingkat ketebalan warna putih 80% */
    
    /* Opsional: Tambahkan efek blur seperti kaca agar lebih estetik */
    backdrop-filter: blur(2px);
    
    border-radius: 20px; /* Opsional: membuat sudut kotak melengkung */
    padding: 20px;
}

.cerita-header {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 2; /* Memastikan konten berada di atas background */
  text-align: center; /* Sesuaikan dengan desain Anda */
  margin-bottom: 50px;
}

.cerita-header h2 {
  font-size: 2.5rem;
  color: #2b323c;
  font-weight: 800;
  margin-bottom: 10px;
    opacity: 0;
  animation: fadeInUp 0.7s ease forwards;
  animation-delay: 0.1s;
}

.cerita-header h2 span {
  color: #3498db; /* Warna aksen biru terang */
    display: inline-block;
  animation: pulseBadge 2.5s ease-in-out infinite;
}

.cerita-header p {
  color: #64748b;
  font-size: 1.1rem;
  line-height: 1.6;
   opacity: 0;
  animation: fadeInUp 0.7s ease forwards;
  animation-delay: 0.2s;
}

/* Pengaturan Grid Kolom */
.flipbook-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 kolom sejajar */
  gap: 30px;
}

/* Desain Kartu Flipbook */
.flipbook-card {
  background-color: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease;
  display: flex;
  flex-direction: column;
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
  
}
.flipbook-card:nth-child(1) { animation-delay: 0.3s; }
.flipbook-card:nth-child(2) { animation-delay: 0.4s; }
.flipbook-card:nth-child(3) { animation-delay: 0.5s; }
.flipbook-card:nth-child(4) { animation-delay: 0.6s; }
.flipbook-card:nth-child(5) { animation-delay: 0.7s; }
.flipbook-card:nth-child(6) { animation-delay: 0.8s; }
.flipbook-card:nth-child(odd) {
  animation: fadeInUp 0.6s ease forwards, floatCard 3.5s ease-in-out infinite 0.8s;
}
.flipbook-card:nth-child(even) {
  animation: fadeInUp 0.6s ease forwards, floatCard 3.5s ease-in-out infinite 1.2s;
}

.flipbook-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Jendela Frame Flipbook */
.heyzine-iframe {
  width: 100%;
  height: 350px; /* Ketinggian buku */
  border: none;
  background-color: #e2e8f0; /* Warna dasar selagi buku memuat */
}

/* Kotak Judul di Bawah Buku */
.flipbook-info {
  padding: 20px;
  text-align: center;
  background-color: #ffffff;
}

.flipbook-info h3 {
  margin: 0;
  font-size: 1.2rem;
  color: #1e293b;
  font-weight: 700;
}

/* Responsif untuk Layar Tablet & HP */
@media (max-width: 992px) {
  .flipbook-grid {
    grid-template-columns: repeat(2, 1fr); /* Menjadi 2 kolom di Tablet */
  }
}

@media (max-width: 768px) {
  .flipbook-grid {
    grid-template-columns: 1fr; /* Menjadi 1 kolom di HP */
  }
  .heyzine-iframe {
    height: 300px; /* Ukuran buku sedikit dikecilkan di layar sempit */
  }
  .cerita-header h2 {
    font-size: 2rem;
  }
}

/* --- Kontainer Utama --- */
.akses-buku-ekstra {
    max-width: 900px;
    margin: 40px auto;
    padding: 20px;
    font-family: system-ui, -apple-system, sans-serif;
}

.judul-ekstra {
    text-align: center;
    color: #1e293b;
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 30px;
    opacity: 0;
    animation: fadeInUp 0.7s ease forwards;
    animation-delay: 0.9s;
}

/* --- Tata Letak Kartu (Responsif) --- */
.buku-card-container {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

/* --- Kartu (Gaya 'Informasi Untuk Anda') --- */
.buku-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden; /* Memotong gambar mengikuti lekukan sudut */
    width: 100%;
    max-width: 380px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease;
}
.buku-card:nth-child(1) { animation-delay: 1.0s; }
.buku-card:nth-child(2) { animation-delay: 1.1s; }
.buku-card:hover {
  transform: translateY(-8px) rotate(0.5deg);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12);
}

/* --- Gambar Kartu --- */
.buku-card-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

/* --- Isi Konten Kartu --- */
.buku-card-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.buku-card-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 10px 0;
    line-height: 1.4;
}

.buku-card-desc {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.55;
    margin: 0 0 20px 0;
    flex-grow: 1; /* Menjaga tinggi deskripsi tetap sama agar tombol sejajar */
}

/* --- Tombol Laman (Lebar Penuh & Muted Light Gray) --- */
.buku-card-btn {
    display: block;
    text-align: center;
    background-color: #f8fafc;
    color: #334155;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 700;
    padding: 10px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.buku-card-btn:hover {
  background: #0d6efd;
  color: #ffffff !important;
  border-color: #0d6efd;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(13, 110, 253, 0.3);
}
/* --- Wadah Utama Accordion --- */
.krida-accordion-container {
    max-width: 1100px;
    margin: 40px auto;
    display: flex;
    flex-direction: row;
    gap: 25px; /* Jarak antar krida */
    align-items: flex-start;
}

.accordion-item {
  flex: 1;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

/* --- Tombol Judul Krida --- */
.accordion-header {
  border-radius: 30px; /* Memastikan sudut tombol hijau mengikuti bentuk kotak luarnya */
    width: 100%;
    text-align: left;
    padding: 18px 25px;
    background-color: #437a35; /* Warna hijau senada */
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.accordion-header.aktif {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.accordion-header:hover {
    background-color: #325c27; /* Hijau lebih gelap saat disentuh */
}

/* Membuat ikon tanda panah di sebelah kanan judul */
.accordion-header::after {
    content: '▼';
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

/* Memutar tanda panah saat terbuka */
.accordion-header.aktif::after {
    transform: rotate(180deg);
}

/* --- Konten yang Tersembunyi (Deskripsi & Flipbook) --- */
.accordion-content {
    display: none; /* Disembunyikan secara default */
    padding: 20px 25px;
    background-color: #fcfcfc;
    border-top: 1px solid #e0e0e0;
}

/* --- Area Teks yang Bisa Digulir --- */
.deskripsi-scroll {
    max-height: 150px; /* Batas tinggi kotak deskripsi, ubah jika ingin lebih tinggi */
    overflow-y: auto; /* Memunculkan scroll jika teks terlalu panjang */
    background-color: #f4f8f4; /* Latar belakang hijau sangat muda */
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 25px; /* Jarak antara deskripsi dan flipbook */
    border: 1px solid #dcdcdc;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #444;
}

/* Mempercantik Scrollbar (Khusus untuk Chrome, Safari, Edge) */
.deskripsi-scroll::-webkit-scrollbar {
    width: 8px;
}
.deskripsi-scroll::-webkit-scrollbar-track {
    background: #e8e8e8; 
    border-radius: 8px;
}
.deskripsi-scroll::-webkit-scrollbar-thumb {
    background: #a5cba0; 
    border-radius: 8px;
}
.deskripsi-scroll::-webkit-scrollbar-thumb:hover {
    background: #437a35; 
}

/* --- Wadah Flipbook --- */
.flipbook-wrapper {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
@media (max-width: 768px) {
    .krida-accordion-container {
        flex-direction: column; /* Kembali menumpuk atas-bawah di layar kecil */
        max-width: 100%;
        padding: 0 20px;
    }
}
/* --- Pembungkus Latar Belakang Penuh --- */
.informasi-wrapper {
    background-color: #fafbfc; /* Warna latar sangat terang mirip screenshot */
    width: 100%;
    padding: 60px 0;
    position: relative;
    z-index: 10; /* Memastikan berada di atas background lanskap */
}

/* --- Wadah Konten Utama --- */
.informasi-untuk-anda-section {
    max-width: 1150px;
    margin: 0 auto;
    padding: 0 20px;
    font-family: 'Nunito', sans-serif;
}

.judul-informasi {
    text-align: left;
    font-size: 2rem;
    color: #11233d; /* Biru sangat gelap kehitaman */
    margin-bottom: 30px;
    font-weight: 800;
}

/* --- Sistem Grid --- */
.informasi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

/* --- Desain Kartu --- */
.info-card {
    background-color: #ffffff;
    border: 1px solid #f0f0f0; /* Garis tepi sangat halus */
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03); /* Bayangan super lembut */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
}

/* --- Gambar Kartu --- */
.info-img {
    width: 100%;
    height: 190px;
    object-fit: cover;
}

/* --- Area Konten --- */
.info-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

/* --- Lencana (Badge) --- */
.info-badge {
    align-self: flex-start;
    background-color: #f4f6f8; /* Abu-abu sangat terang */
    color: #475569; /* Teks abu kebiruan */
    font-size: 0.75rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 50px;
    margin-bottom: 16px;
}

/* --- Judul Berita --- */
.info-title {
    font-size: 1.15rem;
    color: #0f172a;
    font-weight: 800;
    line-height: 1.4;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Batasi maksimal 2 baris */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* --- Teks Sumber --- */
.info-source {
    font-size: 0.85rem;
    color: #828a96;
    margin-bottom: 25px;
    font-weight: 600;
}

/* --- Tombol Baca Selengkapnya --- */
.info-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 12px 0;
    margin-top: auto;
    background-color: #fafafa;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    color: #334155;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.info-btn:hover {
    background-color: #f1f5f9;
    border-color: #cbd5e1;
    color: #0f172a;
}
/* --- Container Utama Tim Redaksi --- */
.redaksi-wrapper-modern {
    max-width: 1050px;
    margin: 40px auto;
    padding: 20px;
    font-family: 'Nunito', sans-serif;
}

/* --- Header Banner --- */
.redaksi-header-card {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 35px 20px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    margin-bottom: 25px;
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.redaksi-logo {
    width: 75px;
    height: auto;
    margin-bottom: 12px;
}

.redaksi-tag {
    display: inline-block;
    background-color: #e8f5e9;
    color: #2e7d32;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 4px 14px;
    border-radius: 50px;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.redaksi-main-title {
    color: #1b365d;
    font-size: 1.8rem;
    font-weight: 800;
    margin: 5px 0;
}

.redaksi-sub-title {
    color: #475569;
    font-size: 1.1rem;
    font-weight: 600;
}

/* --- Grid System --- */
.redaksi-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

/* --- Kartu Individu --- */
.redaksi-card {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.8);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.redaksi-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Kartu Pilihan (Highlight) */
.card-highlight {
    background: #ffffff;
    border-left: 5px solid #2e7d32;
}

/* Kartu Lebar (Pengumpul Data) */
.card-wide {
    grid-column: span 2;
}

/* Badge Peran */
.badge-role {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    color: #334155;
    background-color: #f1f5f9;
    padding: 5px 12px;
    border-radius: 8px;
    margin-bottom: 12px;
}

/* Nama & Daftar */
.nama-person {
    font-size: 1.05rem;
    color: #0f172a;
    font-weight: 700;
    margin: 0;
}

.nama-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nama-list li {
    font-size: 0.95rem;
    color: #334155;
    font-weight: 600;
    padding: 3px 0;
}

.grid-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 5px;
}

/* --- Card Penerbit --- */
.penerbit-card-modern {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 25px;
    margin-top: 25px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.badge-publisher {
    background-color: #e0f2fe;
    color: #0369a1;
}

.penerbit-nama {
    color: #0f172a;
    font-size: 1.2rem;
    font-weight: 800;
    margin: 10px 0 15px 0;
}

.penerbit-kontak p {
    font-size: 0.9rem;
    color: #475569;
    margin: 4px 0;
}

/* Responsive Tablet & HP */
@media (max-width: 768px) {
    .card-wide {
        grid-column: span 1;
    }
    
    .grid-list {
        grid-template-columns: 1fr;
    }
}
/* ===== KAMUS BERGAMBAR ===== */
.kamus-wrapper {
  background: #ffffff;
  border-radius: 40px;
  max-width: 1450px;
  margin: 2rem auto;
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
  padding: 2.5rem 2.5rem 3rem !important; /* tambah padding kiri-kanan */
  box-sizing: border-box;
  width: 100%;
  margin-bottom: 4rem;
}

.kamus-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.kamus-header h1 {
  font-family: 'Fredoka', sans-serif;
  font-size: 2.5rem;
  color: #5a3e2b;
  letter-spacing: -0.5px;
}

.kamus-header h1 small {
  display: inline-block;
  background: #5a3e2b;
  color: #fff;
  font-size: 0.9rem;
  padding: 0.1rem 1.2rem;
  border-radius: 40px;
  margin-left: 0.5rem;
  font-weight: 600;
}

.kamus-header p {
  color: #7a654f;
  font-size: 1.05rem;
  margin-top: 0.2rem;
}

/* Search */
.search-wrap {
  max-width: 420px;
  margin: 1rem auto 0;
  position: relative;
}

.search-wrap input {
  width: 100%;
  padding: 0.7rem 1rem 0.7rem 2.8rem;
  border: 2px solid #dccfc1;
  border-radius: 50px;
  font-size: 1rem;
  background: #fffcf8;
  outline: none;
  transition: 0.25s;
  font-family: 'Nunito', sans-serif;
}

.search-wrap input:focus {
  border-color: #8b6b4e;
  box-shadow: 0 0 0 4px rgba(139,107,78,0.15);
}

.search-wrap .search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
  opacity: 0.5;
  pointer-events: none;
}

.search-wrap .clear-btn {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0.3;
  transition: 0.2s;
  display: none;
}

.search-wrap .clear-btn.visible {
  display: block;
}
.search-wrap .clear-btn:hover {
  opacity: 0.8;
}

/* Categories */
.category-section {
  margin-bottom: 2.8rem;
}

.category-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-bottom: 3px solid #dccfc1;
  padding-bottom: 0.5rem;
  margin-bottom: 1.2rem;
}

.category-header h2 {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.6rem;
  color: #4a3728;
  font-weight: 600;
}

.category-header .cat-icon {
  font-size: 1.8rem;
}

.category-header .count-badge {
  background: #8b6b4e;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.1rem 0.8rem;
  border-radius: 30px;
  margin-left: auto;
  opacity: 0.8;
}

/* Card grid */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 1.5rem;
  justify-content: center;
}

.card {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 170px;
  user-select: none;
  background: #f5efe8;
  border-radius: 20px;
  padding: 1rem 0.5rem;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04), 0 1px 3px rgba(0,0,0,0.04);
  border: 2px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.3s ease, border-color 0.2s;
  word-break: break-word;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(90,62,43,0.12);
  border-color: #dccfc1;
}

.card:active {
  transform: scale(0.97);
}

.card .emoji {
  font-size: 2.8rem;
  line-height: 1.2;
  margin-bottom: 0.3rem;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.05));
  transition: transform 0.2s;
}

.card:hover .emoji {
  transform: scale(1.05);
}

.card .gorontalo-word {
  font-size: 1.05rem;
  font-weight: 700;
  color: #3d2e1f;
  margin-bottom: 0.05rem;
  line-height: 1.3;
  word-break: break-word;
  font-family: 'Baloo 2', sans-serif;
}

.card .indonesian-word {
  font-size: 0.8rem;
  color: #8b7a66;
  margin-top: 0.1rem;
  font-weight: 400;
}

.card .card-hint {
  display: none;  /* opsional, agar lebih bersih */
  font-size: 0.6rem;
  color: #b8a999;
  margin-top: 0.4rem;
  letter-spacing: 0.5px;
  opacity: 0;
  transition: opacity 0.25s;
}

.card:hover .card-hint {
  opacity: 1;
}

/* Variasi warna aksen */
.card-accent-1 { border-color: rgba(200,170,140,0.2); }
.card-accent-2 { border-color: rgba(160,190,160,0.2); }
.card-accent-3 { border-color: rgba(180,160,200,0.2); }
.card-accent-4 { border-color: rgba(200,180,150,0.2); }

/* Empty state */
.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem 1rem;
  color: #8b7a66;
  font-size: 1.1rem;
  background: #fcf8f2;
  border-radius: 24px;
  border: 2px dashed #dccfc1;
}

.empty-state .big-emoji {
  font-size: 3.5rem;
  display: block;
  margin-bottom: 0.75rem;
}

/* ===== MODAL ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(30,25,20,0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 1.5rem;
}

.modal-overlay.active {
  display: flex;
}

.modal-card {
  background: #fffcf8;
  border-radius: 32px;
  max-width: 460px;
  width: 100%;
  padding: 2.5rem 2rem 2rem;
  text-align: center;
  box-shadow: 0 30px 60px rgba(0,0,0,0.3);
  position: relative;
  animation: slideUp 0.35s ease;
}

@keyframes slideUp {
  0% { opacity: 0; transform: translateY(30px) scale(0.97); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-close {
  position: absolute;
  top: 0.8rem;
  right: 1.2rem;
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: #8b7a66;
  transition: 0.2s;
  line-height: 1;
  padding: 0.2rem 0.4rem;
  border-radius: 50%;
}

.modal-close:hover {
  color: #3d2e1f;
  transform: rotate(90deg);
  background: rgba(0,0,0,0.04);
}

.modal-emoji {
  font-size: 5.5rem;
  line-height: 1.2;
  margin-bottom: 0.5rem;
  display: block;
  filter: drop-shadow(0 6px 12px rgba(0,0,0,0.08));
}

.modal-gorontalo {
  font-family: 'Baloo 2', sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: #3d2e1f;
  margin-top: 0.25rem;
  letter-spacing: -0.5px;
}

.modal-indonesian {
  font-size: 1.3rem;
  font-weight: 400;
  color: #7a654f;
  margin-top: 0.3rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #eee8e0;
}

.modal-category-tag {
  display: inline-block;
  margin-top: 1rem;
  background: #eee8e0;
  padding: 0.25rem 1.2rem;
  border-radius: 30px;
  font-size: 0.8rem;
  color: #5a4a38;
  font-weight: 500;
  letter-spacing: 0.3px;
}
/* ===== BANNER UNDUH APLIKASI ===== */
.download-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: linear-gradient(135deg, #5a3e2b, #8b6b4e);
  border-radius: 16px;
  padding: 1.2rem 1.8rem;
  margin-top: 2.5rem;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 16px rgba(90, 62, 43, 0.25);
  color: #fff;
}

.download-banner:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(90, 62, 43, 0.35);
}

.download-banner:active {
  transform: scale(0.98);
}

.banner-icon {
  font-size: 2.4rem;
  flex-shrink: 0;
  line-height: 1;
}

.banner-text {
  flex: 1;
}

.banner-title {
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
  opacity: 0.9;
}

.banner-subtitle {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.2rem;
  font-weight: 500;
  margin: 0.1rem 0 0;
}

.banner-subtitle strong {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.banner-arrow {
  font-size: 1.8rem;
  font-weight: 300;
  flex-shrink: 0;
  opacity: 0.8;
  transition: transform 0.3s ease;
}

.download-banner:hover .banner-arrow {
  transform: translateX(6px);
}

/* Responsif */
@media (max-width: 600px) {
  .download-banner {
    flex-wrap: wrap;
    padding: 1rem 1.2rem;
    text-align: center;
    justify-content: center;
  }
  .banner-icon {
    font-size: 2rem;
  }
  .banner-title {
    font-size: 0.85rem;
  }
  .banner-subtitle {
    font-size: 1rem;
  }
  .banner-arrow {
    font-size: 1.4rem;
  }
}

@media (max-width: 400px) {
  .download-banner {
    flex-direction: column;
    gap: 0.3rem;
    padding: 0.9rem 1rem;
  }
  .banner-arrow {
    display: none;
  }
}

/* Responsif */
@media (max-width: 768px) {
  .kamus-wrapper {
    padding: 1.5rem 1.2rem 2rem !important;
  }
  .kamus-header h1 {
    font-size: 1.8rem;
  }
  .card-grid {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 0.8rem;
  }
  .card {
    min-height: 130px;
    padding: 0.8rem 0.3rem 0.7rem;
  }
  .card .emoji { font-size: 2.2rem; }
  .card .gorontalo-word { font-size: 0.9rem; }
  .modal-card {
    padding: 1.8rem 1.2rem 1.5rem;
  }
  .modal-emoji { font-size: 4rem; }
  .modal-gorontalo { font-size: 1.8rem; }
  .card .indonesian-word { font-size: 0.7rem;}
}

@media (max-width: 480px) {
  .kamus-wrapper {
    padding: 1rem 0.8rem 1.5rem !important;
  }
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
  }
  .card { min-height: 120px; padding: 0.6rem 0.3rem; }
  .card .emoji { font-size: 1.8rem; }
  .card .gorontalo-word { font-size: 0.8rem; }
  .card .indonesian-word {font-size: 0.65rem; }
}
.selayang-wrapper {
      flex: 1;
      max-width: 1100px;
      margin: 2rem auto;
      padding: 0 1.5rem 3rem;
      width: 100%;
    }

    /* Hero */
    .hero-selayang {
      background: linear-gradient(135deg, #5a3e2b 0%, #8b6b4e 100%);
      border-radius: 32px;
      padding: 3.5rem 3rem;
      color: #fff;
      margin-bottom: 2.5rem;
      position: relative;
      overflow: hidden;
      box-shadow: 0 12px 40px rgba(90, 62, 43, 0.25);
      opacity: 0;
      transform: translateY(30px);
      transition: opacity 0.8s ease, transform 0.8s ease;
    }

    .hero-selayang::before {
      content: "📖";
      position: absolute;
      right: -20px;
      bottom: -30px;
      font-size: 12rem;
      opacity: 0.08;
      transform: rotate(-8deg);
      pointer-events: none;
    }

    .hero-selayang .hero-badge {
      display: inline-block;
      background: rgba(255, 255, 255, 0.15);
      backdrop-filter: blur(4px);
      padding: 0.2rem 1.2rem;
      border-radius: 40px;
      font-size: 0.75rem;
      font-weight: 600;
      letter-spacing: 1.5px;
      text-transform: uppercase;
      margin-bottom: 0.8rem;
      border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .hero-selayang h1 {
      font-family: 'Playfair Display', 'Fredoka', serif;
      font-size: 3.2rem;
      font-weight: 600;
      line-height: 1.1;
      margin-bottom: 0.5rem;
      letter-spacing: -0.5px;
    }

    .hero-selayang h1 span {
      font-style: italic;
      opacity: 0.85;
    }

    .hero-selayang .hero-tagline {
      font-family: 'Playfair Display', serif;
      font-size: 1.5rem;
      font-style: italic;
      opacity: 0.9;
      border-top: 2px solid rgba(255, 255, 255, 0.2);
      padding-top: 1rem;
      margin-top: 0.5rem;
      display: inline-block;
    }

    .hero-selayang .hero-tagline strong {
      font-weight: 700;
      opacity: 1;
    }
    .hero-selayang.visible {
    opacity: 1;
    transform: translateY(0);
  }

    /* Konten utama */
    .content-selayang {
      display: flex;
      flex-direction: column;
      gap: 1.8rem;
    }

    .content-card {
      background: #ffffff;
      border-radius: 24px;
      padding: 2rem 2.5rem;
      box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04), 0 1px 4px rgba(0, 0, 0, 0.03);
      border-left: 5px solid #8b6b4e;
      opacity: 0;
      transform: translateY(40px);
      transition: opacity 0.6s ease, transform 0.6s ease;
      }
      .content-card.visible {
      opacity: 1;
      transform: translateY(0);
      }

    .content-card:hover {
      transform: translateY(-2px);
      box-shadow: 0 8px 28px rgba(90, 62, 43, 0.08);
    }

    .content-card p {
      font-size: 1.1rem;
      line-height: 1.8;
      color: #3d352c;
      font-weight: 400;
    }

    .content-card p:not(:last-child) {
      margin-bottom: 1rem;
    }

    .content-card strong {
      color: #5a3e2b;
      font-weight: 700;
    }
    .content-card:nth-child(1) { transition-delay: 0.1s; }
    .content-card:nth-child(2) { transition-delay: 0.2s; }
    .content-card:nth-child(3) { transition-delay: 0.3s; }
    .content-card:nth-child(4) { transition-delay: 0.4s; } /* jika ada lebih */

    /* highlight kata MOBACA */
    .highlight-mobaca {
      font-family: 'Fredoka', sans-serif;
      font-weight: 700;
      color: #5a3e2b;
      background: linear-gradient(135deg, #f0e6da 0%, #e6d7c8 100%);
      padding: 0.1rem 0.7rem;
      border-radius: 8px;
      display: inline-block;
      letter-spacing: 0.5px;
    }
.tim-wrapper {
      flex: 1;
      max-width: 1200px;
      margin: 2rem auto;
      padding: 0 1.5rem 3rem;
      width: 100%;
    }

    /* Hero */
    .hero-tim {
      background: linear-gradient(-45deg, #5a3e2b, #8b6b4e, #a67c5a, #5a3e2b);
      background-size: 400% 400%;
      animation: gradientMove 10s ease infinite;
      border-radius: 32px;
      padding: 3rem 3rem 2.5rem;
      color: #fff;
      display: flex;
      flex-direction: column;
      margin-bottom: 2.5rem;
      justify-content: center;
      position: relative;
      overflow: hidden;
      box-shadow: 0 12px 40px rgba(0,0,0,0.2);
      text-align: center;
      align-items: center;
      min-height: 300px;
        background-attachment: fixed;
        animation-delay: 0.1s;
    }
    /* Kartu special (Penanggung Jawab & Pembina) muncul lebih awal */
.tim-card.special:nth-child(1) { animation-delay: 0.2s; }
.tim-card.special:nth-child(2) { animation-delay: 0.3s; }

/* Kartu biasa (9 kartu) dengan delay bertahap */
.tim-card:not(.special):nth-child(1) { animation-delay: 0.4s; }
.tim-card:not(.special):nth-child(2) { animation-delay: 0.5s; }
.tim-card:not(.special):nth-child(3) { animation-delay: 0.6s; }
.tim-card:not(.special):nth-child(4) { animation-delay: 0.7s; }
.tim-card:not(.special):nth-child(5) { animation-delay: 0.8s; }
.tim-card:not(.special):nth-child(6) { animation-delay: 0.9s; }
.tim-card:not(.special):nth-child(7) { animation-delay: 1.0s; }
.tim-card:not(.special):nth-child(8) { animation-delay: 1.1s; }
.tim-card:not(.special):nth-child(9) { animation-delay: 1.2s; }
    @keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

    .hero-tim::before {
      content: "👥";
      position: absolute;
      right: -10px;
      bottom: -40px;
      font-size: 14rem;
      opacity: 0.06;
      transform: rotate(-6deg);
      pointer-events: none;
      inset: 0;
      background: rgba(0,0,0,0.2);
      border-radius: 32px;
      z-index: 0;
    }
    .hero-tim * {
    position: relative;
    z-index: 1;
  }
    .hero-tim .hero-badge {
      display: inline-block;
      background: rgba(255, 255, 255, 0.2);
      backdrop-filter: blur(4px);
      padding: 0.2rem 1.4rem;
      border-radius: 40px;
      font-size: 0.7rem;
      font-weight: 600;
      letter-spacing: 2px;
      text-transform: uppercase;
      margin-bottom: 0.6rem;
      border: 1px solid rgba(255, 255, 255, 0.15);
      animation: pulseBadge 2.5s ease-in-out infinite;
    }
      @keyframes pulseBadge {
      0%, 100% { transform: scale(1); opacity: 0.9; }
      50% { transform: scale(1.05); opacity: 1; }
    }

    .hero-tim h1 {
      font-family: 'Playfair Display', 'Fredoka', serif;
      font-size: 3.2rem;
      font-weight: 600;
      line-height: 1.1;
      letter-spacing: -0.5px;
    }

    .hero-tim h1 span {
      font-style: italic;
      opacity: 0.85;
    }

    .hero-tim .hero-sub {
      font-size: 1.1rem;
      opacity: 0.85;
      margin-top: 0.6rem;
      font-weight: 400;
      border-top: 2px solid rgba(255, 255, 255, 0.15);
      padding-top: 0.8rem;
      display: inline-block;
    }

    /* Grid Tim */
    .tim-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
      gap: 1.8rem;
      margin-top: 1rem;
    }

    .tim-card {
      background: #ffffff;
      border-radius: 24px;
      padding: 1.8rem 1.5rem 1.5rem;
      box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04), 0 1px 4px rgba(0, 0, 0, 0.03);
      border-left: 5px solid #8b6b4e;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      position: relative;
      opacity: 0; /* sembunyi dulu */
      animation: fadeInUp 0.7s ease forwards;
    }

    .tim-card:hover {
  transform: translateY(-8px) rotate(0.5deg);
  box-shadow: 0 16px 40px rgba(90, 62, 43, 0.18);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease;
    }

    .tim-card .card-icon {
      font-size: 2.2rem;
      margin-bottom: 0.5rem;
      line-height: 1;
    }

    .tim-card .card-jabatan {
      font-family: 'Fredoka', sans-serif;
      font-size: 1.1rem;
      font-weight: 600;
      color: #5a3e2b;
      letter-spacing: 0.3px;
      margin-bottom: 0.2rem;
    }

    .tim-card .card-nama {
      font-size: 1rem;
      font-weight: 400;
      color: #5a4a38;
      line-height: 1.4;
    }

    .tim-card .card-nama strong {
      font-weight: 700;
      color: #3d2e1f;
    }

    /* Kartu spesial untuk Penanggung Jawab & Pembina (lebar penuh) */
    .tim-card.special {
      grid-column: 1 / -1;
      background: linear-gradient(135deg, #f5efe8, #ede4db);
      border-left-color: #b8946e;
      padding: 2rem 2rem;
      flex-direction: row;
      align-items: center;
      gap: 1.5rem;
      flex-wrap: wrap;
    }

    .tim-card.special .card-icon {
      font-size: 2.8rem;
      margin-bottom: 0;
    }

    .tim-card.special .card-jabatan {
      font-size: 1.2rem;
    }

    .tim-card.special .card-nama {
      font-size: 1.05rem;
    }

    /* Penutup / Footer keterangan */
    .tim-footer-note {
      margin-top: 2.5rem;
      padding: 1.8rem 2rem;
      background: #ffffff;
      border-radius: 24px;
      border: 2px dashed #dccfc1;
      text-align: center;
      font-size: 1rem;
      color: #5a4a38;
      line-height: 1.7;
      opacity: 0; /* sembunyi dulu */
      animation: fadeInUp 0.7s ease forwards;
      animation-delay: 1.3s;
    }

    .tim-footer-note strong {
      color: #5a3e2b;
    }

    .tim-footer-note .highlight {
      background: #f0e6da;
      padding: 0.1rem 0.6rem;
      border-radius: 6px;
      font-weight: 600;
    }
    /* Ikon pada kartu sedikit melayang saat hover */
.tim-card:hover .card-icon {
  animation: floatIcon 0.6s ease-in-out infinite alternate;
}

@keyframes floatIcon {
  0% { transform: translateY(0) scale(1); }
  100% { transform: translateY(-8px) scale(1.05); }
}

/* Tombol atau link di footer dengan efek garis bawah bergerak */
.footer-links a {
  position: relative;
  text-decoration: none;
}
.footer-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #fff;
  transition: width 0.3s ease;
}
.footer-links a:hover::after {
  width: 100%;
}
/* ============================================================
   ANIMASI UNTUK INDEX.HTML (HALAMAN UTAMA)
============================================================ */

/* 1. Hero Section - Fade & Slide Up */
.hero-section .hero-content {
  opacity: 0;
  transform: translateY(40px);
  animation: fadeInUp 1s ease forwards;
  animation-delay: 0.3s;
}

@keyframes fadeInUp {
  to {
    opacity: 0;
    transform: translateY(40px) scale(0.97);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
/* 2. Galeri Gambar Aktivitas - Staggered */
.semangat-gallery .gallery-item {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease forwards;
}

.semangat-gallery .gallery-item:nth-child(1) { animation-delay: 0.1s; }
.semangat-gallery .gallery-item:nth-child(2) { animation-delay: 0.25s; }
.semangat-gallery .gallery-item:nth-child(3) { animation-delay: 0.4s; }
.semangat-gallery .gallery-item:nth-child(4) { animation-delay: 0.55s; }
@keyframes scaleFadeIn {
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.tagline-closing {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.tagline-closing.visible {
  opacity: 1;
  transform: translateY(0);
}
    .modul-wrapper { max-width: 1100px; margin: 2rem auto; padding: 0 1.5rem 3rem; width: 100%; }
    .modul-hero { background: linear-gradient(135deg, #5a3e2b, #8b6b4e); border-radius: 32px; padding: 3rem 2rem; color: #fff; text-align: center; margin-bottom: 2.5rem; }
    .modul-hero h1 { font-family: 'Fredoka', sans-serif; font-size: 2.8rem; }
    .modul-hero p { font-size: 1.1rem; opacity: 0.9; }
    .unit-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.8rem; }
    .unit-card { background: #fff; border-radius: 24px; padding: 1.8rem; box-shadow: 0 4px 16px rgba(0,0,0,0.06); border-left: 5px solid #8b6b4e; cursor: pointer; transition: 0.3s ease; }
    .unit-card:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(90,62,43,0.08); }
    .unit-card .icon { font-size: 2.8rem; display: block; margin-bottom: 0.5rem; }
    .unit-card h3 { font-family: 'Fredoka', sans-serif; font-size: 1.4rem; color: #3d2e1f; margin: 0 0 0.3rem; }
    .unit-card p { color: #5a4a38; font-size: 0.95rem; line-height: 1.6; margin: 0; }
    .unit-detail { background: #fcf8f2; border-radius: 16px; padding: 1.5rem 2rem; margin-top: 1.2rem; border: 1px solid #dccfc1; display: none; }
    .unit-detail.open { display: block; }
    .unit-detail h4 { font-family: 'Fredoka', sans-serif; font-size: 1.3rem; color: #5a3e2b; margin-top: 0; }
    .unit-detail ul { padding-left: 1.2rem; color: #3d352c; line-height: 1.8; }
    .unit-detail ul li { margin-bottom: 0.3rem; }
    @media (max-width: 600px) { .unit-grid { grid-template-columns: 1fr; } }
    .komik-wrapper { max-width: 1100px; margin: 2rem auto; padding: 0 1.5rem 3rem; width: 100%; }
    .komik-hero { background: linear-gradient(135deg, #5a3e2b, #8b6b4e); border-radius: 32px; padding: 3rem 2rem; color: #fff; text-align: center; margin-bottom: 2.5rem; }
    .komik-hero h1 { font-family: 'Fredoka', sans-serif; font-size: 2.8rem; }
    .komik-hero p { font-size: 1.1rem; opacity: 0.9; }
    .komik-section { background: #fff; border-radius: 24px; padding: 2rem; margin-bottom: 2rem; box-shadow: 0 4px 16px rgba(0,0,0,0.06); }
    .komik-section h2 { font-family: 'Fredoka', sans-serif; color: #5a3e2b; margin-top: 0; }
    .komik-section p { line-height: 1.8; color: #3d352c; }
    .webtoon-link { display: inline-block; background: #5a3e2b; color: #fff; padding: 0.6rem 1.8rem; border-radius: 40px; text-decoration: none; font-weight: 600; margin: 0.8rem 0 1.2rem; transition: 0.3s; }
    .webtoon-link:hover { background: #8b6b4e; transform: translateY(-2px); }
    .flipbook-container { position: relative; width: 100%; padding-top: 56.25%; border-radius: 16px; overflow: hidden; box-shadow: 0 8px 24px rgba(0,0,0,0.1); border: 3px solid #eaf7fb; background: #f8f9fa; }
    .flipbook-container iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; }
    @media (max-width: 768px) { .flipbook-container { padding-top: 80%; } }
    /* ===== LAYOUT DUA KOLOM (Selayang Pandang) ===== */
.about-two-col {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  background: #ffffff;
  border-radius: 32px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
  padding: 2rem;
  margin-top: 2rem;
}
.about-image {
  flex: 1 1 40%;
  min-width: 280px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 280px;
}
.about-text {
  flex: 1 1 50%;
  padding: 0.5rem 0.5rem 0.5rem 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.about-text h2 {
  font-family: 'Fredoka', sans-serif;
  font-size: 2.2rem;
  color: #5a3e2b;
  margin-top: 0;
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
}
.about-text h2 span {
  color: #8b6b4e;
  background: #f0e6da;
  padding: 0.1rem 0.6rem;
  border-radius: 8px;
}
.about-text p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #3d352c;
  margin-bottom: 1rem;
}
.about-text p strong {
  color: #5a3e2b;
}
.about-text .highlight-mobaca {
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  color: #5a3e2b;
  background: linear-gradient(135deg, #f0e6da, #e6d7c8);
  padding: 0.1rem 0.7rem;
  border-radius: 8px;
  display: inline-block;
  letter-spacing: 0.5px;
}
.about-text .feature-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.8rem;
}
.about-text .feature-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: #5a4a38;
  font-size: 0.95rem;
}
.about-text .feature-list li::before {
  content: "✓";
  color: #8b6b4e;
  font-weight: 700;
  font-size: 1.2rem;
}
@media (max-width: 768px) {
  .about-two-col {
    flex-direction: column;
    padding: 1.2rem;
  }
  .about-image {
    flex: 1 1 auto;
    min-height: 200px;
  }
  .about-image img {
    min-height: 200px;
  }
  .about-text {
    padding: 0;
  }
  .about-text h2 {
    font-size: 1.8rem;
  }
  .about-text p {
    font-size: 0.98rem;
  }
}
@media (max-width: 480px) {
  .about-image {
    min-height: 160px;
  }
  .about-image img {
    min-height: 160px;
  }
  .about-text h2 {
    font-size: 1.5rem;
  }
  .about-text .feature-list {
    flex-direction: column;
    gap: 0.4rem;
  }
}