@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@400;700&display=swap');

:root {
  --primary-glow: rgba(255, 183, 197, 0.6);
  --primary-pink: #FFB7C5; /* Rose Gold */
  --soft-pink: #ffd1dc;
  --text-blue: #f8f8ff;    /* Pearl White */
  --bg-dark: #050505;
  --bg-gradient: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
  --font-main: 'Archivo', sans-serif;
  --font-cursive: 'Archivo', sans-serif;
  --romantic-gold: #ffefd5;
}

* {
  box-sizing: border-box;
}

body {
  font-family: var(--font-main);
  height: 100vh;
  margin: 0;
  overflow: hidden;
  background: var(--bg-gradient), url(./r.jpg) !important;
  background-size: cover !important;
  color: var(--text-blue) !important;
  -webkit-user-select: none;
  user-select: none;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(circle, rgba(255, 80, 150, 0.08) 2px, transparent 3px);
  background-size: 60px 60px;
  animation: floatBackground 20s linear infinite;
  z-index: 0;
  pointer-events: none;
}

@keyframes floatBackground {
  from { background-position: 0 0; }
  to { background-position: 120px 200px; }
}

#backgroundOverlay {
  opacity: 0;
  position: fixed;
  inset: 0;
  background: var(--bg-gradient), url(./r.jpg) !important;
  background-size: cover !important;
  transition: all 1s ease;
  z-index: -1;
}

#wallpaper {
  width: 100%;
  height: 100%;
  transform: scale(2);
  transition: all 1.3s ease;
}

#Content {
  position: relative;
  opacity: 0;
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all 0.7s ease;
}

#giftBoxContainer {
  margin-top: 19px;
}

#giftBoxContainer img {
  cursor: pointer;
  width: 317px;
  height: 280px;
  margin-bottom: 26px;
  transition: all 0.3s ease;
  filter: drop-shadow(0 0 35px rgba(255, 95, 162, 0.8));
}

#giftBoxContainer img:hover {
  transform: scale(0.9);
}

#instructionText {
  color: var(--primary-pink) !important;
  font-size: 1.3rem;
  letter-spacing: 2px;
  font-weight: 500;
  text-align: center;
  margin-top: 3px !important;
  backdrop-filter: blur(8px);
  text-shadow: none;
}

.kumpulanstiker {
  display: flex;
  justify-content: center;
  margin-top: 95px;
  padding-bottom: 40px;
}

.kumpulanstiker img {
  display: none;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  padding: 10px;
  width: 100px;
  height: 100px;
  transform: scale(2) !important;
  backdrop-filter: blur(5px);
}

#mainStickerImage {
  display: none;
  opacity: 0.1;
  transform: scale(0.1);
  transition: all 1.2s ease;
}

.halo {
  font-size: 18px !important;
  color: var(--primary-pink) !important;
  text-align: center;
  margin: 10px 0 20px 0;
  font-weight: 700;
  position: relative !important;
  transform: none !important;
  text-shadow: none !important;
}

#messageBox {
  position: absolute;
  opacity: 0;
  visibility: hidden;
  background: rgba(0, 0, 0, 0.73);
  border-radius: 18px 0 18px 0;
  box-shadow: rgba(255, 255, 255, 0.3) 0px 7px 29px 0px;
  transform: scale(0.1);
  transition: all 1s ease;
  margin: 120px 0 0 0;
  width: 400px;
  text-align: center;
  line-height: 1.3em;
  padding: 20px 25px;
  color: var(--primary-pink) !important;
}

#messageBox::before {
  content: attr(data-text);
  opacity: 0.7;
  position: absolute;
  left: 8px;
  top: 8px;
  font-size: 16px;
}

#messageBox::after {
  content: "";
  position: absolute;
  border: 1px solid #fff;
  border-radius: 18px 0 18px 0;
  inset: -8px;
}

#messageBox p {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4em;
  transition: all 0.5s ease;
  margin: 0;
  color: var(--primary-pink) !important;
  text-shadow: none !important;
}

#messageBox p:not(#interactionInstruction, #primaryMessage, .sty2) {
  display: none;
}

#messageBox > #interactionInstruction {
  display: block;
  text-align: right;
  font-size: 11px;
  font-weight: 400;
  margin-top: 24px;
  color: #fff !important;
  opacity: 0;
  transition: all 0.2s ease;
}

.sty2 {
  font-family: var(--font-cursive);
  font-size: 16px !important;
  color: var(--primary-pink) !important;
}

#actionButtonWrapper {
  position: relative;
  opacity: 0;
  display: flex;
  justify-content: center;
  transform: scale(0.1);
  transition: all 1s ease;
  margin-top: 19px;
  list-style: none;
}

#actionButtonWrapper a {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  border: 1px solid #fff;
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.5);
  color: #fff !important;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: rgba(255, 255, 255, 0.3) 0px 7px 29px 0px;
  transition: all 0.2s ease;
}

.swal2-container {
  background: rgba(0, 0, 0, 0.96) !important;
  backdrop-filter: blur(6px);
}

.swal2-popup {
  background: #0f0f0f !important;
  border-radius: 18px;
  box-shadow: 0 0 40px rgba(255, 158, 203, 0.35);
  color: var(--text-blue) !important;
}

.swal2-title {
  color: var(--soft-pink) !important;
  font-size: 18px !important;
  line-height: 1.3em;
  padding: 15px 30px 0 30px;
}

.swal2-confirm {
  background: linear-gradient(135deg, var(--soft-pink), #ff6fae) !important;
  border-radius: 25px !important;
  box-shadow: 0 0 15px rgba(255, 158, 203, 0.6);
}

.swal2-cancel {
  background: rgba(255, 255, 255, 0.12) !important;
  border-radius: 25px !important;
  border: 1px solid rgba(255, 158, 203, 0.4);
}

@keyframes rto {
  from { transform: scale(1); }
  to { transform: scale(1.1); }
}

.sembunyi, #skipRejectionOverlay, #kado2, #kado3, #waktu {
  display: none !important;
}

/* --- Watermark --- */
.watermark {
  position: fixed;
  bottom: 10px;
  right: 15px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  z-index: 9999;
  pointer-events: none;
  font-family: 'Shippori Antique', sans-serif;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

