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

:root {
  --sand: #dcc6a6;
  --sand-mid: #d0b187;
  --sand-deep: #c4aa86;
  --parchment: #f3e6d0;
  --cream: #f8f1e4;
  --ivory: #fbf6ee;
  --gold: #c9a45c;
  --gold-bright: #e4c56a;
  --gold-mid: #b8893a;
  --gold-deep: #8e5e13;
  --bronze: #6b4417;
  --ink: #1c1610;
  --ink-soft: #3a3228;
  --stone: #5c5348;
  --stone-light: #8a7d6c;
  --line: rgba(142, 94, 19, 0.28);
  --pump-green: #2f7a56;
  --tg: #2aabee;
  --font-display: "Cinzel", serif;
  --font-brand: "Cormorant Garamond", serif;
  --font-body: "Outfit", system-ui, sans-serif;
  --header-h: 72px;
}

html {
  scroll-behavior: smooth;
}

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

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' 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");
}

.container {
  width: min(1140px, 92vw);
  margin: 0 auto;
}

.gold { color: var(--gold-deep); }
.center { text-align: center; }

/* ── Header ── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(248, 241, 228, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.site-header::after {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: -1px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-mid), var(--gold-bright), var(--gold-mid), transparent);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1140px, 92vw);
  margin: 0 auto;
  padding: 0.65rem 0;
  min-height: var(--header-h);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
}

.nav-logo {
  width: 46px;
  height: 46px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--gold-mid);
  box-shadow: 0 0 0 3px rgba(201, 164, 92, 0.25);
  background: var(--sand);
}

.nav-title {
  font-family: var(--font-brand);
  font-size: 1.55rem;
  font-weight: 600;
  font-style: italic;
  letter-spacing: 0.02em;
  color: var(--gold-deep);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}

.nav-links a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 600;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  transition: color 0.2s;
}

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

.nav-socials {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-social {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0 !important;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--bronze) !important;
  background: var(--ivory);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.nav-social:hover {
  border-color: var(--gold-mid);
  color: var(--gold-deep) !important;
  background: var(--parchment);
}

.nav-tg:hover {
  border-color: var(--tg);
  color: var(--tg) !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--bronze);
}

/* ── Hero ── */
.hero {
  position: relative;
  padding-top: var(--header-h);
  background: var(--sand);
}

.hero-banner {
  background: var(--sand);
  line-height: 0;
}

.hero-banner-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: center;
}

.hero-content {
  text-align: center;
  padding: 1.75rem 1.25rem 2.6rem;
  background:
    linear-gradient(180deg, var(--sand) 0%, var(--parchment) 100%);
}

.hero-badges {
  display: flex;
  gap: 0.55rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 0.85rem;
}

.badge {
  display: inline-block;
  padding: 0.32rem 0.9rem;
  font-family: var(--font-display);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-radius: 999px;
}

.badge-pump {
  background: rgba(47, 122, 86, 0.12);
  border: 1px solid rgba(47, 122, 86, 0.45);
  color: var(--pump-green);
}

.badge-sol {
  background: rgba(201, 164, 92, 0.18);
  border: 1px solid var(--gold-mid);
  color: var(--gold-deep);
}

.hero-eyebrow {
  font-family: var(--font-display);
  font-size: 0.68rem;
  letter-spacing: 0.32em;
  color: var(--bronze);
  margin-bottom: 0.25rem;
}

.hero-title {
  font-family: var(--font-brand);
  font-size: clamp(2.4rem, 8vw, 4.6rem);
  font-weight: 600;
  font-style: italic;
  line-height: 0.95;
  letter-spacing: 0.01em;
  color: var(--gold-deep);
  text-shadow: 0 1px 0 rgba(255, 244, 214, 0.7);
}

.hero-ticker {
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 2.4vw, 1.2rem);
  color: var(--gold-mid);
  letter-spacing: 0.22em;
  margin: 0.35rem 0 0.7rem;
}

.hero-tagline {
  font-family: var(--font-brand);
  font-style: italic;
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--ink-soft);
  margin: 0 auto 1.5rem;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 0.85rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1.7rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.78rem;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  cursor: pointer;
  border: none;
  border-radius: 999px;
  transition: transform 0.18s, box-shadow 0.18s, background 0.18s, border-color 0.18s;
}

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

.btn-gold {
  background: linear-gradient(180deg, var(--gold-bright) 0%, var(--gold-mid) 55%, var(--gold-deep) 100%);
  color: #1c1408;
  border: 1px solid var(--gold-deep);
  box-shadow: 0 8px 24px rgba(142, 94, 19, 0.28);
}

.btn-gold:hover {
  box-shadow: 0 12px 32px rgba(142, 94, 19, 0.38);
}

.btn-secondary {
  background: var(--ivory);
  color: var(--ink-soft);
  border: 1px solid var(--line);
}

.btn-secondary:hover {
  border-color: var(--gold-mid);
  color: var(--gold-deep);
}

.btn-lg {
  padding: 1.05rem 2.15rem;
  font-size: 0.82rem;
}

.btn-copy {
  background: linear-gradient(180deg, var(--gold-bright) 0%, var(--gold-deep) 100%);
  color: #1c1408;
  padding: 0.7rem 1.2rem;
  font-size: 0.72rem;
  flex-shrink: 0;
}

.btn-copy.copied {
  background: var(--parchment);
  color: var(--gold-deep);
  border: 1px solid var(--gold-mid);
}

/* ── Meander + Marquee ── */
.meander {
  height: 5px;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-bright) 35%, var(--gold-mid) 50%, var(--gold-bright) 65%, var(--gold-deep));
  box-shadow: inset 0 1px 0 rgba(255, 236, 180, 0.45), 0 1px 0 var(--bronze);
}

.marquee {
  background: linear-gradient(180deg, #4a3010, #2c1c0a);
  color: var(--gold-bright);
  padding: 0.7rem 0;
  overflow: hidden;
}

.marquee-track {
  display: flex;
  gap: 2.2rem;
  white-space: nowrap;
  animation: marquee 22s linear infinite;
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.28em;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ── Sections ── */
.section {
  padding: 5.5rem 0;
  position: relative;
  z-index: 1;
}

.section-label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.68rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 0.7rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 5.6vw, 3.5rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: 0.04em;
  margin-bottom: 1.3rem;
  text-transform: uppercase;
  color: var(--ink);
}

.section-sub {
  color: var(--stone);
  margin-bottom: 2rem;
  font-size: 1.08rem;
  font-family: var(--font-brand);
  font-style: italic;
}

.section-text {
  color: var(--ink-soft);
  margin-bottom: 1rem;
  font-size: 1.08rem;
  font-weight: 400;
}

.section-text strong {
  color: var(--gold-deep);
  font-weight: 700;
}

/* ── About ── */
.about {
  background: var(--parchment);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4rem;
  align-items: center;
}

.about-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.about-medallion {
  width: min(100%, 380px);
  aspect-ratio: 1;
  border-radius: 50%;
  padding: 10px;
  background:
    radial-gradient(circle at 30% 25%, var(--gold-bright), var(--gold-mid) 42%, var(--gold-deep) 100%);
  box-shadow:
    0 18px 40px rgba(80, 50, 10, 0.22),
    inset 0 0 0 3px rgba(255, 236, 180, 0.35);
}

.about-medallion img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  background: var(--sand);
}

.about-copy {
  max-width: 560px;
}

.meme-stats {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin-top: 2.1rem;
}

.meme-stats li {
  text-align: left;
  min-width: 78px;
  padding: 0.85rem 0 0;
  border-top: 2px solid var(--gold-mid);
}

.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--gold-deep);
  line-height: 1;
  letter-spacing: 0.04em;
}

.stat-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--stone);
  font-weight: 600;
  font-family: var(--font-display);
}

/* ── Origin ── */
.origin {
  background:
    linear-gradient(180deg, #efe0c8 0%, var(--sand-mid) 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.origin-card {
  max-width: 640px;
  margin: 0 auto;
  padding: 2.2rem 1.9rem;
  background: var(--ivory);
  border: 1px solid var(--gold-mid);
  box-shadow: 0 16px 40px rgba(80, 50, 10, 0.12);
  position: relative;
}

.origin-card::before,
.origin-card::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border: 2px solid var(--gold-mid);
}

.origin-card::before {
  top: 10px;
  left: 10px;
  border-right: none;
  border-bottom: none;
}

.origin-card::after {
  bottom: 10px;
  right: 10px;
  border-left: none;
  border-top: none;
}

.origin-quote {
  font-family: var(--font-brand);
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  font-style: italic;
  font-weight: 600;
  color: var(--gold-deep);
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.origin-text {
  color: var(--ink-soft);
  font-size: 1.05rem;
  margin-bottom: 0.9rem;
}

.origin-text:last-child {
  margin-bottom: 0;
}

.origin-text strong {
  color: var(--gold-deep);
  font-weight: 700;
}

/* ── Contract ── */
.contract {
  background: var(--parchment);
}

.ca-box {
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 720px;
  margin: 0 auto;
  padding: 1.05rem 1.25rem;
  background: var(--ivory);
  border: 1px solid var(--gold-mid);
}

.ca-address {
  flex: 1;
  font-family: ui-monospace, "Cascadia Code", monospace;
  font-size: clamp(0.75rem, 2.5vw, 1.05rem);
  color: var(--ink);
  word-break: break-all;
  line-height: 1.5;
  letter-spacing: 0.06em;
}

.copy-toast {
  text-align: center;
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: var(--gold-deep);
  min-height: 1.25rem;
  opacity: 0;
  transition: opacity 0.3s;
}

.copy-toast.show {
  opacity: 1;
}

/* ── Chart ── */
.chart-section {
  background: linear-gradient(180deg, #3a2a18 0%, #1c1610 100%);
  color: var(--cream);
}

.chart-section .section-label {
  color: var(--gold-bright);
}

.chart-section .section-title {
  color: var(--cream);
}

.chart-section .section-sub {
  color: var(--sand-mid);
}

.chart-wrapper {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--gold-deep);
  background: #000;
  min-height: 500px;
  border-radius: 8px;
}

.dexscreener-embed {
  width: 100%;
  height: 560px;
  border: none;
  display: block;
}

.dexscreener-embed.hidden {
  display: none;
}

.chart-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
  padding: 2rem;
  text-align: center;
  color: var(--sand-mid);
  font-family: var(--font-display);
  letter-spacing: 0.08em;
}

.chart-placeholder.hidden {
  display: none;
}

.chart-link {
  display: block;
  text-align: center;
  margin-top: 1.25rem;
  color: var(--gold-bright);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  font-family: var(--font-display);
}

.chart-link:hover {
  color: var(--gold);
}

/* ── Buy ── */
.buy {
  background: linear-gradient(180deg, var(--parchment) 0%, var(--sand) 100%);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
  margin-bottom: 3rem;
}

.step-card {
  background: var(--ivory);
  border: 1px solid var(--line);
  padding: 1.7rem 1.2rem;
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  transition: border-color 0.25s, transform 0.25s;
}

.step-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-bright));
}

.step-card:hover {
  border-color: var(--gold-mid);
  transform: translateY(-3px);
}

.step-num {
  font-family: var(--font-display);
  font-size: 2.1rem;
  color: rgba(142, 94, 19, 0.35);
  display: block;
  margin-bottom: 0.45rem;
  letter-spacing: 0.06em;
}

.step-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--ink);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.step-card p {
  font-size: 0.9rem;
  color: var(--stone);
  line-height: 1.5;
}

.buy-cta {
  display: flex;
  gap: 0.85rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Footer ── */
.footer {
  background: #2c1c0a;
  border-top: 2px solid var(--gold-mid);
  padding: 3rem 0 2rem;
  color: var(--sand);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}

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

.footer-logo {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--gold-mid);
  background: var(--sand);
}

.footer-brand strong {
  display: block;
  font-family: var(--font-brand);
  font-size: 1.7rem;
  font-style: italic;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--gold-bright);
}

.footer-brand span {
  font-size: 0.8rem;
  color: var(--sand-mid);
  font-weight: 500;
}

.footer-links {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--sand);
  text-decoration: none;
  font-weight: 600;
  font-family: var(--font-display);
  padding: 0.6rem 1.3rem;
  border: 1px solid rgba(201, 164, 92, 0.35);
  background: rgba(255, 244, 214, 0.04);
  border-radius: 999px;
  transition: border-color 0.2s, color 0.2s;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.footer-link:hover {
  border-color: var(--gold-bright);
  color: var(--gold-bright);
}

.footer-pump:hover {
  border-color: #7dcca4;
  color: #7dcca4;
}

.footer-tg:hover {
  border-color: var(--tg);
  color: var(--tg);
}

.footer-disclaimer {
  font-size: 0.75rem;
  color: var(--stone-light);
  max-width: 600px;
  line-height: 1.65;
}

@media (min-width: 901px) {
  /* Banner already carries the gold wordmark */
  .hero-title {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .hero-content {
    padding-top: 1.4rem;
  }
}

@media (max-width: 900px) {
  .hero-banner-img {
    height: min(52vh, 420px);
    object-position: 18% center;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: rgba(248, 241, 228, 0.98);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1.25rem;
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%);
    opacity: 0;
    transition: transform 0.3s, opacity 0.3s;
    pointer-events: none;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

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

  .about-visual {
    max-width: 280px;
    margin: 0 auto;
  }

  .meme-stats {
    justify-content: flex-start;
  }

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

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

  .btn-copy {
    justify-content: center;
  }

  .dexscreener-embed {
    height: 480px;
  }
}

@media (max-width: 480px) {
  .nav-title {
    font-size: 1.25rem;
  }

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

  .hero-title {
    font-size: clamp(2.1rem, 12vw, 3rem);
  }
}
