* { box-sizing: border-box; }
html, body { height: 100%; }
html { -webkit-tap-highlight-color: transparent; }
body {
  margin: 0;
  background: #f4efe6;
  color: #171717;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: radial-gradient(rgba(0, 0, 0, 0.06) 1px, transparent 1px);
  background-size: 16px 16px;
  opacity: 0.35;
  mask-image: radial-gradient(circle at 50% 45%, #000 0 45%, transparent 70%);
  -webkit-mask-image: radial-gradient(circle at 50% 45%, #000 0 45%, transparent 70%);
  pointer-events: none;
}
.app {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  align-items: center;
  justify-items: center;
  text-align: center;
  padding: clamp(22px, 7vh, 56px) 22px clamp(18px, 6vh, 40px);
  gap: 18px;
}
h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  font-size: 44px;
  letter-spacing: 0.2px;
}
.sub {
  margin: 6px 0 0;
  font-size: 13px;
  letter-spacing: 1.2px;
  opacity: 0.7;
}
.link {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.25);
  padding-bottom: 1px;
}
.link:active { opacity: 0.75; }
.link:focus-visible { outline: 2px solid rgba(0, 0, 0, 0.25); outline-offset: 4px; }
.hint {
  margin: 0;
  font-size: 12px;
  letter-spacing: 1.6px;
  opacity: 0.6;
}
.Button {
  --size: clamp(220px, 58vw, 300px);
  width: var(--size);
  height: var(--size);
  perspective: 600px;
}
.Button button { border-radius: 50%; }

#lizard {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 50%;
  box-shadow: 0 18px 0 #750014;
  background: radial-gradient(ellipse at center, #d60d2e 0%, #c20020 100%);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  transform: rotateX(30deg) translateY(0);
  cursor: pointer;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
#lizard:focus { outline: none; }
#lizard:focus-visible { filter: brightness(1.1); }

#lizard.is-pressed {
  box-shadow: 0 3px 0 #423847;
  background: radial-gradient(ellipse at center, #ff002b 0%, #ed0028 100%);
  transform: rotateX(30deg) translateY(15px);
  transition: transform 0.05s ease, box-shadow 0.05s ease;
}

.icon {
  position: relative;
  width: 40%;
  height: auto;
  display: block;
  margin: 0 auto;
  transform: translate3d(0, 0, 0);
  filter: drop-shadow(0 4px 4px rgba(0, 0, 0, 0.28));
  pointer-events: none;
}

.easter {
  position: fixed;
  right: 0;
  bottom: 0;
  width: clamp(160px, 34vw, 240px);
  transform: translate(120%, 120%);
  transition: transform 0.5s cubic-bezier(0.2, 0.9, 0.2, 1);
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.22));
  pointer-events: none;
  z-index: 2;
}
.easter img { display: block; width: 100%; height: auto; }
.easter.show { transform: translate(10%, 10%); }

@media (max-width: 360px) and (max-height: 360px) {
  .top, .hint { display: none; }
  .app { grid-template-rows: 1fr; padding: 10px; gap: 0; }
  .Button { --size: min(80vmin, 100%); }
}
