/* Pond Broker coming-soon — original pond theme, no remote assets or trackers */
@font-face {
  font-family: "Lilita One";
  src: url("../fonts/LilitaOne-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Nunito";
  src: url("../fonts/Nunito-Variable.ttf") format("truetype");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Sage fill sampled from the logo badge (~#e3efc9 / #e4f0cc). */
  --sage: #e3efc9;
  --sage-light: #e8f3d2;
  --sage-deep: #d8e8b8;
  --ink: #053716;
  --ink-soft: #164a2c;
  --ink-dim: #2d6b42;
  --moss: #1a5a34;
  --gold: #6b5420;
  --lily: #3a9448;
  --link: #164a2c;
  --card: rgba(255, 255, 255, 0.45);
  --max: 44rem;
}

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

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

html {
  color-scheme: light;
}

body {
  font-family: "Nunito", "Segoe UI", Trebuchet MS, sans-serif;
  font-weight: 500;
  color: var(--ink);
  background: var(--sage);
  line-height: 1.55;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

.pond {
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(255, 255, 255, 0.35), transparent 60%),
    radial-gradient(ellipse 70% 60% at 50% 100%, rgba(184, 210, 140, 0.35), transparent 55%),
    linear-gradient(180deg, var(--sage-light) 0%, var(--sage) 45%, var(--sage-deep) 100%);
  pointer-events: none;
}

.pond::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.28), transparent 28%),
    radial-gradient(circle at 80% 70%, rgba(200, 220, 150, 0.22), transparent 32%);
}

/* Concentric ripples behind the mascot */
.ripples {
  position: absolute;
  left: 50%;
  top: 26%;
  width: min(80vw, 40rem);
  height: min(80vw, 40rem);
  transform: translate(-50%, -50%);
}

.ripples span {
  position: absolute;
  inset: 0;
  border: 1.5px solid rgba(5, 55, 22, 0.16);
  border-radius: 50%;
  animation: ripple 8s ease-out infinite;
}

.ripples span:nth-child(2) { animation-delay: 2s; }
.ripples span:nth-child(3) { animation-delay: 4s; }
.ripples span:nth-child(4) { animation-delay: 6s; }

@keyframes ripple {
  0% { transform: scale(0.28); opacity: 0.55; }
  70% { opacity: 0.15; }
  100% { transform: scale(1); opacity: 0; }
}

/* Decorative lily pads — CSS-only, original shapes */
.pads {
  position: absolute;
  inset: 0;
}

.pad {
  position: absolute;
  width: var(--s, 7rem);
  height: calc(var(--s, 7rem) * 0.38);
  background: radial-gradient(ellipse at 40% 35%, #5cbc68, #1f5e32);
  border-radius: 50%;
  opacity: 0.55;
  filter: drop-shadow(0 6px 8px rgba(5, 55, 22, 0.18));
  animation: bob 7s ease-in-out infinite;
}

.pad::after {
  /* notch */
  content: "";
  position: absolute;
  right: 8%;
  top: 28%;
  width: 28%;
  height: 28%;
  background: inherit;
  background: var(--water-mid);
  clip-path: polygon(0 50%, 100% 0, 100% 100%);
  /* punch a notch by overlaying water color */
  background: #0a3a2e;
  opacity: 1;
}

/* Better notch: use mask */
.pad {
  --s: 7rem;
  -webkit-mask: radial-gradient(circle at 88% 40%, transparent 12%, #000 12.5%);
  mask: radial-gradient(circle at 88% 40%, transparent 12%, #000 12.5%);
}

.pad::after { display: none; }

.pad.p1 { --s: 9.5rem; left: 6%; top: 14%; animation-delay: 0s; opacity: 0.45; }
.pad.p2 { --s: 6rem; right: 8%; top: 22%; animation-delay: -2s; opacity: 0.4; }
.pad.p3 { --s: 8rem; left: 4%; bottom: 16%; animation-delay: -3.5s; opacity: 0.5; }
.pad.p4 { --s: 5.5rem; right: 10%; bottom: 22%; animation-delay: -1.2s; opacity: 0.42; }
.pad.p5 { --s: 4.2rem; left: 22%; top: 8%; animation-delay: -5s; opacity: 0.32; }

@keyframes bob {
  0%, 100% { transform: translateY(0) rotate(-6deg); }
  50% { transform: translateY(-8px) rotate(4deg); }
}

/* Soft reeds along the bottom */
.reeds {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 28vh;
  background:
    repeating-linear-gradient(
      96deg,
      transparent 0 18px,
      rgba(30, 80, 50, 0.0) 18px
    );
  pointer-events: none;
  overflow: hidden;
}

.reeds svg {
  position: absolute;
  bottom: 0;
  width: 280px;
  height: 220px;
  opacity: 0.55;
}

.reeds .left { left: -10px; }
.reeds .right { right: -10px; transform: scaleX(-1); }

.wrap {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2.5rem 1.4rem 1.5rem;
  width: 100%;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.logo {
  display: block;
  width: min(22rem, 78vw);
  height: auto;
  margin: 0 0 1.15rem;
  animation: frogbob 5s ease-in-out infinite;
  filter: drop-shadow(0 12px 20px rgba(5, 55, 22, 0.22));
}

.logo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 50%;
}

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

h1 {
  font-family: "Lilita One", "Impact", "Arial Black", sans-serif;
  font-weight: 400;
  font-size: clamp(3rem, 10vw, 6.4rem);
  line-height: 0.92;
  letter-spacing: 0.02em;
  margin: 0.15em 0 0.2em;
  color: var(--ink);
  text-shadow: none;
}

.tagline {
  font-size: clamp(1.15rem, 2.6vw, 1.55rem);
  font-weight: 700;
  color: var(--moss);
  margin: 0 0 1rem;
  max-width: var(--max);
  letter-spacing: 0.01em;
}

.soon {
  display: inline-block;
  margin: 0 0 1.25rem;
  padding: 0.28rem 0.95rem;
  border: 1px solid rgba(107, 84, 32, 0.45);
  border-radius: 999px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: rgba(107, 84, 32, 0.08);
}

.blurb {
  max-width: var(--max);
  margin: 0 auto 1.5rem;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--ink-soft);
}

.play {
  margin: 0 0 1.5rem;
}

.play > a {
  display: inline-block;
  margin: 0 0 0.45rem;
  padding: 0.7rem 1.65rem;
  background: var(--moss);
  color: #fff;
  font-family: "Nunito", "Segoe UI", Trebuchet MS, sans-serif;
  font-weight: 800;
  font-size: 1.12rem;
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-decoration: none;
  border-radius: 999px;
  border: 3px solid #25704a;
  box-shadow: 0 3px 0 #194e34;
}

.play > a:hover,
.play > a:focus-visible {
  background: var(--ink);
  color: #fff;
  text-decoration: none;
}

.play > a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

.play small {
  display: block;
  opacity: 0.75;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.play small a {
  color: var(--link);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.play small a:hover,
.play small a:focus-visible {
  color: var(--ink);
}

.token {
  max-width: min(46rem, 100%);
  margin: 0 auto;
  padding: 0.95rem 1.15rem 1.05rem;
  background: var(--card);
  border: 1px solid rgba(5, 55, 22, 0.18);
  border-radius: 1rem;
  backdrop-filter: blur(8px);
}

.token-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--link);
  font-weight: 800;
  text-decoration: none;
  font-size: 1.02rem;
}

.token-link img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  flex: none;
  background: #16532a;
}

.token-link:hover,
.token-link:focus-visible {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.token-link:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
  border-radius: 6px;
}

.token-fact {
  margin: 0.55rem 0 0;
  font-size: 0.92rem;
  color: var(--ink-soft);
  font-weight: 500;
}

footer {
  position: relative;
  z-index: 1;
  padding: 1rem 1.4rem 1.4rem;
  text-align: center;
  color: var(--ink-dim);
  font-size: 0.82rem;
  font-weight: 600;
}

footer p {
  margin: 0.15rem 0;
}

.legal {
  color: var(--ink-dim);
  font-weight: 500;
}

@media (max-width: 520px) {
  main { padding-top: 1.6rem; }
  .logo { width: min(17.5rem, 78vw); }
  .pad.p1, .pad.p2 { opacity: 0.28; }
  .blurb { font-size: 1rem; }
}

@media (min-height: 800px) and (min-width: 700px) {
  .logo { width: min(24rem, 38vw); }
}

@media (prefers-reduced-motion: reduce) {
  .ripples span,
  .pad,
  .logo {
    animation: none;
  }
}
