:root {
  --stage-width: 608;
  --stage-height: 1080;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
  background: #020915;
}

html {
  overflow: hidden;
}

body {
  overflow: hidden;
  color: #ffffff;
  font-family: Arial, Helvetica, sans-serif;
  -webkit-tap-highlight-color: transparent;
}

img {
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}

.landing-shell {
  display: grid;
  width: 100vw;
  min-height: 100svh;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 45%, rgb(0 111 255 / 18%), transparent 42%),
    #020915;
}

.hero-stage {
  position: relative;
  width: min(100vw, calc(100svh * var(--stage-width) / var(--stage-height)));
  height: min(100svh, calc(100vw * var(--stage-height) / var(--stage-width)));
  aspect-ratio: 608 / 1080;
  overflow: hidden;
  isolation: isolate;
  background: #061b3d;
  box-shadow: 0 0 52px rgb(0 137 255 / 20%);
}

.main-visual {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.claim-button {
  position: absolute;
  z-index: 50;
  bottom: max(2.2%, env(safe-area-inset-bottom));
  left: 50%;
  display: grid;
  width: 88%;
  min-height: clamp(66px, 8.5%, 90px);
  transform: translateX(-50%);
  place-items: center;
  overflow: hidden;
  border: 3px solid #ffe6a0;
  border-radius: 21px;
  background:
    linear-gradient(
      180deg,
      rgb(255 48 59 / 96%) 0,
      rgb(210 0 24 / 98%) 47%,
      rgb(113 0 15 / 99%) 100%
    ),
    #bb001d;
  box-shadow:
    0 0 0 3px #9b3d0b,
    0 0 0 6px #ffd56a,
    0 9px 0 #410007,
    0 14px 18px rgb(11 0 2 / 64%),
    inset 0 3px 2px rgb(255 239 191 / 72%),
    inset 0 -6px 13px rgb(66 0 10 / 72%),
    0 0 24px rgb(255 190 30 / 42%);
  color: #ffeeb4;
  text-decoration: none;
  outline: none;
  touch-action: manipulation;
  transform-origin: center center;
  will-change: transform, filter;
  animation: claim-pulse 1.35s cubic-bezier(0.33, 0.06, 0.23, 1) infinite;
}

.claim-button::before {
  position: absolute;
  inset: 5px;
  border: 1px solid rgb(255 221 126 / 75%);
  border-radius: 15px;
  box-shadow:
    inset 0 0 0 2px rgb(120 0 15 / 58%),
    inset 0 0 15px rgb(255 83 76 / 36%);
  content: "";
  pointer-events: none;
}

.claim-text-svg {
  position: relative;
  z-index: 2;
  display: block;
  width: min(78%, 330px);
  height: auto;
  overflow: visible;
  filter:
    drop-shadow(0 2px 0 #744000)
    drop-shadow(0 4px 1px #3c0008)
    drop-shadow(0 0 5px rgb(255 230 142 / 45%));
  pointer-events: none;
}



.claim-button:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 8px;
}

.claim-button:active {
  animation: none;
  transform: translateX(-50%) scale(0.96);
}

@keyframes claim-pulse {
  0%,
  100% {
    transform: translateX(-50%) scale(1);
    filter: brightness(1) drop-shadow(0 0 8px rgb(255 190 30 / 24%));
  }
  50% {
    transform: translateX(-50%) scale(1.09);
    filter: brightness(1.12) drop-shadow(0 0 17px rgb(255 202 58 / 48%));
  }
}
