:root {
  --sand: #ffe4a6;
  --sun: #ffb85c;
  --coral: #ff756f;
  --peach: #ffd2a8;
  --sea: #079fbe;
  --deep-sea: #02637d;
  --foam: #efffff;
  --ink: #173346;
  --brown: #68402c;
  --shadow: 0 22px 60px rgba(7, 68, 91, 0.25);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff3cc;
  font-family: "Trebuchet MS", "Arial Rounded MT Bold", Arial, sans-serif;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  top: 14px;
  left: 50%;
  z-index: 50;
  display: flex;
  width: min(94vw, 1080px);
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 12px 10px 20px;
  border: 2px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  background: rgba(255, 248, 219, 0.72);
  box-shadow: 0 14px 35px rgba(83, 54, 22, 0.15);
  backdrop-filter: blur(14px);
  transform: translateX(-50%);
}

.brand {
  color: #7b3f24;
  font-size: 1.28rem;
  font-weight: 900;
}

nav {
  display: flex;
  gap: 8px;
}

nav a {
  padding: 10px 14px;
  border-radius: 999px;
  color: #285166;
  font-size: 0.92rem;
  font-weight: 800;
}

nav a:hover {
  background: rgba(255, 255, 255, 0.62);
}

.scene {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
}

.hero {
  display: grid;
  place-items: start center;
  isolation: isolate;
  background: linear-gradient(#ffb15f 0%, #ffd58c 48%, #8cd9e6 100%);
}

.hero-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  user-select: none;
}

.sun {
  z-index: 1;
}

.beach {
  z-index: 2;
}

.clouds {
  z-index: 3;
  animation: driftClouds 18s ease-in-out infinite alternate;
}

.trees {
  z-index: 4;
}

.hero-hippo {
  z-index: 5;
  object-position: center bottom;
  animation: floatHippo 4.8s ease-in-out infinite;
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: 6;
  content: "";
  background:
    linear-gradient(180deg, rgba(255, 165, 96, 0.08), rgba(0, 83, 124, 0.14)),
    radial-gradient(circle at 50% 22%, rgba(255, 255, 255, 0.32), transparent 26%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 10;
  display: grid;
  width: min(94vw, 920px);
  justify-items: center;
  gap: 16px;
  padding: clamp(94px, 14vh, 134px) 18px 24px;
  text-align: center;
}

.kicker,
.section-label {
  margin: 0;
  color: #b0462e;
  font-size: clamp(0.78rem, 1.5vw, 0.95rem);
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  line-height: 0.98;
  letter-spacing: 0;
}

h1 {
  color: #fff7d8;
  font-size: clamp(4.3rem, 12vw, 10.5rem);
  font-weight: 1000;
  text-shadow:
    0 7px 0 #94502b,
    0 17px 28px rgba(82, 38, 20, 0.28);
}

h2 {
  color: #fff8cf;
  font-size: clamp(2.6rem, 6vw, 5.5rem);
  font-weight: 1000;
  text-shadow: 0 5px 0 rgba(2, 77, 99, 0.34);
}

.contract-card {
  display: grid;
  width: min(100%, 720px);
  gap: 6px;
  padding: 16px 20px;
  border: 2px solid rgba(255, 255, 255, 0.72);
  border-radius: 28px;
  background: rgba(255, 249, 225, 0.82);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.contract-card span {
  color: #a24b2c;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.contract-card strong {
  overflow-wrap: anywhere;
  color: #24546b;
  font-size: clamp(0.78rem, 2vw, 1.05rem);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 13px 20px;
  box-shadow: 0 12px 24px rgba(55, 60, 68, 0.18);
  cursor: pointer;
  font: inherit;
  font-weight: 1000;
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.button:hover {
  box-shadow: 0 18px 32px rgba(55, 60, 68, 0.23);
  filter: saturate(1.08);
  transform: translateY(-4px) rotate(-1deg);
}

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

.primary {
  color: #123849;
  background: linear-gradient(180deg, #fff176, #ffc857);
}

.secondary {
  color: #fff;
  background: linear-gradient(180deg, #35bdd4, #047998);
}

.soft {
  color: #753b25;
  background: linear-gradient(180deg, #fff8e2, #ffd8a5);
}

.wave-divider {
  position: absolute;
  right: -5%;
  bottom: -2px;
  left: -5%;
  z-index: 12;
  height: 84px;
  background:
    radial-gradient(58px 38px at 48px 11px, transparent 97%, #0baecb 100%) 0 4px / 108px 64px repeat-x,
    linear-gradient(#0baecb, #078eaf);
}

.section-inner {
  position: relative;
  z-index: 2;
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.about-section {
  position: relative;
  min-height: 102svh;
  overflow: hidden;
  padding: clamp(92px, 12vw, 150px) 0;
  background: #087f9e;
}

.underwater-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.92;
}

.about-section::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(180deg, rgba(9, 155, 187, 0.1), rgba(1, 55, 84, 0.52)),
    radial-gradient(circle at 15% 18%, rgba(255, 244, 179, 0.24), transparent 27%);
}

.about-grid,
.tokenomics-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.88fr);
  align-items: center;
  gap: clamp(26px, 5vw, 72px);
}

.about-copy,
.token-card {
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 30px;
  background: rgba(2, 79, 105, 0.58);
  box-shadow: var(--shadow);
  color: var(--foam);
  backdrop-filter: blur(12px);
}

.about-copy {
  padding: clamp(24px, 4vw, 44px);
}

.about-copy p {
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.65;
}

.about-copy .strong-line {
  color: #fff37a;
  font-size: clamp(1.15rem, 2.3vw, 1.5rem);
  font-weight: 1000;
}

.water-hippo-wrap {
  display: grid;
  min-height: 360px;
  place-items: center;
}

.water-hippo {
  width: min(100%, 480px);
  filter: drop-shadow(0 24px 28px rgba(0, 32, 55, 0.28));
  animation: swimFloat 5.8s ease-in-out infinite;
}

.bubbles {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.bubbles span {
  position: absolute;
  bottom: -80px;
  width: var(--size, 22px);
  height: var(--size, 22px);
  border: 2px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  animation: bubbleRise var(--speed, 9s) linear infinite;
  left: var(--left, 50%);
}

.bubbles span:nth-child(1) { --left: 8%; --size: 18px; --speed: 8s; animation-delay: -2s; }
.bubbles span:nth-child(2) { --left: 18%; --size: 34px; --speed: 12s; animation-delay: -7s; }
.bubbles span:nth-child(3) { --left: 31%; --size: 14px; --speed: 7s; animation-delay: -4s; }
.bubbles span:nth-child(4) { --left: 44%; --size: 26px; --speed: 11s; animation-delay: -8s; }
.bubbles span:nth-child(5) { --left: 55%; --size: 18px; --speed: 9s; animation-delay: -1s; }
.bubbles span:nth-child(6) { --left: 68%; --size: 40px; --speed: 13s; animation-delay: -6s; }
.bubbles span:nth-child(7) { --left: 77%; --size: 15px; --speed: 8s; animation-delay: -3s; }
.bubbles span:nth-child(8) { --left: 86%; --size: 28px; --speed: 10s; animation-delay: -9s; }
.bubbles span:nth-child(9) { --left: 93%; --size: 20px; --speed: 7s; animation-delay: -5s; }
.bubbles span:nth-child(10) { --left: 39%; --size: 42px; --speed: 14s; animation-delay: -10s; }

.tokenomics-section {
  position: relative;
  overflow: hidden;
  padding: clamp(74px, 10vw, 128px) 0;
  background:
    radial-gradient(circle at 12% 20%, rgba(255, 221, 116, 0.55), transparent 22%),
    linear-gradient(160deg, #ffcb7d 0%, #ff8d78 43%, #1fb8d1 100%);
}

.tokenomics-section::before,
.tokenomics-section::after {
  position: absolute;
  content: "";
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  animation: bob 6s ease-in-out infinite;
}

.tokenomics-section::before {
  width: 160px;
  height: 52px;
  top: 52px;
  right: 10vw;
}

.tokenomics-section::after {
  width: 96px;
  height: 36px;
  bottom: 44px;
  left: 8vw;
  animation-delay: -2s;
}

.shock-art {
  display: grid;
  place-items: center;
}

.shock-art img {
  width: min(100%, 440px);
  border: 8px solid rgba(255, 255, 255, 0.54);
  border-radius: 36px;
  box-shadow: var(--shadow);
  transform: rotate(-3deg);
  animation: bob 5s ease-in-out infinite;
}

.token-card {
  padding: clamp(24px, 4vw, 42px);
  background: rgba(255, 251, 226, 0.82);
  color: var(--ink);
}

.token-card h2 {
  color: #18546c;
  text-shadow: 0 4px 0 rgba(255, 191, 94, 0.5);
}

.token-card dl {
  display: grid;
  gap: 12px;
  margin: 24px 0;
}

.token-card dl div {
  padding: 14px 16px;
  border: 2px solid rgba(3, 122, 151, 0.15);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.66);
}

dt {
  color: #b04d30;
  font-size: 0.78rem;
  font-weight: 1000;
  text-transform: uppercase;
}

dd {
  margin: 5px 0 0;
  overflow-wrap: anywhere;
  font-weight: 900;
}

.community-section {
  position: relative;
  overflow: hidden;
  padding: clamp(92px, 13vw, 160px) 0 clamp(110px, 15vw, 180px);
  background:
    linear-gradient(180deg, rgba(255, 230, 147, 0.2), rgba(255, 246, 199, 0.92)),
    linear-gradient(150deg, #2bbdd4 0%, #78d7dc 40%, #ffd06e 82%);
}

.community-section::before {
  position: absolute;
  right: -10%;
  bottom: -90px;
  left: -10%;
  height: 190px;
  content: "";
  background:
    radial-gradient(90px 42px at 80px 28px, transparent 96%, rgba(255, 255, 255, 0.72) 100%) 0 0 / 170px 78px repeat-x,
    linear-gradient(rgba(255, 255, 255, 0.72), rgba(255, 245, 202, 0.88));
  animation: waveSlide 12s linear infinite;
}

.community-content {
  display: grid;
  justify-items: center;
  gap: 16px;
  text-align: center;
}

.community-content h2 {
  max-width: 880px;
  color: #fff9d7;
}

.community-content p:not(.section-label) {
  margin: 0;
  color: #174258;
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 900;
}

.floaty {
  position: absolute;
  z-index: 1;
  border-radius: 999px;
  background: rgba(255, 245, 176, 0.66);
  box-shadow: inset -12px -10px 0 rgba(255, 149, 112, 0.2);
  animation: bob 5.5s ease-in-out infinite;
}

.floaty.one {
  width: 76px;
  height: 76px;
  top: 20%;
  left: 9%;
}

.floaty.two {
  width: 112px;
  height: 112px;
  right: 8%;
  bottom: 27%;
  animation-delay: -2.5s;
}

@keyframes driftClouds {
  from {
    transform: translate3d(-1.5%, -0.6%, 0) scale(1.02);
  }
  to {
    transform: translate3d(1.8%, 0.8%, 0) scale(1.04);
  }
}

@keyframes floatHippo {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-16px) rotate(1deg);
  }
}

@keyframes swimFloat {
  0%, 100% {
    transform: translate(0, 0) rotate(-2deg);
  }
  50% {
    transform: translate(14px, -18px) rotate(2deg);
  }
}

@keyframes bubbleRise {
  from {
    opacity: 0;
    transform: translate3d(0, 0, 0) scale(0.7);
  }
  12% {
    opacity: 0.8;
  }
  to {
    opacity: 0;
    transform: translate3d(34px, -115vh, 0) scale(1.2);
  }
}

@keyframes bob {
  0%, 100% {
    transform: translateY(0) rotate(-3deg);
  }
  50% {
    transform: translateY(-14px) rotate(2deg);
  }
}

@keyframes waveSlide {
  from {
    background-position: 0 0, 0 0;
  }
  to {
    background-position: 170px 0, 0 0;
  }
}

@media (max-width: 840px) {
  .site-header {
    align-items: flex-start;
    border-radius: 26px;
    flex-direction: column;
    padding: 12px 14px;
  }

  nav {
    width: 100%;
    justify-content: space-between;
  }

  nav a {
    padding: 8px 9px;
    font-size: 0.82rem;
  }

  .hero-content {
    padding-top: 136px;
  }

  .hero-layer {
    object-position: center bottom;
  }

  .hero-hippo {
    object-position: center 61%;
    opacity: 0.96;
  }

  .about-grid,
  .tokenomics-grid {
    grid-template-columns: 1fr;
  }

  .water-hippo-wrap {
    min-height: 260px;
    order: -1;
  }

  .shock-art {
    order: -1;
  }
}

@media (max-width: 560px) {
  .button-row {
    width: 100%;
  }

  .button {
    width: 100%;
    padding-inline: 16px;
  }

  .contract-card {
    border-radius: 22px;
    padding-inline: 14px;
  }

  h1 {
    font-size: clamp(3.25rem, 17vw, 4.5rem);
    text-shadow:
      0 5px 0 #94502b,
      0 12px 22px rgba(82, 38, 20, 0.28);
  }

  .contract-card strong {
    font-size: 0.76rem;
  }

  h2 {
    font-size: clamp(2.35rem, 13vw, 4rem);
  }

  .about-copy,
  .token-card {
    border-radius: 24px;
  }

  .floaty {
    opacity: 0.55;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}
