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

:root {
  --cream: #fbf6e8;
  --cream-deep: #f0e4c4;
  --gold: #c0a030;
  --gold-bright: #e4c45a;
  --mustard: #b8942a;
  --ginger: #d28c45;
  --ginger-light: #f4c894;
  --espresso: #3a2e1c;
  --espresso-deep: #241c12;
  --ink: #2a2118;
  --ink-soft: #5c4e3a;
  --white: #fffdf6;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Outfit", system-ui, sans-serif;
  --radius: 18px;
  --shadow: 0 18px 40px rgba(36, 28, 18, 0.16);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(ellipse at 18% 0%, rgba(228, 196, 90, 0.45), transparent 46%),
    radial-gradient(ellipse at 92% 8%, rgba(210, 140, 69, 0.22), transparent 42%),
    radial-gradient(ellipse at 50% 100%, rgba(192, 160, 48, 0.16), transparent 48%),
    linear-gradient(180deg, #fbf6e8 0%, #f4e8c8 42%, #efe0b8 100%);
  line-height: 1.65;
  overflow-x: hidden;
  min-height: 100vh;
}

.gold-rays {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    conic-gradient(from 210deg at 12% -5%, transparent 0deg, rgba(228, 196, 90, 0.2) 18deg, transparent 36deg),
    conic-gradient(from 230deg at 12% -5%, transparent 0deg, rgba(255, 248, 230, 0.14) 12deg, transparent 28deg);
  opacity: 0.75;
}

.coin-drift {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.coin-speck {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--gold-bright), var(--gold) 55%, var(--mustard));
  opacity: 0.22;
  animation: drift 16s linear infinite;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.25);
}

.speck-1 { left: 8%; top: -10%; animation-delay: 0s; }
.speck-2 { left: 35%; top: -10%; animation-delay: -4s; width: 10px; height: 10px; }
.speck-3 { left: 62%; top: -10%; animation-delay: -8s; }
.speck-4 { left: 85%; top: -10%; animation-delay: -11s; width: 12px; height: 12px; }

@keyframes drift {
  0% { transform: translateY(0) rotate(0deg); }
  100% { transform: translateY(110vh) rotate(360deg); }
}

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

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

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(251, 246, 232, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(192, 160, 48, 0.22);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1100px, 92vw);
  margin: 0 auto;
  padding: 0.7rem 0;
}

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

.nav-logo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
  box-shadow: 0 4px 12px rgba(36, 28, 18, 0.18);
  background: var(--gold);
}

.nav-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

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

.nav-links a {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  transition: color 0.2s;
}

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

.nav-socials {
  display: flex;
  gap: 0.45rem;
  margin-left: 0.25rem;
}

.nav-social {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--espresso);
  color: var(--cream) !important;
  transition: transform 0.2s, background 0.2s;
}

.nav-social:hover {
  transform: translateY(-2px);
  background: var(--gold);
  color: var(--espresso-deep) !important;
}

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

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

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 42%, rgba(228, 196, 90, 0.38) 0%, transparent 58%),
    linear-gradient(180deg, #3a2e1c 0%, #2a2118 48%, #1a140d 100%);
}

.hero-glow {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 50% 38%, rgba(228, 196, 90, 0.28), transparent 42%),
    repeating-conic-gradient(from 0deg at 50% 40%, transparent 0deg, rgba(228, 196, 90, 0.07) 8deg, transparent 16deg);
  opacity: 0.9;
  pointer-events: none;
}

.hero-content {
  width: min(720px, 92vw);
  margin: 5.5rem auto 4rem;
  text-align: center;
  color: var(--white);
  animation: riseIn 0.9s ease-out both;
}

@keyframes riseIn {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-logo {
  width: min(176px, 42vw);
  height: min(176px, 42vw);
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid rgba(228, 196, 90, 0.95);
  box-shadow:
    0 0 0 10px rgba(192, 160, 48, 0.18),
    0 16px 48px rgba(0, 0, 0, 0.45);
  margin-bottom: 1.15rem;
  animation: floaty 3.4s ease-in-out infinite;
  background: var(--gold);
}

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

.hero-kicker {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  color: var(--gold-bright);
  margin-bottom: 0.55rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 8vw, 4.7rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
  margin-bottom: 0.3rem;
}

.hero-ticker {
  font-family: var(--font-body);
  font-size: clamp(1.4rem, 3.5vw, 1.95rem);
  font-weight: 800;
  color: var(--gold-bright);
  margin-bottom: 0.9rem;
  letter-spacing: 0.12em;
}

.hero-bio {
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  font-weight: 600;
  max-width: 34em;
  margin: 0 auto 1.6rem;
  color: rgba(255, 253, 246, 0.9);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: var(--espresso-deep);
  border-color: rgba(255, 248, 230, 0.45);
  box-shadow: 0 8px 24px rgba(192, 160, 48, 0.42);
}

.btn-primary:hover {
  box-shadow: 0 12px 28px rgba(192, 160, 48, 0.58);
}

.btn-ghost {
  background: rgba(255, 248, 230, 0.1);
  color: var(--white);
  border-color: rgba(228, 196, 90, 0.45);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  background: rgba(228, 196, 90, 0.2);
}

.btn-lg {
  padding: 1rem 1.6rem;
  font-size: 1.05rem;
}

.btn-copy {
  background: var(--espresso);
  color: var(--cream);
  border-color: var(--espresso);
  flex-shrink: 0;
}

.btn-copy.copied {
  background: var(--gold);
  color: var(--espresso-deep);
}

/* Marquee */
.marquee {
  overflow: hidden;
  background: var(--espresso);
  color: var(--cream);
  padding: 0.85rem 0;
  border-block: 3px solid var(--gold);
}

.marquee-track {
  display: flex;
  gap: 1.25rem;
  width: max-content;
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  animation: marquee 28s linear infinite;
}

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

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

.section-label {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  color: var(--mustard);
  margin-bottom: 0.6rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 2.85rem);
  line-height: 1.15;
  color: var(--espresso);
  margin-bottom: 1rem;
}

.section-text {
  color: var(--ink-soft);
  font-size: 1.05rem;
  margin-bottom: 1rem;
  max-width: 38em;
}

.section-text strong { color: var(--espresso); }

.story-link {
  display: inline-block;
  margin-top: 0.5rem;
  font-weight: 800;
  color: var(--mustard);
  text-decoration: none;
  border-bottom: 2px solid var(--gold-bright);
  transition: color 0.2s;
}

.story-link:hover { color: var(--espresso); }

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 3rem;
  align-items: center;
}

.about-visual {
  display: grid;
  place-items: center;
}

.about-photo {
  width: min(100%, 360px);
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  border: 6px solid var(--gold);
  box-shadow:
    0 0 0 12px rgba(192, 160, 48, 0.16),
    var(--shadow);
  background: var(--gold);
  animation: coinSpin 12s ease-in-out infinite;
}

@keyframes coinSpin {
  0%, 100% { transform: rotate(-3deg) scale(1); }
  50% { transform: rotate(3deg) scale(1.03); }
}

/* Origin / tweet embed */
.origin {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(228, 196, 90, 0.22), transparent 58%),
    transparent;
}

.origin-lead {
  text-align: center;
  color: var(--ink-soft);
  font-size: 1.08rem;
  font-weight: 600;
  max-width: 36em;
  margin: 0 auto 1.75rem;
}

.tweet-stage {
  max-width: 580px;
  margin: 0 auto;
  padding: 0.85rem;
  background:
    linear-gradient(180deg, #fffdf6 0%, #f7edd0 100%);
  border: 2px solid rgba(192, 160, 48, 0.5);
  border-radius: 24px;
  box-shadow:
    var(--shadow),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.tweet-stage-bar {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.35rem 0.65rem 0.85rem;
}

.tweet-stage-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(192, 160, 48, 0.18);
}

.tweet-stage-label {
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.tweet-stage-link {
  margin-left: auto;
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--mustard);
  text-decoration: none;
}

.tweet-stage-link:hover { color: var(--espresso); }

.x-card {
  background: #fff;
  border-radius: 16px;
  padding: 1.2rem 1.3rem 1.15rem;
  color: #0f1419;
  text-align: left;
}

.x-card-head {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.85rem;
}

.x-card-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--gold-bright), var(--ginger));
  color: var(--espresso-deep);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.x-card-who {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.25;
}

.x-card-who strong {
  font-size: 0.98rem;
  font-weight: 800;
}

.x-card-who span {
  font-size: 0.88rem;
  color: #536471;
  font-weight: 600;
}

.x-card-logo {
  margin-left: auto;
  color: #0f1419;
  flex-shrink: 0;
}

.x-card-body {
  font-size: 1.18rem;
  line-height: 1.45;
  font-weight: 600;
  margin-bottom: 0.85rem;
}

.x-card-meta {
  font-size: 0.9rem;
  color: #536471;
  font-weight: 600;
  padding-bottom: 0.95rem;
  border-bottom: 1px solid #eff3f4;
  margin-bottom: 0.85rem;
}

.x-card-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.7rem;
  border-radius: 999px;
  background: #0f1419;
  color: #fff;
  font-weight: 800;
  font-size: 0.92rem;
  text-decoration: none;
  transition: background 0.2s, transform 0.18s;
}

.x-card-cta:hover {
  background: #2a2118;
  transform: translateY(-1px);
}

.tweet-embed {
  display: flex;
  justify-content: center;
  width: 100%;
  height: 0;
  overflow: hidden;
  visibility: hidden;
  border-radius: 16px;
  background: #fff;
}

.tweet-stage.is-embedded .x-card {
  display: none;
}

.tweet-stage.is-embedded .tweet-embed {
  height: auto;
  min-height: 280px;
  overflow: visible;
  visibility: visible;
  margin-top: 0;
}

.tweet-embed .twitter-tweet {
  margin: 0 auto !important;
}

.tweet-embed iframe,
.tweet-embed twitter-widget {
  margin-left: auto !important;
  margin-right: auto !important;
}

blockquote.twitter-tweet {
  display: none;
}

/* Contract */
.contract {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(210, 140, 69, 0.16), transparent 55%),
    transparent;
}

.ca-box {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  max-width: 820px;
  margin: 1.5rem auto 0;
  padding: 1rem 1rem 1rem 1.25rem;
  background: var(--white);
  border: 2px solid rgba(192, 160, 48, 0.28);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.ca-address {
  flex: 1;
  font-size: clamp(0.72rem, 2vw, 0.95rem);
  word-break: break-all;
  color: var(--espresso);
  font-weight: 700;
}

.ca-address.is-tba {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  letter-spacing: 0.18em;
  text-align: center;
}

.copy-toast {
  text-align: center;
  min-height: 1.5rem;
  margin-top: 0.75rem;
  font-weight: 700;
  color: var(--mustard);
  opacity: 0;
  transition: opacity 0.25s;
}

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

/* Chart */
.chart-wrapper {
  margin-top: 1.5rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid rgba(192, 160, 48, 0.28);
  box-shadow: var(--shadow);
  background: #1a140d;
  min-height: 480px;
}

.chart-wrapper.is-tba {
  min-height: 280px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(ellipse at 50% 40%, rgba(228, 196, 90, 0.22), transparent 58%),
    #1a140d;
}

.chart-tba {
  text-align: center;
  color: var(--cream);
  padding: 3rem 1.5rem;
}

.chart-tba-kicker {
  display: block;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--gold-bright);
  margin-bottom: 0.5rem;
}

.chart-tba strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 3.4rem);
  letter-spacing: 0.16em;
  color: var(--gold-bright);
  margin-bottom: 0.45rem;
}

.chart-tba p {
  color: rgba(255, 248, 230, 0.75);
  font-weight: 600;
}

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

.chart-link {
  display: block;
  text-align: center;
  margin-top: 1rem;
  font-weight: 800;
  color: var(--mustard);
  text-decoration: none;
}

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

/* Buy steps */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin: 2rem 0 2.5rem;
}

.step {
  padding: 1.4rem 1.2rem;
  background: rgba(255, 253, 246, 0.78);
  border: 2px solid rgba(192, 160, 48, 0.18);
  border-radius: var(--radius);
  transition: transform 0.2s, box-shadow 0.2s;
}

.step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.step-num {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--gold);
  display: block;
  margin-bottom: 0.4rem;
}

.step h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--espresso);
  margin-bottom: 0.4rem;
}

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

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

.buy .btn-ghost {
  background: rgba(192, 160, 48, 0.1);
  color: var(--espresso);
  border-color: rgba(192, 160, 48, 0.35);
}

.buy .btn-ghost:hover {
  background: rgba(192, 160, 48, 0.2);
}

/* Footer */
.footer {
  position: relative;
  z-index: 1;
  padding: 2.5rem 0 2rem;
  background: var(--espresso-deep);
  color: var(--cream);
}

.footer-inner {
  display: grid;
  gap: 1.25rem;
  justify-items: center;
  text-align: center;
}

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

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

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

.footer-brand span {
  font-size: 0.85rem;
  opacity: 0.8;
}

.footer-links {
  display: flex;
  gap: 1.25rem;
}

.footer-links a {
  color: var(--gold-bright);
  font-weight: 800;
  text-decoration: none;
}

.footer-links a:hover { color: var(--white); }

.footer-disclaimer {
  max-width: 42em;
  font-size: 0.82rem;
  opacity: 0.7;
  line-height: 1.5;
}

/* Responsive */
@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

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

  .section-text { margin-inline: auto; }

  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .nav-links {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(251, 246, 232, 0.97);
    padding: 0.5rem 0 1rem;
    border-bottom: 1px solid rgba(192, 160, 48, 0.18);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }

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

  .nav-links li { border-top: 1px solid rgba(192, 160, 48, 0.1); }

  .nav-links a {
    display: block;
    padding: 0.9rem 1.5rem;
  }

  .nav-socials {
    justify-content: center;
    padding: 0.75rem;
    margin: 0;
  }

  .nav-toggle { display: flex; }

  .hero-content { margin-bottom: 3rem; }

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

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

  .dexscreener-embed,
  .chart-wrapper { min-height: 420px; height: 420px; }

  .dexscreener-embed { height: 420px; }

  .tweet-stage { padding: 0.65rem 0.5rem 0.2rem; }
}
