* {
  box-sizing: border-box;
}

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

body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 50% 42%, rgba(136, 158, 126, 0.22), transparent 34%),
    radial-gradient(circle at 18% 20%, rgba(91, 111, 87, 0.25), transparent 28%),
    linear-gradient(135deg, #1e261f 0%, #394537 48%, #171d18 100%);
  color: #edf2e6;
  overflow: hidden;
}

.page {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.page::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at center, transparent 0 42%, rgba(0, 0, 0, 0.42) 100%),
    linear-gradient(90deg, rgba(255,255,255,0.03), transparent 22%, transparent 78%, rgba(255,255,255,0.02));
  pointer-events: none;
  z-index: -1;
}

.page::after {
  content: "";
  position: absolute;
  inset: -20%;
  background-image:
    radial-gradient(circle at 25% 35%, rgba(255,255,255,0.05), transparent 16%),
    radial-gradient(circle at 70% 60%, rgba(255,255,255,0.04), transparent 18%);
  filter: blur(28px);
  opacity: 0.55;
  pointer-events: none;
  z-index: -1;
}

.frog-button {
  width: min(100vw, 100vh * 16 / 9);
  height: min(100vh, 100vw * 9 / 16);
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: transform 260ms ease, filter 260ms ease;
  -webkit-tap-highlight-color: transparent;
}

.frog-button:hover {
  transform: scale(1.012);
  filter: saturate(1.04) contrast(1.03);
}

.frog-button:active {
  transform: scale(0.996);
}

.frog-button:focus-visible {
  outline: 2px solid rgba(237, 242, 230, 0.8);
  outline-offset: -18px;
  border-radius: 24px;
}

.frog-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
  pointer-events: none;
}

.frog-button.croak {
  animation: croak 520ms ease;
}

@keyframes croak {
  0% { transform: scale(1); }
  22% { transform: scale(1.018); }
  48% { transform: scale(0.997); }
  72% { transform: scale(1.01); }
  100% { transform: scale(1); }
}

.hint {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  padding: 10px 16px;
  border: 1px solid rgba(237, 242, 230, 0.16);
  border-radius: 999px;
  background: rgba(10, 14, 10, 0.32);
  backdrop-filter: blur(10px);
  color: rgba(237, 242, 230, 0.74);
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: lowercase;
}

@media (max-width: 700px) {
  .frog-button {
    width: 100vw;
    height: 100vh;
  }

  .frog-image {
    object-fit: cover;
  }

  .hint {
    bottom: 18px;
    font-size: 13px;
  }
}
