:root {
  --dusk: #101810;
  --moss: #6f8568;
  --leaf: #9bb48a;
  --ink: #e8f0dc;
  --muted: #a8b89c;
  --ember: #d4a24a;
  --play: #c43c28;
  --play-deep: #8a2014;
  --font-display: 'Syne', sans-serif;
  --font-body: 'Manrope', sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(120% 80% at 70% 20%, rgba(90, 120, 70, 0.28), transparent 55%),
    radial-gradient(90% 70% at 10% 90%, rgba(40, 70, 40, 0.45), transparent 50%),
    linear-gradient(165deg, #182218 0%, var(--dusk) 42%, #0c120c 100%);
  overflow-x: hidden;
}

.atmosphere {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.mist {
  position: absolute;
  inset: auto;
  width: 70vmax;
  height: 40vmax;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.35;
  animation: drift 18s ease-in-out infinite alternate;
}

.mist-a {
  left: -15%;
  bottom: -10%;
  background: radial-gradient(circle, rgba(120, 150, 100, 0.55), transparent 70%);
}

.mist-b {
  right: -20%;
  top: 10%;
  background: radial-gradient(circle, rgba(60, 90, 50, 0.5), transparent 70%);
  animation-duration: 22s;
  animation-delay: -4s;
}

.glow {
  position: absolute;
  right: 8%;
  top: 18%;
  width: min(48vw, 420px);
  height: min(48vw, 420px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 162, 74, 0.22), transparent 68%);
  animation: pulse 5.5s ease-in-out infinite;
}

.hero {
  position: relative;
  z-index: 2;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: max(28px, env(safe-area-inset-top)) clamp(22px, 5vw, 64px) 40vh;
  max-width: 760px;
}

.brand {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.6rem, 9vw, 5.2rem);
  line-height: 0.92;
  letter-spacing: -0.04em;
  color: var(--ink);
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.35);
  animation: rise 0.9s ease-out both;
}

.headline {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.35rem, 3.6vw, 2rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--leaf);
  animation: rise 0.9s ease-out 0.12s both;
}

.lede {
  margin: 0 0 28px;
  max-width: 34rem;
  font-size: clamp(1rem, 2.4vw, 1.15rem);
  line-height: 1.55;
  font-weight: 500;
  color: var(--muted);
  animation: rise 0.9s ease-out 0.22s both;
}

.cta {
  animation: rise 0.9s ease-out 0.32s both;
}

.play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 168px;
  padding: 14px 34px 15px;
  border-radius: 14px;
  background: linear-gradient(180deg, #e05038, var(--play) 55%, var(--play-deep));
  color: #fff8f0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: 1.5px solid #ffb090;
  box-shadow:
    0 1px 0 rgba(255, 200, 160, 0.35) inset,
    0 10px 28px rgba(120, 30, 10, 0.35);
  transition:
    transform 0.18s ease,
    filter 0.18s ease;
}

.play:hover {
  transform: translateY(-2px) scale(1.02);
  filter: brightness(1.06);
}

.play:active {
  transform: translateY(1px) scale(0.99);
}

.visual {
  position: fixed;
  z-index: 1;
  right: max(-4%, env(safe-area-inset-right));
  bottom: max(-2%, env(safe-area-inset-bottom));
  width: min(58vw, 520px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  pointer-events: none;
  animation: float 7s ease-in-out infinite;
}

.lamp {
  width: 78%;
  height: auto;
  object-fit: contain;
  border-radius: 18%;
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.55));
  position: relative;
  z-index: 2;
}

.lamp-ring {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  border: 1px solid rgba(212, 162, 74, 0.28);
  box-shadow:
    0 0 40px rgba(212, 162, 74, 0.18),
    inset 0 0 50px rgba(111, 133, 104, 0.15);
  animation: spin 28s linear infinite;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes drift {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(4%, -3%, 0);
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.7;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.06);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-14px);
  }
}

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

@media (max-width: 720px) {
  .hero {
    padding-bottom: 46vh;
    text-align: left;
  }

  .visual {
    width: min(92vw, 420px);
    right: 50%;
    transform: translateX(50%);
    bottom: -6%;
    animation: float-mobile 7s ease-in-out infinite;
  }
}

@keyframes float-mobile {
  0%,
  100% {
    transform: translateX(50%) translateY(0);
  }
  50% {
    transform: translateX(50%) translateY(-10px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
