:root {
  --black: #000000;
  --purple: #A181E1;
  --white: #f7f5ff;
  --muted: #c8c1d8;
  --shadow: rgba(0, 0, 0, 0.48);
  --focus: #ffffff;
  --shimmer-opacity: 0.96;
  --shimmer-duration: 16s;
  --scroll-shift: 0px;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--black);
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background: var(--black);
  color: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
body.is-scrolling {
  --shimmer-opacity: 1;
  --shimmer-duration: 5.5s;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: -18vh -18vw;
  z-index: 0;
  pointer-events: none;
  opacity: var(--shimmer-opacity);
  transition: opacity 180ms ease;
  will-change: transform, background-position, opacity;
}

body::before {
  background:
    radial-gradient(ellipse at 18% 16%, rgba(161, 129, 225, 0.28) 0%, rgba(161, 129, 225, 0.15) 18%, transparent 42%),
    radial-gradient(ellipse at 82% 30%, rgba(161, 129, 225, 0.22) 0%, rgba(161, 129, 225, 0.12) 20%, transparent 46%),
    linear-gradient(112deg, transparent 0%, rgba(161, 129, 225, 0.2) 23%, transparent 48%, rgba(161, 129, 225, 0.14) 67%, transparent 100%);
  background-size: 150% 150%, 140% 140%, 240% 240%;
  filter: blur(22px);
  animation: purple-wave-drift var(--shimmer-duration) ease-in-out infinite alternate;
  transform: translate3d(calc(var(--scroll-shift) * 0.12), calc(var(--scroll-shift) * -0.08), 0);
}

body::after {
  background:
    repeating-linear-gradient(
      128deg,
      transparent 0 78px,
      rgba(161, 129, 225, 0.095) 96px,
      transparent 150px
    );
  background-size: 220% 220%;
  mix-blend-mode: screen;
  filter: blur(10px);
  animation: purple-ripple var(--shimmer-duration) linear infinite;
  transform: translate3d(calc(var(--scroll-shift) * -0.1), calc(var(--scroll-shift) * 0.05), 0);
}

@keyframes purple-wave-drift {
  from {
    background-position: 0% 20%, 100% 12%, 0% 50%;
  }

  to {
    background-position: 100% 80%, 0% 62%, 100% 50%;
  }
}

@keyframes purple-ripple {
  from {
    background-position: 0% 0%;
  }

  to {
    background-position: 100% 100%;
  }
}

.site-shell,
.site-footer,
.wallet-page {
  position: relative;
  z-index: 1;
}

@media (prefers-reduced-motion: reduce) {
  body::before,
  body::after {
    animation: none;
    transform: none;
  }
}


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

a {
  color: inherit;
}

.site-shell {
  width: min(100%, 1440px);
  margin: 0 auto;
  padding: clamp(18px, 4vw, 44px) clamp(16px, 4vw, 64px) 28px;
}

.hero {
  display: grid;
  justify-items: center;
  gap: clamp(38px, 6vw, 72px);
}

.hero-video {
  width: min(100%, 920px);
  max-height: none;
  background: var(--black);
  object-fit: contain;
  aspect-ratio: auto;
}

h1 {
  margin: 0;
  color: var(--purple);
  font-family: "Arial Black", "Avenir Next Condensed", "Helvetica Neue", Impact, sans-serif;
  font-size: clamp(2.1rem, 6.5vw, 5.8rem);
  font-weight: 900;
  line-height: 0.9;
  text-align: center;
  letter-spacing: 0;
}

.story-section {
  display: flex;
  justify-content: center;
  position: relative;
  margin-top: clamp(34px, 6vw, 82px);
}

.photo-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  position: relative;
  align-items: start;
  gap: clamp(16px, 2.4vw, 28px);
  width: min(100%, 1280px);
  margin: clamp(34px, 6vw, 70px) auto 0;
}

.child-photo {
  width: 100%;
  max-width: 340px;
  margin-inline: auto;
  aspect-ratio: 1 / 1;
  height: auto;
  border-radius: 50%;
  object-fit: cover;
  filter: drop-shadow(0 18px 22px var(--shadow));
  transform-origin: center;
}

.photo-gallery .child-photo:nth-child(even) {
  margin-top: clamp(14px, 3vw, 36px);
}



.rotate-left-soft {
  transform: rotate(-3deg);
}

.rotate-right-soft {
  transform: rotate(3deg);
}

.story-card {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(24px, 4vw, 46px);
  background: var(--purple);
  color: var(--black);
  position: relative;
  z-index: 1;
  box-shadow: 0 22px 50px var(--shadow);
}

.story-card h2,
.story-card p {
  max-width: 58ch;
  margin-inline: auto;
}

.story-card h2 {
  margin-top: 0;
  margin-bottom: clamp(18px, 3vw, 28px);
  color: var(--black);
  font-family: "Arial Black", "Avenir Next Condensed", "Helvetica Neue", Impact, sans-serif;
  font-size: clamp(1.25rem, 2.35vw, 2.05rem);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.1;
  text-align: center;
  letter-spacing: 0;
}

.story-card p {
  margin-block: 0;
  color: var(--black);
  font-size: clamp(1rem, 1.6vw, 1.22rem);
  font-weight: 800;
  line-height: 1.48;
}

.story-card p + p {
  margin-top: 1em;
}

.support-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: clamp(36px, 7vw, 78px);
}

.support-button,
.back-button,
.copy-button {
  display: inline-flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 0;
  background: var(--purple);
  color: var(--black);
  font: inherit;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, filter 160ms ease, box-shadow 160ms ease;
}

.support-button {
  width: min(100%, 260px);
  padding: 18px 22px;
}

.button-icon {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  color: var(--black);
  fill: currentColor;
}

.support-button:hover,
.support-button:focus-visible,
.back-button:hover,
.back-button:focus-visible,
.copy-button:hover,
.copy-button:focus-visible {
  filter: brightness(1.08);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px var(--shadow);
}

.support-button:focus-visible,
.back-button:focus-visible,
.copy-button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: min(100%, 1440px);
  margin: 0 auto;
  padding: 22px 16px 34px;
  color: var(--muted);
  text-align: center;
}

.footer-logo {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.site-footer p {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 650;
}

.site-footer a {
  color: var(--white);
  text-underline-offset: 4px;
}

.wallet-page {
  min-height: 100vh;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 22px;
  width: min(100%, 760px);
  margin: 0 auto;
  padding: 28px 16px;
}

.wallet-page h1 {
  font-size: clamp(2rem, 8vw, 4rem);
}

.wallet-card {
  display: grid;
  justify-items: center;
  gap: 18px;
  width: 100%;
  padding: clamp(22px, 5vw, 42px);
  background: var(--purple);
  color: var(--black);
}

.wallet-address {
  width: 100%;
  margin: 0;
  color: var(--black);
  font-size: clamp(1rem, 3vw, 1.35rem);
  font-weight: 900;
  line-height: 1.45;
  overflow-wrap: anywhere;
  text-align: center;
  user-select: all;
}

.copy-button,
.back-button {
  min-width: 142px;
  padding: 16px 22px;
}

.copy-button {
  background: var(--black);
  color: var(--purple);
}

.copy-button[data-copied="true"] {
  color: var(--white);
}

@media (max-width: 1100px) {
  .photo-gallery {
    width: min(100%, 700px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(16px, 4vw, 28px);
  }
}

@media (max-width: 640px) {
  .site-shell {
    padding-inline: 14px;
  }

  .hero-video {
    width: 100%;
  }

  .story-section {
    margin-top: 28px;
  }

  .story-card {
    padding: 22px 18px;
  }

  .photo-gallery {
    gap: 12px;
  }

  .child-photo {
    max-width: 280px;
  }



  .rotate-left-soft,
  .rotate-right-soft {
    transform: none;
  }

  .support-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .support-button {
    width: 100%;
  }

  .site-footer {
    flex-wrap: wrap;
  }
}

@media (max-width: 380px) {
  .photo-gallery {
    grid-template-columns: 1fr;
  }
}
