/* A fair-stage atmosphere: warm overhead light, soft photo haze and sparse foil. */
.fair-masthead {
  background:
    radial-gradient(ellipse 76% 230px at 50% 130%, rgba(231,135,75,.45), transparent 78%),
    linear-gradient(180deg, #4a251d 0%, #624331 100%);
  border-bottom: 0;
}
.fair-masthead img { filter: invert(1); }
.hero {
  background:
    radial-gradient(ellipse 80% 58% at 51% -8%,rgba(231,119,46,.58),transparent 74%),
    radial-gradient(ellipse 54% 47% at 84% 35%,rgba(133,60,34,.30),transparent 75%),
    radial-gradient(ellipse 58% 48% at 10% 76%,rgba(101,39,29,.22),transparent 77%),
    linear-gradient(180deg,#4a251d 0%,#321d1a 45%,#211516 100%);
}
.hero::before {
  inset: -30px;
  z-index: 0;
  opacity: .13;
  background: url("/assets/families-shopping.jpg") center 43% / cover no-repeat;
  filter: blur(24px) sepia(.9) saturate(1.35);
  transform: scale(1.04);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: url("/assets/fair-atmosphere.svg") center top / cover no-repeat;
  opacity: .82;
}
.hero-layout { position: relative; z-index: 1; }

#register {
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(ellipse 58% 47% at 0% 9%,rgba(255,205,91,.43),transparent 77%),
    radial-gradient(ellipse 40% 36% at 89% 4%,rgba(246,190,112,.25),transparent 77%),
    radial-gradient(ellipse 48% 47% at 80% 89%,rgba(255,237,186,.32),transparent 78%),
    linear-gradient(150deg,#fff9ea 0%,#fff3d9 56%,#fffaf1 100%);
}
#register::before { z-index: 2; }
#register::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: url("/assets/fair-atmosphere.svg") center 15% / cover no-repeat;
  opacity: .09;
}
#register .reg-grid { position: relative; z-index: 1; }

/* Carry the warm fair palette through the offer sections without making every
   reading and vendor section compete with the hero and lucky draw. */
#deals {
  background:
    radial-gradient(ellipse 72% 440px at 88% 0%, rgba(234, 151, 85, .18), transparent 78%),
    linear-gradient(180deg, #fffaf1 0%, #fff2e5 100%);
}
#spin-the-wheel {
  background:
    radial-gradient(ellipse 80% 430px at 8% 12%, rgba(239, 177, 93, .20), transparent 78%),
    linear-gradient(180deg, #fff7e9 0%, #fff1df 100%) !important;
}
#spin-the-wheel .wheel-panel { background: transparent !important; }
#stamp-rewards {
  background:
    radial-gradient(ellipse 76% 390px at 94% 84%, rgba(237, 169, 85, .16), transparent 78%),
    linear-gradient(180deg, #fff1df 0%, #fff8eb 100%) !important;
}
#goodie-bag {
  background:
    radial-gradient(ellipse 60% 420px at 6% 25%, rgba(229, 157, 98, .13), transparent 78%),
    linear-gradient(150deg, #fff8eb 0%, #fffaf3 100%);
}
#getting-there {
  background:
    radial-gradient(ellipse 75% 420px at 92% 2%, rgba(236, 170, 94, .19), transparent 77%),
    linear-gradient(180deg, #fff9ed 0%, #fff0df 100%);
}

@media (max-width:700px) {
  .hero::before { opacity: .10; filter: blur(20px) sepia(.9) saturate(1.25); }
  .hero::after {
    background-image: url("/assets/fair-atmosphere-mobile.svg");
    background-position: center top;
    background-size: 100% 100%;
    opacity: .85;
  }
  #register::after {
    background-image: url("/assets/fair-atmosphere-mobile.svg");
    background-size: 100% 100%;
    opacity: .075;
  }
}
