﻿:root {
  --cream: #eef6ff;
  --sun: #ffd66d;
  --grass: #66c77a;
  --sky: #8bd2ff;
  --ink: #2f2f2f;
  --brown: #6b4a2b;
  --pink: #ffb7b7;
  --card: #ffffff;
  --shadow: 0 18px 40px rgba(47, 47, 47, 0.12);
  --radius-lg: 28px;
  --radius-md: 18px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Fredoka", sans-serif;
  color: var(--ink);
  background-color: #6fa9e9;
  background-image: none;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

h1,
h2,
h3,
.brand-name {
  font-family: "Bungee", sans-serif;
  letter-spacing: 0.5px;
}

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

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

.container {
  width: min(1120px, 90%);
  margin: 0 auto;
}

.bg-shape {
  display: none;
  position: absolute;
  border-radius: 999px;
  filter: blur(0px);
  z-index: 0;
  opacity: 0.6;
}

.shape-a {
  width: 320px;
  height: 320px;
  background: rgba(139, 210, 255, 0.45);
  top: -80px;
  left: -80px;
}

.shape-b {
  width: 380px;
  height: 380px;
  background: rgba(255, 214, 109, 0.25);
  bottom: -120px;
  right: -120px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #6fa9e9;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(47, 47, 47, 0.08);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  width: 76px;
  height: 76px;
  border-radius: 16px;
  border: 3px solid var(--sun);
  box-shadow: 0 6px 16px rgba(47, 47, 47, 0.12);
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.brand-name {
  font-size: 20px;
  text-transform: uppercase;
}

.brand-ticker {
  font-weight: 600;
  color: var(--brown);
}

.nav-links {
  display: flex;
  gap: 20px;
  font-weight: 600;
}

.nav-links a {
  padding: 8px 12px;
  border-radius: 999px;
}

.nav-links a:hover {
  background: rgba(139, 210, 255, 0.45);
}

.nav-cta {
  display: flex;
}

.hero {
  padding: 70px 0 40px;
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(2.4rem, 3vw + 1.5rem, 4rem);
  margin: 10px 0 12px;
  color: #ffffff;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--brown);
}

.lead {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 24px;
}

.contract-line {
  font-weight: 600;
  color: var(--brown);
  margin: 6px 0 20px;
  word-break: break-all;
}

.contract-line span {
  font-weight: 500;
  color: var(--ink);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.btn {
  border: none;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn-primary {
  background: var(--sun);
  color: #432f17;
  box-shadow: 0 12px 24px rgba(255, 214, 109, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
}

.btn-ghost {
  background: #ffffff;
  border: 2px dashed rgba(47, 47, 47, 0.2);
}

.btn-ghost:hover {
  transform: translateY(-2px);
}

.btn-copy {
  background: var(--grass);
  color: #ffffff;
  box-shadow: 0 10px 20px rgba(102, 199, 122, 0.35);
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 16px;
  background: rgba(255, 255, 255, 0.7);
  padding: 16px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
}

.stat-label {
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 2px;
  color: var(--brown);
}

.stat-value {
  display: block;
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 4px;
}

.section {
  padding: 70px 0;
  position: relative;
  z-index: 1;
}

.section-head {
  max-width: 720px;
  margin-bottom: 32px;
}

.section-head h2 {
  margin: 12px 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
}

.feature-card {
  background: rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow);
}

.section-highlight {
  background: transparent;
}

.pfp-spotlight {
  position: relative;
}

.pfp-spotlight::before {
  content: "";
  position: absolute;
  inset: 0;
  background: none;
  pointer-events: none;
  z-index: 0;
}

.pfp-spotlight .container {
  position: relative;
  z-index: 1;
  width: min(1440px, 96%);
}

.pfp-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: start;
}

.pfp-copy {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}


.pfp-tool {
  background: transparent;
  padding: 0;
  border-radius: var(--radius-lg);
  box-shadow: none;
  display: grid;
  gap: 16px;
  border: none;
  width: 100%;
}

.pfp-preview {
  position: relative;
  background: #e9f5ff;
  border-radius: 26px;
  padding: 18px;
  width: min(560px, 100%);
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pfp-preview img {
  width: 100%;
  max-width: 520px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 20px;
  display: none;
  box-shadow: 0 18px 32px rgba(47, 47, 47, 0.2);
}

.pfp-preview.has-image img {
  display: block;
}

.pfp-placeholder {
  position: absolute;
  inset: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: var(--brown);
  background: rgba(255, 255, 255, 0.75);
  border-radius: 20px;
  border: 2px dashed rgba(47, 47, 47, 0.2);
  text-align: center;
  padding: 10px;
}

.pfp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.pfp-input {
  position: absolute;
  left: -9999px;
}

.pfp-status {
  margin: 0;
  font-weight: 600;
  color: var(--brown);
  text-align: center;
}

.pfp-loading {
  position: absolute;
  inset: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.8);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.pfp-loading.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.cow-loader {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cow-loader .spot {
  width: 14px;
  height: 14px;
  background: #2f2f2f;
  border-radius: 50%;
  animation: spotBounce 0.9s ease-in-out infinite;
}

.cow-loader .spot:nth-child(2) {
  animation-delay: 0.15s;
}

.cow-loader .spot:nth-child(3) {
  animation-delay: 0.3s;
}

.cow-loader .bell {
  width: 18px;
  height: 16px;
  background: #ffd66d;
  border-radius: 0 0 10px 10px;
  position: relative;
  margin-left: 6px;
  box-shadow: inset 0 -2px 0 rgba(111, 78, 35, 0.2);
  animation: bellSwing 1.1s ease-in-out infinite;
  transform-origin: top center;
}

.cow-loader .bell::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  background: #6b4a2b;
  border-radius: 50%;
}

.loading-text {
  font-weight: 600;
  color: var(--brown);
}

@keyframes spotBounce {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.7;
  }
  50% {
    transform: translateY(-6px);
    opacity: 1;
  }
}

@keyframes bellSwing {
  0%,
  100% {
    transform: rotate(6deg);
  }
  50% {
    transform: rotate(-8deg);
  }
}

.herd-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.herd-card {
  margin: 0;
  background: var(--card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  text-align: center;
}

.herd-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
}

.herd-card figcaption {
  padding: 14px 16px 18px;
  font-weight: 600;
  color: var(--brown);
}


.token-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  align-items: stretch;
}

.token-card {
  background: var(--card);
  padding: 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.token-card ul {
  list-style: none;
  padding: 0;
  margin: 20px 0 24px;
}

.token-card li {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(47, 47, 47, 0.1);
}

.token-card li span {
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 2px;
  color: var(--brown);
}

.token-card li strong {
  font-size: 0.95rem;
  word-break: break-all;
}

.token-banner {
  background: var(--card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
}

.token-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 20px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.6));
  color: #ffffff;
}

.community-centered {
  text-align: center;
}

.site-footer {
  padding: 30px 0 50px;
  border-top: 1px solid rgba(47, 47, 47, 0.1);
  background: rgba(255, 255, 255, 0.6);
}

.site-footer .container {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-weight: 600;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .hero {
    padding-top: 40px;
  }

}

@media (max-width: 600px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
  }
}
