:root {
  --beige: #d8d2c8;
  --beige-deep: #c5bcb1;
  --cream: #f3efe8;
  --ink: #161412;
  --ink-soft: #3a342e;
  --muted: #6e655c;
  --gold: #c9a66b;
  --gold-bright: #e0c08a;
  --ginger: #e08a45;
  --ginger-deep: #c96b2e;
  --cap: #1a1a1a;
  --white: #fffaf4;
  --glass: rgba(255, 250, 244, 0.55);
  --line: rgba(26, 26, 26, 0.12);
  --shadow: 0 24px 60px rgba(40, 28, 16, 0.14);
  --radius: 22px;
  --font-display: "Chakra Petch", sans-serif;
  --font-body: "Sora", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--beige);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
}

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

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

/* Atmosphere */
.bg-atmosphere {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(224, 138, 69, 0.22), transparent 55%),
    radial-gradient(ellipse 70% 45% at 100% 0%, rgba(201, 166, 107, 0.28), transparent 50%),
    linear-gradient(165deg, #ebe4da 0%, #d5cdc2 42%, #cfc6ba 100%);
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(48px);
  opacity: 0.55;
  animation: drift 18s ease-in-out infinite;
}

.orb-a {
  width: 42vw;
  height: 42vw;
  max-width: 520px;
  max-height: 520px;
  background: rgba(224, 138, 69, 0.35);
  top: 8%;
  left: -8%;
}

.orb-b {
  width: 36vw;
  height: 36vw;
  max-width: 440px;
  max-height: 440px;
  background: rgba(201, 166, 107, 0.4);
  top: 40%;
  right: -10%;
  animation-delay: -6s;
}

.orb-c {
  width: 28vw;
  height: 28vw;
  max-width: 360px;
  max-height: 360px;
  background: rgba(255, 250, 244, 0.7);
  bottom: 5%;
  left: 30%;
  animation-delay: -11s;
}

.grain {
  position: absolute;
  inset: 0;
  opacity: 0.08;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

#whiskers {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.35;
}

@keyframes drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(3%, -4%) scale(1.06); }
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 0.85rem 1.25rem;
  backdrop-filter: blur(16px);
  background: rgba(216, 210, 200, 0.72);
  border-bottom: 1px solid var(--line);
}

.nav {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 166, 107, 0.25);
  animation: softPulse 4s ease-in-out infinite;
}

.brand-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.25s ease;
}

.nav-links a:hover {
  color: var(--ginger-deep);
}

.nav-cta {
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: var(--cap);
  color: var(--gold-bright) !important;
  border: 1px solid var(--gold);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--glass);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

/* Hero */
.hero {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(2.5rem, 7vw, 5.5rem) 1.25rem 4rem;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  position: relative;
  min-height: calc(100vh - 76px);
}

.hero-glow {
  position: absolute;
  width: 55%;
  height: 70%;
  right: 0;
  top: 10%;
  background: radial-gradient(circle, rgba(201, 166, 107, 0.28), transparent 70%);
  filter: blur(20px);
  animation: breathe 7s ease-in-out infinite;
  pointer-events: none;
}

.eyebrow {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ginger-deep);
  margin-bottom: 0.9rem;
}

.hero h1 {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1.25rem;
}

.title-line {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 9vw, 5.8rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.02em;
  background: linear-gradient(120deg, var(--ink) 20%, var(--ginger) 55%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: titleShine 8s linear infinite;
  background-size: 200% auto;
}

.ticker {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.12em;
}

.lede {
  max-width: 34rem;
  color: var(--ink-soft);
  font-size: 1.05rem;
  margin-bottom: 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 1.6rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.9rem 1.35rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.04em;
  border: 1px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--ginger) 0%, var(--ginger-deep) 100%);
  color: var(--white);
  box-shadow: 0 12px 28px rgba(201, 107, 46, 0.28);
}

.btn-primary:hover {
  box-shadow: 0 16px 36px rgba(201, 107, 46, 0.4);
}

.btn-ghost {
  background: rgba(255, 250, 244, 0.55);
  border-color: var(--gold);
  color: var(--ink);
}

.btn-ghost:hover {
  background: var(--cap);
  color: var(--gold-bright);
}

.btn-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(72%) sepia(28%) saturate(650%) hue-rotate(358deg) brightness(92%);
}

.btn-primary .btn-icon {
  filter: brightness(0) invert(1);
}

.hero-socials {
  display: flex;
  gap: 0.75rem;
}

.icon-link {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(255, 250, 244, 0.65);
  border: 1px solid var(--line);
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.icon-link img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(18%) sepia(8%) saturate(700%) hue-rotate(350deg);
  transition: filter 0.25s ease;
}

.icon-link:hover {
  transform: translateY(-3px) scale(1.05);
  border-color: var(--gold);
  background: var(--cap);
}

.icon-link:hover img {
  filter: brightness(0) saturate(100%) invert(78%) sepia(28%) saturate(650%) hue-rotate(358deg) brightness(95%);
}

.logo-orbit {
  position: relative;
  width: min(100%, 460px);
  margin-inline: auto;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.orbit-ring {
  position: absolute;
  inset: 6%;
  border-radius: 50%;
  border: 1px dashed rgba(201, 166, 107, 0.55);
  animation: spin 28s linear infinite;
}

.orbit-ring.delay {
  inset: 0;
  border-style: solid;
  border-color: rgba(224, 138, 69, 0.2);
  animation-duration: 40s;
  animation-direction: reverse;
}

.orbit-ring::before,
.orbit-ring.delay::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  top: 8%;
  left: 50%;
  box-shadow: 0 0 16px rgba(201, 166, 107, 0.8);
}

.hero-logo {
  width: 72%;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid rgba(201, 166, 107, 0.65);
  box-shadow: var(--shadow), 0 0 0 12px rgba(255, 250, 244, 0.35);
  animation: floatLogo 5.5s ease-in-out infinite;
}

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

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes breathe {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}

@keyframes softPulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(201, 166, 107, 0.25); }
  50% { box-shadow: 0 0 0 6px rgba(201, 166, 107, 0.15); }
}

@keyframes titleShine {
  to { background-position: 200% center; }
}

/* Sections */
.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(3.5rem, 8vw, 6rem) 1.25rem;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 2.5rem;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.section-sub {
  color: var(--muted);
  font-size: 1.02rem;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.feature {
  padding: 1.5rem 1.35rem;
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(255, 250, 244, 0.72), rgba(255, 250, 244, 0.35));
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(40, 28, 16, 0.06);
  transition: transform 0.35s ease, border-color 0.35s ease;
  position: relative;
  overflow: hidden;
}

.feature::after {
  content: "";
  position: absolute;
  inset: auto -20% -40% auto;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(224, 138, 69, 0.2), transparent 70%);
  transition: transform 0.4s ease;
}

.feature:hover {
  transform: translateY(-6px);
  border-color: rgba(201, 166, 107, 0.55);
}

.feature:hover::after {
  transform: scale(1.4);
}

.feature-index {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.08em;
  margin-bottom: 0.85rem;
}

.feature h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: 0.55rem;
}

.feature p {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

/* How to buy */
.steps {
  list-style: none;
  display: grid;
  gap: 0.9rem;
  margin-bottom: 2rem;
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.2rem 1.3rem;
  border-radius: 18px;
  background: rgba(255, 250, 244, 0.5);
  border: 1px solid var(--line);
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.step:hover {
  border-color: var(--gold);
  transform: translateX(6px);
}

.step-num {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  background: var(--cap);
  color: var(--gold-bright);
  border: 1px solid var(--gold);
}

.step h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 0.25rem;
}

.step p {
  color: var(--muted);
  font-size: 0.95rem;
}

.buy-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.pill-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.7rem 1.05rem;
  border-radius: 999px;
  background: var(--cap);
  color: var(--gold-bright);
  border: 1px solid rgba(201, 166, 107, 0.45);
  font-size: 0.9rem;
  font-weight: 500;
  transition: transform 0.25s ease, background 0.25s ease;
}

.pill-link img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(78%) sepia(28%) saturate(650%) hue-rotate(358deg) brightness(95%);
}

.pill-link:hover {
  transform: translateY(-2px);
  background: #2a2622;
}

.ca-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  padding: 1rem 1.15rem;
  border-radius: 16px;
  background: rgba(26, 26, 26, 0.92);
  color: var(--cream);
}

.ca-label {
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

#contractAddress {
  flex: 1;
  min-width: 180px;
  font-size: 0.9rem;
  word-break: break-all;
  color: rgba(243, 239, 232, 0.85);
}

.copy-btn {
  border: 1px solid var(--gold);
  background: transparent;
  color: var(--gold-bright);
  font-family: var(--font-display);
  font-weight: 600;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
}

.copy-btn:hover,
.copy-btn.copied {
  background: var(--gold);
  color: var(--cap);
}

/* Chart */
.chart-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow);
  min-height: 520px;
}

.chart-frame iframe {
  width: 100%;
  height: 620px;
  border: 0;
  display: block;
}

.chart-actions {
  margin-top: 1.25rem;
  display: flex;
  justify-content: center;
}

/* Join us */
.joinus .banner-wrap {
  width: 100%;
  aspect-ratio: 3 / 1;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: var(--beige-deep);
  position: relative;
}

.join-banner {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 1.2s ease;
}

.banner-wrap:hover .join-banner {
  transform: scale(1.04);
}

.join-cta {
  margin-top: 1.75rem;
  display: flex;
  justify-content: center;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.5rem 1.25rem 3rem;
  background: rgba(197, 188, 177, 0.45);
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  gap: 1rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.footer-brand img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
}

.footer-brand strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.1rem;
}

.footer-brand span {
  color: var(--muted);
  font-size: 0.88rem;
}

.disclaimer {
  color: var(--muted);
  font-size: 0.88rem;
  max-width: 40rem;
}

.copy {
  font-family: var(--font-display);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--ink-soft);
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

/* Responsive */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    text-align: center;
  }

  .lede {
    margin-inline: auto;
  }

  .hero-actions,
  .hero-socials {
    justify-content: center;
  }

  .hero-visual {
    order: -1;
  }

  .logo-orbit {
    width: min(78vw, 340px);
  }

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

  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 1.25rem;
    left: 1.25rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem;
    border-radius: 16px;
    background: rgba(243, 239, 232, 0.96);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, transform 0.25s ease;
  }

  .nav-links.open {
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .nav-links a {
    padding: 0.85rem 1rem;
    border-radius: 12px;
  }

  .nav-links a:hover {
    background: rgba(201, 166, 107, 0.15);
  }

  .chart-frame iframe {
    height: 480px;
  }
}

@media (max-width: 560px) {
  .chart-frame {
    min-height: 420px;
  }

  .chart-frame iframe {
    height: 420px;
  }

  .ca-box {
    flex-direction: column;
    align-items: flex-start;
  }
}
