:root {
  --pointer-x: 50%;
  --pointer-y: 50%;
  --black: #050505;
  --black-2: #0d0a05;
  --gold: #d8a742;
  --gold-bright: #ffe7a3;
  --gold-deep: #765013;
  --cream: #fff4d0;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  overflow: hidden;
  color: var(--cream);
  background: var(--black);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
}

#main {
  min-height: 100dvh;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(18rem, 1.05fr);
  align-items: center;
  width: 100%;
  height: 100dvh;
  min-height: 42rem;
  overflow: hidden;
  padding: clamp(1.25rem, 4vw, 4rem);
  isolation: isolate;
  background:
    radial-gradient(circle at var(--pointer-x) var(--pointer-y), rgba(255, 216, 127, 0.24), transparent 18rem),
    radial-gradient(circle at 72% 46%, rgba(214, 160, 53, 0.42), transparent 26rem),
    radial-gradient(circle at 16% 78%, rgba(142, 87, 9, 0.28), transparent 22rem),
    linear-gradient(115deg, #050505 0%, #151005 54%, #040404 100%);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: -20%;
  z-index: -2;
  pointer-events: none;
}

.hero::before {
  background:
    conic-gradient(from 18deg at 72% 48%, transparent 0deg, rgba(255, 220, 130, 0.22) 24deg, transparent 52deg, transparent 112deg, rgba(166, 102, 14, 0.22) 142deg, transparent 184deg, transparent 360deg);
  animation: atmosphereSweep 18s linear infinite;
}

.hero::after {
  background-image:
    linear-gradient(rgba(255, 230, 168, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 230, 168, 0.04) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(circle at 65% 50%, black, transparent 78%);
}

.hero-aura {
  position: absolute;
  inset: auto -10% -30% auto;
  width: 58vw;
  height: 58vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 196, 84, 0.26), transparent 64%);
  filter: blur(16px);
  animation: flarePulse 5.5s ease-in-out infinite;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0 48%, rgba(255, 225, 159, 0.12) 50%, transparent 52% 100%);
  opacity: 0.35;
  transform: skewX(-14deg);
}

.hero-orbit {
  position: absolute;
  right: clamp(1rem, 7vw, 8rem);
  top: 50%;
  width: clamp(20rem, 45vw, 48rem);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 225, 160, 0.18);
  border-radius: 50%;
  transform: translateY(-50%) rotateX(68deg);
  animation: orbitSpin 16s linear infinite;
}

.hero-orbit-two {
  width: clamp(16rem, 35vw, 38rem);
  animation-duration: 11s;
  animation-direction: reverse;
}

.hero-copy {
  position: relative;
  z-index: 4;
  max-width: 56rem;
  transform: translateY(-2vh);
}

.kicker {
  margin: 0 0 1rem;
  color: var(--gold-bright);
  font-size: clamp(0.74rem, 1.2vw, 1rem);
  letter-spacing: 0.48em;
  text-transform: uppercase;
  text-shadow: 0 0 24px rgba(255, 220, 132, 0.55);
}

h1 {
  margin: 0;
  max-width: 9ch;
  color: var(--cream);
  font-size: clamp(4.5rem, 12vw, 14rem);
  font-weight: 900;
  line-height: 0.78;
  letter-spacing: 0;
  text-transform: uppercase;
  text-wrap: balance;
  text-shadow:
    0 1px 0 #c68f2c,
    0 3px 0 #6b4610,
    0 22px 60px rgba(255, 187, 65, 0.3),
    0 42px 110px rgba(0, 0, 0, 0.72);
  animation: titleRise 950ms cubic-bezier(0.19, 1, 0.22, 1) both;
}

.statue-stage {
  position: relative;
  z-index: 3;
  display: grid;
  place-items: center;
  min-height: 100dvh;
  perspective: 1200px;
}

.statue-stage::before {
  content: "";
  position: absolute;
  width: clamp(18rem, 42vw, 44rem);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 209, 94, 0.42), rgba(122, 73, 7, 0.18) 45%, transparent 70%);
  filter: blur(18px);
  opacity: 0.86;
  animation: flarePulse 5.2s ease-in-out infinite;
}

.statue-frame {
  position: relative;
  z-index: 2;
  width: clamp(20rem, 39vw, 38rem);
  aspect-ratio: 2 / 3;
  transform-style: preserve-3d;
  transform-origin: 50% 72%;
  animation: statueTurn 9s ease-in-out infinite;
  filter:
    drop-shadow(0 0 44px rgba(255, 195, 80, 0.42))
    drop-shadow(0 34px 90px rgba(0, 0, 0, 0.78));
}

.statue-frame::after {
  content: "";
  position: absolute;
  inset: 4% 7% 10%;
  pointer-events: none;
  background:
    linear-gradient(105deg, transparent 8%, rgba(255, 245, 181, 0.38) 32%, transparent 48%),
    radial-gradient(circle at 54% 17%, rgba(255, 240, 168, 0.34), transparent 14%);
  mix-blend-mode: screen;
  animation: flarePulse 4.6s ease-in-out infinite;
}

.statue-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: saturate(1.08) contrast(1.06);
}

.flare {
  position: absolute;
  width: 22rem;
  height: 0.22rem;
  background: linear-gradient(90deg, transparent, rgba(255, 232, 155, 0.9), transparent);
  filter: blur(1px);
  animation: flarePulse 3.4s ease-in-out infinite;
}

.flare-left {
  left: 5%;
  top: 33%;
  transform: rotate(-18deg);
}

.flare-right {
  right: 1%;
  top: 23%;
  transform: rotate(18deg);
  animation-delay: -1.3s;
}

.hero-spark {
  position: absolute;
  width: 0.22rem;
  height: 0.22rem;
  border-radius: 50%;
  background: var(--gold-bright);
  box-shadow: 0 0 18px rgba(255, 227, 154, 0.9);
  animation: sparkFloat var(--spark-duration, 6s) linear infinite;
}

:focus-visible {
  outline: 3px solid var(--gold-bright);
  outline-offset: 4px;
}

@keyframes statueTurn {
  0% {
    transform: rotateY(-18deg) rotateX(1deg) translateY(0);
  }
  45% {
    transform: rotateY(18deg) rotateX(-1deg) translateY(-0.8rem);
  }
  100% {
    transform: rotateY(-18deg) rotateX(1deg) translateY(0);
  }
}

@keyframes titleRise {
  from {
    opacity: 0;
    transform: translateY(2rem) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes atmosphereSweep {
  to {
    transform: rotate(360deg);
  }
}

@keyframes orbitSpin {
  to {
    transform: translateY(-50%) rotateX(68deg) rotateZ(360deg);
  }
}

@keyframes flarePulse {
  0%,
  100% {
    opacity: 0.42;
    transform: scale(0.96);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
}

@keyframes sparkFloat {
  from {
    opacity: 0;
    transform: translate3d(0, 3rem, 0) scale(0.4);
  }
  12% {
    opacity: 1;
  }
  to {
    opacity: 0;
    transform: translate3d(var(--spark-drift, 2rem), -38rem, 0) scale(1);
  }
}

@media (max-width: 920px) {
  .hero {
    grid-template-columns: 1fr;
    align-content: center;
    gap: 0;
    padding: 1.2rem;
  }

  .hero-copy {
    z-index: 5;
    align-self: end;
    transform: translateY(6vh);
  }

  .statue-stage {
    min-height: 58dvh;
    align-self: end;
  }

  .statue-frame {
    width: min(78vw, 30rem);
  }
}

@media (max-width: 720px) {
  body {
    overflow: hidden;
  }

  .hero {
    min-height: 100dvh;
  }

  h1 {
    max-width: 6.9ch;
    font-size: clamp(3rem, 16.5vw, 5.4rem);
  }

  .kicker {
    letter-spacing: 0.32em;
  }

  .hero-copy {
    transform: translateY(4vh);
  }

  .statue-stage {
    min-height: 58dvh;
    transform: translateY(4vh);
  }

  .statue-frame {
    width: min(82vw, 24rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
