
/* === Base Style === */
body {
  margin: 0;
  font-family: 'Fredoka', sans-serif;
  background: #fffbe6;
  color: #333;
  overflow-x: hidden;
}

header {
  background: #fdd835;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  animation: fadeInDown 1s ease-in-out;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
}

.buy-btn {
  padding: 0.6rem 1.2rem;
  background: #ffeb3b;
  color: #000;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: background 0.2s;
}

.buy-btn:hover {
  background: #ffe600;
}

.hero {
  padding: 5rem 8%;
  text-align: center;
  animation: fadeInUp 1.2s ease-in-out;
}

.hero img {
  max-width: 280px;
  border-radius: 12px;
}

.hero h2 {
  font-size: 2.6rem;
  margin-top: 1rem;
}

.hero p {
  max-width: 900px;
  margin: 1.5rem auto;
  font-size: 1.3rem;
  line-height: 1.9;
}

.cta {
  margin-top: 2rem;
}

.cta a {
  display: inline-block;
  margin: 0 10px;
  padding: 1rem 2rem;
  background: #ffeb3b;
  color: #000;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1.1rem;
  transition: transform 0.2s;
}

.cta a:hover {
  transform: scale(1.05);
}

section {
  padding: 4rem 8%;
  max-width: 100%;
  margin: 0 auto;
  animation: fadeIn 1.5s ease-in-out;
  position: relative;
  text-align: center;
}

section:not(:first-of-type)::before {
  content: "";
  display: block;
  width: 80%;
  height: 2px;
  background: #f4c542;
  margin: 3rem auto;
  border-radius: 4px;
}

section h2 {
  font-size: 2.4rem;
}

section p {
  font-size: 1.2rem;
  line-height: 1.8;
  max-width: 900px;
  margin: 0 auto;
}

footer {
  margin-top: 4rem;
  padding: 3rem 2rem;
  font-size: 1rem;
  color: #666;
  text-align: center;
  animation: fadeIn 2s ease-in-out;
}

/* === Keyframes === */
@keyframes fadeInDown {
  0% { opacity: 0; transform: translateY(-20px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* === Responsive Mobile === */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .logo {
    font-size: 1.3rem;
  }

  .buy-btn {
    width: 100%;
    text-align: center;
  }

  .hero h2 {
    font-size: 1.4rem;
  }

  .cta a {
    display: block;
    margin: 10px auto;
    width: 80%;
  }

  section {
    padding: 1.5rem 1rem;
  }

  .hero img {
    max-width: 160px;
  }

  .hero p,
  section p {
    font-size: 0.95rem;
  }

  footer {
    font-size: 0.8rem;
  }
}
.banana-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.banana-bg span {
  position: absolute;
  display: inline-block;
  animation: floatBanana 6s ease-in-out infinite;
  font-size: 2rem;
  opacity: 0.4;
}

/* Posisi acak */
.banana-bg span:nth-child(1) { left: 5%; animation-delay: 0s; }
.banana-bg span:nth-child(2) { left: 15%; animation-delay: 2s; }
.banana-bg span:nth-child(3) { left: 25%; animation-delay: 1s; }
.banana-bg span:nth-child(4) { left: 35%; animation-delay: 3s; }
.banana-bg span:nth-child(5) { left: 45%; animation-delay: 1.5s; }
.banana-bg span:nth-child(6) { left: 55%; animation-delay: 0.8s; }
.banana-bg span:nth-child(7) { left: 65%; animation-delay: 2.5s; }
.banana-bg span:nth-child(8) { left: 75%; animation-delay: 1.2s; }
.banana-bg span:nth-child(9) { left: 85%; animation-delay: 3.2s; }
.banana-bg span:nth-child(10){ left: 95%; animation-delay: 2.8s; }


@keyframes floatBanana {
  0% {
    transform: translateY(100vh) rotate(0deg);
    opacity: 0;
  }
  50% {
    opacity: 0.5;
  }
  100% {
    transform: translateY(-10vh) rotate(360deg);
    opacity: 0;
  }
}
.ca-box {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: #444;
}

.ca-box button {
  margin-left: 8px;
  padding: 0.4rem 1rem;
  background: #ffe600;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
}
