/* ===============================================
   BIRTHDAY INVITATION — Premium Design System
   Inspired by duna.com presentation style
   =============================================== */

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

/* ---------- Design Tokens ---------- */
:root {
  /* Light palette with warm accents */
  --bg-primary: #faf8f5;
  --bg-secondary: #f2efe9;
  --bg-card: rgba(0, 0, 0, 0.03);
  --bg-card-hover: rgba(0, 0, 0, 0.06);
  --bg-glass: rgba(255, 255, 255, 0.7);

  /* Warm gold accent spectrum */
  --accent-gold: #b8860b;
  --accent-gold-light: #9a7209;
  --accent-gold-dim: rgba(184, 134, 11, 0.1);
  --accent-rose: #c9596e;
  --accent-rose-dim: rgba(201, 89, 110, 0.1);

  /* Typography colors */
  --text-primary: #1a1a2e;
  --text-secondary: rgba(26, 26, 46, 0.6);
  --text-tertiary: rgba(26, 26, 46, 0.35);
  --text-accent: var(--accent-gold);

  /* Gradients */
  --gradient-hero: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(184, 134, 11, 0.08) 0%, transparent 70%);
  --gradient-section: radial-gradient(ellipse 60% 50% at 50% 100%, rgba(201, 89, 110, 0.05) 0%, transparent 60%);
  --gradient-gold: linear-gradient(135deg, #b8860b, #d4a853, #b8860b);
  --gradient-text: linear-gradient(135deg, #1a1a2e, #b8860b);

  /* Borders */
  --border-subtle: rgba(0, 0, 0, 0.08);
  --border-accent: rgba(184, 134, 11, 0.25);

  /* Spacing scale */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 8rem;

  /* Typography scale */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.4vw, 1rem);
  --text-base: clamp(1rem, 0.9rem + 0.5vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.6vw, 1.375rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.5vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.5rem + 2.5vw, 3.5rem);
  --text-3xl: clamp(2.5rem, 1.8rem + 3.5vw, 5rem);
  --text-display: clamp(3rem, 2rem + 5vw, 7rem);

  /* Transitions */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --duration-fast: 300ms;
  --duration-normal: 500ms;
  --duration-slow: 800ms;
  --duration-slower: 1200ms;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
}

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

html {
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: var(--accent-gold-dim) transparent;
}

html::-webkit-scrollbar {
  width: 6px;
}
html::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}
html::-webkit-scrollbar-thumb {
  background: rgba(184, 134, 11, 0.3);
  border-radius: 3px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* ---------- Section Base ---------- */
.section {
  min-height: 100vh;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg) var(--space-lg);
  overflow: hidden;
}

.section__inner {
  max-width: 1200px;
  width: 100%;
  z-index: 2;
}

/* ---------- Scroll Progress Indicator ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: var(--gradient-gold);
  z-index: 1000;
  transition: width 150ms linear;
}

/* ---------- Navigation Dots ---------- */
.nav-dots {
  position: fixed;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 100;
}

.nav-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.1);
  border: 1.5px solid rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-out-expo);
  position: relative;
}

.nav-dot::before {
  content: attr(data-label);
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-size: var(--text-xs);
  color: var(--text-secondary);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-fast) var(--ease-out-expo);
}

.nav-dot:hover::before {
  opacity: 1;
}

.nav-dot.active {
  background: var(--accent-gold);
  border-color: var(--accent-gold);
  transform: scale(1.3);
  box-shadow: 0 0 12px rgba(212, 168, 83, 0.4);
}

/* ---------- Animate-In System ---------- */
.animate-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity var(--duration-slow) var(--ease-out-expo),
              transform var(--duration-slow) var(--ease-out-expo);
}

.animate-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-in[data-delay="1"] { transition-delay: 100ms; }
.animate-in[data-delay="2"] { transition-delay: 200ms; }
.animate-in[data-delay="3"] { transition-delay: 300ms; }
.animate-in[data-delay="4"] { transition-delay: 400ms; }
.animate-in[data-delay="5"] { transition-delay: 500ms; }
.animate-in[data-delay="6"] { transition-delay: 600ms; }

.animate-in.from-left {
  transform: translateX(-60px);
}
.animate-in.from-left.visible {
  transform: translateX(0);
}

.animate-in.from-right {
  transform: translateX(60px);
}
.animate-in.from-right.visible {
  transform: translateX(0);
}

.animate-in.scale-in {
  transform: scale(0.85);
}
.animate-in.scale-in.visible {
  transform: scale(1);
}

/* =============================================
   SECTION 1: HERO / WELCOME
   ============================================= */
.section--hero {
  background: var(--bg-primary);
  text-align: center;
  overflow: hidden;
}

.section--hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
  pointer-events: none;
}

.section--hero::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 180px;
  background: linear-gradient(to top, var(--bg-primary), transparent);
  pointer-events: none;
}

.particle {
  background: var(--accent-gold) !important;
}

/* Floating particles background */
.particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.particle {
  position: absolute;
  border-radius: 50%;
  background: var(--accent-gold);
  opacity: 0;
  animation: particleFloat linear infinite;
}

@keyframes particleFloat {
  0% {
    opacity: 0;
    transform: translateY(100vh) scale(0);
  }
  10% {
    opacity: 0.6;
  }
  90% {
    opacity: 0.6;
  }
  100% {
    opacity: 0;
    transform: translateY(-10vh) scale(1);
  }
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 6px 18px;
  border-radius: var(--radius-full);
  background: var(--accent-gold-dim);
  border: 1px solid var(--border-accent);
  font-size: var(--text-xs);
  color: var(--text-accent);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: var(--space-lg);
}

.hero__badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-gold);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}

.hero__title {
  font-family: 'Playfair Display', serif;
  font-size: var(--text-display);
  font-weight: 600;
  line-height: 1.05;
  margin-bottom: var(--space-md);
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__title em {
  font-style: italic;
  -webkit-text-fill-color: var(--accent-gold);
}

.hero__subtitle {
  font-size: var(--text-xl);
  color: var(--text-secondary);
  font-weight: 300;
  max-width: 600px;
  margin: 0 auto var(--space-md);
  line-height: 1.4;
}

.hero__date {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--text-lg);
  color: var(--text-accent);
  font-weight: 500;
  margin-bottom: var(--space-xl);
}

.hero__date-divider {
  width: 40px;
  height: 1px;
  background: var(--accent-gold-dim);
}

.hero__scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  color: var(--text-tertiary);
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: bobUp 2s ease-in-out infinite;
}

.hero__scroll-hint svg {
  width: 20px;
  height: 20px;
  stroke: var(--text-tertiary);
}

@keyframes bobUp {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-8px); }
}

/* =============================================
   SECTION 2: PHOTO MARQUEE
   ============================================= */
.section--photos {
  background: var(--bg-secondary);
  padding: 0 !important;
  cursor: pointer;
  user-select: none;
  overflow: hidden;
}

.section-label {
  display: inline-block;
  font-size: var(--text-xs);
  color: var(--accent-gold);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: var(--space-sm);
  position: relative;
}

.section-label::before,
.section-label::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 30px;
  height: 1px;
  background: var(--border-accent);
}
.section-label::before { right: calc(100% + 12px); }
.section-label::after { left: calc(100% + 12px); }

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: var(--text-2xl);
  font-weight: 600;
  line-height: 1.15;
  color: var(--text-primary);
}

/* --- Marquee Container --- */
.photos__marquee-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
}

.photos__marquee-row {
  overflow: hidden;
  width: 100%;
  flex-shrink: 0;
}

.photos__marquee-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 14px;
  width: max-content;
  will-change: transform;
  animation: marqueeLeft 25s linear infinite;
}

.photos__marquee-track--reverse {
  animation: marqueeRight 22s linear infinite;
}

.photos__marquee-track--slow {
  animation: marqueeLeft 35s linear infinite;
}

@keyframes marqueeLeft {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@keyframes marqueeRight {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}

.photos__marquee-img {
  display: block;
  height: 200px;
  width: 280px;
  max-height: 200px;
  max-width: 280px;
  min-height: 200px;
  min-width: 280px;
  object-fit: cover;
  border-radius: var(--radius-md);
  flex-shrink: 0;
  flex-grow: 0;
}

/* --- Overlay for text readability --- */
.photos__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(242, 239, 233, 0.6);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  z-index: 2;
  pointer-events: none;
  transition: opacity 0.8s ease, backdrop-filter 0.8s ease;
}

.section--photos.text-hidden .photos__overlay {
  opacity: 0.1;
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
}

/* --- Centered Text --- */
.photos__text-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 3;
  text-align: center;
  padding: var(--space-lg);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.section--photos.text-hidden .photos__text-wrapper {
  opacity: 0;
  transform: scale(0.95);
  pointer-events: none;
}

.photos__title {
  font-family: 'Playfair Display', serif;
  font-size: var(--text-display);
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: var(--space-sm);
  color: var(--text-primary);
}

.photos__subtitle {
  font-size: var(--text-xl);
  color: var(--text-secondary);
  font-weight: 300;
  max-width: 500px;
  margin-bottom: var(--space-sm);
}

.photos__hint {
  font-size: var(--text-xs);
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-top: var(--space-xs);
  animation: pulse 2.5s ease-in-out infinite;
}

/* =============================================
   SECTION 3: ABOUT THE PERSON
   ============================================= */
.section--about {
  background: var(--bg-primary);
}

.section--about::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184, 134, 11, 0.04), transparent 70%);
  pointer-events: none;
}

.about__layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-3xl);
  align-items: center;
}

.about__image-wrapper {
  position: relative;
}

.about__image-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
  max-height: 520px;
}

.about__image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slower) var(--ease-out-expo);
}

.about__image-frame:hover img {
  transform: scale(1.05);
}

.about__image-border {
  position: absolute;
  inset: -8px;
  border: 1px solid var(--border-accent);
  border-radius: calc(var(--radius-lg) + 8px);
  pointer-events: none;
  opacity: 0.5;
}

.about__image-accent {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--accent-gold-dim);
  filter: blur(40px);
  pointer-events: none;
}

.about__content {
  padding: var(--space-lg) 0;
}

.about__name {
  font-family: 'Playfair Display', serif;
  font-size: var(--text-2xl);
  font-weight: 600;
  margin-bottom: var(--space-xs);
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about__role {
  font-size: var(--text-sm);
  color: var(--accent-gold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: var(--space-lg);
}

.about__bio {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-lg);
}

.about__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--border-subtle);
}

.stat {
  text-align: center;
}

.stat__number {
  font-family: 'Playfair Display', serif;
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--accent-gold-light);
  display: block;
}

.stat__label {
  font-size: var(--text-xs);
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 4px;
}

/* =============================================
   SECTION 4: WISHES
   ============================================= */
.section--wishes {
  background: var(--bg-secondary);
}

.section--wishes::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 50% at 30% 50%, rgba(212, 168, 83, 0.06) 0%, transparent 60%),
              radial-gradient(ellipse 50% 40% at 70% 60%, rgba(201, 89, 110, 0.04) 0%, transparent 60%);
  pointer-events: none;
}

.wishes__header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.wishes__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 880px;
  margin: 0 auto;
}

.wish-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  position: relative;
  overflow: hidden;
  transition: all var(--duration-normal) var(--ease-out-expo);
}

.wish-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-accent);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
}

.wish-card::before {
  content: '"';
  position: absolute;
  top: 10px;
  right: 20px;
  font-family: 'Playfair Display', serif;
  font-size: 80px;
  color: var(--accent-gold-dim);
  line-height: 1;
  pointer-events: none;
}

.wish-card__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--accent-gold-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
  font-size: 20px;
}

.wish-card__title {
  font-family: 'Playfair Display', serif;
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--space-xs);
  color: var(--text-primary);
}

.wish-card__text {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.7;
}

.wish-card__author {
  margin-top: var(--space-md);
  font-size: var(--text-xs);
  color: var(--accent-gold);
  font-weight: 500;
}

/* =============================================
   SECTION 5: RSVP / REGISTRATION
   ============================================= */
.section--rsvp {
  background: var(--bg-primary);
}

.section--rsvp::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 30%, rgba(212, 168, 83, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.rsvp__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}

.rsvp__info {
  padding-right: var(--space-lg);
}

.rsvp__icon-row {
  display: flex;
  gap: 12px;
  margin-bottom: var(--space-lg);
}

.rsvp__icon-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent-gold-dim);
  border: 1px solid var(--border-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.rsvp__title {
  font-family: 'Playfair Display', serif;
  font-size: var(--text-2xl);
  font-weight: 600;
  margin-bottom: var(--space-sm);
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.rsvp__desc {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}

.rsvp__details {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.rsvp__detail {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

.rsvp__detail-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

/* Form Container */
.rsvp__form-container {
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
}

.rsvp__form-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-gold-dim), transparent);
}

.form__group {
  margin-bottom: var(--space-md);
}

.form__label {
  display: block;
  font-size: var(--text-xs);
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
  margin-bottom: var(--space-xs);
}

.form__input {
  width: 100%;
  padding: 14px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  font-size: var(--text-sm);
  transition: all var(--duration-fast) var(--ease-out-expo);
  outline: none;
}

.form__input::placeholder {
  color: var(--text-tertiary);
}

.form__input:focus {
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 3px var(--accent-gold-dim);
  background: rgba(255, 255, 255, 0.8);
}

/* Radio Group - Attendance */
.form__radio-group {
  display: flex;
  gap: 12px;
}

.form__radio-option {
  flex: 1;
  position: relative;
}

.form__radio-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.form__radio-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: var(--text-sm);
  font-weight: 500;
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-out-expo);
  text-align: center;
}

.form__radio-label:hover {
  border-color: var(--text-tertiary);
  background: var(--bg-card-hover);
}

.form__radio-option input[type="radio"]:checked + .form__radio-label {
  border-color: var(--accent-gold);
  background: var(--accent-gold-dim);
  color: var(--accent-gold-light);
}

.form__radio-option input[type="radio"]:checked + .form__radio-label.label--yes {
  border-color: #4ade80;
  background: rgba(74, 222, 128, 0.1);
  color: #4ade80;
}

.form__radio-option input[type="radio"]:checked + .form__radio-label.label--no {
  border-color: var(--accent-rose);
  background: var(--accent-rose-dim);
  color: var(--accent-rose);
}

/* Submit Button */
.form__submit {
  width: 100%;
  padding: 16px 32px;
  background: var(--gradient-gold);
  border: none;
  border-radius: var(--radius-sm);
  color: var(--bg-primary);
  font-family: 'Inter', sans-serif;
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.05em;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all var(--duration-fast) var(--ease-out-expo);
  margin-top: var(--space-sm);
}

.form__submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(212, 168, 83, 0.3);
}

.form__submit:active {
  transform: translateY(0);
}

.form__submit::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 40%, rgba(255,255,255,0.2) 50%, transparent 60%);
  transform: translateX(-100%);
  transition: transform 0.6s var(--ease-out-expo);
}

.form__submit:hover::after {
  transform: translateX(100%);
}

/* Success State */
.form__success {
  display: none;
  text-align: center;
  padding: var(--space-xl) var(--space-lg);
}

.form__success.show {
  display: block;
  animation: fadeInUp 0.6s var(--ease-out-expo);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.form__success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(74, 222, 128, 0.1);
  border: 2px solid #4ade80;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-md);
  font-size: 28px;
}

.form__success h3 {
  font-family: 'Playfair Display', serif;
  font-size: var(--text-xl);
  margin-bottom: var(--space-xs);
  color: var(--text-primary);
}

.form__success p {
  color: var(--text-secondary);
  font-size: var(--text-sm);
}

/* Download Button */
.download-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-sm);
  color: var(--accent-gold-light);
  font-family: 'Inter', sans-serif;
  font-size: var(--text-xs);
  font-weight: 500;
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-out-expo);
  margin-top: var(--space-md);
  text-decoration: none;
}

.download-btn:hover {
  background: var(--accent-gold-dim);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(212, 168, 83, 0.15);
}

/* Guest Count Badge */
.guest-count {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  color: var(--text-secondary);
  margin-top: var(--space-md);
}

.guest-count__number {
  font-weight: 700;
  color: var(--accent-gold-light);
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  text-align: center;
  padding: var(--space-lg);
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-primary);
}

.footer p {
  font-size: var(--text-xs);
  color: var(--text-tertiary);
}

/* =============================================
   RESPONSIVE — TABLET
   ============================================= */
@media (max-width: 768px) {
  html {
    scroll-snap-type: y proximity;
  }

  .section {
    padding: var(--space-lg) var(--space-md);
    min-height: 100svh;
  }

  .nav-dots {
    right: 12px;
    gap: 10px;
  }

  .nav-dot {
    width: 8px;
    height: 8px;
  }

  .nav-dot::before {
    display: none;
  }

  /* Hero */
  .hero__subtitle {
    font-size: var(--text-lg);
  }

  /* Photos marquee */
  .photos__marquee-img {
    height: 160px;
    width: 224px;
    max-height: 160px;
    max-width: 224px;
    min-height: 160px;
    min-width: 224px;
  }

  .photos__title {
    font-size: var(--text-3xl);
  }

  /* About */
  .about__layout {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    text-align: center;
  }

  .about__image-frame {
    max-height: 400px;
    max-width: 320px;
    margin: 0 auto;
  }

  .about__stats {
    gap: var(--space-sm);
  }

  /* Wishes */
  .wishes__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* RSVP */
  .rsvp__layout {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    text-align: center;
  }

  .rsvp__info {
    padding-right: 0;
  }

  .rsvp__details {
    align-items: center;
  }

  .rsvp__form-container {
    padding: var(--space-lg);
  }
}

/* =============================================
   RESPONSIVE — MOBILE
   ============================================= */
@media (max-width: 480px) {
  :root {
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 5rem;
  }

  .section {
    padding: var(--space-md) var(--space-sm);
  }

  .nav-dots {
    right: 8px;
  }

  .hero__badge {
    font-size: 0.65rem;
    padding: 4px 14px;
  }

  .photos__marquee-img {
    height: 130px;
    width: 182px;
    max-height: 130px;
    max-width: 182px;
    min-height: 130px;
    min-width: 182px;
  }

  .photos__title {
    font-size: var(--text-2xl);
  }

  .about__image-frame {
    max-height: 340px;
    max-width: 280px;
  }

  .about__stats {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }

  .form__radio-group {
    flex-direction: column;
  }

  .rsvp__form-container {
    padding: var(--space-md);
  }

  .rsvp__icon-row {
    justify-content: center;
  }
}

/* ---------- Utility: Hidden form after submit ---------- */
.form--hidden {
  display: none;
}

/* ---------- Smooth entrance for overall page ---------- */
body {
  animation: pageLoad 1s var(--ease-out-expo);
}

@keyframes pageLoad {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
