/* Reset Dasar & Pengaturan Global */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  font-family: "Poppins", sans-serif;
  color: #ffffff;
  overflow: hidden; /* Mencegah scrollbar dari animasi */
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  /* Gradien Animasi */
  background: linear-gradient(-45deg, #0f0c29, #302b63, #24243e, #1a2a6c);
  background-size: 400% 400%;
  animation: gradientBG 15s ease infinite;
}

/* Keyframes untuk animasi latar belakang */
@keyframes gradientBG {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Kontainer Utama */
.container {
  max-width: 800px;
  padding: 2rem;
}

.content-wrapper {
  background: rgba(0, 0, 0, 0.2);
  padding: 3rem 4rem;
  border-radius: 15px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

/* Tipografi */
.title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: 2px;
  animation: fadeInDown 1s ease-out;
}

.subtitle {
  font-size: 1.2rem;
  font-weight: 300;
  line-height: 1.6;
  margin-bottom: 2rem;
  animation: fadeInUp 1s ease-out 0.5s;
  animation-fill-mode: both; /* Agar tetap di posisi akhir animasi */
}

/* Garis Pemisah */
.separator {
  width: 80px;
  height: 3px;
  background-color: #ffffff;
  margin: 0 auto;
  border-radius: 2px;
  animation: growWidth 1s ease-out 0.8s;
  animation-fill-mode: both;
}

/* --- CSS SOSIAL MEDIA DIHAPUS --- */

/* +++ CSS TOMBOL KEMBALI DITAMBAHKAN +++ */
.button-container {
  margin-top: 2.5rem; /* Memberi jarak dari garis pemisah */
  animation: fadeInUp 1s ease-out 1s;
  animation-fill-mode: both;
}

.btn-kembali {
  display: inline-block;
  padding: 12px 30px;
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 50px; /* Membuat sudut sangat tumpul/pil */
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-kembali:hover {
  background-color: #ffffff;
  color: #1a2a6c; /* Warna gelap agar kontras saat di-hover */
}

/* Animasi Tambahan */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes growWidth {
  from {
    width: 0;
  }
  to {
    width: 80px;
  }
}

/* Penyesuaian untuk Mobile */
@media (max-width: 768px) {
  .content-wrapper {
    padding: 2rem 1.5rem;
  }
  .title {
    font-size: 2.5rem;
  }
  .subtitle {
    font-size: 1rem;
  }
}
