/* ===========================================================
   Surprise Box Parties & Event Organising — Coming Soon
   Palette: deep navy + forest green gradient, blush ribbon pink,
   warm gold accent, cream text.
=========================================================== */

:root {
  --navy: #0a1626;
  --forest: #0c2a1e;
  --forest-2: #0e2117;
  --cream: #f4ede0;
  --cream-dim: #cfc6b6;
  --blush: #e8a5a0;
  --gold: #c9a15a;
  --sage: #4a6b58;
  --card-bg: rgba(244, 237, 224, 0.05);
  --card-border: rgba(244, 237, 224, 0.12);
  --bg-image: none;
  --bg-scrim: linear-gradient(rgba(0,0,0,0), rgba(0,0,0,0));
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Outfit', sans-serif;
  color: var(--cream);
  background-image:
    var(--bg-scrim),
    var(--bg-image),
    radial-gradient(ellipse at 15% -10%, rgba(232, 165, 160, 0.10), transparent 45%),
    radial-gradient(ellipse at 90% 110%, rgba(201, 161, 90, 0.10), transparent 50%),
    linear-gradient(150deg, var(--navy) 0%, var(--forest-2) 48%, var(--forest) 75%, var(--navy) 100%);
  background-size: cover, cover, 100% 100%, 100% 100%, 200% 200%;
  background-position: center, center, 0% 0%, 0% 0%, 0% 30%;
  background-repeat: no-repeat, no-repeat, no-repeat, no-repeat, no-repeat;
  overflow-x: hidden;
  position: relative;
}

@media (prefers-reduced-motion: no-preference) {
  body { animation: driftBg 22s ease-in-out infinite alternate; }
}
@keyframes driftBg {
  0%   { background-position: center, center, 0% 0%, 0% 0%, 0% 30%; }
  100% { background-position: center, center, 0% 0%, 0% 0%, 100% 70%; }
}

/* When a photo theme (surprise.js) is active, its own dedicated layer
   handles the background entirely — disable body's gradient so there's
   no ambiguity about which one paints on top. */
body.has-photo-bg {
  background-image: none;
}

#sparkles {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(90px);
  z-index: 0;
  pointer-events: none;
  opacity: 0.35;
}
.glow-a {
  width: 480px; height: 480px;
  top: -140px; left: -140px;
  background: radial-gradient(circle, rgba(232,165,160,0.5), transparent 70%);
}
.glow-b {
  width: 520px; height: 520px;
  bottom: -180px; right: -160px;
  background: radial-gradient(circle, rgba(201,161,90,0.4), transparent 70%);
}

.wrap {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
  padding: 64px 24px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Eyebrow */
.eyebrow-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 40px;
}
.eyebrow {
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cream-dim);
}
.eyebrow-divider {
  color: var(--gold);
  font-size: 12px;
}

/* Logo */
.logo-frame {
  position: relative;
  width: 176px;
  height: 176px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, rgba(244,237,224,0.10), rgba(244,237,224,0.02) 70%);
  border: 1px solid var(--card-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 36px;
  box-shadow: 0 0 60px rgba(232, 165, 160, 0.18), inset 0 0 30px rgba(0,0,0,0.25);
}
.logo-img {
  width: 68%;
  height: auto;
  filter: drop-shadow(0 10px 24px rgba(0,0,0,0.4));
}

@media (prefers-reduced-motion: no-preference) {
  .logo-frame { animation: floatLogo 5s ease-in-out infinite; }
}
@keyframes floatLogo {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Headline */
.headline {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: clamp(34px, 6vw, 54px);
  line-height: 1.15;
  margin: 0 0 22px;
  color: var(--cream);
}
.script {
  font-style: italic;
  font-weight: 500;
  background: linear-gradient(90deg, var(--blush), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.ribbon-rule {
  width: 200px;
  height: 16px;
  margin-bottom: 26px;
}

.tagline {
  font-size: 16px;
  line-height: 1.7;
  color: var(--cream-dim);
  max-width: 460px;
  margin: 0 0 40px;
}

/* Contact card */
.contact-card {
  width: 100%;
  max-width: 380px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 10px;
  backdrop-filter: blur(6px);
  margin-bottom: 36px;
}
.contact-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--cream);
  transition: background 0.2s ease, transform 0.2s ease;
}
.contact-row:hover {
  background: rgba(244, 237, 224, 0.06);
  transform: translateX(2px);
}
.contact-icon {
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(232,165,160,0.18), rgba(201,161,90,0.14));
  color: var(--gold);
}
.contact-icon svg { width: 17px; height: 17px; }
.contact-text {
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.01em;
}

/* Notify form */
.notify-form {
  display: flex;
  width: 100%;
  max-width: 420px;
  gap: 10px;
  margin-bottom: 10px;
}
.notify-form input {
  flex: 1;
  min-width: 0;
  padding: 14px 18px;
  border-radius: 999px;
  border: 1px solid var(--card-border);
  background: rgba(244, 237, 224, 0.06);
  color: var(--cream);
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.notify-form input::placeholder { color: var(--cream-dim); opacity: 0.75; }
.notify-form input:focus {
  border-color: var(--gold);
  background: rgba(244, 237, 224, 0.09);
}
.notify-form button {
  flex: none;
  padding: 14px 24px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(90deg, var(--blush), var(--gold));
  color: #201406;
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.notify-form button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(201, 161, 90, 0.3);
}
.notify-form button:focus-visible,
.notify-form input:focus-visible,
.contact-row:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.form-msg {
  min-height: 20px;
  font-size: 13px;
  color: var(--blush);
  margin: 6px 0 30px;
}

.foot {
  font-size: 12px;
  color: var(--cream-dim);
  opacity: 0.7;
  letter-spacing: 0.03em;
  margin-top: 10px;
}

@media (max-width: 480px) {
  .wrap { padding: 48px 18px 32px; }
  .logo-frame { width: 140px; height: 140px; }
  .notify-form { flex-direction: column; }
  .notify-form button { width: 100%; }
}
