/* ========================================================
   Mijn Hadj & ʿUmrah — styles
   Palet: diepe nachtblauw + warm ivoor/zand + goud-accenten
   ======================================================== */

:root {
  --bg:          #0c1a27;
  --bg-2:        #122539;
  --surface:     #172e46;
  --surface-2:   #1e3a57;
  --ivory:       #f7efe0;
  --ivory-soft:  #efe3cc;
  --sand:        #e8d4ad;
  --gold:        #c8a86a;
  --gold-hi:     #e7c985;
  --green:       #6fbf85;
  --red:         #d7654e;
  --text:        #0c1a27;
  --text-dim:    #4a5b70;
  --text-on-dark: #f7efe0;
  --text-on-dark-dim: rgba(247, 239, 224, 0.72);

  --radius-sm: 8px;
  --radius:    16px;
  --radius-lg: 24px;

  --shadow-soft: 0 4px 14px rgba(0, 0, 0, 0.08);
  --shadow-md:   0 10px 30px rgba(0, 0, 0, 0.18);
  --shadow-lg:   0 24px 60px rgba(0, 0, 0, 0.28);

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

html, body {
  height: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--ivory);
  color: var(--text);
}

body {
  min-height: 100vh;
  overflow-x: hidden;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

/* ========================================================
   Screens
   ======================================================== */
.screen {
  display: none;
  min-height: 100vh;
  min-height: 100dvh;
}

.screen--active { display: block; }

/* ========================================================
   HOME
   ======================================================== */
#screen-home {
  position: relative;
  background: linear-gradient(160deg, #0c1a27 0%, #14304a 55%, #1f4464 100%);
  color: var(--text-on-dark);
  padding: 56px 24px 32px;
  overflow: hidden;
}

.home-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(ellipse 600px 400px at 20% 0%, rgba(231, 201, 133, 0.18), transparent 60%),
    radial-gradient(ellipse 500px 500px at 90% 30%, rgba(111, 191, 133, 0.08), transparent 70%);
  z-index: 0;
}

.home-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'><g fill='none' stroke='%23e7c985' stroke-opacity='0.05' stroke-width='0.6'><polygon points='50,4 96,28 96,72 50,96 4,72 4,28'/><polygon points='50,16 84,34 84,66 50,84 16,66 16,34'/></g></svg>");
  background-size: 140px 140px;
  opacity: 0.35;
}

/* Soft decoratieve glows — premium sfeer */
.home-glow {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
}
.home-glow--top {
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(231, 201, 133, 0.35), transparent 65%);
}
.home-glow--bottom {
  bottom: -180px;
  right: -120px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(95, 163, 119, 0.22), transparent 65%);
}

@keyframes home-rise {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

.home-header {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 520px;
  margin: 0 auto;
  padding: 44px 0 52px;
  animation: home-rise 0.7s var(--ease) both;
}

/* Bismillah met dunne gouden sierlijnen eromheen */
.app-monogram-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 32px;
}
.app-monogram-ornament {
  display: block;
  width: 56px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-hi, #e7c985), transparent);
  opacity: 0.55;
}
.app-monogram-ornament:first-child {
  background: linear-gradient(90deg, transparent, var(--gold-hi, #e7c985));
}
.app-monogram-ornament:last-child {
  background: linear-gradient(90deg, var(--gold-hi, #e7c985), transparent);
}

.app-monogram {
  font-family: 'Amiri', 'Scheherazade New', serif;
  font-size: 30px;
  line-height: 1;
  color: var(--gold-hi);
  opacity: 0.95;
  direction: rtl;
  letter-spacing: 0;
  display: inline-block;
  padding: 2px 4px;
}

.home-title {
  font-size: 52px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.02;
  margin: 0;
  color: var(--ivory);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.home-title__pre {
  font-family: 'Amiri', 'Scheherazade New', serif;
  font-size: 20px;
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--gold-hi);
  opacity: 0.88;
  display: block;
  margin-bottom: 4px;
}

.home-title__main {
  font-size: 52px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.02;
  display: block;
  background-clip: text;
  -webkit-background-clip: text;
}

.home-title .amp {
  color: var(--gold-hi);
  font-weight: 400;
  font-style: italic;
  padding: 0 4px;
  font-family: 'Amiri', 'Scheherazade New', serif;
}

.home-subtitle {
  margin: 14px 0 0;
  font-family: 'Amiri', 'Scheherazade New', serif;
  font-size: 18px;
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: var(--gold-hi);
  text-align: center;
  opacity: 0.92;
  max-width: 380px;
  line-height: 1.4;
}
[data-theme="A"] .home-subtitle { color: var(--accent-deep, #1f4a36); opacity: 0.78; }

.home-choices {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 520px;
  margin: 0 auto;
}

.choice-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 22px 22px 22px 22px;
  background: rgba(247, 239, 224, 0.05);
  border: 1px solid rgba(231, 201, 133, 0.2);
  border-radius: var(--radius-lg);
  text-align: left;
  color: var(--ivory);
  transition: transform 0.3s var(--ease),
              background 0.3s var(--ease),
              border-color 0.3s var(--ease),
              box-shadow 0.3s var(--ease);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  overflow: hidden;
  animation: home-rise 0.7s var(--ease) both;
}
.choice-card:nth-of-type(1) { animation-delay: 0.1s; }
.choice-card:nth-of-type(2) { animation-delay: 0.2s; }

.choice-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at 15% 20%, rgba(231, 201, 133, 0.14), transparent 55%);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
  pointer-events: none;
}

.choice-card:hover {
  background: rgba(247, 239, 224, 0.09);
  border-color: rgba(231, 201, 133, 0.45);
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -12px rgba(0, 0, 0, 0.3);
}
.choice-card:hover::before { opacity: 1; }

.choice-card:active { transform: translateY(-1px); }

.choice-card__icon {
  flex: 0 0 84px;
  width: 84px;
  height: 84px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.06), transparent 60%),
    linear-gradient(155deg, #1a3149 0%, #0b1724 100%);
  border: 1px solid rgba(231, 201, 133, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 6px 16px -6px rgba(0, 0, 0, 0.4);
  position: relative;
  z-index: 1;
}

.choice-card__icon svg { width: 72px; height: 72px; }

/* Afbeeldings-pictogram: het PNG heeft zelf al een ronde crème-achtige
   kaart-achtergrond. We zetten de omringende icon-box op transparant zodat
   het pictogram op zichzelf staat en niet in een "kaart-in-kaart" zit. */
.choice-card__icon--image {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  overflow: hidden;
}
.choice-card__icon-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 16px;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}

/* Thema-overrides: het picto heeft een eigen achtergrond, dus alle thema's
   moeten hun decoratieve box voor .choice-card__icon uitzetten. */
[data-theme="A"] .choice-card__icon--image,
[data-theme="B"] .choice-card__icon--image,
[data-theme="C"] .choice-card__icon--image {
  background: transparent;
  border: none;
  box-shadow: none;
}

.choice-card__text { flex: 1 1 auto; position: relative; z-index: 1; }

.choice-card__eyebrow {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold-hi);
  opacity: 0.85;
  margin-bottom: 6px;
}

.choice-card__title {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 4px;
  line-height: 1.1;
}

.choice-card__meta {
  font-size: 13px;
  color: var(--text-on-dark-dim);
  letter-spacing: 0.01em;
}

.choice-card__arrow {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-hi);
  opacity: 0.7;
  transition: transform 0.3s var(--ease),
              opacity 0.3s var(--ease),
              background 0.3s var(--ease);
  position: relative;
  z-index: 1;
  background: rgba(231, 201, 133, 0.08);
}

.choice-card__arrow svg { width: 18px; height: 18px; }

.choice-card:hover .choice-card__arrow {
  transform: translateX(3px);
  opacity: 1;
  background: rgba(231, 201, 133, 0.18);
}

.home-privacy {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  max-width: 520px;
  margin: 40px auto 0;
  padding: 14px 20px;
  font-size: 12px;
  letter-spacing: 0.01em;
  color: rgba(247, 239, 224, 0.6);
  animation: home-rise 0.8s var(--ease) both;
  animation-delay: 0.3s;
}

.home-privacy svg {
  color: var(--gold-hi);
  opacity: 0.75;
  flex-shrink: 0;
}

/* Persoonlijke groet boven Bismillah */
.home-greeting {
  font-family: 'Amiri', 'Scheherazade New', serif;
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--gold-hi);
  opacity: 0.8;
  margin-bottom: 18px;
  animation: home-rise 0.6s var(--ease) both;
}
.home-greeting__name {
  font-family: 'Inter', sans-serif;
  font-style: normal;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  color: inherit;
  margin-left: 2px;
}

/* ========================================================
   ONBOARDING (eerste launch — persoonlijk profiel)
   ======================================================== */
#screen-onboarding {
  position: relative;
  background: linear-gradient(160deg, #0c1a27 0%, #14304a 55%, #1f4464 100%);
  color: var(--ivory);
  padding: 32px 24px;
  overflow: hidden;
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  min-height: 100dvh;
}
#screen-onboarding.screen--active {
  display: flex;
}

.onboarding-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'><g fill='none' stroke='%23e7c985' stroke-opacity='0.05' stroke-width='0.6'><polygon points='50,4 96,28 96,72 50,96 4,72 4,28'/><polygon points='50,16 84,34 84,66 50,84 16,66 16,34'/></g></svg>");
  background-size: 140px 140px;
  opacity: 0.35;
}

.onboarding-glow {
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
}
.onboarding-glow--top {
  top: -140px;
  left: 50%;
  transform: translateX(-50%);
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(231, 201, 133, 0.35), transparent 65%);
}
.onboarding-glow--bottom {
  bottom: -180px;
  right: -120px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(95, 163, 119, 0.22), transparent 65%);
}

.onboarding-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 440px;
  text-align: center;
  padding: 16px;
  animation: home-rise 0.7s var(--ease) both;
}

.onboarding-monogram-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 28px;
}

.onboarding-salam {
  font-family: 'Amiri', 'Scheherazade New', serif;
  font-size: 16px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--gold-hi);
  opacity: 0.85;
  margin-bottom: 10px;
}

.onboarding-title {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--ivory);
  margin-bottom: 14px;
}

.onboarding-intro {
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-on-dark-dim);
  margin: 0 auto 36px;
  max-width: 360px;
}

.onboarding-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
}

.onboarding-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold-hi);
  opacity: 0.85;
  margin-bottom: 2px;
  text-align: left;
  padding-left: 2px;
}

.onboarding-input {
  width: 100%;
  padding: 16px 18px;
  font-family: inherit;
  font-size: 17px;
  font-weight: 500;
  color: var(--ivory);
  background: rgba(247, 239, 224, 0.07);
  border: 1px solid rgba(231, 201, 133, 0.25);
  border-radius: 14px;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.onboarding-input::placeholder {
  color: rgba(247, 239, 224, 0.38);
  font-weight: 400;
}
.onboarding-input:focus {
  outline: none;
  border-color: rgba(231, 201, 133, 0.6);
  background: rgba(247, 239, 224, 0.11);
  box-shadow: 0 0 0 3px rgba(231, 201, 133, 0.12);
}

.onboarding-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 15px 20px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #0c1a27;
  background: linear-gradient(135deg, #e7c985 0%, #d9b25a 100%);
  border: none;
  border-radius: 14px;
  cursor: pointer;
  margin-top: 10px;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
  box-shadow: 0 6px 20px -4px rgba(217, 178, 90, 0.4);
}
.onboarding-submit:hover { transform: translateY(-1px); box-shadow: 0 10px 26px -4px rgba(217, 178, 90, 0.55); }
.onboarding-submit:active { transform: translateY(0); }

.onboarding-skip {
  display: inline-block;
  width: 100%;
  padding: 10px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  color: rgba(247, 239, 224, 0.55);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s var(--ease);
  text-align: center;
}
.onboarding-skip:hover { color: var(--gold-hi); }

.onboarding-privacy {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
  font-size: 12px;
  line-height: 1.5;
  color: rgba(247, 239, 224, 0.5);
  text-align: left;
}
.onboarding-privacy svg {
  color: var(--gold-hi);
  opacity: 0.7;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Umrah-kaart gebruikt exact dezelfde isometrische stijl als de Hadj-kaart
   (zelfde map-container, zelfde vierkante aspect-ratio, zelfde pin-halo's).
   De nummer-pins staan ingebakken in map-umrah.png — geen extra CSS nodig. */

/* ========================================================
   MAP SCREEN
   ======================================================== */
#screen-map {
  background: var(--ivory);
  min-height: 100vh;
}

.map-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: max(env(safe-area-inset-top), 12px) 16px 12px;
  background: var(--ivory);
  border-bottom: 1px solid rgba(12, 26, 39, 0.08);
}

.btn-back,
.btn-reset {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  transition: background 0.2s var(--ease);
  flex-shrink: 0;
}

.btn-back:hover,
.btn-reset:hover {
  background: rgba(12, 26, 39, 0.06);
}

.btn-back svg,
.btn-reset svg { width: 22px; height: 22px; }

.map-header__titles { flex: 1 1 auto; min-width: 0; }

.map-title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.map-subtitle {
  font-size: 12px;
  color: var(--text-dim);
  margin-top: 2px;
}

/* Progress hero card — boven de kaart */
.progress-hero {
  max-width: 520px;
  margin: 16px auto 0;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  background: linear-gradient(135deg, #12253a 0%, #1e3a57 100%);
  color: var(--ivory);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 28px rgba(12, 26, 39, 0.18);
  border: 1px solid rgba(231, 201, 133, 0.2);
}

.progress-hero__ring {
  position: relative;
  width: 64px;
  height: 64px;
  flex-shrink: 0;
}

.progress-ring {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.progress-ring__track {
  fill: none;
  stroke: rgba(247, 239, 224, 0.12);
  stroke-width: 4;
}

.progress-ring__fill {
  fill: none;
  stroke: var(--gold-hi);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 0 100;
  transition: stroke-dasharray 0.6s var(--ease);
}

.progress-hero__pct {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  color: var(--gold-hi);
  font-feature-settings: "tnum";
  letter-spacing: -0.01em;
}

.progress-hero__text {
  flex: 1 1 auto;
  min-width: 0;
}

.progress-hero__label {
  font-size: 12px;
  color: var(--text-on-dark-dim);
  font-weight: 500;
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}

.progress-hero__next {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0;
  color: var(--ivory);
}

.progress-hero__next-eyebrow {
  display: block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-hi);
  opacity: 0.85;
  margin-bottom: 2px;
}

.progress-hero__next-title {
  display: block;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ivory);
  transition: color 0.2s var(--ease);
  /* één regel; ellipsis bij overflow */
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.progress-hero__next:hover:not(:disabled) .progress-hero__next-title {
  color: var(--gold-hi);
}

.progress-hero__next:disabled { cursor: default; }

.progress-hero__next--done .progress-hero__next-title {
  white-space: normal;
  color: var(--gold-hi);
  font-size: 14px;
}

/* Dunne progress strip, decoratief onder de hero */
.progress-bar {
  position: relative;
  max-width: 520px;
  margin: 8px auto 0;
  height: 4px;
  background: rgba(12, 26, 39, 0.07);
  overflow: hidden;
  border-radius: 2px;
}

.progress-bar__fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-hi) 100%);
  transition: width 0.4s var(--ease);
  border-radius: 2px;
}

.map-wrap {
  padding: 32px 16px 8px;
  display: flex;
  justify-content: center;
  background: var(--ivory);
}

.map-container {
  position: relative;
  width: 100%;
  max-width: 560px;
  aspect-ratio: 1 / 1;   /* finale vierkante kaarten (1254×1254) voor Umrah & Hadj */
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--ivory-soft);
}

.map-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
  pointer-events: none;
  -webkit-user-drag: none;
}

/* Pins: transparante klikbare halo's die over de bestaande afbeelding-pins vallen */
.pin {
  position: absolute;
  transform: translate(-50%, -50%);
  cursor: pointer;
  padding: 0;
  border: none;
  background: none;
  transition: transform 0.2s var(--ease);
  z-index: 2;
  /* Klikbare cirkel die iets groter is dan de afbeelding-pin */
  width: 11%;
  height: 11%;
  border-radius: 50%;
}

.pin__marker {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}

.pin__marker svg { display: none; }

.pin__num {
  position: absolute;
  right: -2px;
  top: -4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0c1a27, #1e3a57);
  color: var(--gold-hi);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  font-feature-settings: "tnum";
  border: 2px solid var(--ivory);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  opacity: 0;          /* standaard verborgen — afbeelding heeft zijn eigen nummers */
  transition: opacity 0.25s var(--ease);
  z-index: 3;
}

/* Actieve pins: zachte stille ring (niet-huidig) */
.pin--active .pin__marker {
  box-shadow:
    inset 0 0 0 2px rgba(200, 168, 106, 0.35),
    0 0 0 3px rgba(200, 168, 106, 0.08);
  animation: none;
}

/* Huidige (eerstvolgende) stap: sterkere ring + puls */
.pin--current .pin__marker {
  box-shadow:
    inset 0 0 0 2px rgba(200, 168, 106, 0.7),
    0 0 0 5px rgba(200, 168, 106, 0.16);
  animation: pin-pulse 2.4s ease-in-out infinite;
}

.pin--active:hover .pin__marker {
  box-shadow:
    inset 0 0 0 2px var(--gold-hi),
    0 0 0 6px rgba(231, 201, 133, 0.35),
    0 0 22px 4px rgba(231, 201, 133, 0.55);
  transform: scale(1.08);
  animation: none;
}

.pin--active:active .pin__marker { transform: scale(1.02); }

.pin--inactive {
  pointer-events: none;
  opacity: 0;
}

/* Voltooide pins: groene accent-ring + checkmark badge */
.pin--completed .pin__marker {
  box-shadow:
    inset 0 0 0 2px #4fa26f,
    0 0 0 4px rgba(79, 162, 111, 0.18);
  animation: none;
}

.pin--completed .pin__num {
  opacity: 1;
  background: linear-gradient(135deg, #2e6b4a, #4fa26f);
  color: #fff;
}

.pin--completed .pin__num::after {
  content: "✓";
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
}

.pin--completed .pin__num-text { display: none; }

@keyframes pin-pulse {
  0%, 100% {
    box-shadow:
      inset 0 0 0 2px rgba(200, 168, 106, 0.55),
      0 0 0 4px rgba(200, 168, 106, 0.12);
  }
  50% {
    box-shadow:
      inset 0 0 0 2px rgba(231, 201, 133, 0.9),
      0 0 0 8px rgba(231, 201, 133, 0.22),
      0 0 18px 2px rgba(231, 201, 133, 0.35);
  }
}

/* Legend / step list */
.map-legend {
  max-width: 520px;
  margin: 0 auto;
  padding: 8px 16px 56px;
}

.step-list {
  list-style: none;
  counter-reset: step;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 16px;
}

.step-list__item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid rgba(12, 26, 39, 0.06);
  border-radius: var(--radius);
  box-shadow: 0 2px 8px rgba(12, 26, 39, 0.03);
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
  text-align: left;
  width: 100%;
}

.step-list__item:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(12, 26, 39, 0.08);
  border-color: rgba(200, 168, 106, 0.5);
}

.step-list__num {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0c1a27, #1e3a57);
  color: var(--gold-hi);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  font-feature-settings: "tnum";
}

.step-list__item--completed .step-list__num {
  background: linear-gradient(135deg, #2e6b4a, #4fa26f);
  color: #fff;
}

.step-list__item--current {
  border-color: rgba(200, 168, 106, 0.55);
  box-shadow: 0 4px 14px rgba(200, 168, 106, 0.15), 0 0 0 1px rgba(200, 168, 106, 0.3);
}

.step-list__item--current .step-list__num {
  background: linear-gradient(135deg, var(--gold), var(--gold-hi));
  color: #0c1a27;
  box-shadow: 0 0 0 3px rgba(231, 201, 133, 0.25);
}

.step-list__body { flex: 1 1 auto; min-width: 0; }

.step-list__title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}

.step-list__sub {
  font-size: 12px;
  color: var(--text-dim);
  margin-top: 2px;
}

.step-list__icons {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.step-list__check {
  width: 22px; height: 22px;
  display: flex; align-items: center; justify-content: center;
  color: var(--green);
  opacity: 0;
  transition: opacity 0.2s var(--ease);
}

.step-list__item--completed .step-list__check { opacity: 1; }

.step-list__note {
  width: 22px; height: 22px;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  background: rgba(200, 168, 106, 0.15);
  border-radius: 50%;
}

/* ========================================================
   DETAIL MODAL
   ======================================================== */
.detail {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s var(--ease);
}

.detail[aria-hidden="false"] {
  pointer-events: auto;
  opacity: 1;
}

.detail__scrim {
  position: absolute;
  inset: 0;
  background: rgba(12, 26, 39, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.detail__panel {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  max-height: 92vh;
  max-height: 92dvh;
  background: var(--ivory);
  border-radius: 28px 28px 0 0;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  transform: translateY(100%);
  transition: transform 0.32s var(--ease);
}

.detail[aria-hidden="false"] .detail__panel { transform: translateY(0); }

@media (min-width: 720px) {
  .detail__panel {
    left: 50%;
    right: auto;
    bottom: 4vh;
    transform: translate(-50%, 100vh);
    width: 640px;
    max-width: 92vw;
    border-radius: 28px;
  }
  .detail[aria-hidden="false"] .detail__panel { transform: translate(-50%, 0); }
}

.detail__header {
  padding: 20px 20px 18px;
  border-bottom: 1px solid rgba(12, 26, 39, 0.06);
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: linear-gradient(180deg, #fff 0%, rgba(247, 239, 224, 0.5) 100%);
  border-radius: 28px 28px 0 0;
  position: sticky;
  top: 0;
  z-index: 2;
}

.detail__header::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 42px;
  height: 4px;
  background: rgba(12, 26, 39, 0.14);
  border-radius: 2px;
}

.btn-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(12, 26, 39, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  transition: background 0.2s var(--ease);
}

.btn-close:hover { background: rgba(12, 26, 39, 0.12); }
.btn-close svg { width: 18px; height: 18px; }

.detail__header-text {
  flex: 1;
  padding-top: 10px;
  padding-right: 36px;
}

.detail__eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}

.detail__title {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: var(--text);
}

.detail__subtitle {
  font-size: 14px;
  color: var(--text-dim);
  margin-top: 4px;
  line-height: 1.4;
}

.detail__body {
  flex: 1;
  overflow-y: auto;
  padding: 8px 20px 24px;
  -webkit-overflow-scrolling: touch;
}

.detail__section {
  margin-top: 28px;
}

.detail__section:first-child { margin-top: 24px; }

.detail__section-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.detail__section-title::before {
  content: "";
  width: 16px;
  height: 1.5px;
  background: var(--gold);
  opacity: 0.7;
}

/* Wat doen — checklist */
.do-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.do-list li {
  display: flex;
  gap: 12px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--text);
  padding: 12px 14px;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid rgba(12, 26, 39, 0.06);
}

.do-list li::before {
  content: "";
  flex: 0 0 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  margin-top: 8px;
}

/* Regels — per status */
.rules-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rule {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 10px;
  padding: 12px 14px;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid rgba(12, 26, 39, 0.06);
  font-size: 14px;
  line-height: 1.5;
  color: var(--text);
}

/* Korte uitleg achter de badge, bv. (verplicht), (aanbevolen), (verboden) */
.rule__category {
  flex-shrink: 0;
  font-size: 12px;
  font-style: italic;
  color: rgba(74, 91, 84, 0.85);
  margin-left: -4px;
}

.rule__text {
  flex: 1 1 100%;
  min-width: 0;
}

.rule__badge {
  flex-shrink: 0;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 6px;
  height: fit-content;
  line-height: 1;
  white-space: nowrap;
}

.rule__badge--fard        { background: #d7654e; color: #fff; }
.rule__badge--waadjib     { background: #e08837; color: #fff; }
.rule__badge--sunnah      { background: #4a9e69; color: #fff; }
.rule__badge--mandoeb     { background: #5c9ab8; color: #fff; }
.rule__badge--makroeh     { background: #a07b4b; color: #fff; }
.rule__badge--haraam      { background: #7a2e20; color: #fff; }
.rule__badge--mubaah,
.rule__badge--toegestaan  { background: #89a17a; color: #fff; }
.rule__badge--letop,
.rule__badge--uitzondering,
.rule__badge--ongeldig    { background: #0c1a27; color: var(--gold-hi); }

/* Dua card */
.dua {
  background: linear-gradient(180deg, #fff 0%, #fbf6ea 100%);
  border: 1px solid rgba(200, 168, 106, 0.35);
  border-radius: var(--radius);
  padding: 18px 18px 16px;
  margin-bottom: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.dua__title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.dua__title-text { flex: 1; }

.btn-audio {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  background: #0c1a27;
  color: var(--gold-hi);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}

.btn-audio:hover { background: #1e3a57; transform: translateY(-1px); }
.btn-audio:active { transform: translateY(0); }
.btn-audio svg { width: 12px; height: 12px; }

.btn-audio.is-playing {
  background: var(--gold);
  color: var(--bg);
}

.btn-audio.is-playing .btn-audio__icon-play { display: none; }
.btn-audio .btn-audio__icon-pause { display: none; }
.btn-audio.is-playing .btn-audio__icon-pause { display: inline; }

.dua__arabic {
  font-family: 'Amiri', 'Scheherazade New', serif;
  font-size: 26px;
  line-height: 1.9;
  color: var(--text);
  direction: rtl;
  text-align: right;
  margin-bottom: 14px;
  font-weight: 400;
  letter-spacing: 0;
  word-spacing: 0.05em;
  padding-bottom: 14px;
  border-bottom: 1px dashed rgba(200, 168, 106, 0.4);
}

.dua__translit {
  font-size: 13px;
  font-style: italic;
  color: var(--text-dim);
  margin-bottom: 10px;
  line-height: 1.5;
}

.dua__translation {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text);
}

.dua__translation::before {
  content: "Vertaling · ";
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-right: 2px;
}

/* Tips */
.tips-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tips-list li {
  display: flex;
  gap: 10px;
  padding: 12px 14px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text);
  background: linear-gradient(180deg, #fcf7e8 0%, #f8eed1 100%);
  border-radius: var(--radius);
  border: 1px solid rgba(200, 168, 106, 0.25);
}

.tips-list li::before {
  content: "💡";
  flex-shrink: 0;
  font-size: 15px;
  line-height: 1.4;
  filter: grayscale(0);
}

/* Mijn notities */
.notes {
  background: #fff;
  border: 1px solid rgba(200, 168, 106, 0.35);
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.notes__input {
  width: 100%;
  min-height: 96px;
  border: none;
  outline: none;
  resize: vertical;
  font-family: inherit;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text);
  background: transparent;
  padding: 2px;
  font-weight: 400;
}

.notes__input::placeholder {
  color: rgba(74, 91, 112, 0.6);
  font-style: italic;
  font-size: 13px;
}

.notes__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed rgba(200, 168, 106, 0.3);
  font-size: 11px;
  color: var(--text-dim);
}

.notes__status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--text-dim);
}

.notes__status svg {
  color: var(--gold);
  opacity: 0.8;
}

.notes__saved {
  color: var(--green);
  font-weight: 600;
  opacity: 0.9;
}

.meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(12, 26, 39, 0.05);
  color: var(--text-dim);
}

.meta-chip strong { color: var(--text); font-weight: 600; }

/* Footer */
.detail__footer {
  padding: 14px 20px max(env(safe-area-inset-bottom), 14px);
  border-top: 1px solid rgba(12, 26, 39, 0.06);
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: sticky;
  bottom: 0;
}

.complete-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
  padding: 4px 0;
}

.complete-toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.complete-toggle__box {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  border: 2px solid rgba(12, 26, 39, 0.2);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
  flex-shrink: 0;
}

.complete-toggle__box::after {
  content: "";
  width: 5px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) scale(0);
  transition: transform 0.2s var(--ease);
  margin-top: -2px;
}

.complete-toggle input:checked + .complete-toggle__box {
  border-color: var(--green);
  background: var(--green);
}

.complete-toggle input:checked + .complete-toggle__box::after {
  transform: rotate(45deg) scale(1);
}

.complete-toggle__text {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}

.detail__nav {
  display: flex;
  gap: 10px;
}

.btn-nav {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 46px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  background: rgba(12, 26, 39, 0.06);
  color: var(--text);
  transition: background 0.2s var(--ease);
}

.btn-nav:hover:not(:disabled) { background: rgba(12, 26, 39, 0.1); }
.btn-nav:disabled { opacity: 0.35; cursor: not-allowed; }

.btn-nav svg { width: 16px; height: 16px; }

.btn-nav--primary {
  background: linear-gradient(135deg, #0c1a27, #1e3a57);
  color: var(--ivory);
}

.btn-nav--primary:hover:not(:disabled) {
  background: linear-gradient(135deg, #14304a, #245073);
}

/* ========================================================
   TOAST
   ======================================================== */
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 40px);
  padding: 12px 20px;
  background: #0c1a27;
  color: var(--ivory);
  font-size: 13px;
  font-weight: 500;
  border-radius: 999px;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
  z-index: 200;
  max-width: calc(100% - 32px);
  text-align: center;
}

.toast--show {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ========================================================
   MEDIA — smaller phones
   ======================================================== */
@media (max-width: 380px) {
  .home-title { font-size: 40px; }
  .home-title__main { font-size: 40px; }
  .home-title__pre { font-size: 18px; }
  .app-monogram-ornament { width: 40px; }
  .choice-card { gap: 16px; padding: 18px; }
  .choice-card__icon { flex: 0 0 72px; width: 72px; height: 72px; }
  .choice-card__icon svg { width: 60px; height: 60px; }
  .choice-card__title { font-size: 22px; }
  .dua__arabic { font-size: 22px; line-height: 1.8; }
  .detail__title { font-size: 20px; }
}

/* ========================================================
   DESKTOP — wider layout
   ======================================================== */
@media (min-width: 900px) {
  /* Map-pagina, content beperken op brede schermen */
  .map-wrap { padding: 48px 24px 16px; }
  .map-container { max-width: 640px; }
  .map-legend { max-width: 640px; }

  /* Map-header content centreren binnen brede header */
  .map-header {
    padding-left: max(env(safe-area-inset-left), 16px);
    padding-right: max(env(safe-area-inset-right), 16px);
  }
  .map-header > * { max-width: 880px; margin-left: auto; margin-right: auto; }
  .map-header { justify-content: center; }
  .map-header__titles { max-width: 740px; }

  /* Progress hero, gecentreerd en max-width */
  .progress-hero { max-width: 740px; margin-left: auto; margin-right: auto; }
  .progress-bar { max-width: 740px; margin-left: auto; margin-right: auto; }

  /* Home-content op desktop, iets ruimere centrering */
  .home-choices { max-width: 560px; }
  .choice-card { padding: 26px 28px; }

  /* Onboarding-card iets ruimer */
  .onboarding-card { max-width: 480px; }

  /* Intro op desktop, mooi gecentreerd met meer adem */
  .intro-scroll { max-width: 720px; }
}

@media (min-width: 1200px) {
  /* Op zeer brede schermen, content niet uitrekken */
  .home-header,
  .home-choices,
  .map-header,
  .progress-hero,
  .progress-bar,
  .map-wrap,
  .map-legend {
    margin-left: auto;
    margin-right: auto;
  }
}

/* ========================================================
   THEME A — "Oase" — warm crème, dadelpalm-groen, woestijnzand
   Groen als kleur van Islam, passend bij de isometrische kaart
   ======================================================== */
:root[data-theme="A"] {
  --bg:           #faf6ed;
  --bg-2:         #f2e8d4;
  --surface:      #fffaf0;
  --surface-2:    #f6ecd8;
  --ivory:        #fffaf0;
  --ivory-soft:   #f2e8d4;
  --sand:         #e9d6ac;
  --gold:         #3d7a4f;      /* oase-groen (dadelpalm) */
  --gold-hi:      #5fa377;
  --green:        #5a8c6b;
  --red:          #a23f28;
  --text:         #3d2817;
  --text-dim:     #7a5e43;
  --text-on-dark: #3d2817;
  --text-on-dark-dim: rgba(61, 40, 23, 0.7);
}

[data-theme="A"] html, [data-theme="A"] body { background: var(--bg); color: var(--text); }

[data-theme="A"] #screen-home,
[data-theme="A"] #screen-onboarding {
  background: linear-gradient(160deg, #faf6ed 0%, #f2e0c2 55%, #e9c89a 100%);
  color: var(--text);
}
[data-theme="A"] .home-greeting { color: var(--gold); }
[data-theme="A"] .onboarding-salam { color: var(--gold); }
[data-theme="A"] .onboarding-title { color: var(--text); }
[data-theme="A"] .onboarding-intro { color: rgba(61, 40, 23, 0.7); }
[data-theme="A"] .onboarding-label { color: var(--gold); }
[data-theme="A"] .onboarding-input {
  color: var(--text);
  background: rgba(255, 250, 240, 0.7);
  border-color: rgba(61, 122, 79, 0.3);
  backdrop-filter: blur(10px);
}
[data-theme="A"] .onboarding-input::placeholder { color: rgba(61, 40, 23, 0.38); }
[data-theme="A"] .onboarding-input:focus {
  border-color: rgba(61, 122, 79, 0.6);
  background: rgba(255, 250, 240, 0.95);
  box-shadow: 0 0 0 3px rgba(61, 122, 79, 0.15);
}
[data-theme="A"] .onboarding-submit {
  background: linear-gradient(135deg, #3d7a4f 0%, #254d32 100%);
  color: #fffaf0;
  box-shadow: 0 6px 20px -4px rgba(61, 122, 79, 0.45);
}
[data-theme="A"] .onboarding-submit:hover { box-shadow: 0 10px 26px -4px rgba(61, 122, 79, 0.6); }
[data-theme="A"] .onboarding-skip { color: rgba(61, 40, 23, 0.55); }
[data-theme="A"] .onboarding-skip:hover { color: var(--gold); }
[data-theme="A"] .onboarding-privacy { color: rgba(61, 40, 23, 0.55); }
[data-theme="A"] .onboarding-privacy svg { color: var(--gold); }
[data-theme="A"] .onboarding-bg {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'><g fill='none' stroke='%233d7a4f' stroke-opacity='0.09' stroke-width='0.6'><polygon points='50,4 96,28 96,72 50,96 4,72 4,28'/><polygon points='50,16 84,34 84,66 50,84 16,66 16,34'/></g></svg>");
  opacity: 0.55;
}
[data-theme="A"] .onboarding-glow--top {
  background: radial-gradient(circle, rgba(95, 163, 119, 0.32), transparent 65%);
}
[data-theme="A"] .onboarding-glow--bottom {
  background: radial-gradient(circle, rgba(217, 178, 90, 0.22), transparent 65%);
}
[data-theme="A"] .home-bg {
  background-image:
    radial-gradient(ellipse 600px 400px at 20% 0%, rgba(61, 122, 79, 0.12), transparent 60%),
    radial-gradient(ellipse 500px 500px at 90% 30%, rgba(95, 163, 119, 0.08), transparent 70%);
}
[data-theme="A"] .home-bg::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'><g fill='none' stroke='%23b8613d' stroke-opacity='0.09' stroke-width='0.6'><polygon points='50,4 96,28 96,72 50,96 4,72 4,28'/><polygon points='50,16 84,34 84,66 50,84 16,66 16,34'/></g></svg>");
  opacity: 0.55;
}
[data-theme="A"] .home-glow--top {
  background: radial-gradient(circle, rgba(95, 163, 119, 0.32), transparent 65%);
}
[data-theme="A"] .home-glow--bottom {
  background: radial-gradient(circle, rgba(217, 178, 90, 0.22), transparent 65%);
}
[data-theme="A"] .app-monogram { color: var(--gold); }
[data-theme="A"] .app-monogram-ornament {
  background: linear-gradient(90deg, transparent, rgba(61, 122, 79, 0.55), transparent);
}
[data-theme="A"] .app-monogram-ornament:first-child {
  background: linear-gradient(90deg, transparent, rgba(61, 122, 79, 0.55));
}
[data-theme="A"] .app-monogram-ornament:last-child {
  background: linear-gradient(90deg, rgba(61, 122, 79, 0.55), transparent);
}
[data-theme="A"] .home-title { color: var(--text); }
[data-theme="A"] .home-title__pre { color: var(--gold); }
[data-theme="A"] .home-title__main { color: var(--text); }
[data-theme="A"] .home-title .amp { color: var(--gold); }
[data-theme="A"] .choice-card {
  background: rgba(255, 250, 240, 0.6);
  border: 1px solid rgba(61, 122, 79, 0.22);
  color: var(--text);
}
[data-theme="A"] .choice-card:hover {
  background: rgba(255, 250, 240, 0.92);
  border-color: rgba(61, 122, 79, 0.45);
  box-shadow: 0 18px 40px -14px rgba(61, 40, 23, 0.22);
}
[data-theme="A"] .choice-card__icon {
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.7), transparent 60%),
    linear-gradient(160deg, #fffaf0 0%, #f2e0c2 100%);
  border: 1px solid rgba(61, 122, 79, 0.28);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    0 6px 16px -8px rgba(61, 40, 23, 0.25);
  color: var(--gold);
}
[data-theme="A"] .choice-card__eyebrow { color: var(--gold); }
[data-theme="A"] .choice-card__meta { color: rgba(61, 40, 23, 0.65); }
[data-theme="A"] .choice-card__arrow {
  color: var(--gold);
  background: rgba(61, 122, 79, 0.10);
}
[data-theme="A"] .choice-card:hover .choice-card__arrow {
  background: rgba(61, 122, 79, 0.18);
}
[data-theme="A"] .home-privacy { color: rgba(61, 40, 23, 0.55); }
[data-theme="A"] .home-privacy svg { color: var(--gold); }

[data-theme="A"] #screen-map { background: var(--bg); }
[data-theme="A"] .map-header { background: var(--bg); border-color: rgba(61, 40, 23, 0.08); }
[data-theme="A"] .btn-back, [data-theme="A"] .btn-reset { color: var(--text); }
[data-theme="A"] .btn-back:hover, [data-theme="A"] .btn-reset:hover { background: rgba(61, 122, 79, 0.08); }
[data-theme="A"] .map-subtitle { color: var(--text-dim); }
[data-theme="A"] .map-container { background: #f2e8d4; }

[data-theme="A"] .progress-hero {
  background: linear-gradient(135deg, #3d7a4f 0%, #254d32 100%);
  color: #fffaf0;
  border-color: rgba(95, 163, 119, 0.35);
}
[data-theme="A"] .progress-ring__track { stroke: rgba(255, 250, 240, 0.18); }
[data-theme="A"] .progress-ring__fill { stroke: #e8d4ad; }
[data-theme="A"] .progress-hero__pct { color: #e8d4ad; }
[data-theme="A"] .progress-hero__label { color: rgba(255, 250, 240, 0.75); }
[data-theme="A"] .progress-hero__next { color: #fffaf0; }
[data-theme="A"] .progress-hero__next-eyebrow { color: #e8d4ad; }
[data-theme="A"] .progress-hero__next-title { color: #fffaf0; }
[data-theme="A"] .progress-hero__next:hover:not(:disabled) .progress-hero__next-title { color: #e8d4ad; }
[data-theme="A"] .progress-bar { background: rgba(61, 122, 79, 0.12); }
[data-theme="A"] .progress-bar__fill { background: linear-gradient(90deg, #3d7a4f 0%, #5fa377 100%); }

[data-theme="A"] .pin--active .pin__marker { box-shadow: inset 0 0 0 2px rgba(61, 122, 79, 0.35), 0 0 0 3px rgba(61, 122, 79, 0.08); }
[data-theme="A"] .pin--current .pin__marker {
  box-shadow: inset 0 0 0 2px rgba(61, 122, 79, 0.8), 0 0 0 5px rgba(61, 122, 79, 0.2);
  animation: pin-pulse-A 2.4s ease-in-out infinite;
}
@keyframes pin-pulse-A {
  0%, 100% { box-shadow: inset 0 0 0 2px rgba(61, 122, 79, 0.7), 0 0 0 5px rgba(61, 122, 79, 0.16); }
  50% { box-shadow: inset 0 0 0 2px rgba(95, 163, 119, 1), 0 0 0 9px rgba(95, 163, 119, 0.25), 0 0 20px 2px rgba(95, 163, 119, 0.45); }
}
[data-theme="A"] .pin--active:hover .pin__marker { box-shadow: inset 0 0 0 2px var(--gold-hi), 0 0 0 6px rgba(95, 163, 119, 0.35), 0 0 22px 4px rgba(95, 163, 119, 0.55); }

[data-theme="A"] .step-list__item { background: #fffaf0; border-color: rgba(61, 40, 23, 0.08); }
[data-theme="A"] .step-list__item:hover { border-color: rgba(61, 122, 79, 0.5); }
[data-theme="A"] .step-list__num {
  background: linear-gradient(135deg, #3d7a4f, #254d32);
  color: #fffaf0;
}
[data-theme="A"] .step-list__item--current {
  border-color: rgba(61, 122, 79, 0.55);
  box-shadow: 0 4px 14px rgba(61, 122, 79, 0.15), 0 0 0 1px rgba(61, 122, 79, 0.3);
}
[data-theme="A"] .step-list__item--current .step-list__num {
  background: linear-gradient(135deg, #5fa377, #80b894);
  color: #3d2817;
  box-shadow: 0 0 0 3px rgba(95, 163, 119, 0.3);
}
[data-theme="A"] .step-list__note { color: var(--gold); background: rgba(61, 122, 79, 0.14); }

[data-theme="A"] .detail__panel { background: var(--bg); }
[data-theme="A"] .detail__header { background: linear-gradient(180deg, #fffaf0 0%, rgba(242, 232, 212, 0.5) 100%); }
[data-theme="A"] .detail__eyebrow { color: var(--gold); }
[data-theme="A"] .detail__section-title { color: var(--gold); }
[data-theme="A"] .detail__section-title::before { background: var(--gold); }
[data-theme="A"] .do-list li, [data-theme="A"] .rule { background: #fffaf0; border-color: rgba(61, 40, 23, 0.08); }
[data-theme="A"] .do-list li::before { background: var(--gold); }
[data-theme="A"] .dua {
  background: linear-gradient(180deg, #fffaf0 0%, #f6e8cd 100%);
  border-color: rgba(61, 122, 79, 0.35);
}
[data-theme="A"] .dua__title { color: var(--gold); }
[data-theme="A"] .dua__arabic { border-color: rgba(61, 122, 79, 0.35); }
[data-theme="A"] .dua__translation::before { color: var(--gold); }
[data-theme="A"] .btn-audio { background: #3d2817; color: #e8d4ad; }
[data-theme="A"] .btn-audio:hover { background: #5a3d23; }
[data-theme="A"] .btn-audio.is-playing { background: var(--gold); color: #fffaf0; }
[data-theme="A"] .tips-list li {
  background: linear-gradient(180deg, #fcf3df 0%, #f5e4b8 100%);
  border-color: rgba(61, 122, 79, 0.25);
}
[data-theme="A"] .notes { background: #fffaf0; border-color: rgba(61, 122, 79, 0.35); }
[data-theme="A"] .notes__meta { border-color: rgba(61, 122, 79, 0.3); }
[data-theme="A"] .notes__status svg { color: var(--gold); }
[data-theme="A"] .btn-nav { background: rgba(61, 40, 23, 0.06); color: var(--text); }
[data-theme="A"] .btn-nav:hover:not(:disabled) { background: rgba(61, 40, 23, 0.1); }
[data-theme="A"] .btn-nav--primary {
  background: linear-gradient(135deg, #3d7a4f, #254d32);
  color: #fffaf0;
}
[data-theme="A"] .btn-nav--primary:hover:not(:disabled) { background: linear-gradient(135deg, #5fa377, #3d7a4f); }
[data-theme="A"] .btn-close { background: rgba(61, 40, 23, 0.08); color: var(--text); }
[data-theme="A"] .toast { background: #3d2817; color: #fffaf0; }

/* ========================================================
   THEME B — "Madinah Emerald" — diepgroen & goud (gewijd, koninklijk)
   ======================================================== */
:root[data-theme="B"] {
  --bg:           #f3efe4;
  --bg-2:         #e6e0cd;
  --surface:      #fffdf7;
  --surface-2:    #efe8d4;
  --ivory:        #f4ead8;
  --ivory-soft:   #e6dcc3;
  --sand:         #d9cfa4;
  --gold:         #b48938;
  --gold-hi:      #d9b25a;
  --green:        #4e8670;
  --red:          #b34a3a;
  --text:         #0f2c24;
  --text-dim:     #4a5f56;
  --text-on-dark: #f4ead8;
  --text-on-dark-dim: rgba(244, 234, 216, 0.72);
}

[data-theme="B"] html, [data-theme="B"] body { background: var(--bg); color: var(--text); }

[data-theme="B"] #screen-home {
  background: linear-gradient(160deg, #0a2620 0%, #12423a 55%, #1c5a4f 100%);
  color: var(--text-on-dark);
}
[data-theme="B"] .home-bg {
  background-image:
    radial-gradient(ellipse 600px 400px at 20% 0%, rgba(217, 178, 90, 0.18), transparent 60%),
    radial-gradient(ellipse 500px 500px at 90% 30%, rgba(180, 137, 56, 0.1), transparent 70%);
}
[data-theme="B"] .home-bg::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'><g fill='none' stroke='%23d9b25a' stroke-opacity='0.08' stroke-width='0.7'><path d='M60 8l20 20-20 20-20-20zM60 72l20 20-20 20-20-20zM12 40l20 20-20 20zM108 40l-20 20 20 20z'/></g></svg>");
  background-size: 180px 180px;
  opacity: 0.45;
}
[data-theme="B"] .home-glow--top {
  background: radial-gradient(circle, rgba(217, 178, 90, 0.32), transparent 65%);
}
[data-theme="B"] .home-glow--bottom {
  background: radial-gradient(circle, rgba(40, 110, 90, 0.28), transparent 65%);
}
[data-theme="B"] .app-monogram { color: var(--gold-hi); }
[data-theme="B"] .app-monogram-ornament {
  background: linear-gradient(90deg, transparent, rgba(217, 178, 90, 0.55), transparent);
}
[data-theme="B"] .app-monogram-ornament:first-child {
  background: linear-gradient(90deg, transparent, rgba(217, 178, 90, 0.55));
}
[data-theme="B"] .app-monogram-ornament:last-child {
  background: linear-gradient(90deg, rgba(217, 178, 90, 0.55), transparent);
}
[data-theme="B"] .home-title { color: var(--ivory); }
[data-theme="B"] .home-title__pre { color: var(--gold-hi); }
[data-theme="B"] .home-title__main { color: var(--ivory); }
[data-theme="B"] .home-title .amp { color: var(--gold-hi); }
[data-theme="B"] .choice-card {
  background: rgba(244, 234, 216, 0.06);
  border: 1px solid rgba(217, 178, 90, 0.22);
  color: var(--ivory);
}
[data-theme="B"] .choice-card:hover {
  background: rgba(244, 234, 216, 0.10);
  border-color: rgba(217, 178, 90, 0.5);
  box-shadow: 0 18px 40px -12px rgba(0, 0, 0, 0.45);
}
[data-theme="B"] .choice-card__icon {
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.08), transparent 60%),
    linear-gradient(155deg, #12423a 0%, #061a16 100%);
  border: 1px solid rgba(217, 178, 90, 0.35);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 6px 16px -6px rgba(0, 0, 0, 0.5);
  color: var(--gold-hi);
}
[data-theme="B"] .choice-card__eyebrow { color: var(--gold-hi); }
[data-theme="B"] .choice-card__meta { color: var(--text-on-dark-dim); }
[data-theme="B"] .choice-card__arrow {
  color: var(--gold-hi);
  background: rgba(217, 178, 90, 0.10);
}
[data-theme="B"] .choice-card:hover .choice-card__arrow {
  background: rgba(217, 178, 90, 0.20);
}
[data-theme="B"] .home-privacy { color: rgba(244, 234, 216, 0.55); }
[data-theme="B"] .home-privacy svg { color: var(--gold-hi); }

[data-theme="B"] #screen-map { background: var(--bg); }
[data-theme="B"] .map-header { background: var(--bg); border-color: rgba(15, 44, 36, 0.08); }
[data-theme="B"] .btn-back, [data-theme="B"] .btn-reset { color: var(--text); }
[data-theme="B"] .btn-back:hover, [data-theme="B"] .btn-reset:hover { background: rgba(15, 44, 36, 0.06); }
[data-theme="B"] .map-subtitle { color: var(--text-dim); }
[data-theme="B"] .map-container { background: #e6dcc3; }

[data-theme="B"] .progress-hero {
  background: linear-gradient(135deg, #0a2620 0%, #14493c 100%);
  color: var(--ivory);
  border-color: rgba(217, 178, 90, 0.25);
}
[data-theme="B"] .progress-ring__track { stroke: rgba(244, 234, 216, 0.14); }
[data-theme="B"] .progress-ring__fill { stroke: var(--gold-hi); }
[data-theme="B"] .progress-hero__pct { color: var(--gold-hi); }
[data-theme="B"] .progress-hero__label { color: var(--text-on-dark-dim); }
[data-theme="B"] .progress-hero__next { color: var(--ivory); }
[data-theme="B"] .progress-hero__next-eyebrow { color: var(--gold-hi); }
[data-theme="B"] .progress-hero__next-title { color: var(--ivory); }
[data-theme="B"] .progress-hero__next:hover:not(:disabled) .progress-hero__next-title { color: var(--gold-hi); }
[data-theme="B"] .progress-bar { background: rgba(15, 44, 36, 0.08); }
[data-theme="B"] .progress-bar__fill { background: linear-gradient(90deg, var(--gold) 0%, var(--gold-hi) 100%); }

[data-theme="B"] .pin--active .pin__marker { box-shadow: inset 0 0 0 2px rgba(180, 137, 56, 0.35), 0 0 0 3px rgba(180, 137, 56, 0.08); }
[data-theme="B"] .pin--current .pin__marker {
  box-shadow: inset 0 0 0 2px rgba(180, 137, 56, 0.75), 0 0 0 5px rgba(180, 137, 56, 0.18);
  animation: pin-pulse-B 2.4s ease-in-out infinite;
}
@keyframes pin-pulse-B {
  0%, 100% { box-shadow: inset 0 0 0 2px rgba(180, 137, 56, 0.6), 0 0 0 5px rgba(180, 137, 56, 0.14); }
  50% { box-shadow: inset 0 0 0 2px rgba(217, 178, 90, 1), 0 0 0 9px rgba(217, 178, 90, 0.23), 0 0 20px 2px rgba(217, 178, 90, 0.4); }
}
[data-theme="B"] .pin--active:hover .pin__marker { box-shadow: inset 0 0 0 2px var(--gold-hi), 0 0 0 6px rgba(217, 178, 90, 0.35), 0 0 22px 4px rgba(217, 178, 90, 0.55); }

[data-theme="B"] .step-list__item { background: #fffdf7; border-color: rgba(15, 44, 36, 0.08); }
[data-theme="B"] .step-list__item:hover { border-color: rgba(180, 137, 56, 0.5); }
[data-theme="B"] .step-list__num {
  background: linear-gradient(135deg, #0a2620, #14493c);
  color: var(--gold-hi);
}
[data-theme="B"] .step-list__item--current {
  border-color: rgba(180, 137, 56, 0.55);
  box-shadow: 0 4px 14px rgba(180, 137, 56, 0.15), 0 0 0 1px rgba(180, 137, 56, 0.3);
}
[data-theme="B"] .step-list__item--current .step-list__num {
  background: linear-gradient(135deg, var(--gold), var(--gold-hi));
  color: #0a2620;
  box-shadow: 0 0 0 3px rgba(217, 178, 90, 0.25);
}
[data-theme="B"] .step-list__item--completed .step-list__num { background: linear-gradient(135deg, #2b5e4a, #4e8670); color: #fff; }
[data-theme="B"] .step-list__note { color: var(--gold); background: rgba(180, 137, 56, 0.14); }

[data-theme="B"] .detail__panel { background: var(--bg); }
[data-theme="B"] .detail__header { background: linear-gradient(180deg, #fffdf7 0%, rgba(239, 232, 212, 0.5) 100%); }
[data-theme="B"] .detail__eyebrow { color: var(--gold); }
[data-theme="B"] .detail__section-title { color: var(--gold); }
[data-theme="B"] .detail__section-title::before { background: var(--gold); }
[data-theme="B"] .do-list li, [data-theme="B"] .rule { background: #fffdf7; border-color: rgba(15, 44, 36, 0.08); }
[data-theme="B"] .do-list li::before { background: var(--gold); }
[data-theme="B"] .dua {
  background: linear-gradient(180deg, #fffdf7 0%, #f2e7c5 100%);
  border-color: rgba(180, 137, 56, 0.35);
}
[data-theme="B"] .dua__title { color: var(--gold); }
[data-theme="B"] .dua__arabic { border-color: rgba(180, 137, 56, 0.4); }
[data-theme="B"] .dua__translation::before { color: var(--gold); }
[data-theme="B"] .btn-audio { background: #0a2620; color: var(--gold-hi); }
[data-theme="B"] .btn-audio:hover { background: #14493c; }
[data-theme="B"] .btn-audio.is-playing { background: var(--gold); color: var(--ivory); }
[data-theme="B"] .tips-list li {
  background: linear-gradient(180deg, #fbf4df 0%, #f3e5b5 100%);
  border-color: rgba(180, 137, 56, 0.25);
}
[data-theme="B"] .notes { background: #fffdf7; border-color: rgba(180, 137, 56, 0.35); }
[data-theme="B"] .notes__meta { border-color: rgba(180, 137, 56, 0.3); }
[data-theme="B"] .notes__status svg { color: var(--gold); }
[data-theme="B"] .btn-nav { background: rgba(15, 44, 36, 0.06); color: var(--text); }
[data-theme="B"] .btn-nav:hover:not(:disabled) { background: rgba(15, 44, 36, 0.1); }
[data-theme="B"] .btn-nav--primary {
  background: linear-gradient(135deg, #0a2620, #14493c);
  color: var(--ivory);
}
[data-theme="B"] .btn-nav--primary:hover:not(:disabled) { background: linear-gradient(135deg, #14493c, #1c5a4f); }
[data-theme="B"] .btn-close { background: rgba(15, 44, 36, 0.08); color: var(--text); }
[data-theme="B"] .toast { background: #0a2620; color: var(--ivory); }

/* ========================================================
   THEME C — "Fajr" — licht, fris hemelblauw & wit (ochtendgevoel)
   ======================================================== */
:root[data-theme="C"] {
  --bg:           #f4f7fb;
  --bg-2:         #e8eef5;
  --surface:      #ffffff;
  --surface-2:    #f0f5fa;
  --ivory:        #ffffff;
  --ivory-soft:   #eff3f7;
  --sand:         #c8d6e4;
  --gold:         #1e4a6f;      /* diep hemelblauw als primary */
  --gold-hi:      #c4a563;      /* warm goud accent */
  --green:        #4a8d6f;
  --red:          #c25844;
  --text:         #0d1f2d;
  --text-dim:     #516579;
  --text-on-dark: #ffffff;
  --text-on-dark-dim: rgba(255, 255, 255, 0.78);
}

[data-theme="C"] html, [data-theme="C"] body { background: var(--bg); color: var(--text); }

[data-theme="C"] #screen-home {
  background: linear-gradient(160deg, #f4f7fb 0%, #dae5f2 45%, #b9cde4 100%);
  color: var(--text);
}
[data-theme="C"] .home-bg {
  background-image:
    radial-gradient(ellipse 600px 400px at 20% 0%, rgba(196, 165, 99, 0.15), transparent 60%),
    radial-gradient(ellipse 500px 500px at 90% 30%, rgba(30, 74, 111, 0.08), transparent 70%);
}
[data-theme="C"] .home-bg::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'><g fill='none' stroke='%231e4a6f' stroke-opacity='0.07' stroke-width='0.6'><circle cx='50' cy='50' r='30'/><circle cx='50' cy='50' r='20'/><polygon points='50,20 80,50 50,80 20,50'/></g></svg>");
  opacity: 0.6;
}
[data-theme="C"] .home-glow--top {
  background: radial-gradient(circle, rgba(217, 178, 90, 0.30), transparent 65%);
}
[data-theme="C"] .home-glow--bottom {
  background: radial-gradient(circle, rgba(30, 74, 111, 0.22), transparent 65%);
}
[data-theme="C"] .app-monogram { color: var(--gold-hi); }
[data-theme="C"] .app-monogram-ornament {
  background: linear-gradient(90deg, transparent, rgba(30, 74, 111, 0.45), transparent);
}
[data-theme="C"] .app-monogram-ornament:first-child {
  background: linear-gradient(90deg, transparent, rgba(30, 74, 111, 0.45));
}
[data-theme="C"] .app-monogram-ornament:last-child {
  background: linear-gradient(90deg, rgba(30, 74, 111, 0.45), transparent);
}
[data-theme="C"] .home-title { color: var(--text); }
[data-theme="C"] .home-title__pre { color: var(--gold-hi); font-style: italic; }
[data-theme="C"] .home-title__main { color: var(--text); }
[data-theme="C"] .home-title .amp { color: var(--gold-hi); font-style: italic; }
[data-theme="C"] .choice-card {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(30, 74, 111, 0.15);
  color: var(--text);
  box-shadow: 0 4px 14px rgba(30, 74, 111, 0.06);
}
[data-theme="C"] .choice-card:hover {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(30, 74, 111, 0.4);
  box-shadow: 0 18px 40px -14px rgba(30, 74, 111, 0.28);
}
[data-theme="C"] .choice-card__icon {
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.7), transparent 60%),
    linear-gradient(160deg, #f4faff 0%, #dfe9f2 100%);
  border: 1px solid rgba(30, 74, 111, 0.18);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    0 6px 16px -8px rgba(30, 74, 111, 0.22);
  color: var(--gold);
}
[data-theme="C"] .choice-card__eyebrow { color: var(--gold); }
[data-theme="C"] .choice-card__meta { color: rgba(13, 31, 45, 0.6); }
[data-theme="C"] .choice-card__arrow {
  color: var(--gold);
  background: rgba(30, 74, 111, 0.08);
}
[data-theme="C"] .choice-card:hover .choice-card__arrow {
  background: rgba(30, 74, 111, 0.15);
}
[data-theme="C"] .home-privacy { color: rgba(13, 31, 45, 0.55); }
[data-theme="C"] .home-privacy svg { color: var(--gold-hi); }

[data-theme="C"] #screen-map { background: var(--bg); }
[data-theme="C"] .map-header { background: var(--bg); border-color: rgba(13, 31, 45, 0.08); }
[data-theme="C"] .btn-back, [data-theme="C"] .btn-reset { color: var(--text); }
[data-theme="C"] .btn-back:hover, [data-theme="C"] .btn-reset:hover { background: rgba(30, 74, 111, 0.08); }
[data-theme="C"] .map-subtitle { color: var(--text-dim); }
[data-theme="C"] .map-container { background: #e8eef5; }

[data-theme="C"] .progress-hero {
  background: linear-gradient(135deg, #1e4a6f 0%, #2d6893 100%);
  color: #ffffff;
  border-color: rgba(196, 165, 99, 0.3);
  box-shadow: 0 10px 28px rgba(30, 74, 111, 0.25);
}
[data-theme="C"] .progress-ring__track { stroke: rgba(255, 255, 255, 0.18); }
[data-theme="C"] .progress-ring__fill { stroke: var(--gold-hi); }
[data-theme="C"] .progress-hero__pct { color: var(--gold-hi); }
[data-theme="C"] .progress-hero__label { color: rgba(255, 255, 255, 0.75); }
[data-theme="C"] .progress-hero__next { color: #ffffff; }
[data-theme="C"] .progress-hero__next-eyebrow { color: var(--gold-hi); }
[data-theme="C"] .progress-hero__next-title { color: #ffffff; }
[data-theme="C"] .progress-hero__next:hover:not(:disabled) .progress-hero__next-title { color: var(--gold-hi); }
[data-theme="C"] .progress-bar { background: rgba(30, 74, 111, 0.1); }
[data-theme="C"] .progress-bar__fill { background: linear-gradient(90deg, #1e4a6f 0%, #c4a563 100%); }

[data-theme="C"] .pin--active .pin__marker { box-shadow: inset 0 0 0 2px rgba(30, 74, 111, 0.35), 0 0 0 3px rgba(30, 74, 111, 0.08); }
[data-theme="C"] .pin--current .pin__marker {
  box-shadow: inset 0 0 0 2px rgba(196, 165, 99, 0.85), 0 0 0 5px rgba(196, 165, 99, 0.2);
  animation: pin-pulse-C 2.4s ease-in-out infinite;
}
@keyframes pin-pulse-C {
  0%, 100% { box-shadow: inset 0 0 0 2px rgba(196, 165, 99, 0.7), 0 0 0 5px rgba(196, 165, 99, 0.16); }
  50% { box-shadow: inset 0 0 0 2px rgba(216, 185, 119, 1), 0 0 0 9px rgba(216, 185, 119, 0.25), 0 0 20px 2px rgba(216, 185, 119, 0.45); }
}
[data-theme="C"] .pin--active:hover .pin__marker { box-shadow: inset 0 0 0 2px var(--gold-hi), 0 0 0 6px rgba(196, 165, 99, 0.35), 0 0 22px 4px rgba(196, 165, 99, 0.55); }

[data-theme="C"] .step-list__item { background: #ffffff; border-color: rgba(13, 31, 45, 0.06); box-shadow: 0 2px 8px rgba(30, 74, 111, 0.05); }
[data-theme="C"] .step-list__item:hover { border-color: rgba(30, 74, 111, 0.4); }
[data-theme="C"] .step-list__num {
  background: linear-gradient(135deg, #1e4a6f, #0d2d48);
  color: var(--gold-hi);
}
[data-theme="C"] .step-list__item--current {
  border-color: rgba(196, 165, 99, 0.6);
  box-shadow: 0 4px 14px rgba(196, 165, 99, 0.15), 0 0 0 1px rgba(196, 165, 99, 0.35);
}
[data-theme="C"] .step-list__item--current .step-list__num {
  background: linear-gradient(135deg, #c4a563, #d8b977);
  color: #0d1f2d;
  box-shadow: 0 0 0 3px rgba(196, 165, 99, 0.3);
}
[data-theme="C"] .step-list__note { color: var(--gold); background: rgba(30, 74, 111, 0.1); }

[data-theme="C"] .detail__panel { background: var(--bg); }
[data-theme="C"] .detail__header { background: linear-gradient(180deg, #ffffff 0%, rgba(240, 245, 250, 0.6) 100%); }
[data-theme="C"] .detail__eyebrow { color: var(--gold); }
[data-theme="C"] .detail__section-title { color: var(--gold); }
[data-theme="C"] .detail__section-title::before { background: var(--gold); }
[data-theme="C"] .do-list li, [data-theme="C"] .rule { background: #ffffff; border-color: rgba(13, 31, 45, 0.06); }
[data-theme="C"] .do-list li::before { background: var(--gold); }
[data-theme="C"] .dua {
  background: linear-gradient(180deg, #ffffff 0%, #f4f0e2 100%);
  border-color: rgba(196, 165, 99, 0.4);
}
[data-theme="C"] .dua__title { color: var(--gold); }
[data-theme="C"] .dua__arabic { border-color: rgba(196, 165, 99, 0.4); }
[data-theme="C"] .dua__translation::before { color: var(--gold); }
[data-theme="C"] .btn-audio { background: #0d1f2d; color: var(--gold-hi); }
[data-theme="C"] .btn-audio:hover { background: #1e4a6f; }
[data-theme="C"] .btn-audio.is-playing { background: var(--gold-hi); color: #0d1f2d; }
[data-theme="C"] .tips-list li {
  background: linear-gradient(180deg, #fdf8e9 0%, #f4e6c5 100%);
  border-color: rgba(196, 165, 99, 0.3);
}
[data-theme="C"] .notes { background: #ffffff; border-color: rgba(196, 165, 99, 0.4); }
[data-theme="C"] .notes__meta { border-color: rgba(196, 165, 99, 0.3); }
[data-theme="C"] .notes__status svg { color: var(--gold-hi); }
[data-theme="C"] .btn-nav { background: rgba(13, 31, 45, 0.06); color: var(--text); }
[data-theme="C"] .btn-nav:hover:not(:disabled) { background: rgba(13, 31, 45, 0.1); }
[data-theme="C"] .btn-nav--primary {
  background: linear-gradient(135deg, #1e4a6f, #0d2d48);
  color: #ffffff;
}
[data-theme="C"] .btn-nav--primary:hover:not(:disabled) { background: linear-gradient(135deg, #2d6893, #1e4a6f); }
[data-theme="C"] .btn-close { background: rgba(13, 31, 45, 0.07); color: var(--text); }
[data-theme="C"] .toast { background: #0d1f2d; color: #ffffff; }

/* ========================================================
   INTRO SCREEN — uitleg na onboarding (Tamattu', Maliki, etc.)
   ======================================================== */

#screen-intro {
  align-items: stretch;
  justify-content: stretch;
  padding: 0;
  position: relative;
  overflow: hidden;
}

.intro-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'><g fill='none' stroke='%23e7c985' stroke-opacity='0.05' stroke-width='0.6'><polygon points='50,4 96,28 96,72 50,96 4,72 4,28'/><polygon points='50,16 84,34 84,66 50,84 16,66 16,34'/></g></svg>");
  background-size: 140px 140px;
  opacity: 0.35;
}

.intro-glow {
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.5;
}
.intro-glow--top {
  top: -160px;
  left: 50%;
  transform: translateX(-50%);
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(231, 201, 133, 0.30), transparent 65%);
}
.intro-glow--bottom {
  bottom: -200px;
  right: -100px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(95, 163, 119, 0.20), transparent 65%);
}

.intro-scroll {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  padding: 28px 18px calc(env(safe-area-inset-bottom, 0) + 24px);
  height: 100%;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  animation: home-rise 0.7s var(--ease) both;
}

.intro-header {
  text-align: center;
  margin-bottom: 22px;
  padding: 8px 4px 0;
}
.intro-eyebrow {
  display: inline-block;
  font-family: 'Amiri', 'Scheherazade New', serif;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--gold-hi);
  opacity: 0.85;
  margin: 18px 0 10px;
}
.intro-title {
  font-family: 'Amiri', 'Scheherazade New', serif;
  font-size: 36px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.05;
  margin-bottom: 12px;
}
.intro-lead {
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-dim);
  max-width: 460px;
  margin: 0 auto;
}

.intro-card {
  position: relative;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(200, 168, 106, 0.18);
  border-radius: var(--radius-lg);
  padding: 22px 20px 20px;
  margin: 18px 0;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.intro-card + .intro-card { margin-top: 16px; }

.intro-card__num {
  position: absolute;
  top: -14px;
  left: 20px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--gold-hi), var(--gold));
  color: #1d2a25;
  font-family: 'Amiri', serif;
  font-size: 16px;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(200, 168, 106, 0.35);
}

.intro-card__title {
  font-family: 'Amiri', 'Scheherazade New', serif;
  font-size: 20px;
  font-weight: 700;
  color: #1f4a36;
  line-height: 1.25;
  margin-bottom: 10px;
  margin-top: 4px;
}

.intro-card p {
  font-size: 15px;
  line-height: 1.6;
  color: #1d2a25;
  margin: 0 0 10px 0;
}
.intro-card p:last-child { margin-bottom: 0; }
.intro-card p strong { color: #1f4a36; font-weight: 700; }
.intro-card__hint {
  background: rgba(231, 201, 133, 0.12);
  border-left: 3px solid var(--gold);
  padding: 10px 12px;
  font-size: 14px !important;
  border-radius: 0 8px 8px 0;
  color: var(--text-dim) !important;
  margin-top: 12px !important;
}

/* Definition list voor Rukn / Waadjib */
.intro-deflist {
  list-style: none;
  padding: 0;
  margin: 6px 0 8px 0;
}
.intro-deflist li {
  display: grid;
  grid-template-columns: 90px 1fr;
  align-items: start;
  gap: 12px;
  font-size: 15px;
  line-height: 1.55;
  margin: 12px 0;
  color: #1d2a25;
}
/* Beide pills krijgen dezelfde kolombreedte zodat de teksten erna op
   exact hetzelfde punt beginnen, ongeacht de woordlengte. */
.intro-deflist .intro-pill {
  width: 100%;
  justify-content: center;
  text-align: center;
}
.intro-deflist__body {
  min-width: 0;
}
.intro-deflist__body strong {
  color: #1f4a36;
  font-weight: 700;
}
.intro-pill {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-top: 1px;
  font-family: 'Inter', sans-serif;
}
.intro-pill--rukn {
  background: #e8f3ec;
  color: #1f4a36;
  border: 1px solid #6fbf85;
}
.intro-pill--wajib {
  background: #fbf3df;
  color: #6e5318;
  border: 1px solid var(--gold);
}

/* Disclaimer / note variant */
.intro-card--note {
  background: rgba(247, 234, 207, 0.55);
  border-color: rgba(200, 168, 106, 0.35);
}
.intro-card__num--note {
  background: linear-gradient(135deg, #d77a40, #b8541b);
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(184, 84, 27, 0.30);
}

/* Gift / dua-verzoek variant */
.intro-card--gift {
  background: rgba(232, 243, 236, 0.55);
  border-color: rgba(95, 163, 119, 0.30);
}
.intro-card__num--gift {
  background: linear-gradient(135deg, #6fbf85, #2f6b4f);
  color: #ffffff;
  font-size: 18px;
}

.intro-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: stretch;
  margin: 28px 0 12px;
  padding: 0 4px;
}

.intro-submit {
  width: 100%;
  padding: 16px 22px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, #1f4a36, #2f6b4f);
  color: var(--ivory);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 12px 28px rgba(31, 74, 54, 0.30);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.intro-submit:hover { transform: translateY(-1px); box-shadow: 0 16px 36px rgba(31, 74, 54, 0.36); }
.intro-submit:active { transform: translateY(0); }

/* Theme overrides — A (Oase, default) */
[data-theme="A"] .intro-bg {
  background-color: #f8f1de;
}
[data-theme="A"] .intro-glow--top {
  background: radial-gradient(circle, rgba(231, 201, 133, 0.32), transparent 65%);
}
[data-theme="A"] .intro-glow--bottom {
  background: radial-gradient(circle, rgba(112, 167, 134, 0.22), transparent 65%);
}

/* Theme B */
[data-theme="B"] .intro-bg { background-color: #f5ecd6; }
[data-theme="B"] .intro-card { background: rgba(255, 252, 240, 0.70); }

/* Theme C */
[data-theme="C"] .intro-bg { background-color: #eaf1f6; }
[data-theme="C"] .intro-card { background: rgba(255, 255, 255, 0.75); }
[data-theme="C"] .intro-card__title { color: #1e4a6f; }
[data-theme="C"] .intro-card p strong { color: #1e4a6f; }
[data-theme="C"] .intro-pill--rukn { background: #e3f0f6; color: #1e4a6f; border-color: #5a8db0; }
[data-theme="C"] .intro-submit {
  background: linear-gradient(135deg, #1e4a6f, #2d6893);
  box-shadow: 0 12px 28px rgba(30, 74, 111, 0.30);
}

/* ========================================================
   PINS — visueel onzichtbaar, klikbaar gebied blijft actief
   De ingebakken cijfers in de afbeelding doen het werk;
   wij hoeven geen halo's, badges of pulsanimaties te tonen.
   ======================================================== */
.pin__marker {
  box-shadow: none !important;
  animation: none !important;
  transform: none !important;
  background: transparent !important;
}
.pin--active .pin__marker,
.pin--current .pin__marker,
.pin--completed .pin__marker,
.pin--active:hover .pin__marker,
.pin--active:active .pin__marker {
  box-shadow: none !important;
  animation: none !important;
  transform: none !important;
  background: transparent !important;
}
.pin__num,
.pin--completed .pin__num {
  opacity: 0 !important;
}
.pin:hover { transform: translate(-50%, -50%) scale(1.04); }
.pin:active { transform: translate(-50%, -50%) scale(0.98); }
