body {
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
  background-color: #0f0f0f;
  color: #fff;
  overflow-x: hidden;
}

#particles-js {
  position: fixed;
  width: 100%;
  height: 300vh;
  top: 0;
  left: 0;
  z-index: -1;
}

/* ---------- FOTO KIRI & KANAN (PC) ---------- */
.side-photo {
  position: fixed;
  bottom: 0;
  z-index: 3;
  opacity: 0.95;
}

.left-photo {
  left: 0;
  max-height: 150vh;
  transform: scale(1.8); /* Jangan diubah ukurannya */
}

.right-photo {
  right: 0;
  bottom: 0;
  max-height: 70vh !important;
  transform: scale(1) !important;
}

/* ---------- QRIS UTAMA (yang muncul setelah klaim) ---------- */
.qris-img {
  width: 200px;
  margin-top: 20px;
  border-radius: 10px;
}

/* ---------- QRIS & FOTO KHUSUS HP ---------- */
.qris-wrapper {
  display: none;
}

/* ---------- BAGIAN LAIN ---------- */
.hidden {
  display: none;
}

.intro {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

#introText {
  font-size: 2.5rem;
  font-family: 'Pacifico', cursive;
  color: #ffb6c1;
}

.countdown {
  margin-top: 20px;
  font-size: 1.5rem;
  color: #ffccff;
}

.main {
  padding: 60px 20px;
  text-align: center;
}

.judul-utama {
  font-family: 'Pacifico', cursive;
  font-size: 2.5rem;
  color: #ffb6c1;
}

.subjudul {
  font-size: 1.2rem;
  color: #ddd;
}

.galeri-container {
  margin-top: 40px;
}

.judul-box {
  font-family: 'Pacifico', cursive;
  font-size: 2.2rem;
  color: #ffffff;
  margin-bottom: 20px;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.3);
}

.galeri {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  justify-content: center;
  align-items: center;
}

.galeri img {
  width: 80%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  margin: 0 auto;
  box-shadow: 0 4px 8px rgba(255, 255, 255, 0.2);
}

.surat-container {
  margin-top: 50px;
  text-align: center;
}

.surat-box {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 12px;
  max-width: 600px;
  margin: 0 auto;
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
}

.surat-box button {
  background-color: #ff69b4;
  color: white;
  border: none;
  padding: 10px 20px;
  font-weight: bold;
  cursor: pointer;
  border-radius: 8px;
  margin-top: 10px;
}

.isi-surat {
  margin-top: 20px;
  text-align: left;
  color: #fff;
}

.hadiah {
  margin-top: 60px;
  text-align: center;
}

.btn-hadiah {
  display: inline-block;
  background-color: #00c2cb;
  color: white;
  padding: 12px 24px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 1rem;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.hadiah-content {
  margin-top: 40px;
  text-align: center;
}

#fireworksCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

.galeri-box {
  background: rgba(255, 255, 255, 0.07);
  padding: 20px;
  border-radius: 20px;
  backdrop-filter: blur(5px);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.15);
  max-width: 1000px;
  margin: 20px auto;
  transition: 0.3s ease;
}

.galeri-box:hover {
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.ucapan-box {
  background: rgba(255, 255, 255, 0.07);
  padding: 20px;
  border-radius: 20px;
  backdrop-filter: blur(5px);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.15);
  max-width: 1000px;
  margin: 40px auto;
  transition: 0.3s ease;
}

.ucapan-box:hover {
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.ucapan-birthday {
  font-size: 1rem;
  line-height: 1.6;
  color: #fff;
}

/* Tombol klaim hadiah */
.klaim-container {
  text-align: center;
  margin-top: 20px;
}

.klaim-btn {
  background-color: #00c2cb;
  color: white;
  border: none;
  padding: 10px 25px;
  font-weight: bold;
  font-size: 1rem;
  border-radius: 10px;
  cursor: pointer;
}

#passwordForm input {
  padding: 10px;
  margin-top: 10px;
  border-radius: 6px;
  border: none;
  width: 200px;
}

#passwordForm button {
  background-color: hotpink;
  color: white;
  border: none;
  padding: 8px 15px;
  margin-left: 10px;
  border-radius: 8px;
  cursor: pointer;
}

.hadiah-btn-container {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.btn-kembali,
.btn-musik {
  padding: 10px 20px;
  border-radius: 10px;
  border: none;
  color: white;
  cursor: pointer;
}

.btn-kembali {
  background-color: #555;
}

.btn-musik {
  background-color: #00c2cb;
}

/* ========== RESPONSIF PC QRIS ========== */
@media screen and (min-width: 769px) {
  .foto-kiri,
  .foto-kanan {
    display: none; /* Jangan munculkan gambar kiri-kanan versi HP di desktop */
  }

  .qris-wrapper:not(.hidden) {
    display: flex !important;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
  }

  .qris-img {
    width: 220px;
    margin-top: 20px;
  }
}
/* Ini baru mulai media query untuk PC */
@media screen and (min-width: 769px) {
  .foto-kiri,
  .foto-kanan {
    display: none !important;
  }

  .qris-wrapper:not(.hidden) {
    display: flex !important;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
  }

  .qris-img,
  .qris-img-main {
    width: 220px;
    max-width: 220px;
    height: auto;
    margin-top: 20px;
  }

  .qris-row {
    display: none !important;
  }
}

/* ==== PERBAIKAN TAMPILAN HP UNTUK QRIS & FOTO SAMPING ==== */
@media screen and (max-width: 768px) {
  .qris-wrapper {
    /* Jangan kasih display flex langsung, biar JS yg ngontrol */
    /* biarkan default display:none dari luar tetap berlaku */
    justify-content: center;
    align-items: center;
    width: 100%;
  }

  .qris-wrapper:not(.hidden) {
    display: flex; /* Baru tampil kalau sudah tidak ada class hidden */
  }

  /* bagian lain tetap seperti semula */
  .qris-row {
    display: flex !important;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
    gap: 10px;
    position: relative;
    width: 100%;
    margin: 0 auto;
  }

  .qris-img-side {
    display: none !important;
  }

  .qris-img-main {
    width: 200px !important;
    max-width: 200px !important;
    height: auto !important;
    margin: 0 auto !important;
    display: block !important;
  }

  .foto-pc-hanya {
    display: none !important;
  }

  .left-photo,
  .right-photo,
  .only-pc {
    display: none !important;
  }
}
