/* ================================================================
   THE DREAM RAIN — Visual Design System
   Palette : deep plum night sky · warm gold · soft petal rose
   Type    : Playfair Display (display) · DM Sans (body)
   Signature: lantern-glow pulse on the card, star-dust body
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,700;1,400&family=DM+Sans:wght@400;500;600&display=swap');

/* ── Tokens ────────────────────────────────────────────────── */
:root {
  --plum-950: #120720;
  --plum-900: #1a0a2e;
  --plum-800: #2d1454;
  --plum-700: #3d1f6e;
  --plum-600: #5530a0;
  --gold-500: #c9943a;
  --gold-400: #e8b86d;
  --gold-300: #f5d08a;
  --gold-100: #fdf4e0;
  --rose-500: #e8607a;
  --rose-400: #f7a8b8;
  --rose-200: #fde8ee;
  --rose-100: #fff0f4;
  --cream:    #fdf8f2;
  --white:    #ffffff;
  --text-dark: #1a0a2e;
  --text-mid:  #4a3060;
  --text-soft: #7a5c8a;
  --text-mute: #a090b8;

  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --radius-xl: 32px;

  --shadow-card: 0 2px 16px rgba(26,10,46,.1), 0 1px 4px rgba(26,10,46,.06);
  --shadow-lift: 0 8px 32px rgba(26,10,46,.18), 0 2px 8px rgba(26,10,46,.1);
  --shadow-glow: 0 0 60px rgba(232,184,109,.18), 0 8px 40px rgba(26,10,46,.28);
  --shadow-btn:  0 4px 18px rgba(61,31,110,.5);

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;
  --ease: cubic-bezier(.4,0,.2,1);
  --t: .22s var(--ease);
}

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── Body — deep night sky ──────────────────────────────────── */
body {
  font-family: var(--font-body);
  background: var(--plum-950);
  color: var(--text-dark);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 16px 40px;
  position: relative;
  overflow-x: hidden;
}

/* Ambient nebula glow */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 15% 5%,  rgba(109,40,217,.28) 0%, transparent 65%),
    radial-gradient(ellipse 55% 45% at 85% 90%, rgba(232,184,109,.12) 0%, transparent 55%),
    radial-gradient(ellipse 90% 70% at 50% 50%, var(--plum-800) 0%, var(--plum-950) 100%);
  z-index: -2;
  animation: nebula 20s ease-in-out infinite alternate;
}
@keyframes nebula {
  from { transform: scale(1)   rotate(0deg); }
  to   { transform: scale(1.07) rotate(1.5deg); }
}

/* Star dust */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(1.5px 1.5px at 12% 18%, rgba(245,208,138,.8) 0%, transparent 100%),
    radial-gradient(1px   1px   at 28% 72%, rgba(245,208,138,.5) 0%, transparent 100%),
    radial-gradient(2px   2px   at 45% 10%, rgba(247,168,184,.6) 0%, transparent 100%),
    radial-gradient(1px   1px   at 63% 55%, rgba(245,208,138,.4) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 78% 32%, rgba(247,168,184,.5) 0%, transparent 100%),
    radial-gradient(1px   1px   at 88% 78%, rgba(245,208,138,.6) 0%, transparent 100%),
    radial-gradient(1px   1px   at 55% 90%, rgba(247,168,184,.3) 0%, transparent 100%),
    radial-gradient(2px   2px   at 8%  60%, rgba(245,208,138,.3) 0%, transparent 100%);
  z-index: -1;
  animation: twinkle 6s ease-in-out infinite alternate;
}
@keyframes twinkle {
  from { opacity: .5; }
  to   { opacity: 1;  }
}

/* ── Hero Banner (index.html only) ─────────────────────────── */
.hero {
  text-align: center;
  padding: 52px 24px 36px;
  max-width: 560px;
  width: 100%;
  animation: fadeUp .8s var(--ease) both;
}

.hero-badge {
  display: inline-block;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-400);
  background: rgba(232,184,109,.12);
  border: 1px solid rgba(232,184,109,.3);
  border-radius: 99px;
  padding: 5px 16px;
  margin-bottom: 20px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: 3.4rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 16px;
  text-shadow: 0 2px 40px rgba(232,184,109,.3);
  animation: fadeUp .9s var(--ease) .1s both;
}

.hero-sub {
  font-size: 1.05rem;
  color: rgba(253,248,242,.65);
  line-height: 1.65;
  margin-bottom: 28px;
  animation: fadeUp 1s var(--ease) .2s both;
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  animation: fadeUp 1s var(--ease) .3s both;
}
.hero-chips span {
  font-size: .82rem;
  font-weight: 500;
  color: var(--rose-400);
  background: rgba(247,168,184,.1);
  border: 1px solid rgba(247,168,184,.25);
  border-radius: 99px;
  padding: 6px 16px;
}

/* ── Wish page brand tag ────────────────────────────────────── */
.wish-page-brand {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
  color: rgba(245,208,138,.6);
  letter-spacing: .06em;
  padding: 28px 0 0;
  text-align: center;
  animation: fadeUp .7s var(--ease) both;
}

/* ── Main Card ──────────────────────────────────────────────── */
.container {
  background: var(--cream);
  padding: 40px 36px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-glow);
  max-width: 520px;
  width: 100%;
  text-align: center;
  animation: fadeUp .9s var(--ease) both;
  border: 1px solid rgba(232,184,109,.14);
  position: relative;
  overflow: hidden;
  margin-bottom: 12px;
}

/* Lantern glow — the signature element */
.container::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(232,184,109,.18) 0%, transparent 68%);
  pointer-events: none;
  border-radius: 50%;
  animation: lanternPulse 5s ease-in-out infinite alternate;
}
.container::after {
  content: '';
  position: absolute;
  bottom: -60px; left: -60px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(247,168,184,.12) 0%, transparent 70%);
  pointer-events: none;
  border-radius: 50%;
  animation: lanternPulse 7s ease-in-out infinite alternate-reverse;
}
@keyframes lanternPulse {
  from { opacity: .4; transform: scale(.88); }
  to   { opacity: 1;  transform: scale(1.12); }
}

/* ── Typography ─────────────────────────────────────────────── */
.container h1 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--plum-800);
  line-height: 1.25;
  margin-bottom: 24px;
  animation: fadeUp .9s var(--ease) both;
}
h1 { /* fallback for pages without .container wrapping h1 */
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--plum-800);
  line-height: 1.25;
  margin-bottom: 20px;
}
h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--plum-700);
  margin-bottom: 14px;
}
h3 { font-size: 1rem; color: var(--plum-800); margin-bottom: 8px; }

p {
  font-size: .95rem;
  color: var(--text-mid);
  line-height: 1.65;
  margin: 10px 0;
}

/* ── Sign-in Button (landing CTA) ──────────────────────────── */
#signInButton {
  background: linear-gradient(135deg, var(--plum-700) 0%, var(--plum-800) 100%);
  color: var(--gold-300);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: .04em;
  padding: 15px 40px;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: inline-block;
  margin: 4px auto 0;
  box-shadow: var(--shadow-btn);
  transition: transform var(--t), box-shadow var(--t);
  position: relative;
  z-index: 1; /* above the ::before glow */
}
#signInButton:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(61,31,110,.6);
}

/* ── Form ───────────────────────────────────────────────────── */
form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: left;
  animation: fadeUp .9s var(--ease) both;
}

label {
  font-size: .78rem;
  font-weight: 600;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: .08em;
  display: block;
  margin-bottom: 5px;
}

input[type="text"],
input[type="email"],
input[type="date"],
textarea,
select,
#messageDropdown {
  width: 100%;
  padding: 12px 15px;
  border: 1.5px solid #e2d8f0;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--text-dark);
  background: var(--white);
  transition: border-color var(--t), box-shadow var(--t);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}
input[type="text"]:focus,
input[type="email"]:focus,
input[type="date"]:focus,
textarea:focus,
select:focus,
#messageDropdown:focus {
  border-color: var(--gold-400);
  box-shadow: 0 0 0 3px rgba(232,184,109,.22);
}
input::placeholder, textarea::placeholder { color: var(--text-mute); }

textarea { resize: vertical; min-height: 110px; }

/* Custom select chevron */
select, #messageDropdown {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237a5c8a' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
  margin-bottom: 0;
}

/* file input */
input[type="file"] {
  font-size: .85rem;
  color: var(--text-soft);
  padding: 10px 14px;
  border: 1.5px dashed #d0c4e8;
  border-radius: var(--radius-sm);
  background: var(--rose-100);
  cursor: pointer;
  width: 100%;
}

/* ── Buttons (general) ──────────────────────────────────────── */
button {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .95rem;
  padding: 12px 28px;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: transform var(--t), box-shadow var(--t), background var(--t), border-color var(--t);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* Primary submit */
button[type="submit"] {
  background: linear-gradient(135deg, var(--plum-700) 0%, var(--plum-800) 100%);
  color: var(--gold-300);
  width: 100%;
  padding: 15px;
  font-size: 1rem;
  letter-spacing: .04em;
  box-shadow: var(--shadow-btn);
  margin-top: 6px;
}
button[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(61,31,110,.6);
}

/* Sign-out */
#signOutButton {
  background: transparent;
  border: 1.5px solid #d4c4e8;
  color: var(--text-soft);
  padding: 9px 22px;
  font-size: .85rem;
  margin: 14px auto 0;
  display: block;
}
#signOutButton:hover {
  background: var(--rose-100);
  border-color: var(--rose-400);
  color: var(--rose-500);
  transform: none;
  box-shadow: none;
}

/* WhatsApp invite */
#inviteButton {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: var(--white);
  width: 100%;
  margin-top: 24px;
  padding: 14px;
  font-size: 1rem;
  box-shadow: 0 4px 20px rgba(37,211,102,.3);
}
#inviteButton:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(37,211,102,.45);
}

/* Ghost button (used in modal) */
.btn-ghost {
  background: transparent !important;
  border: 1.5px solid #d8cce8 !important;
  color: var(--text-mid) !important;
  box-shadow: none !important;
}
.btn-ghost:hover {
  background: var(--rose-100) !important;
  border-color: var(--rose-400) !important;
  color: var(--rose-500) !important;
  transform: none !important;
  box-shadow: none !important;
}

/* ── Modal ──────────────────────────────────────────────────── */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(18,7,32,.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background: var(--cream);
  border-radius: var(--radius-xl);
  padding: 44px 40px 36px;
  max-width: 380px;
  width: 92%;
  text-align: center;
  position: relative;
  animation: popIn .32s cubic-bezier(.34,1.56,.64,1) both;
  box-shadow: var(--shadow-glow);
  border: 1px solid rgba(232,184,109,.2);
  max-height: 90vh;
  overflow-y: auto;
}
@keyframes popIn {
  from { transform: scale(.84); opacity: 0; }
  to   { transform: scale(1);   opacity: 1; }
}

.modal-icon {
  font-size: 1.8rem;
  color: var(--gold-400);
  margin-bottom: 8px;
  animation: lanternPulse 3s ease-in-out infinite alternate;
}

.modal-content h2 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--plum-800);
  margin-bottom: 6px;
}

.modal-desc {
  font-size: .88rem;
  color: var(--text-soft);
  margin-bottom: 24px;
}

.modal-content button {
  width: 100%;
  margin-bottom: 12px;
  padding: 14px;
  font-size: .95rem;
}

#googleSignIn {
  background: var(--white);
  color: var(--text-dark);
  border: 1.5px solid #e0d6f0;
  box-shadow: var(--shadow-card);
}
#googleSignIn:hover {
  border-color: var(--gold-400);
  box-shadow: 0 4px 16px rgba(232,184,109,.25);
  transform: translateY(-1px);
}

.close {
  position: absolute;
  top: 16px; right: 20px;
  font-size: 1.4rem;
  color: var(--text-mute);
  cursor: pointer;
  line-height: 1;
  transition: color var(--t);
  background: none;
  border: none;
  padding: 0;
  width: auto;
  height: auto;
  display: block;
  font-weight: 400;
}
.close:hover { color: var(--text-dark); transform: none; box-shadow: none; }

.guest-warning {
  font-size: .8rem;
  color: #a04060;
  background: var(--rose-200);
  border-radius: var(--radius-xs);
  padding: 10px 14px;
  margin-top: 4px;
  line-height: 1.5;
}

/* ── Wish Cards (from friends) ──────────────────────────────── */
#wishesSection { margin-top: 28px; text-align: left; }

#wishesContainer {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 14px;
}

.wish-card {
  background: var(--white);
  padding: 16px 18px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  border-left: 3px solid var(--gold-400);
  text-align: left;
  animation: fadeUp .4s var(--ease) both;
}
.wish-card p { margin: 0; font-size: .92rem; color: var(--text-mid); }
.wish-card p:first-child {
  font-weight: 600;
  color: var(--plum-700);
  margin-bottom: 5px;
  font-size: .9rem;
}

/* ── User's saved wish links ────────────────────────────────── */
#userWishesContainer { margin-top: 28px; text-align: left; }
#userWishesContainer h2 { margin-bottom: 12px; }

.wish-link {
  background: var(--white);
  padding: 14px 16px;
  border-radius: var(--radius-md);
  margin-bottom: 10px;
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.wish-link a {
  color: var(--plum-700);
  text-decoration: none;
  font-weight: 600;
  font-size: .92rem;
}
.wish-link a:hover { color: var(--gold-500); }

/* ── Delete Buttons ─────────────────────────────────────────── */
.delete-button, .delete-wish {
  background: transparent;
  border: 1.5px solid #f0b0c0;
  color: #c03060;
  padding: 5px 12px;
  font-size: .78rem;
  border-radius: var(--radius-xs);
  cursor: pointer;
  width: auto;
  transition: all var(--t);
}
.delete-button:hover, .delete-wish:hover {
  background: var(--rose-500);
  border-color: var(--rose-500);
  color: white;
  transform: none;
  box-shadow: none;
}

/* ── Spinner / Status ───────────────────────────────────────── */
.spinner {
  display: inline-block;
  width: 18px; height: 18px;
  border: 2.5px solid rgba(245,208,138,.3);
  border-radius: 50%;
  border-top-color: var(--gold-300);
  animation: spin .8s linear infinite;
  flex-shrink: 0;
}
@keyframes spin { to { transform: rotate(360deg); } }
.loading-text { margin-left: 8px; }

.upload-progress {
  font-size: .84rem; color: var(--text-soft);
  background: var(--rose-100); border-radius: var(--radius-xs); padding: 8px 12px;
}
.error {
  font-size: .84rem; color: #a02848;
  background: var(--rose-200); border-radius: var(--radius-xs); padding: 8px 12px;
}

/* ── Image Upload Preview ───────────────────────────────────── */
#uploadedImagesPreview {
  display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px;
}
#uploadedImagesPreview img {
  width: 68px; height: 68px; object-fit: cover;
  border-radius: var(--radius-sm);
  border: 2px solid #e2d8f0;
  transition: border-color var(--t), transform var(--t);
  margin: 0; box-shadow: none; animation: none;
}
#uploadedImagesPreview img:hover { transform: scale(1.06); border-color: var(--gold-400); }

/* ── Image Selection Grid ───────────────────────────────────── */
#imageSelection {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
  gap: 10px; margin: 10px 0;
}
.image-option { display: flex; flex-direction: column; align-items: center; }
.image-option input { display: none; }
.image-option label img {
  width: 88px; height: 88px; object-fit: cover;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: 2.5px solid transparent;
  transition: border-color var(--t), transform var(--t), box-shadow var(--t);
  margin: 0; box-shadow: none; animation: none;
}
.image-option input:checked + label img {
  border-color: var(--gold-400);
  box-shadow: 0 0 0 3px rgba(232,184,109,.28);
}
.image-option label img:hover { transform: scale(1.06); }

/* ── Carousel ───────────────────────────────────────────────── */
#carousel {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin: 20px 0;
  background: var(--plum-900);
  min-height: 180px;
  display: flex; align-items: center; justify-content: center;
}
#carouselImages { display: flex; width: 100%; }
.carousel-image {
  width: 100%; height: auto; object-fit: cover;
  display: none; margin: 0; border-radius: 0;
  box-shadow: none; animation: none;
}
#prevButton, #nextButton {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(18,7,32,.72);
  color: var(--gold-300);
  border: 1px solid rgba(232,184,109,.28);
  width: 38px; height: 38px; border-radius: 50%;
  padding: 0; font-size: 1rem;
  backdrop-filter: blur(4px);
  z-index: 10; margin: 0;
}
#prevButton { left: 10px; }
#nextButton { right: 10px; }
#prevButton:hover, #nextButton:hover {
  background: var(--plum-700);
  transform: translateY(-50%) scale(1.1);
  box-shadow: none;
}

/* ── Countdown Timer ────────────────────────────────────────── */
#countdown {
  background: linear-gradient(140deg, var(--plum-800) 0%, var(--plum-700) 100%);
  border-radius: var(--radius-md);
  padding: 26px 20px 22px;
  margin: 20px 0;
  border: 1px solid rgba(232,184,109,.1);
}
#countdown h2 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--gold-300);
  margin-bottom: 18px;
  text-align: center;
  letter-spacing: .02em;
}
#timer {
  display: flex;
  justify-content: center;
  gap: 16px;
}
.timer-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--rose-400);
}
.timer-unit span {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--gold-300);
  line-height: 1;
  display: block;
  min-width: 2ch;
  text-align: center;
}

/* Fallback for old wish.html structure (span + text node) */
#timer > span {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold-300);
}
#timer.expired { animation: pulse 1.5s infinite; }
@keyframes pulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.03); } }

/* ── Wish Page — main message ───────────────────────────────── */
#wishContent { margin-bottom: 8px; }
#wishContent h1 {
  font-family: var(--font-display);
  font-size: 2rem; color: var(--plum-800); margin-bottom: 14px;
}
#wishMessage {
  font-size: 1rem; color: var(--text-mid); line-height: 1.75;
  background: var(--rose-100);
  padding: 20px 22px;
  border-radius: var(--radius-md);
  border-left: 3px solid var(--rose-400);
  text-align: left;
}

/* Friends' message boxes */
.wish { margin-bottom: 12px; display: flex; justify-content: center; }
.message-box {
  background: var(--white); padding: 18px 20px;
  border-radius: var(--radius-md); box-shadow: var(--shadow-card);
  width: 100%; word-wrap: break-word; text-align: left;
  border-left: 3px solid var(--gold-400);
}
.name  { font-weight: 600; color: var(--plum-700); font-size: .92rem; margin-bottom: 6px; }
.message { font-size: .9rem; color: var(--text-mid); }

/* ── Output / Messages ──────────────────────────────────────── */
#output { margin-top: 20px; }
#messages { margin-top: 20px; text-align: left; }
#messages p {
  background: var(--white); padding: 13px 16px;
  border-radius: var(--radius-sm); box-shadow: var(--shadow-card);
  border-left: 3px solid var(--rose-400);
  animation: fadeUp .4s var(--ease) both;
  margin: 8px 0; color: var(--text-mid);
}

/* ── Contact Page ───────────────────────────────────────────── */
.contact-content { display: grid; gap: 20px; margin-top: 16px; }

.contact-info {
  background: linear-gradient(140deg, var(--plum-800) 0%, var(--plum-700) 100%);
  padding: 28px 24px; border-radius: var(--radius-md);
  border: 1px solid rgba(232,184,109,.12);
}
.contact-info h2 { font-family: var(--font-display); color: var(--gold-300); font-size: 1.2rem; }
.contact-info p { color: rgba(253,248,242,.72); margin: 8px 0 0; }

.contact-details { margin-top: 20px; display: flex; flex-direction: column; gap: 14px; }
.detail-item { display: flex; align-items: center; gap: 12px; justify-content: center; }
.detail-item a { color: var(--gold-300); text-decoration: none; font-weight: 500; }
.detail-item a:hover { text-decoration: underline; }
.detail-item img { width: 20px; height: 20px; filter: brightness(0) invert(1); margin: 0; box-shadow: none; animation: none; }

.contact-form {
  background: var(--white); padding: 28px 24px;
  border-radius: var(--radius-md); box-shadow: var(--shadow-card);
}
.form-group { margin-bottom: 18px; }
.form-group label { display: block; margin-bottom: 6px; }

.success-message {
  background: #d6f5e3; color: #185c38;
  padding: 14px 18px; border-radius: var(--radius-sm);
  margin-top: 14px; font-weight: 500;
}
.success-message.hidden { display: none !important; }

/* ── Privacy page extras ────────────────────────────────────── */
.container ul, .container ol {
  padding-left: 22px; margin: 10px 0;
}
.container li { font-size: .93rem; color: var(--text-mid); margin-bottom: 6px; line-height: 1.6; }
.container strong { color: var(--plum-800); }
.container h3 { font-size: 1rem; color: var(--plum-700); margin: 14px 0 6px; font-family: var(--font-display); }
.container h4 { font-size: .9rem; color: var(--text-mid); margin: 10px 0 4px; font-weight: 600; }

/* ── Footer ─────────────────────────────────────────────────── */
footer {
  max-width: 520px;
  width: 100%;
  text-align: center;
  padding: 18px 16px;
  margin-top: 4px;
  border-top: 1px solid rgba(232,184,109,.1);
  animation: fadeUp 1s var(--ease) both;
}
footer p { font-size: .8rem; color: rgba(245,208,138,.45); margin: 0; }
footer a { color: rgba(245,208,138,.7); text-decoration: none; transition: color var(--t); }
footer a:hover { color: var(--gold-300); }

/* ── Generic img override (don't animate gallery picks) ─────── */
img {
  max-width: 100%;
  border-radius: var(--radius-sm);
  margin: 10px 0;
  box-shadow: var(--shadow-card);
  animation: fadeUp .8s var(--ease) both;
}

/* ── Keyframes ──────────────────────────────────────────────── */
@keyframes fadeUp {
  from { transform: translateY(18px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes slideIn {
  from { transform: translateY(16px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
@keyframes zoomIn {
  from { transform: scale(.94); opacity: 0; }
  to   { transform: scale(1);   opacity: 1; }
}

/* ── Utility ────────────────────────────────────────────────── */
.hidden { display: none !important; }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 600px) {
  body { padding: 0 12px 32px; }
  .hero { padding: 36px 16px 24px; }
  .hero-title { font-size: 2.4rem; }
  .container { padding: 28px 20px; border-radius: var(--radius-md); }
  .container h1 { font-size: 1.45rem; }
  .timer-unit span { font-size: 1.8rem; }
  #timer { gap: 10px; }
  .modal-content { padding: 36px 24px 28px; }
}
@media (max-width: 768px) {
  .contact-content { grid-template-columns: 1fr; }
}
