html, body { margin: 0; padding: 0; background: #fdf6f8; }
* { box-sizing: border-box; }
body { font-family: 'Jost', sans-serif; color: #3d2340; }
a { color: #a4548c; text-decoration: none; }
a:hover { color: #7c3f8c; }
input, textarea, button { font-family: 'Jost', sans-serif; }
[hidden] { display: none !important; }

@keyframes petalFall {
  0%   { transform: translateY(-8vh) translateX(0) rotate(0deg); opacity: 0; }
  8%   { opacity: var(--petal-opacity, 0.9); }
  100% { transform: translateY(108vh) translateX(6vw) rotate(340deg); opacity: 0.15; }
}
@keyframes drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(3%, -4%) scale(1.08); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes slowZoom {
  from { transform: scale(1); }
  to   { transform: scale(1.07); }
}
@keyframes ringSwayL {
  0%, 100% { transform: rotate(-8deg) translateX(0); }
  50% { transform: rotate(4deg) translateX(4px); }
}
@keyframes ringSwayR {
  0%, 100% { transform: rotate(10deg) translateX(0); }
  50% { transform: rotate(-4deg) translateX(-4px); }
}
@keyframes ringShine {
  0%, 100% { opacity: 0.35; transform: rotate(0deg); }
  50% { opacity: 0.9; transform: rotate(24deg); }
}
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(196,110,163,0.35); }
  50% { box-shadow: 0 0 0 14px rgba(196,110,163,0); }
}

/* ---------- gedeeld ---------- */
.eyebrow {
  font-size: 12px; letter-spacing: 0.32em; text-transform: uppercase; color: #a4548c;
}
.eyebrow.center { text-align: center; }
.section-title {
  font-family: 'Cormorant Garamond', serif; font-weight: 500;
  font-size: clamp(34px, 5vw, 48px); color: #3d2340; margin: 14px 0 12px;
}
.section-title.center { text-align: center; margin-bottom: 8px; }
.btn-primary {
  padding: 15px 18px; font-size: 14px; letter-spacing: 0.22em; text-transform: uppercase;
  border: none; border-radius: 4px;
  background: linear-gradient(120deg, #c46ea3, #9a6cc9); color: #fff; cursor: pointer;
}
.btn-primary:hover { filter: brightness(1.08); }
.btn-glow { animation: pulseGlow 3s ease-in-out infinite; }
.btn-outline {
  display: inline-block; padding: 14px 32px; border: 1px solid #a4548c; border-radius: 3px;
  color: #a4548c; font-size: 13px; letter-spacing: 0.22em; text-transform: uppercase;
  transition: all 0.2s;
}
.btn-outline:hover { background: #a4548c; color: #fff; }

.petals { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.petal {
  position: absolute; top: 0;
  border-radius: 62% 38% 55% 45% / 55% 60% 40% 45%;
  animation: petalFall linear infinite;
  filter: blur(0.4px); pointer-events: none;
}

/* ---------- login ---------- */
.login-screen {
  position: relative; min-height: 100vh; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(160deg, #f6dbe8 0%, #ecd6f2 45%, #dccbf0 100%);
}
.login-bg {
  position: absolute; inset: -20%;
  background: radial-gradient(circle at 30% 30%, rgba(228,151,192,0.55), transparent 55%),
              radial-gradient(circle at 72% 65%, rgba(178,140,220,0.5), transparent 50%);
  animation: drift 14s ease-in-out infinite;
}
.login-card {
  position: relative; width: min(420px, 90vw);
  background: rgba(255,255,255,0.82); backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,0.9); border-radius: 6px;
  padding: 56px 44px 48px; text-align: center;
  box-shadow: 0 30px 80px rgba(120,60,120,0.25);
  animation: fadeUp 0.9s ease both;
}
.login-title {
  font-family: 'Cormorant Garamond', serif; font-weight: 500;
  font-size: 44px; line-height: 1.1; color: #3d2340; margin: 18px 0 6px;
}
.login-title em, .hero-title em { font-weight: 400; }
.login-sub { font-size: 15px; font-weight: 300; color: #6e5570; margin: 0 0 30px; }
#login-form { display: flex; flex-direction: column; gap: 14px; }
#login-code {
  padding: 15px 18px; font-size: 17px; letter-spacing: 0.14em; text-align: center;
  text-transform: uppercase; border: 1px solid #dcc3d8; border-radius: 4px;
  background: #fff; color: #3d2340; outline: none;
}
#login-code:focus { border-color: #a4548c; }
.login-error { color: #b8446a; font-size: 14px; margin: 16px 0 0; }

/* ---------- hero ---------- */
.hero {
  position: relative; height: 100vh; min-height: 620px; overflow: hidden;
  display: flex; align-items: center; justify-content: center; text-align: center;
}
#hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-fallback {
  position: absolute; inset: 0;
  background: linear-gradient(150deg, #e9b7d2 0%, #d3a9e6 50%, #b394dd 100%);
  animation: slowZoom 22s ease-in-out infinite alternate;
}
.hero-shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(61,35,64,0.25) 0%, rgba(61,35,64,0.15) 45%, rgba(61,35,64,0.55) 100%);
}
.hero-inner { position: relative; padding: 0 24px; animation: fadeUp 1.2s ease both; }
.hero-welcome {
  font-size: 13px; letter-spacing: 0.4em; text-transform: uppercase;
  color: rgba(255,255,255,0.92); margin-bottom: 22px;
}
.hero-title {
  font-family: 'Cormorant Garamond', serif; font-weight: 500;
  font-size: clamp(56px, 9vw, 120px); line-height: 1.02; color: #fff; margin: 0;
  text-shadow: 0 4px 40px rgba(61,35,64,0.4);
}
.hero-date {
  font-size: clamp(16px, 2vw, 22px); font-weight: 300; letter-spacing: 0.24em;
  text-transform: uppercase; color: rgba(255,255,255,0.95); margin: 26px 0 0;
}
.countdown { display: flex; gap: clamp(18px, 4vw, 44px); justify-content: center; margin-top: 48px; }
.count-unit { text-align: center; min-width: 64px; }
.count-value {
  font-family: 'Cormorant Garamond', serif; font-size: clamp(34px, 4.5vw, 54px);
  font-weight: 500; color: #fff; line-height: 1;
}
.count-label {
  font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase;
  color: rgba(255,255,255,0.8); margin-top: 8px;
}
.scroll-hint {
  position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,0.9); font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase;
}
.sound-toggle {
  position: absolute; bottom: 28px; right: 26px; width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,0.55); border-radius: 50%;
  background: rgba(61,35,64,0.35); backdrop-filter: blur(8px);
  color: #fff; cursor: pointer; transition: background 0.2s;
}
.sound-toggle:hover { background: rgba(61,35,64,0.6); }

/* ---------- locatie ---------- */
.locatie {
  max-width: 1060px; margin: 0 auto; padding: 110px 24px 90px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 56px; align-items: center;
}
.locatie-title { font-size: clamp(38px, 5vw, 56px); margin: 14px 0 20px; line-height: 1.05; }
.locatie-lead { font-size: 17px; font-weight: 300; line-height: 1.7; color: #5c4560; margin: 0 0 26px; }
.locatie-adres { font-size: 16px; line-height: 1.8; color: #3d2340; margin: 0 0 30px; }
.locatie-foto {
  aspect-ratio: 4/5; border-radius: 6px; overflow: hidden;
  box-shadow: 0 24px 60px rgba(120,60,120,0.18);
}
.locatie-foto img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- rsvp ---------- */
.rsvp {
  position: relative; overflow: hidden; padding: 110px 24px;
  background: linear-gradient(150deg, #f3d9e8 0%, #e7d3f2 60%, #d9c8ef 100%);
}
.rsvp-bg {
  position: absolute; inset: -30%;
  background: radial-gradient(circle at 20% 20%, rgba(228,151,192,0.4), transparent 50%),
              radial-gradient(circle at 80% 80%, rgba(178,140,220,0.4), transparent 50%);
  animation: drift 18s ease-in-out infinite;
}
.rsvp-card {
  position: relative; max-width: 620px; margin: 0 auto;
  background: rgba(255,255,255,0.88); backdrop-filter: blur(14px); border-radius: 6px;
  padding: clamp(36px, 6vw, 64px);
  box-shadow: 0 30px 80px rgba(120,60,120,0.2);
}
.rings { display: flex; justify-content: center; margin-bottom: 22px; }
.rings > .ring { position: absolute; }
.rings { position: relative; width: 96px; height: 64px; margin-left: auto; margin-right: auto; }
.ring {
  top: 4px; width: 56px; height: 56px; border-radius: 50%;
  box-shadow: inset 0 0 6px rgba(160,110,20,0.35), 0 2px 8px rgba(160,110,20,0.25);
  transform-origin: 50% 0;
}
.ring-l { left: 0; border: 5px solid #d4a94a; animation: ringSwayL 5s ease-in-out infinite; }
.ring-r { right: 0; border: 5px solid #e3bf6a; animation: ringSwayR 5s ease-in-out infinite; animation-delay: -2.5s; }
.ring-shine {
  position: absolute; top: 3px; width: 14px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.9); animation: ringShine 5s ease-in-out infinite;
}
.shine-l { left: 8px; }
.shine-r { right: 8px; animation-delay: -2.5s; }
.rsvp-sub { font-size: 15px; font-weight: 300; color: #6e5570; text-align: center; margin: 0 0 10px; }
.rsvp-deadline { font-size: 14px; font-weight: 300; color: #a4548c; text-align: center; margin: 0 0 36px; }
#rsvp-form { display: flex; flex-direction: column; gap: 26px; }
.field-label {
  font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase;
  color: #3d2340; margin-bottom: 12px;
}
#rsvp-form input, #rsvp-form textarea {
  width: 100%; padding: 14px 16px; font-size: 15px;
  border: 1px solid #dcc3d8; border-radius: 4px; background: #fff; color: #3d2340; outline: none;
}
#rsvp-form input:focus, #rsvp-form textarea:focus { border-color: #a4548c; }
#rsvp-code { letter-spacing: 0.12em; text-transform: uppercase; }
#rsvp-form textarea { resize: vertical; }
#rsvp-form .btn-primary { padding: 16px; }
.pill-row { display: flex; flex-wrap: wrap; gap: 10px; }
.pill {
  padding: 11px 20px; border-radius: 999px; border: 1px solid #dcc3d8;
  background: #fff; color: #3d2340; font-size: 14px; cursor: pointer; transition: all 0.2s;
}
.pill.selected {
  border-color: transparent;
  background: linear-gradient(120deg, #c46ea3, #9a6cc9); color: #fff;
}
.rsvp-done { text-align: center; padding: 20px 0; }
.rsvp-done-title { font-family: 'Cormorant Garamond', serif; font-size: 34px; color: #3d2340; }
.rsvp-done p { font-size: 15px; font-weight: 300; color: #6e5570; margin-top: 12px; }

/* ---------- contact ---------- */
.contact { max-width: 860px; margin: 0 auto; padding: 100px 24px 110px; text-align: center; }
.contact-lead { font-size: 15px; font-weight: 300; color: #6e5570; margin: 0 auto 44px; max-width: 460px; }
.contact-cards { display: flex; justify-content: center; }
.contact-card {
  min-width: 240px; max-width: 320px; background: #fff; border: 1px solid #f0dcea;
  border-radius: 6px; padding: 36px 28px;
  box-shadow: 0 14px 40px rgba(120,60,120,0.08);
}
.contact-naam { font-family: 'Cormorant Garamond', serif; font-size: 26px; color: #3d2340; }
.contact-tel { font-size: 14px; color: #a4548c; margin-top: 10px; }

/* ---------- footer ---------- */
footer { text-align: center; padding: 44px 24px 54px; background: #3d2340; }
.footer-monogram { font-family: 'Cormorant Garamond', serif; font-size: 24px; color: #f3d9e8; }
.footer-datum {
  font-size: 12px; letter-spacing: 0.3em; text-transform: uppercase;
  color: rgba(243,217,232,0.6); margin-top: 10px;
}
