/* Sacred Festive Theme — Born to Reign */
body {
  background:
    radial-gradient(ellipse 80% 42% at 50% 0%, rgba(235, 212, 155, 0.35) 0%, rgba(235, 212, 155, 0) 70%),
    radial-gradient(ellipse at 50% 100%, #efe6d4 0%, #f6f1e6 65%);
}

/* Subtle ambient starlight motes */
.ambient-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.sparkle {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(210, 172, 92, 0.7) 0%, rgba(210, 172, 92, 0) 72%);
  animation: float-glow 7s ease-in-out infinite;
}

.s1 { top: 12%; left: 10%; width: 7px; height: 7px; animation-delay: 0s; }
.s2 { top: 22%; right: 12%; width: 6px; height: 6px; animation-delay: 1.5s; }
.s3 { top: 48%; left: 6%; width: 5px; height: 5px; animation-delay: 2.8s; }
.s4 { top: 64%; right: 8%; width: 8px; height: 8px; animation-delay: 0.8s; }
.s5 { top: 82%; left: 14%; width: 6px; height: 6px; animation-delay: 3.6s; }
.s6 { top: 34%; right: 18%; width: 4px; height: 4px; animation-delay: 4.2s; }

/* Hero Invitation Banner */
.intro {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  align-items: center;
  gap: 16px;
  margin: 20px -20px 22px;
  padding: 32px 30px 28px;
  border-radius: 14px;
  background:
    radial-gradient(circle at 82% 45%, rgba(220, 184, 102, 0.16) 0%, rgba(220, 184, 102, 0) 56%),
    linear-gradient(145deg, #1b4635 0%, #153729 58%, #102b20 100%);
  border: 1px solid rgba(224, 194, 127, 0.34);
  color: #fff;
  box-shadow:
    inset 0 0 0 1px rgba(255, 248, 224, 0.08),
    0 16px 36px rgba(17, 41, 30, 0.22);
}

.hero-glow {
  position: absolute;
  right: -70px;
  top: -110px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  border: 1px solid rgba(235, 206, 138, 0.14);
  box-shadow:
    0 0 0 22px rgba(235, 206, 138, 0.03),
    0 0 0 48px rgba(235, 206, 138, 0.02);
  pointer-events: none;
  z-index: -1;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.intro .kicker {
  margin-bottom: 10px;
  color: #e4c67c;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.intro h1 {
  color: #fffdf8;
  font: 600 44px/1.05 var(--serif);
  letter-spacing: 0.03em;
}

.intro h1 em {
  display: inline-block;
  font-style: italic;
  font-weight: 600;
  font-size: 48px;
  background: linear-gradient(135deg, #f9e9b8 0%, #e4be6d 55%, #f6e1a7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.festive-rule {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 136px;
  margin: 14px 0 13px;
  color: #e6ca82;
  font-size: 11px;
}

.festive-rule::before,
.festive-rule::after {
  content: "";
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, rgba(230, 202, 130, 0.15), rgba(230, 202, 130, 0.7));
}

.festive-rule::after {
  background: linear-gradient(90deg, rgba(230, 202, 130, 0.7), rgba(230, 202, 130, 0.15));
}

.hero-copy > p {
  color: #dce6de;
  font-size: 13.5px;
  line-height: 1.72;
}

.hero-emblem {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.christmas-illustration {
  width: 186px;
  height: 174px;
  overflow: visible;
  filter: drop-shadow(0 12px 22px rgba(7, 22, 15, 0.38));
}

.crown-halo {
  fill: none;
  stroke: rgba(238, 212, 152, 0.24);
  stroke-width: 1.1;
  stroke-dasharray: 3 4;
}

.crown-halo-inner {
  fill: none;
  stroke: rgba(238, 212, 152, 0.13);
  stroke-width: 1;
}

.bethlehem-star-group {
  transform-origin: 110px 28px;
  animation: soft-twinkle 3.4s ease-in-out infinite;
}

.bethlehem-star {
  fill: #fff3c7;
  filter: drop-shadow(0 0 8px rgba(250, 232, 178, 0.8));
}

.bethlehem-star-diag {
  fill: #ecd189;
  opacity: 0.78;
}

.crown-shape {
  stroke: #f6e3aa;
  stroke-width: 1.15;
  stroke-linejoin: round;
}

.crown-band {
  stroke-linejoin: round;
}

.crown-tip {
  fill: #fff2c6;
  stroke: #d6b15d;
  stroke-width: 0.7;
}

.crown-glint {
  fill: #f9e6b2;
  animation: soft-twinkle 3.2s ease-in-out infinite;
}

.crown-glint.g2 {
  animation-delay: 1.1s;
}

.crown-glint.g3 {
  animation-delay: 2s;
}

.hero-caption {
  margin-top: 6px;
  color: #dec990;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.13em;
  line-height: 1.4;
}

.hero-caption span {
  display: block;
  margin-top: 2px;
  color: #fff8e8;
  font-weight: 700;
}

/* Scripture & Event Details Card */
.event-details {
  margin: 0 0 24px;
  padding: 20px 20px 18px;
  border: 1px solid #e6dbc4;
  border-radius: 14px;
  background: linear-gradient(180deg, #fcf9f1 0%, #f8f2e4 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.event-details blockquote {
  position: relative;
  display: grid;
  grid-template-columns: 26px 1fr;
  column-gap: 8px;
  margin: 0;
  padding: 0 2px 16px;
}

.quote-mark {
  grid-row: span 2;
  color: #be9b52;
  font: italic 42px/0.95 var(--display-serif);
}

.event-details blockquote p {
  color: #36453c;
  font: italic 15.5px/1.65 var(--display-serif);
}

.event-details cite {
  margin-top: 6px;
  color: #967438;
  font: 700 10.5px var(--sans);
  letter-spacing: 0.16em;
}

.event-facts {
  display: grid;
  grid-template-columns: 1fr 1fr 1.35fr;
  gap: 12px;
  padding-top: 15px;
  border-top: 1px solid #e5dac2;
}

.event-fact {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.fact-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 10px;
  border: 1px solid #e2d2af;
  background: #fffdf7;
  color: #9a7432;
}

.fact-icon svg {
  width: 16px;
  height: 16px;
}

.event-fact small {
  display: block;
  margin-bottom: 2px;
  color: #967438;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.event-fact strong {
  display: block;
  color: #25362c;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.35;
}

@keyframes soft-twinkle {
  0%, 100% {
    opacity: 0.45;
    transform: scale(0.95);
  }
  50% {
    opacity: 1;
    transform: scale(1.06);
  }
}

@keyframes float-glow {
  0%, 100% {
    opacity: 0.25;
    transform: translateY(0);
  }
  50% {
    opacity: 0.8;
    transform: translateY(-10px);
  }
}

@media (max-width: 560px) {
  .intro {
    grid-template-columns: 1fr;
    text-align: center;
    margin: 16px -6px 18px;
    padding: 26px 20px 24px;
    gap: 14px;
  }

  .festive-rule {
    margin: 12px auto;
  }

  .intro h1 {
    font-size: 36px;
  }

  .intro h1 em {
    font-size: 40px;
  }

  .hero-copy > p {
    font-size: 16px;
    max-width: 38ch;
    margin-inline: auto;
  }

  .christmas-illustration {
    width: 152px;
    height: 142px;
  }

  .event-details {
    padding: 16px 15px 15px;
  }

  .event-facts {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .event-fact strong {
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sparkle,
  .bethlehem-star,
  .bethlehem-star-group,
  .crown-glint {
    animation: none !important;
  }
}
