/* Reset Dasar */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Fredoka", sans-serif;
  background-color: #cde8fe; /* Biru langit khas Bluey */
  /* Pola titik-titik lembut di latar belakang */
  background-image:
    radial-gradient(#b2d8f8 3px, transparent 3px),
    radial-gradient(#b2d8f8 3px, #cde8fe 3px);
  background-size: 36px 36px;
  background-position:
    0 0,
    18px 18px;
  color: #1e293b;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 30px 20px;
}

.home-container {
  max-width: 900px;
  width: 100%;
}

/* Banner Sambutan Gaya Awan / Bubble */
.welcome-banner {
  background-color: #ffffff;
  border-radius: 35px;
  padding: 35px 25px;
  text-align: center;
  box-shadow:
    0 12px 0px #b0d3f0,
    0 20px 25px rgba(0, 0, 0, 0.08);
  margin-bottom: 40px;
  border: 4px solid #ffffff;
}

.badge-fun {
  background-color: #fef08a;
  color: #854d0e;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 6px 18px;
  border-radius: 50px;
  display: inline-block;
  margin-bottom: 12px;
  border: 2px solid #fde047;
}

.welcome-banner h1 {
  font-size: 2.3rem;
  color: #1e3a8a;
  margin-bottom: 10px;
}

.welcome-banner p {
  color: #64748b;
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Grid Kartu */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}

/* Gaya Dasar Kartu Menu */
.card {
  text-decoration: none;
  border-radius: 28px;
  padding: 25px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border: 4px solid #ffffff;
  position: relative;
  /* Animasi kenyal saat di-hover */
  transition:
    transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.3s ease;
  box-shadow: 0 8px 0px rgba(0, 0, 0, 0.08);
}

.card:hover {
  transform: translateY(-10px) rotate(1deg) scale(1.02);
  box-shadow: 0 18px 25px rgba(0, 0, 0, 0.12);
}

/* Lingkaran Ikon di Dalam Kartu */
.card-icon {
  font-size: 2.8rem;
  margin-bottom: 14px;
  background-color: rgba(255, 255, 255, 0.75);
  width: 75px;
  height: 75px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.9);
}

.card h2 {
  font-size: 1.35rem;
  color: #0f172a;
  margin-bottom: 8px;
}

.card p {
  font-size: 0.92rem;
  color: #475569;
  line-height: 1.4;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Tombol Kecil di Dalam Kartu */
.btn-card {
  background-color: #ffffff;
  color: #0f172a;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 8px 20px;
  border-radius: 50px;
  box-shadow: 0 4px 0px rgba(0, 0, 0, 0.08);
  transition: all 0.2s ease;
}

.card:hover .btn-card {
  background-color: #0f172a;
  color: #ffffff;
}

/* Variasi Warna Pastel Khas Bluey */
.card-yellow {
  background-color: #fef08a; /* Kuning Muffin / Bingo */
}

.card-blue {
  background-color: #bae6fd; /* Biru Karakter Bluey */
}

.card-purple {
  background-color: #ddd6fe; /* Ungu Lavender */
}

.card-pink {
  background-color: #fbcfe8; /* Merah Muda Lembut */
}

.card-orange {
  background-color: #fed7aa; /* Oranye Peach */
}

/* Tampilan Ponsel (Layar Kecil) */
@media (max-width: 600px) {
  .welcome-banner h1 {
    font-size: 1.8rem;
  }

  .menu-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================
   FOOTER (Gaya Kartun / Pastel)
   ========================================= */
.home-footer {
  margin-top: 50px;
  background-color: #ffffff;
  border-radius: 30px;
  padding: 30px 25px;
  box-shadow: 0 8px 0px rgba(0, 0, 0, 0.06);
  border: 4px solid #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-info h3 {
  color: #1e3a8a;
  font-size: 1.3rem;
  margin-bottom: 5px;
}

.footer-info p {
  color: #475569;
  font-size: 0.95rem;
}

.footer-info .copyright {
  font-size: 0.8rem;
  color: #94a3b8;
  margin-top: 8px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
}

.footer-links span {
  font-size: 0.88rem;
  font-weight: 700;
  color: #64748b;
}

.social-group {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* Tombol Sosial Media */
.btn-social {
  text-decoration: none;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 8px 16px;
  border-radius: 50px;
  color: #ffffff;
  box-shadow: 0 4px 0px rgba(0, 0, 0, 0.1);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.btn-social:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 0px rgba(0, 0, 0, 0.15);
}

/* Warna Khas Platform */
.btn-ig {
  background-color: #e1306c; /* Warna Instagram */
}

.btn-itch {
  background-color: #fa5c5c; /* Warna Itch.io */
}

.btn-sketchfab {
  background-color: #1caad9; /* Warna Sketchfab */
}

/* Tampilan Responsif HP */
@media (max-width: 650px) {
  .home-footer {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    align-items: center;
    width: 100%;
  }

  .social-group {
    justify-content: center;
  }
}
