/* =========================
   RESET
========================= */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* =========================
   BASE
========================= */
body {
  font-family: 'Poppins', sans-serif;
  background: radial-gradient(circle at top, #ffe6ef, #fff1d6, #fde2e4);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  padding: 20px;
}

.card {
  background: #fff;
  max-width: 460px;
  width: 100%;
  border-radius: 28px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.25);
  overflow: hidden;
  animation: fadeUp 1.2s ease;
}

/* =========================
   HERO
========================= */
header {
  text-align: center;
  padding: 30px 24px;
}

header h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.6rem;
  background: linear-gradient(90deg, #c2185b, #f9a825);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

header p {
  margin-top: 12px;
  color: #555;
}

/* =========================
   MESSAGE
========================= */
.message {
  padding: 20px 26px;
}

.message h2 {
  color: #c2185b;
  font-family: 'Playfair Display', serif;
}

.message p {
  margin-top: 10px;
  line-height: 1.7;
  color: #444;
}

.message .closing {
  margin-top: 16px;
  font-weight: 500;
  color: #7b1e4a;
  font-style: italic;
}

/* =========================
   EVENT
========================= */
.event {
  margin: 10px 20px;
  padding: 18px;
  background: linear-gradient(135deg, #fff0f5, #fff9e6);
  border-radius: 18px;
  border: 1px solid #f3c2d3;
}

.event div {
  margin: 6px 0;
}

/* =========================
   MAP BUTTONS
========================= */
.map-btn-wrapper {
  margin-top: 16px;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.map-btn {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  box-shadow: 0 8px 18px rgba(0,0,0,0.2);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.map-btn:hover {
  transform: translateY(-2px);
  opacity: 0.95;
}

.map-btn.google {
  background: linear-gradient(135deg, #1a73e8, #34a853);
}

.map-btn.apple {
  background: linear-gradient(135deg, #000000, #444444);
}

/* =========================
   SLIDER
========================= */
.slider-wrapper {
  overflow: hidden;
  margin: 24px 0;
}

.slider-track {
  display: flex;
  transition: transform 0.8s ease;
  width: max-content;
}

.slider-track img {
  width: 260px;
  height: 320px;
  margin: 0 16px;
  border-radius: 22px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 18px 40px rgba(0,0,0,0.25);
}

/* =========================
   FOOTER
========================= */
footer {
  text-align: center;
  padding: 20px;
  font-size: 0.85rem;
  color: #666;
}

/* =========================
   ANIMATIONS
========================= */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

/* =========================
   CONFETTI
========================= */
.confetti {
  position: fixed;
  top: -20px;
  width: 8px;
  height: 14px;
  border-radius: 2px;
  z-index: 9999;
  pointer-events: none;
  animation: fall linear infinite;
}

@keyframes fall {
  to {
    transform: translateY(120vh) rotate(360deg);
    opacity: 0;
  }
}

/* =========================
   ROCKET CRACKER
========================= */
.rocket {
  position: fixed;
  bottom: -80px;
  width: 12px;
  height: 80px;
  background: linear-gradient(to top, #ff5722, #ffeb3b);
  border-radius: 6px;
  box-shadow: 0 0 18px rgba(255, 193, 7, 0.9);
  z-index: 10000;
  animation: launch 1.8s ease-out forwards;
}

.rocket::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: 20px;
  background: radial-gradient(circle, #ff9800, transparent);
}

.rocket.left { left: 10%; }
.rocket.right { right: 10%; }

@keyframes launch {
  to { transform: translateY(-85vh); }
}

/* =========================
   BLAST
========================= */
.burst {
  position: fixed;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  z-index: 10000;
  animation: explode 1s ease-out forwards;
}

@keyframes explode {
  from { transform: scale(0.3); opacity: 1; }
  to { transform: scale(7); opacity: 0; }
}

/* =========================
   ACCESSIBILITY
========================= */
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}

/* =========================
   SMALL DEVICES
========================= */
@media (max-width: 360px) {
  header h1 {
    font-size: 2.2rem;
  }
}
