:root {
  color-scheme: light;
  background: #f3a52b;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

body {
  background: #f3a52b;
  overflow-x: hidden;
}

.coming-soon {
  --safe-pad: clamp(8px, 1.6vmin, 18px);
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: var(--safe-pad);
  overflow: hidden;
}

.coming-soon::before,
.coming-soon::after {
  content: "";
  position: absolute;
  inset: 0;
}

.coming-soon::before {
  background-image: url("assets/website-coming-soon.png");
  background-position: center;
  background-size: cover;
  filter: blur(16px) saturate(1.1);
  opacity: 0.72;
  transform: scale(1.08);
}

.coming-soon::after {
  background:
    radial-gradient(circle at 20% 12%, rgba(255, 242, 157, 0.4), transparent 28rem),
    linear-gradient(180deg, rgba(255, 189, 50, 0.18), rgba(202, 94, 19, 0.32));
}

.hero-image {
  position: relative;
  z-index: 1;
  display: block;
  width: calc(100vw - var(--safe-pad) - var(--safe-pad));
  height: auto;
  max-width: calc(100vw - var(--safe-pad) - var(--safe-pad));
  border-radius: clamp(12px, 1.2vmin, 18px);
  box-shadow: 0 20px 54px rgba(60, 27, 0, 0.32);
}

.easter-egg {
  position: fixed;
  left: var(--egg-left, 50vw);
  top: var(--egg-top, 50vh);
  z-index: 3;
  width: clamp(34px, 4vmin, 52px);
  height: clamp(34px, 4vmin, 52px);
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  opacity: 0;
  transform: translate(-50%, -50%);
}

.easter-egg:focus-visible,
.easter-egg:hover {
  outline: 2px solid rgba(255, 255, 255, 0.86);
  background: rgba(255, 216, 77, 0.42);
  opacity: 1;
}

.fireworks {
  position: fixed;
  inset: 0;
  z-index: 2;
  display: none;
  pointer-events: none;
}

.fireworks.is-active {
  display: block;
}

@media (max-width: 700px) {
  .coming-soon::before {
    background-position: 54% center;
    opacity: 0.82;
  }

  .coming-soon {
    padding: 10px;
  }

  .hero-image {
    border-radius: 14px;
    box-shadow: 0 20px 48px rgba(60, 27, 0, 0.42);
  }
}

@media (min-aspect-ratio: 3/2) {
  .hero-image {
    width: auto;
    height: calc(100vh - var(--safe-pad) - var(--safe-pad));
    height: calc(100svh - var(--safe-pad) - var(--safe-pad));
    height: calc(100dvh - var(--safe-pad) - var(--safe-pad));
    max-height: calc(100vh - var(--safe-pad) - var(--safe-pad));
    max-height: calc(100svh - var(--safe-pad) - var(--safe-pad));
    max-height: calc(100dvh - var(--safe-pad) - var(--safe-pad));
  }
}

@media (prefers-reduced-motion: reduce) {
  .fireworks {
    display: none;
  }
}
