@import url('https://fonts.googleapis.com/css2?family=Alex+Brush&family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400&display=swap');

:root {
  --bg-parchment: #F3EDE3;
  --bg-cream: #FAF7F0;
  --text-primary: #2B2620;
  --text-muted: #8C8377;
  --accent-gold: #B08D57;
  --accent-gold-dark: #8A6C3F;
  --line-hairline: #D8CFC0;

  --font-script: 'Alex Brush', cursive;
  --font-serif: 'Cormorant Garamond', serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg-parchment);
  color: var(--text-primary);
  font-family: var(--font-serif);
  font-size: 18px;
  line-height: 1.7;
}

.app-shell {
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  background: var(--bg-cream);
  padding-bottom: 76px; /* room for bottom nav */
  position: relative;
}

/* ---- Divider motif, echoing the "— ♡ —" on the invitation ---- */
.divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
  color: var(--accent-gold);
}
.divider::before, .divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line-hairline);
}

/* ---- Labels: small-caps serif, mirroring the card's "WITH JOYFUL HEARTS" ---- */
.label {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ---- Hero / names ---- */
.hero {
  text-align: center;
  padding: 48px 24px 32px;
}
.hero .label { margin-bottom: 6px; }
.hero .names {
  font-family: var(--font-script);
  font-size: 56px;
  line-height: 1.1;
  color: var(--text-primary);
}
.hero .amp { display: block; font-size: 32px; margin: 4px 0; color: var(--accent-gold); }
.hero .date { margin-top: 12px; font-style: italic; font-size: 20px; }
.hero .venue { color: var(--text-muted); font-size: 15px; margin-top: 4px; }

.countdown {
  text-align: center;
  margin: 8px 0 0;
  font-size: 15px;
  color: var(--accent-gold-dark);
}

/* ---- Cards / sections ---- */
.section { padding: 8px 24px 24px; }
.card {
  background: var(--bg-parchment);
  border: 1px solid var(--line-hairline);
  border-radius: 10px;
  padding: 16px 18px;
  margin-bottom: 12px;
}
.card-title { font-weight: 600; font-size: 19px; margin: 0 0 4px; }
.card-meta { color: var(--text-muted); font-size: 14px; margin-bottom: 6px; }

/* ---- Live update priority accent ---- */
.card.priority-high { border-color: var(--accent-gold); border-width: 1.5px; }
.pill {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: var(--accent-gold);
  color: var(--bg-cream);
  padding: 2px 8px;
  border-radius: 999px;
  margin-bottom: 6px;
}

/* ---- Buttons ---- */
button, .btn {
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: 0.03em;
  background: var(--accent-gold);
  color: var(--bg-cream);
  border: none;
  border-radius: 8px;
  padding: 12px 20px;
  font-size: 16px;
  cursor: pointer;
}
button:hover, .btn:hover { background: var(--accent-gold-dark); }
button:disabled { opacity: 0.5; cursor: default; }

/* ---- Forms ---- */
input, select, textarea {
  width: 100%;
  font-family: var(--font-serif);
  font-size: 16px;
  padding: 10px 12px;
  border: 1px solid var(--line-hairline);
  border-radius: 8px;
  background: #fff;
  color: var(--text-primary);
  margin-bottom: 12px;
}
label.field-label { display: block; font-size: 14px; color: var(--text-muted); margin-bottom: 4px; }

/* ---- Bottom nav ---- */
.bottom-nav {
  position: fixed;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  display: flex;
  justify-content: space-around;
  background: var(--bg-cream);
  border-top: 1px solid var(--line-hairline);
  padding: 8px 0;
}
.nav-item {
  background: none; border: none; color: var(--text-muted);
  font-family: var(--font-serif); font-size: 12px; letter-spacing: 0.04em;
  text-transform: uppercase; text-align: center; padding: 4px 8px; cursor: pointer;
}
.nav-item.active { color: var(--accent-gold-dark); font-weight: 600; }

.view { display: none; }
.view.active { display: block; }

.empty-state { text-align: center; color: var(--text-muted); padding: 32px 0; font-style: italic; }

.status-banner {
  text-align: center; font-size: 13px; padding: 6px; color: var(--text-muted);
}
