/* ═══════════════════════════════════════════════════════
   EMERALD GLASSMORPHISM - COMPLETE BOUTIQUE STYLING
═══════════════════════════════════════════════════════ */
:root {
  --emerald-deep: #01180f;
  --emerald-card: rgba(255, 255, 255, 0.03);
  --gold-brilliant: #FFD700;
  --white-linen: #FDF9F3;
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-gold-border: rgba(255, 215, 0, 0.2);
  --ease-lux: cubic-bezier(0.19, 1, 0.22, 1);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  background: var(--emerald-deep);
}

body {
  font-family: 'Cormorant Garamond', serif;
  background: var(--emerald-deep);
  color: var(--white-linen);
  line-height: 1.5;
  display: flex;
  justify-content: center;
}

.mobile-only-app {
  width: 100%;
  max-width: 480px;
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 100px rgba(0, 0, 0, 1);
  padding-bottom: 50px;
}

/* ═══════════════════════════════════════════════════════
   UTILITIES
═══════════════════════════════════════════════════════ */
.caps {
  font-family: 'Jost', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.gold {
  color: var(--gold-brilliant) !important;
}

.bold {
  font-weight: 700;
}

.text-center {
  text-align: center;
}

.text-sm {
  font-size: 0.9rem;
}

.text-xs {
  font-size: 0.75rem;
  font-family: 'Jost', sans-serif;
}

.text-2xl {
  font-size: 1.8rem;
}

.op-3 {
  opacity: 0.3;
}

.op-6 {
  opacity: 0.6;
}

.op-7 {
  opacity: 0.7;
}

.mb-2 {
  margin-bottom: 8px;
}

.mb-3 {
  margin-bottom: 12px;
}

.mb-4 {
  margin-bottom: 16px;
}

.mb-6 {
  margin-bottom: 24px;
}

.mt-1 {
  margin-top: 4px;
}

.mt-2 {
  margin-top: 8px;
}

.mt-4 {
  margin-top: 16px;
}

.mt-6 {
  margin-top: 24px;
}

.mt-8 {
  margin-top: 32px;
}

.w-full {
  width: 100%;
}

.flex-row {
  display: flex;
  align-items: center;
}

.flex-col {
  display: flex;
  flex-direction: column;
}

.gap-4 {
  gap: 16px;
}

.gap-6 {
  gap: 24px;
}

.flex-1 {
  flex: 1;
}

.hidden {
  display: none;
}

.sec-padding {
  padding: 60px 20px;
}

/* ═══════════════════════════════════════════════════════
   ANIMATIONS
═══════════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: 1.2s var(--ease-lux);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

/* ═══════════════════════════════════════════════════════
   TOP NAVIGATION HEADER
═══════════════════════════════════════════════════════ */
.top-nav {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  background: rgba(1, 24, 15, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  z-index: 1000;
}

.nav-brand {
  font-family: 'Great Vibes', cursive;
  font-size: 1.8rem;
  color: var(--gold-brilliant);
  line-height: 1;
}

.nav-menu {
  display: flex;
  gap: 12px;
}

.nav-menu a {
  text-decoration: none;
  color: var(--white-linen);
  font-family: 'Jost', sans-serif;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.8;
  transition: 0.3s;
}

.nav-menu a:hover {
  color: var(--gold-brilliant);
  opacity: 1;
}

/* ═══════════════════════════════════════════════════════
   HERO (GLASSMORPHISM)
═══════════════════════════════════════════════════════ */
.hero.glass-hero {
  position: relative;
  min-height: auto;
  padding: 80px 20px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 0;
}

.glow-1 {
  width: 300px;
  height: 300px;
  background: rgba(255, 215, 0, 0.15);
  top: 10%;
  right: -50px;
}

.glow-2 {
  width: 400px;
  height: 400px;
  background: rgba(2, 54, 32, 0.8);
  bottom: 0;
  left: -100px;
}

.glass-container {
  position: relative;
  z-index: 10;
  width: 100%;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  animation: revealUp 1.5s var(--ease-lux) forwards;
}

@keyframes revealUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.glass-photo {
  width: 100%;
  border-radius: 0;
  overflow: hidden;
  border: none;
  position: relative;
  -webkit-mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
}

.glass-photo img {
  width: 100%;
  display: block;
}

.glass-content {
  text-align: center;
  padding: 10px 10px 20px;
  margin-top: -100px;
  position: relative;
  z-index: 2;
}

.glass-sub {
  font-family: 'Jost', sans-serif;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: rgba(253, 249, 243, 0.6);
  margin-bottom: 20px;
}

.glass-names {
  font-family: 'Great Vibes', cursive;
  font-size: 4.5rem;
  line-height: 1;
  font-weight: 600;
  color: var(--white-linen);
  margin-bottom: 12px;
  text-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

.glass-names em {
  font-family: 'Great Vibes', cursive;
  color: var(--gold-brilliant);
  font-size: 0.8em;
  margin: 0 10px;
}

.glass-date {
  color: var(--gold-brilliant);
  margin-bottom: 20px;
}

/* ═══════════════════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════════════════ */
.btn-glass {
  display: inline-block;
  padding: 18px 40px;
  background: rgba(255, 215, 0, 0.1);
  color: var(--gold-brilliant);
  text-decoration: none;
  font-family: 'Jost', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  border: 1px solid rgba(255, 215, 0, 0.4);
  border-radius: 30px;
  backdrop-filter: blur(10px);
  transition: 0.4s var(--ease-lux);
  text-align: center;
  cursor: pointer;
}

.btn-glass:hover {
  background: var(--gold-brilliant);
  color: #000;
  box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
}

/* Countdown Styling */
.countdown-container {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 16px;
  margin-bottom: 24px;
}

.countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 60px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(5px);
  border: 1px solid var(--glass-border);
  padding: 10px 5px;
  border-radius: 8px;
}

.countdown-item span {
  font-family: 'Jost', sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--gold-brilliant);
  line-height: 1;
}

.countdown-item label {
  font-family: 'Jost', sans-serif;
  font-size: 0.55rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.6;
  margin-top: 4px;
}

.btn-outline-gold {
  display: inline-block;
  padding: 14px 24px;
  background: transparent;
  color: var(--gold-brilliant);
  text-decoration: none;
  font-family: 'Jost', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: 1px solid var(--glass-gold-border);
  border-radius: 8px;
  text-align: center;
  transition: 0.3s;
  cursor: pointer;
}

.btn-outline-gold:hover {
  background: rgba(255, 215, 0, 0.1);
  border-color: var(--gold-brilliant);
}

.btn-xs {
  display: inline-block;
  padding: 10px 16px;
  font-family: 'Jost', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 6px;
  text-align: center;
  cursor: pointer;
  transition: 0.3s;
}

.gold-bg {
  background: var(--gold-brilliant);
  color: #000;
  border: none;
}

.gold-bg:hover {
  box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

/* ═══════════════════════════════════════════════════════
   SECTION HEADERS & SHARED CARDS
═══════════════════════════════════════════════════════ */
.sec-header {
  text-align: center;
  margin-bottom: 40px;
}

.sec-label {
  font-family: 'Jost', sans-serif;
  font-size: 0.7rem;
  color: var(--gold-brilliant);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 10px;
}

.sec-title {
  font-size: 3rem;
  font-weight: 600;
  line-height: 1.1;
}

.glass-card {
  background: var(--emerald-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 30px 20px;
}

/* ═══════════════════════════════════════════════════════
   STORY (EDITORIAL CHAPTER LAYOUT)
═══════════════════════════════════════════════════════ */

/* Story Photo Card */
.story-photo-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 40px;
  border: 1px solid var(--glass-gold-border);
}

.story-photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4/5;
  display: block;
}

.story-photo-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px 20px 20px;
  background: linear-gradient(to top, rgba(1, 24, 15, 0.9), transparent);
  text-align: center;
}

/* Chapter Cards */
.story-chapter {
  background: var(--emerald-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 30px 22px;
  margin-bottom: 20px;
  position: relative;
}

.chapter-num {
  font-family: 'Jost', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: var(--gold-brilliant);
  opacity: 0.5;
  margin-bottom: 8px;
}

.chapter-title {
  font-size: 2rem;
  font-weight: 600;
  color: var(--white-linen);
  margin-bottom: 12px;
}

.chapter-line {
  width: 50px;
  height: 2px;
  background: var(--gold-brilliant);
  margin-bottom: 20px;
  border-radius: 1px;
}

.story-chapter p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 16px;
  opacity: 0.9;
}

.ps-note {
  font-family: 'Jost', sans-serif;
  font-size: 0.85rem !important;
  opacity: 0.6 !important;
  margin-top: 10px;
  padding-top: 15px;
  border-top: 1px solid var(--glass-border);
}

.closing-line {
  font-style: italic;
  opacity: 0.7 !important;
  margin-top: 10px;
}

.story-signature {
  font-family: 'Great Vibes', cursive;
  font-size: 3.5rem;
  color: var(--gold-brilliant);
  text-align: right;
  margin-top: 10px;
  line-height: 1;
}

/* Inline Verse */
.story-verse {
  text-align: center;
  padding: 40px 20px;
  margin-bottom: 20px;
  border-top: 1px solid var(--glass-gold-border);
  border-bottom: 1px solid var(--glass-gold-border);
  position: relative;
}

.story-verse i {
  font-size: 1.5rem;
  margin-bottom: 15px;
  display: block;
  opacity: 0.4;
}

.story-verse blockquote {
  font-size: 1.5rem;
  font-style: italic;
  line-height: 1.5;
  margin: 0 0 15px;
  color: rgba(253, 249, 243, 0.9);
}

.story-verse cite {
  font-family: 'Jost', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: var(--gold-brilliant);
  text-transform: uppercase;
  font-style: normal;
}

/* ═══════════════════════════════════════════════════════
   GALLERY & PORTRAITS
═══════════════════════════════════════════════════════ */
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-bottom: 30px;
}

.gallery-item {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 1/1;
  border: 1px solid var(--glass-border);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s ease;
}

/* Portrait Row */
.portrait-row {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}

.portrait-card {
  flex: 1;
  background: var(--emerald-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-gold-border);
  border-radius: 16px;
  padding: 10px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.portrait-emmie {
  border-color: var(--gold-brilliant);
  box-shadow: 0 0 30px rgba(255, 215, 0, 0.1);
}

.portrait-card img {
  width: 100%;
  aspect-ratio: 2/3;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 12px;
}

.portrait-name {
  font-family: 'Great Vibes', cursive;
  font-size: 2.2rem;
  color: var(--gold-brilliant);
  line-height: 1;
  margin-bottom: 10px;
}

/* ═══════════════════════════════════════════════════════
   FORMS & RSVP
═══════════════════════════════════════════════════════ */
.glass-form-card {
  background: var(--emerald-card);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 30px 20px;
  backdrop-filter: blur(20px);
}

.glass-form-card h3 {
  font-size: 2rem;
  color: var(--gold-brilliant);
  margin-bottom: 5px;
}

.form-sub {
  font-family: 'Jost', sans-serif;
  font-size: 0.8rem;
  opacity: 0.7;
  margin-bottom: 25px;
}

.emerald-form .input-group {
  margin-bottom: 20px;
}

/* Three-Phase Support Framework */
.phase-header {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 10px 0;
  border-bottom: 1px solid var(--glass-border);
}

.phase-num {
  font-family: 'Jost', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--gold-brilliant);
  opacity: 0.8;
  min-width: 30px;
}

.phase-titles h4 {
  font-size: 1.2rem;
  line-height: 1.2;
}

.glass-sub-card {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 20px;
}

.mpesa-card {
  background: rgba(255, 215, 0, 0.05);
  border: 1px solid var(--glass-gold-border);
  border-radius: 12px;
  padding: 15px;
}

.mpesa-logo {
  width: 40px;
  height: 40px;
  background: #2cb42c;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-weight: 900;
  font-size: 1.5rem;
  font-family: sans-serif;
}

.support-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  color: var(--white-linen);
  padding: 8px 14px;
  border-radius: 20px;
  font-family: 'Jost', sans-serif;
  font-size: 0.75rem;
  cursor: pointer;
  transition: 0.3s;
}

.chip:hover {
  border-color: var(--gold-brilliant);
  background: rgba(255, 215, 0, 0.1);
}

.chip.selected {
  background: var(--gold-brilliant);
  color: #000;
  border-color: var(--gold-brilliant);
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
}

.sponsor-list,
.volunteer-grid {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.sponsor-list li,
.volunteer-grid li {
  font-family: 'Jost', sans-serif;
  font-size: 0.9rem;
  opacity: 0.8;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
}

.sponsor-list li:hover,
.volunteer-grid li:hover {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--glass-border);
}

.sponsor-list li.selected,
.volunteer-grid li.selected {
  background: rgba(255, 215, 0, 0.1);
  border-color: var(--gold-brilliant);
  opacity: 1;
}

.sponsor-list i {
  color: var(--gold-brilliant);
  width: 20px;
  text-align: center;
}

.volunteer-grid li::before {
  content: '•';
  color: var(--gold-brilliant);
  font-weight: bold;
}

.input-group label {
  display: block;
  font-family: 'Jost', sans-serif;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
  color: var(--gold-brilliant);
}

.input-group input,
.input-group select,
.input-group textarea {
  width: 100%;
  padding: 15px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  color: var(--white-linen);
  font-family: 'Jost', sans-serif;
  font-size: 0.9rem;
  transition: 0.3s;
}

.input-group input:focus,
.input-group select:focus,
.input-group textarea:focus {
  outline: none;
  border-color: var(--gold-brilliant);
  background: rgba(0, 0, 0, 0.5);
}

.support-opts {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 15px;
}

.radio-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Jost', sans-serif;
  font-size: 0.9rem;
  cursor: pointer;
}

.confirm-message {
  text-align: center;
  padding: 20px;
  background: rgba(255, 215, 0, 0.05);
  border: 1px solid var(--glass-gold-border);
  border-radius: 12px;
}

.confirm-message h4 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.invite-links {
  margin-top: 15px;
  text-align: left;
  font-family: 'Jost', sans-serif;
  font-size: 0.8rem;
}

.invite-links p {
  margin-bottom: 8px;
}

.invite-links i {
  color: var(--gold-brilliant);
  margin-right: 8px;
}

/* ═══════════════════════════════════════════════════════
   DETAILS / MAP
═══════════════════════════════════════════════════════ */
.detail-row {
  display: flex;
  align-items: center;
  gap: 20px;
}

.detail-row p {
  font-size: 1.2rem;
  margin-top: 2px;
}

/* ═══════════════════════════════════════════════════════
   REGISTRY GRID
═══════════════════════════════════════════════════════ */
.prog-bar {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
  margin-top: 10px;
}

.prog-fill {
  height: 100%;
  background: var(--gold-brilliant);
}

.registry-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.reg-item {
  background: var(--emerald-card);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 15px;
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  position: relative;
}

.reg-status {
  position: absolute;
  top: 10px;
  right: 10px;
  font-family: 'Jost', sans-serif;
  font-size: 0.6rem;
  text-transform: uppercase;
  color: var(--gold-brilliant);
  border: 1px solid var(--glass-gold-border);
  padding: 2px 6px;
  border-radius: 10px;
}

.reg-item h4 {
  font-size: 1.4rem;
  margin-top: 15px;
  line-height: 1.2;
}

.reg-bullets {
  margin-left: 15px;
  font-family: 'Jost', sans-serif;
  font-size: 0.75rem;
  opacity: 0.8;
  flex-grow: 1;
  margin-bottom: 15px;
}

.reg-bullets li {
  margin-bottom: 4px;
}

/* ═══════════════════════════════════════════════════════
   UPLOAD ZONE
═══════════════════════════════════════════════════════ */
.upload-zone {
  border: 2px dashed var(--glass-gold-border);
  border-radius: 16px;
  padding: 40px 20px;
  background: rgba(0, 0, 0, 0.2);
}

/* ═══════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════ */
.footer-glass {
  text-align: center;
  padding: 60px 20px 40px;
  border-top: 1px solid var(--glass-border);
  background: var(--emerald-card);
  backdrop-filter: blur(20px);
}

.footer-brand {
  font-family: 'Great Vibes', cursive;
  font-size: 2.5rem;
  color: var(--white-linen);
}

.footer-date {
  margin-top: 5px;
}

.footer-venue {
  font-family: 'Jost', sans-serif;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  opacity: 0.7;
  margin-top: 10px;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px 20px;
}

.footer-links a {
  color: var(--white-linen);
  text-decoration: none;
  font-family: 'Jost', sans-serif;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: 0.3s;
}

.footer-links a:hover {
  color: var(--gold-brilliant);
}

.footer-bottom {
  font-family: 'Jost', sans-serif;
  font-size: 0.7rem;
  opacity: 0.5;
}

/* Custom registry contact cards */
.contact-cards-container {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 0;
  margin-top: 20px;
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  overflow: hidden;
}

.contact-card-glass {
  flex: 1;
  background: rgba(255, 255, 255, 0.02);
  padding: 14px 10px;
  text-align: center;
  transition: all 0.3s var(--ease-lux);
}

.contact-divider {
  width: 1px;
  background: var(--glass-border);
  flex-shrink: 0;
}

.contact-card-glass:hover {
  background: rgba(255, 215, 0, 0.05);
  border-color: var(--glass-gold-border);
}

.contact-label {
  display: block;
  font-family: 'Jost', sans-serif;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.6;
  margin-bottom: 6px;
}

.contact-phone {
  font-family: 'Jost', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gold-brilliant);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}