/* ===== Base ===== */
body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(180deg, #e8f4fd 0%, #f4eefd 40%, #eaf6eb 100%);
  min-height: 100dvh;
  position: relative;
  -webkit-font-smoothing: antialiased;
  color: #2d2450;
  overflow-x: hidden;
}
/* Geanimeerde Ambient Blobs */
.ambient-blob {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  z-index: 0;
  pointer-events: none;
  opacity: 0.55;
  animation: floatBlob 25s ease-in-out infinite alternate;
}
.ambient-blob.gradient-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.18) 0%, rgba(236, 72, 153, 0.06) 100%);
  top: -10%;
  left: -10%;
  animation-duration: 20s;
}
.ambient-blob.gradient-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, rgba(6, 182, 212, 0.05) 100%);
  bottom: -5%;
  right: -5%;
  animation-duration: 28s;
  animation-delay: -5s;
}
@keyframes floatBlob {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(80px, -60px) scale(1.1); }
  100% { transform: translate(-40px, 40px) scale(0.9); }
}
html { scroll-behavior: smooth; }
h1, h2, h3 { text-wrap: balance; }
::selection { background: rgba(244,116,88,0.15); color: #2d2450; }

/* ===== Navigation ===== */
.site-nav {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
}
.nav-link { color: #2d2450; font-weight: 600; font-size: 0.875rem; transition: color 0.2s; }
.nav-link:hover { color: #f47458; }

/* ===== Hero Background Banner ===== */
.hero-bg-section {
  position: relative;
  background-image: url('./assets/hero-background.png');
  background-size: cover;
  background-position: center;
  width: 100%;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.82) 45%, rgba(255, 255, 255, 0.1) 100%);
  z-index: 1;
}
@media (max-width: 768px) {
  .hero-bg-section {
    background-position: 70% center; /* Schuif wiel iets opzij op mobiel */
  }
  .hero-bg-overlay {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.88) 60%, rgba(255, 255, 255, 0.3) 100%);
  }
}

.hero-gradient-text {
  background: linear-gradient(135deg, #2d2450 0%, #5a5478 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

/* ===== Glass Cards ===== */
.glass-card {
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 8px 32px 0 rgba(45, 36, 80, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.65);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.glass-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px 0 rgba(45, 36, 80, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.85);
}
.glass-card-bright {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(28px); -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 16px 48px 0 rgba(45, 36, 80, 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.75);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.glass-card-bright:hover {
  box-shadow: 0 20px 56px 0 rgba(45, 36, 80, 0.11), inset 0 1px 0 rgba(255, 255, 255, 0.85);
}
.surface-card {
  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

/* ===== How It Works Cards ===== */
.how-card {
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 20px;
  padding: 0;
  overflow: hidden;
  text-align: center;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 6px 20px 0 rgba(45, 36, 80, 0.04);
  display: flex;
  flex-direction: column;
}
.how-card:hover {
  background: rgba(255, 255, 255, 0.95);
  transform: translateY(-6px);
  box-shadow: 0 16px 36px 0 rgba(45, 36, 80, 0.08);
  border-color: rgba(244, 116, 88, 0.3);
}
.how-card .image-container {
  width: 100%;
  aspect-ratio: 1.15;
  overflow: hidden;
  position: relative;
  background: #f0fdf4;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}
.how-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.how-card:hover img {
  transform: scale(1.06);
}
.how-card .card-content {
  padding: 16px 14px 18px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex-grow: 1;
  justify-content: center;
}

/* ===== Buttons ===== */
.btn-primary {
  transition: all 0.2s cubic-bezier(0.34,1.56,0.64,1);
  position: relative; overflow: hidden;
}
.btn-primary::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.25) 0%, transparent 50%);
  opacity: 0; transition: opacity 0.2s;
}
.btn-primary:hover::before { opacity: 1; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(244,116,88,0.25); }
.btn-primary:active { transform: translateY(1px) scale(0.98); }
.btn-secondary { transition: all 0.2s cubic-bezier(0.34,1.56,0.64,1); }
.btn-secondary:hover { transform: translateY(-1px); background: #fff; box-shadow: 0 4px 12px rgba(0,0,0,0.06); }

/* ===== Category Buttons ===== */
.cat-active {
  background: linear-gradient(135deg, #f47458, #e85d3a);
  color: white; box-shadow: 0 6px 20px rgba(244,116,88,0.28);
  transform: translateY(-1px);
}
.cat-inactive {
  background: rgba(255, 255, 255, 0.45); color: #5a5478;
  border: 1px solid rgba(0, 0, 0, 0.05);
}
.cat-inactive:hover {
  background: rgba(255, 255, 255, 0.8); color: #2d2450;
  transform: translateY(-0.5px);
}

/* ===== Step Badge ===== */
.step-badge {
  background: linear-gradient(135deg, #f47458, #e85d3a);
  width: 24px; height: 24px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; color: white; flex-shrink: 0;
}

/* ===== Wheel ===== */
.wheel-glow {
  box-shadow: 0 0 40px rgba(168,85,247,0.12), 0 0 80px rgba(168,85,247,0.06), 0 20px 60px rgba(0,0,0,0.1);
}
.wheel-ring {
  background: conic-gradient(from 0deg, #f47458, #ec4899, #a855f7, #3b82f6, #06b6d4, #22c55e, #eab308, #f47458);
}
.gradient-text-warm {
  background: linear-gradient(135deg, #2d2450 0%, #5a5478 50%, #8e89a8 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

/* ===== Spin Button Glow ===== */
.spin-btn-glow {
  box-shadow: 0 4px 16px rgba(244,116,88,0.25), 0 8px 32px rgba(244,116,88,0.1);
}
.spin-btn-glow:hover {
  box-shadow: 0 8px 24px rgba(244,116,88,0.3), 0 16px 48px rgba(244,116,88,0.12);
}

/* ===== Loader ===== */
.loader {
  border: 4px solid rgba(244,116,88,0.15);
  border-top: 4px solid #f47458;
  border-radius: 50%; width: 44px; height: 44px;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ===== Input Focus ===== */
.postcode-input:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(244,116,88,0.15);
  border-color: #f47458;
}

/* ===== Screen Transitions ===== */
.screen-transition {
  transition: opacity 0.5s cubic-bezier(0.16,1,0.3,1), transform 0.5s cubic-bezier(0.16,1,0.3,1);
}

/* ===== Range Slider ===== */
input[type="range"] {
  -webkit-appearance: none; appearance: none;
  background: rgba(0,0,0,0.08); border-radius: 999px; height: 5px;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 22px; height: 22px; border-radius: 50%;
  background: linear-gradient(135deg, #f47458, #e85d3a);
  cursor: pointer; border: 3px solid white;
  box-shadow: 0 2px 8px rgba(244,116,88,0.3);
  transition: transform 0.15s cubic-bezier(0.34,1.56,0.64,1);
}
input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.2); }
input[type="range"]::-moz-range-thumb {
  width: 22px; height: 22px; border-radius: 50%;
  background: linear-gradient(135deg, #f47458, #e85d3a);
  cursor: pointer; border: 3px solid white;
  box-shadow: 0 2px 8px rgba(244,116,88,0.3);
}
input[type="checkbox"] { accent-color: #f47458; }
select { color-scheme: light; }

/* ===== Confetti Decoration ===== */
.floating-emoji {
  position: fixed; font-size: 1rem;
  opacity: 0.08; pointer-events: none; z-index: 0;
  color: #a855f7;
}

/* ===== Pointer Jiggle ===== */
.pointer-jiggle {
  animation: jiggle 0.15s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}
@keyframes jiggle {
  0%, 100% { transform: translate(-50%, 0) rotate(0deg); }
  25% { transform: translate(-50%, -1px) rotate(-14deg); }
  75% { transform: translate(-50%, 1px) rotate(11deg); }
}

/* ===== Collapsible Filter Drawer ===== */
.filter-drawer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 0;
}
.filter-drawer.open {
  max-height: 600px;
  opacity: 1;
}

/* ===== Footer ===== */
.site-footer {
  background: rgba(255,255,255,0.5);
  border-top: 1px solid rgba(0,0,0,0.06);
}

/* ===== Reduced Motion ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ===== Sticky Nav ===== */
#siteNav { transition: background 0.3s, box-shadow 0.3s, backdrop-filter 0.3s; }
#siteNav.scrolled {
  background: rgba(255,255,255,0.9) !important;
  backdrop-filter: blur(24px) !important;
  -webkit-backdrop-filter: blur(24px) !important;
  border-bottom: 1px solid rgba(0,0,0,0.07);
  position: fixed !important;
  top: 0; left: 0; right: 0;
  box-shadow: 0 2px 20px rgba(45,36,80,0.07);
  z-index: 50;
}

/* ===== Mobile Nav ===== */
#navToggle { cursor: pointer; }
#navToggle.open .nav-bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
#navToggle.open .nav-bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
#navToggle.open .nav-bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); width: 20px; }
.mobile-nav-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.35); backdrop-filter: blur(4px);
  z-index: 99; opacity: 0; pointer-events: none;
  transition: opacity 0.3s;
}
.mobile-nav-overlay.open { opacity: 1; pointer-events: auto; }
.mobile-nav-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: 72%; max-width: 300px;
  background: rgba(255,255,255,0.98); backdrop-filter: blur(24px);
  z-index: 100; padding: 24px 20px;
  transform: translateX(105%);
  transition: transform 0.35s cubic-bezier(0.16,1,0.3,1);
  box-shadow: -20px 0 80px rgba(45,36,80,0.12);
  overflow-y: auto;
}
.mobile-nav-drawer.open { transform: translateX(0); }
.nav-drawer-link {
  display: flex; align-items: center; padding: 14px 16px; border-radius: 14px;
  font-weight: 600; font-size: 0.95rem; color: #2d2450;
  transition: background 0.2s, color 0.2s;
}
.nav-drawer-link:hover { background: rgba(244,116,88,0.08); color: #e85d3a; }

/* ===== Hero Badge ===== */
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: 999px;
  background: rgba(244,116,88,0.08);
  border: 1px solid rgba(244,116,88,0.2);
  color: #e85d3a; font-size: 11px; font-weight: 700; letter-spacing: 0.03em;
  margin-bottom: 16px;
}

/* ===== Shimmer CTA ===== */
.btn-shimmer { overflow: hidden !important; }
.btn-shimmer::after {
  content: ''; position: absolute;
  top: 0; left: -120%; width: 60%; height: 100%;
  background: linear-gradient(105deg, transparent 0%, rgba(255,255,255,0.3) 50%, transparent 100%);
  animation: shimmerSlide 3s ease-in-out infinite;
}
@keyframes shimmerSlide { 0% { left: -120%; } 50%, 100% { left: 150%; } }

/* ===== Form Section Labels ===== */
.form-section-label {
  display: flex; align-items: center; gap: 5px;
  font-size: 10px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: #8e89a8; margin-bottom: 9px;
}
.compact-divider { height: 1px; background: rgba(0,0,0,0.05); margin: 14px 0; }

/* ===== Filter Pills ===== */
.filter-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 15px; border-radius: 999px;
  font-size: 13px; font-weight: 600;
  background: rgba(255,255,255,0.5); border: 1.5px solid rgba(0,0,0,0.08);
  color: #8e89a8; cursor: pointer;
  transition: all 0.2s cubic-bezier(0.34,1.56,0.64,1); user-select: none;
}
.filter-pill:hover { background: rgba(255,255,255,0.9); color: #5a5478; transform: translateY(-1px); }
.filter-pill.active {
  background: rgba(244,116,88,0.1); border-color: rgba(244,116,88,0.4);
  color: #e85d3a; box-shadow: 0 2px 8px rgba(244,116,88,0.12);
}

/* ===== Age Pill Buttons ===== */
.age-btn {
  flex: 1; padding: 9px 6px; border-radius: 12px;
  font-size: 12px; font-weight: 600; text-align: center;
  background: rgba(255,255,255,0.5); border: 1.5px solid rgba(0,0,0,0.08);
  color: #8e89a8; cursor: pointer;
  transition: all 0.2s cubic-bezier(0.34,1.56,0.64,1); user-select: none;
}
.age-btn:hover { background: rgba(255,255,255,0.9); color: #5a5478; transform: translateY(-1px); }
.age-btn.active {
  background: rgba(244,116,88,0.1); border-color: rgba(244,116,88,0.4);
  color: #e85d3a; box-shadow: 0 2px 8px rgba(244,116,88,0.12);
}

/* ===== GPS Pulse ===== */
@keyframes gpsPulseAnim {
  0%, 100% { box-shadow: 0 4px 16px rgba(244,116,88,0.25), 0 0 0 0 rgba(244,116,88,0.25); }
  60% { box-shadow: 0 8px 24px rgba(244,116,88,0.3), 0 0 0 10px rgba(244,116,88,0); }
}
.gps-pulse { animation: gpsPulseAnim 2.5s ease-in-out infinite; }

/* ===== Modal — Bottom Sheet on Mobile ===== */
@media (max-width: 640px) {
  #resultModal { align-items: flex-end !important; padding: 0 !important; }
  #modalContent {
    border-radius: 28px 28px 0 0 !important;
    max-width: 100% !important; width: 100% !important;
  }
}
.modal-drag-handle {
  width: 40px; height: 4px; background: rgba(0,0,0,0.12);
  border-radius: 999px; margin: 0 auto 16px;
}

/* ===== Bento How It Works ===== */
.bento-how {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (min-width: 768px) {
  .bento-how { grid-template-columns: repeat(4, 1fr); }
}
.bento-card {
  background: rgba(255,255,255,0.55);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: 22px; overflow: hidden;
  transition: all 0.35s cubic-bezier(0.16,1,0.3,1);
  box-shadow: 0 6px 20px rgba(45,36,80,0.04);
  display: flex; flex-direction: column;
}
.bento-card:hover {
  background: rgba(255,255,255,0.92);
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 20px 44px rgba(45,36,80,0.1);
  border-color: rgba(244,116,88,0.25);
}
.bento-img-wrap {
  width: 100%; aspect-ratio: 1.1; overflow: hidden;
  transition: transform 0.5s cubic-bezier(0.16,1,0.3,1);
}
.bento-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s cubic-bezier(0.16,1,0.3,1); }
.bento-card:hover .bento-img-wrap img { transform: scale(1.07); }
.bento-body { padding: 14px 14px 18px; text-align: center; }
.bento-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border-radius: 50%;
  font-size: 11px; font-weight: 800; color: white; flex-shrink: 0;
  margin-bottom: 6px;
}

/* ===== Spin Button Bounce Attention ===== */
@keyframes attentionBounce {
  0%, 70%, 100% { transform: translateY(0) scale(1); }
  40% { transform: translateY(-7px) scale(1.03); }
  55% { transform: translateY(-3px) scale(1.01); }
}
.btn-attention { animation: attentionBounce 2.8s ease-in-out infinite; }

/* ===== Number Ticker ===== */
@keyframes tickUp { from { transform: translateY(100%); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.ticker-wrap { overflow: hidden; display: inline-block; }
.ticker-val { display: inline-block; animation: tickUp 0.4s cubic-bezier(0.16,1,0.3,1) forwards; }

/* Winner card — full-bleed */
.rvp-hero{position:relative;width:100%;aspect-ratio:4/5;border-radius:1.25rem;
  overflow:hidden;background:#1c1530;
  box-shadow:0 1px 0 rgba(255,255,255,.6) inset,0 14px 30px -14px rgba(45,36,80,.25)}
.rvp-hero .rvp-img{position:absolute;inset:0;background-size:cover;background-position:center;
  transition:transform 1s cubic-bezier(.16,1,.3,1);filter:saturate(1.05)}
.rvp-hero:hover .rvp-img{transform:scale(1.05)}
.rvp-hero .rvp-scrim{position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(180deg,rgba(20,15,35,0) 25%,rgba(20,15,35,.18) 48%,
    rgba(20,15,35,.65) 75%,rgba(20,15,35,.94) 100%)}
.rvp-hero .rvp-top{position:absolute;top:14px;left:14px;right:14px;display:flex;align-items:center;gap:8px}
.rvp-hero .rvp-winner-pill{display:inline-flex;align-items:center;gap:6px;
  padding:5px 11px 5px 9px;border-radius:999px;
  background:linear-gradient(135deg,#f47458,#e85d3a);color:#fff;
  font-size:10px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;
  box-shadow:0 6px 16px rgba(232,93,58,.45),0 0 0 1px rgba(255,255,255,.4) inset}
.rvp-hero .rvp-close{margin-left:auto;width:34px;height:34px;border-radius:50%;
  background:rgba(255,255,255,.16);backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);border:1px solid rgba(255,255,255,.28);
  color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;
  transition:background .25s,transform .25s}
.rvp-hero .rvp-close:hover{background:rgba(255,255,255,.3);transform:scale(1.05)}
.rvp-hero .rvp-body{position:absolute;left:0;right:0;bottom:0;padding:22px;color:#fff}
.rvp-hero .rvp-kicker{display:inline-flex;align-items:center;gap:8px;
  font-size:10px;font-weight:800;letter-spacing:.22em;text-transform:uppercase;
  color:rgba(255,255,255,.85);margin-bottom:8px}
.rvp-hero .rvp-kicker::before{content:'';width:18px;height:1px;background:#f9a088}
.rvp-hero .rvp-name{margin:0 0 10px;font-family:'Righteous',cursive;font-weight:400;
  font-size:34px;line-height:1.02;text-shadow:0 2px 18px rgba(0,0,0,.45)}
.rvp-hero .rvp-meta{display:flex;align-items:center;gap:12px;flex-wrap:wrap;
  color:rgba(255,255,255,.88);font-size:12.5px;font-weight:600;margin-bottom:14px;
  text-shadow:0 1px 8px rgba(0,0,0,.55)}
.rvp-hero .rvp-meta i{color:#f9a088;margin-right:4px}
.rvp-hero .rvp-meta-sep{width:3px;height:3px;border-radius:50%;background:rgba(255,255,255,.4)}
.rvp-tip{position:relative;padding:12px 14px 13px 42px;border-radius:14px;
  background:rgba(255,255,255,.14);backdrop-filter:blur(18px) saturate(1.15);
  -webkit-backdrop-filter:blur(18px) saturate(1.15);border:1px solid rgba(255,255,255,.22)}
.rvp-tip::before{content:'\f0eb';font-family:'Font Awesome 6 Free';font-weight:900;
  position:absolute;left:12px;top:50%;transform:translateY(-50%);
  width:22px;height:22px;border-radius:50%;
  background:linear-gradient(135deg,#f9a088,#e85d3a);color:#fff;
  display:flex;align-items:center;justify-content:center;font-size:11px;
  box-shadow:0 4px 10px rgba(232,93,58,.5)}
.rvp-tip p{margin:0;font-size:12.5px;line-height:1.45;color:rgba(255,255,255,.95);
  font-weight:500;text-shadow:0 1px 8px rgba(0,0,0,.5)}
