/* ============================================
   HERO SECTION
   Nilai di bawah diambil dari CSS Figma Dev Mode:
   - judul       : Amaranth 96px, letter-spacing -1.92px
   - deskripsi   : Poppins 600 48px, letter-spacing -0.96px
   - tombol      : background #FF8C00 89%, radius 25px
   - teks tombol : Amaranth 48px, letter-spacing -0.96px
   ============================================ */

.hero {
  position: relative;
  width: 100%;
  min-height: 924px; /* sesuai ukuran asli Hero 1: 1440 x 924 */
  background-image: url('../images/background_landing.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  overflow: hidden; /* biar koin yang floating gak bikin scrollbar aneh */
}

/* overlay hitam transparan di atas background, sesuai revisi kamu */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.20);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2; /* di atas overlay hitam */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  text-align: center;
}

/* ============================================
   FLOATING COINS — dekorasi di hero
   ============================================ */
.floating-coin {
  position: absolute;
  z-index: 1; /* sejajar overlay, di bawah teks (z-index 2) */
  width: 56px;
  height: 56px;
  opacity: 0.9;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.35));
  animation: floatCoin 4s ease-in-out infinite;
  pointer-events: none; /* biar gak ganggu klik tombol di belakangnya */
}

.coin-1 { top: 12%;  left: 6%;  width: 64px; height: 64px; animation-duration: 5s; }
.coin-2 { top: 22%;  right: 8%; width: 44px; height: 44px; animation-duration: 3.5s; animation-delay: 0.6s; }
.coin-3 { bottom: 30%; left: 10%; width: 40px; height: 40px; animation-duration: 4.5s; animation-delay: 1.2s; }
.coin-4 { top: 8%;   right: 22%; width: 32px; height: 32px; animation-duration: 3.2s; animation-delay: 0.3s; }

@keyframes floatCoin {
  0%, 100% {
    transform: translateY(0) rotate(-6deg);
  }
  50% {
    transform: translateY(-18px) rotate(6deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .floating-coin {
    animation: none;
  }
}

/* Di layar kecil, sembunyiin sebagian koin biar gak nutupin teks */
@media (max-width: 768px) {
  .coin-2, .coin-4 {
    display: none;
  }
}

.hero-title {
  max-width: 719px;
  color: #FFFFFF;
  text-shadow: 0 4px 4px rgba(0, 0, 0, 0.5);
  font-family: 'Amaranth', sans-serif;
  font-size: 96px;
  font-style: normal;
  font-weight: 400;
  line-height: 80%; /* ~76.8px, sesuai Figma */
  letter-spacing: -1.92px;
}

.hero-desc {
  max-width: 985px;
  color: #FFFFFF;
  text-shadow: 0 4px 4px rgba(0, 0, 0, 0.5);
  font-family: 'Poppins', sans-serif;
  font-size: 48px;
  font-style: normal;
  font-weight: 600;
  line-height: 109%; /* ~52.32px, sesuai Figma */
  letter-spacing: -0.96px;
}

.btn-get-started {
  margin-top: 8px;
  width: 283px;
  height: 115px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 25px;
  background: rgba(255, 140, 0, 0.89); /* #FF8C00 89%, sesuai Figma */
  box-shadow: -1px 10px 4px 0 rgba(0, 0, 0, 0.5);
  cursor: pointer;

  color: #FFFFFF;
  text-align: center;
  text-shadow: 0 4px 4px rgba(0, 0, 0, 0.5);
  font-family: 'Amaranth', sans-serif;
  font-size: 48px;
  font-style: normal;
  font-weight: 400;
  line-height: 80%; /* ~38.4px, sesuai Figma */
  letter-spacing: -0.96px;

  /* dekorasi tambahan: transisi hover biar gak kaku */
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.btn-get-started:hover {
  background-color: rgba(255, 140, 0, 1);
  transform: translateY(-4px);
  box-shadow: -1px 14px 10px 0 rgba(0, 0, 0, 0.3);
}

.btn-get-started:active {
  transform: translateY(-1px);
}

/* ============ RESPONSIVE ============
   Font 96px/48px itu ukuran desktop lebar. Di layar kecil harus di-scale
   pake clamp() biar teks gak overflow keluar layar. */
@media (max-width: 768px) {
  .hero-title {
    font-size: clamp(36px, 10vw, 96px);
  }

  .hero-desc {
    font-size: clamp(16px, 4vw, 48px);
  }

  .btn-get-started {
    font-size: clamp(20px, 5vw, 48px);
    width: clamp(180px, 60vw, 283px);
    height: clamp(70px, 20vw, 115px);
  }
}
