/* Yume Family Pizza / Nightshift homepage attraction */

.pizza-night {
  position: relative;
  overflow: hidden;
  padding: 92px 0 100px;
  background: #fff6dc;
  color: #18213c;
  border-top: 1px solid rgba(24,33,60,.08);
  border-bottom: 1px solid rgba(24,33,60,.08);
}

.pizza-night::before {
  content: "";
  position: absolute;
  width: 270px;
  height: 270px;
  right: -95px;
  top: -82px;
  border-radius: 50%;
  background: #8be1c0;
  opacity: .58;
}

.pizza-night::after {
  content: "★";
  position: absolute;
  left: -24px;
  bottom: -63px;
  color: #cbb9ff;
  font-size: 230px;
  line-height: 1;
  transform: rotate(-13deg);
  opacity: .72;
}

.pizza-night-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  gap: 72px;
  align-items: center;
}

.pizza-night-copy {
  min-width: 0;
}

.pizza-night-copy .paper-label {
  background: #ffda31;
}

.pizza-night-copy h2 {
  max-width: 630px;
  margin: 20px 0 17px;
  font-size: clamp(3.7rem, 7vw, 6.8rem);
  line-height: .82;
  letter-spacing: -.07em;
}

.pizza-night-copy h2 span {
  display: block;
  color: #ef4f72;
}

.pizza-night-copy > p {
  max-width: 590px;
  margin: 0;
  color: #52617d;
  font-size: 1.08rem;
  font-weight: 700;
}

.pizza-night-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 26px 0 0;
}

.pizza-night-facts span {
  padding: 7px 10px;
  border: 2px solid #18213c;
  background: white;
  box-shadow: 3px 3px 0 rgba(24,33,60,.12);
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .055em;
  text-transform: uppercase;
}

.pizza-night-facts span:nth-child(2) {
  background: #8be1c0;
  transform: rotate(.6deg);
}

.pizza-night-facts span:nth-child(3) {
  background: #cbb9ff;
  transform: rotate(-.6deg);
}

.pizza-night-note {
  max-width: 590px;
  margin-top: 24px;
  padding: 14px 17px;
  border-left: 5px solid #ef4f72;
  background: rgba(255,255,255,.62);
  color: #59657b;
  font-size: .82rem;
  font-weight: 700;
}

.pizza-night-note b {
  color: #18213c;
}

.pizza-poster {
  position: relative;
  min-height: 510px;
  padding: 34px 28px 30px;
  border: 3px solid #18213c;
  background: #63b9f3;
  box-shadow: 15px 17px 0 rgba(24,33,60,.18);
  transform: rotate(1deg);
  text-align: center;
}

.pizza-poster::before,
.pizza-poster::after {
  content: "";
  position: absolute;
  width: 84px;
  height: 22px;
  z-index: 6;
  background: rgba(255,218,49,.8);
}

.pizza-poster::before {
  left: -19px;
  top: 18px;
  transform: rotate(-15deg);
}

.pizza-poster::after {
  right: 24px;
  bottom: -9px;
  transform: rotate(7deg);
}

.pizza-poster-kicker {
  color: #174976;
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.pizza-poster h3 {
  margin: 7px 0 0;
  color: white;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: .9;
  letter-spacing: -.05em;
  text-shadow: 4px 5px 0 rgba(24,33,60,.14);
}

.pizza-poster-sub {
  margin: 10px auto 0;
  max-width: 420px;
  color: #174976;
  font-size: .9rem;
  font-weight: 900;
}

.pizza-click {
  position: relative;
  display: block;
  width: min(82%, 390px);
  aspect-ratio: 1;
  margin: 23px auto 5px;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-decoration: none;
  transform: rotate(-4deg);
  transition: transform .14s ease;
  -webkit-tap-highlight-color: transparent;
}

.pizza-click:focus-visible {
  outline: 4px solid #18213c;
  outline-offset: 9px;
  border-radius: 50%;
}

.pizza-click:hover {
  transform: rotate(2deg) scale(1.025);
}

.pizza-click:active {
  transform: rotate(0) scale(.985);
}

.pizza-disc {
  position: absolute;
  inset: 7%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 33% 31%, #d9484e 0 8%, #992d35 8.5% 10%, transparent 10.5%),
    radial-gradient(circle at 67% 27%, #d9484e 0 7%, #992d35 7.5% 9%, transparent 9.5%),
    radial-gradient(circle at 72% 61%, #d9484e 0 8%, #992d35 8.5% 10%, transparent 10.5%),
    radial-gradient(circle at 39% 68%, #d9484e 0 7%, #992d35 7.5% 9%, transparent 9.5%),
    radial-gradient(circle at 51% 48%, #f4c84d 0 52%, #e49f39 53% 68%, #b96d2e 69% 78%, #8a4c24 79% 100%);
  border: 5px solid #18213c;
  box-shadow:
    8px 10px 0 rgba(24,33,60,.18),
    inset 0 0 0 6px rgba(255,255,255,.13);
}

.pizza-disc::before {
  content: "";
  position: absolute;
  inset: 19%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 20% 37%, #517a3f 0 5%, transparent 5.5%),
    radial-gradient(circle at 77% 45%, #517a3f 0 5%, transparent 5.5%),
    radial-gradient(circle at 54% 78%, #517a3f 0 5%, transparent 5.5%);
  opacity: .82;
}

.pizza-disc::after {
  content: "Y";
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border: 4px solid #18213c;
  border-radius: 50%;
  background: #ffda31;
  color: #18213c;
  font-size: 2rem;
  font-weight: 900;
  transform: translate(-50%,-50%) rotate(4deg);
  box-shadow: 4px 4px 0 rgba(24,33,60,.18);
}

.pizza-spark {
  position: absolute;
  z-index: 4;
  color: #ffda31;
  font-size: 2rem;
  font-weight: 900;
  pointer-events: none;
  animation: pizzaSpark 2.8s ease-in-out infinite;
}

.pizza-spark.one {
  left: 4%;
  top: 17%;
}

.pizza-spark.two {
  right: 4%;
  top: 38%;
  color: #ef4f72;
  animation-delay: .7s;
}

.pizza-spark.three {
  left: 12%;
  bottom: 8%;
  color: #8be1c0;
  animation-delay: 1.2s;
}

.pizza-click-label {
  display: inline-block;
  margin-top: -4px;
  padding: 7px 12px;
  border: 2px solid #18213c;
  background: #ffda31;
  box-shadow: 4px 4px 0 #18213c;
  color: #18213c;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  transform: rotate(-1deg);
}

.pizza-poster small {
  display: block;
  margin-top: 17px;
  color: #174976;
  font-size: .64rem;
  font-weight: 800;
  letter-spacing: .05em;
}

@keyframes pizzaSpark {
  0%, 100% { transform: rotate(-8deg) scale(1); }
  50% { transform: rotate(9deg) scale(1.16); }
}

@media (max-width: 850px) {
  .pizza-night {
    padding: 72px 0 82px;
  }

  .pizza-night-inner {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .pizza-night-copy h2 {
    font-size: clamp(3.5rem, 15vw, 6rem);
  }

  .pizza-poster {
    width: min(100%, 620px);
    min-height: 480px;
    margin: auto;
  }
}

@media (max-width: 520px) {
  .pizza-night {
    padding: 58px 0 68px;
  }

  .pizza-poster {
    min-height: 420px;
    padding: 28px 18px 24px;
    box-shadow: 9px 11px 0 rgba(24,33,60,.18);
  }

  .pizza-click {
    width: min(88%, 320px);
  }

  .pizza-night-facts {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pizza-spark {
    animation: none;
  }

  .pizza-click {
    transition: none;
  }
}
