* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  min-height: 100vh;
  font-family: Arial, Helvetica, sans-serif;
  background: radial-gradient(800px 500px at 20% 0%, #ff4fd8, #39005f 60%);
  color: #ffffff;
}

/* Menggunakan nama kelas 'page-wrapper' agar sinkron dengan HTML */
.page-wrapper {
  width: 100%;
  min-height: 100vh;
  padding: 16px;
  display: flex;
  justify-content: center; /* Membuat ke tengah secara horizontal */
  align-items: center;     /* Membuat ke tengah secara vertikal */
}

.kotak {
  width: 100%;
  max-width: 340px;
  padding: 32px 24px;
  text-align: center;      /* Membuat teks dan tombol di dalam kotak rata tengah */
  background: linear-gradient(145deg, #312e81, #7c3aed);
  color: #ffffff;
  font-weight: 800;
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}

.kotak h2 {
  margin: 0 0 22px;
  font-size: 30px;
  line-height: 1.3;
}

button {
  width: 82%;
  margin: 8px 0;
  padding: 13px 12px;
  border: none;
  border-radius: 15px;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

button:hover {
  transform: translateY(-2px);
  opacity: 0.92;
}

button:active {
  transform: translateY(0);
}

.ya {
  background: #38bdf8;
  color: #000000;
}

.tidak {
  background: #be123c;
  color: #ffffff;
}

@media (max-width: 480px) {
  .kotak {
    max-width: 320px;
    padding: 28px 20px;
  }

  button {
    width: 88%;
  }
}