/* =========================================================
   UTSAV · AUGUST 2026 — Coming Soon
   Palette derived from the Utsav logo
   Navy #0a0e24 / #002050 · Gold #f0c000 · Amber #f07000
   Light #f5f0e6
   Premium & restrained: no sparkles, minimal glows.
   ========================================================= */

:root {
  --navy-900: #070a1c;
  --navy-800: #0a0e24;
  --navy-700: #10183a;
  --navy: #002050;
  --gold: #f0c000;
  --gold-soft: #ffd34d;
  --amber: #f07000;
  --ink: #f6f1e7;
  --muted: #b9b3d9;

  --font-display: "Cinzel", "Playfair Display", serif;
  --font-serif: "Playfair Display", serif;
  --font-sans: "Inter", system-ui, sans-serif;
}

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

html, body { height: 100%; }

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--navy-800);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ---------- Background (clean, restrained) ---------- */
.bg { position: fixed; inset: 0; z-index: -1; }
.bg-gradient {
  position: absolute; inset: 0;
  background:
    radial-gradient(900px 600px at 78% -8%, #182450 0%, transparent 62%),
    radial-gradient(700px 500px at -5% 108%, #2a1236 0%, transparent 58%),
    linear-gradient(170deg, var(--navy-900) 0%, var(--navy-800) 45%, var(--navy-700) 100%);
}

/* ---------- Layout ---------- */
.page {
  max-width: 1080px;
  margin: 0 auto;
  padding: 24px 32px 20px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ---------- Hero ---------- */
.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 0;
}

/* Logo on an opaque light panel so the date & venue text is visible */
.logo-wrap {
  background: linear-gradient(160deg, #fdfaf2, #f3ecd9);
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: 24px;
  padding: 13px 18px;
  margin-bottom: 22px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .32);
}
.hero-logo {
  width: min(188px, 42vw);
  height: auto;
  display: block;
}

.title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 3.3vw, 2.5rem);
  line-height: 1.2;
  letter-spacing: .01em;
  margin-bottom: 18px;
}
.title-line { display: block; }
.title .accent {
  font-style: italic;
  font-family: var(--font-serif);
  background: linear-gradient(120deg, var(--gold-soft) 0%, var(--gold) 55%, var(--amber) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  /* ensure the descender of "g" is not clipped */
  padding: 0.02em 0.04em 0.12em;
  margin: 0 -0.04em;
}

/* Date / venue capsule */
.date-badge {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  border: 1px solid rgba(240, 192, 0, .5);
  padding: 9px 22px;
  border-radius: 40px;
  background: rgba(240, 192, 0, .07);
  margin-bottom: 30px;
}
.date-text {
  font-family: var(--font-sans);
  font-size: clamp(.82rem, 1.6vw, 1.02rem);
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--gold-soft);
  white-space: nowrap;
}

/* ---------- Countdown ---------- */
.countdown {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 2.5vw, 16px);
  margin-bottom: 34px;
}
.unit {
  display: flex; flex-direction: column; align-items: center;
  min-width: 64px;
  padding: 10px 8px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, .08);
}
.num {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.6vw, 2.3rem);
  font-weight: 700;
  color: var(--gold-soft);
  line-height: 1;
}
.lbl { margin-top: 6px; font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.sep { font-size: clamp(1.3rem, 3vw, 1.9rem); font-weight: 300; color: rgba(240, 192, 0, .65); }

/* ---------- Social ---------- */
.social { display: flex; gap: 16px; margin-bottom: 4px;justify-content: space-around;width:100% }
.soc {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 50%;
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, .18);
  transition: color .2s, border-color .2s, transform .2s, background .2s;
}
.soc svg { width: 19px; height: 19px; fill: currentColor; }
.soc:hover { color: var(--gold-soft); border-color: var(--gold); transform: translateY(-2px); }

/* ---------- Footer ---------- */
.footer {
  text-align: center;
  font-size: .78rem;
  color: rgba(185, 179, 217, .55);
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .06);
}
.utt { font-weight: 700; font-style: italic; color: var(--gold-soft); }

/* ---------- Responsive ---------- */
@media (max-width: 760px) {
  .page { padding: 20px 20px 18px; min-height: 100vh; }
  .hero { justify-content: flex-start; padding: 30px 0 20px; }
  .logo-wrap { margin-bottom: 18px; }
  .title { margin-bottom: 15px; }
  .date-badge { margin-bottom: 24px; padding: 8px 16px; }
  .countdown { margin-bottom: 28px; }
  .submit-btn { width: 100%!important; }
}

@media (max-width: 420px) {
  .unit { min-width: 56px; padding: 11px 6px; }
  .sep { display: none; }
  .countdown { gap: 8px; }
  .date-text { letter-spacing: .02em; font-size: .78rem; white-space: normal; }
  .submit-btn { width: 100%!important; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; transition-duration: .001s !important; }
}

.submit-btn {
  margin-top: 6px;
  padding: 15px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1rem;
  color: var(--navy-900);
  background: linear-gradient(120deg, var(--gold-soft), var(--gold) 50%, var(--amber));
  border: none;
  border-radius: 40px;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(240, 192, 0, .35);
  transition: transform .15s, box-shadow .25s, filter .25s;
  text-decoration: none;
  width: 40%;
}