@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;600&family=Playfair+Display:ital,wght@0,600;1,400&display=swap');

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: radial-gradient(circle at top left, #2d132c, #1f4068, #162447);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  color: #f8f9fa;
  overflow-x: hidden;
  position: relative;
}

/* Container Emoji Terbang */
#emoji-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 999;
  overflow: hidden;
}

.floating-emoji {
  position: absolute;
  bottom: -50px;
  font-size: 24px;
  user-select: none;
  animation: floatUp linear forwards;
}

/* Glassmorphism Card */
.card {
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 40px 30px;
  border-radius: 24px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
  max-width: 420px;
  width: 100%;
  text-align: center;
  position: relative;
  z-index: 10;
}

.badge {
  display: inline-block;
  padding: 6px 16px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #e5c07b;
  background: rgba(229, 192, 123, 0.1);
  border: 1px solid rgba(229, 192, 123, 0.3);
  border-radius: 20px;
  margin-bottom: 20px;
}

h1 {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 12px;
}

/* Perbaikan CSS Warning di baris ini */
.birthday-title {
  font-size: 32px;
  background: linear-gradient(45deg, #e5c07b, #f3a683);
  -webkit-background-clip: text;
  background-clip: text; 
  -webkit-text-fill-color: transparent;
  margin-bottom: 15px;
}

.subtitle {
  font-size: 14px;
  color: #d1d8e0;
  line-height: 1.6;
  margin-bottom: 28px;
  font-weight: 300;
}

.start-btn {
  background: linear-gradient(135deg, #e5c07b 0%, #b38938 100%);
  color: #1a1a1a;
  border: none;
  padding: 14px 32px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 10px 20px rgba(229, 192, 123, 0.2);
}

.start-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 25px rgba(229, 192, 123, 0.3);
}

.content {
  display: none;
  animation: fadeIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.photo-container {
  width: 130px;
  height: 130px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(229, 192, 123, 0.6);
  padding: 4px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.photo-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.cake-wrapper {
  width: 90px;
  height: 90px;
  margin: 0 auto 15px;
}

.modern-cake {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 5px 10px rgba(0,0,0,0.3));
}

.flame {
  animation: pulse 1.5s infinite alternate;
}

.message {
  font-size: 14px;
  line-height: 1.7;
  color: #e0e0e0;
  margin-bottom: 25px;
  font-weight: 300;
  white-space: pre-line;
}

.wa-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: #25d366;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 25px;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.25);
  width: 100%;
}

.wa-btn:hover {
  background: #20ba5a;
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(37, 211, 102, 0.35);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.2); opacity: 1; }
}

/* Animasi Emoji Melayang Ke Atas */
@keyframes floatUp {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translateY(-110vh) rotate(360deg);
    opacity: 0;
  }
}