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

:root {
  --gold: #c9a227;
  --gold-bright: #e8c547;
  --gold-deep: #8a6b14;
  --silver: #c8c4bc;
  --ink: #f7f3ea;
  --muted: #a89f8f;
  --white: #fffdf8;
  --bg: #0c0a08;
  --card: #16120e;
  --outline: #1a140c;
  --wood: #3d2e1f;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(ellipse at 18% 0%, rgba(201, 162, 39, 0.18), transparent 42%),
    radial-gradient(ellipse at 88% 8%, rgba(61, 46, 31, 0.55), transparent 38%),
    var(--bg);
  line-height: 1.55;
  overflow-x: hidden;
  min-height: 100vh;
}

.bg-grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.35;
  background:
    radial-gradient(circle at 20% 70%, rgba(201, 162, 39, 0.12), transparent 28%),
    radial-gradient(circle at 90% 55%, rgba(200, 196, 188, 0.06), transparent 24%);
}

img { max-width: 100%; display: block; }
.container { width: min(1120px, 92vw); margin: 0 auto; }
.accent { color: var(--gold-bright); }

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0.85rem 0 0;
}

.nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1120px, 92vw);
  margin: 0 auto;
  padding: 0.55rem 0.7rem 0.55rem 0.75rem;
  background: rgba(12, 10, 8, 0.78);
  border: 1px solid rgba(201, 162, 39, 0.55);
  border-radius: 999px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

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

.nav-logo {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--gold);
  background: #fff;
}

.nav-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

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

.nav-links a {
  color: var(--silver);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
}

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

.nav-socials { display: flex; gap: 0.4rem; }
.nav-socials[hidden] { display: none !important; }

.nav-social {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--gold-bright), var(--gold-deep));
  color: var(--outline) !important;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.nav-social:hover { filter: brightness(1.08); }
.nav-social[hidden] { display: none !important; }

.nav-cta {
  display: inline-flex !important;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: linear-gradient(145deg, var(--gold-bright), var(--gold)) !important;
  color: var(--outline) !important;
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-weight: 800 !important;
}

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

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

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 35% 40%;
  z-index: -2;
  animation: heroDrift 18s ease-in-out infinite alternate;
}

@keyframes heroDrift {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.08) translate3d(-1.2%, 0.6%, 0); }
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(12, 10, 8, 0.82) 0%, rgba(12, 10, 8, 0.35) 46%, rgba(12, 10, 8, 0.15) 72%),
    linear-gradient(180deg, rgba(12, 10, 8, 0.25) 0%, transparent 28%, rgba(12, 10, 8, 0.88) 100%);
}

.hero-grid {
  width: min(1120px, 92vw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: end;
  padding: 8rem 0 3.2rem;
}

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

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.6rem, 11vw, 7rem);
  line-height: 0.92;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--white);
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
  margin-bottom: 0.25rem;
  animation: titleIn 1s ease both;
}

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

.hero-ticker {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3.6vw, 2.1rem);
  font-style: italic;
  color: var(--gold-bright);
  margin-bottom: 0.9rem;
}

.hero-bio {
  font-size: 1.08rem;
  font-weight: 600;
  max-width: 28em;
  margin-bottom: 1.45rem;
  color: rgba(247, 243, 234, 0.9);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.hero .btn-ghost {
  background: rgba(255, 253, 248, 0.1);
  color: var(--white);
  border-color: rgba(232, 197, 71, 0.45);
}

.hero-stage {
  display: grid;
  place-items: end center;
}

.hero-logo {
  width: min(240px, 62%);
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
  box-shadow: 0 0 0 8px rgba(201, 162, 39, 0.12), 0 20px 40px rgba(0, 0, 0, 0.4);
  background: #fff;
  animation: floatLogo 3.2s ease-in-out infinite;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1rem;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
  transition: transform 0.15s ease, filter 0.15s ease;
}

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

.btn-primary {
  background: linear-gradient(145deg, var(--gold-bright), var(--gold));
  color: var(--outline);
}

.btn-ghost {
  background: rgba(255, 253, 248, 0.08);
  color: var(--white);
  border-color: rgba(201, 162, 39, 0.4);
}

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

.btn-copy {
  background: linear-gradient(145deg, var(--gold-bright), var(--gold));
  color: var(--outline);
  flex-shrink: 0;
}

.btn-copy.copied {
  background: var(--silver);
  color: var(--outline);
}

/* Marquee */
.marquee {
  overflow: hidden;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold), var(--gold-bright), var(--gold));
  color: var(--outline);
  border-block: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.75rem 0;
}

.marquee-alt {
  background: #100e0b;
  color: var(--gold-bright);
  border-block-color: rgba(201, 162, 39, 0.35);
}

.marquee-track {
  display: flex;
  gap: 1.15rem;
  width: max-content;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  animation: marquee 26s linear infinite;
}

.marquee-track.reverse { animation-direction: reverse; animation-duration: 32s; }

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

/* Sections */
.section { padding: 4.8rem 0; }

.section-label {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.74rem;
  color: var(--gold-bright);
  margin-bottom: 0.4rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: 0.01em;
  margin-bottom: 1rem;
  color: var(--white);
}

.section-text {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 0.9rem;
  max-width: 36em;
}

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

.origin-lead {
  margin: 0 auto 0.4rem;
  text-align: center;
}

.story-link {
  display: inline-block;
  margin-top: 0.35rem;
  font-weight: 800;
  color: var(--outline);
  text-decoration: none;
  background: linear-gradient(145deg, var(--gold-bright), var(--gold));
  border-radius: 999px;
  padding: 0.45rem 0.95rem;
}

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

.about-visual { position: relative; }

.about-photo {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: 30% 35%;
  border-radius: 4px;
  border: 1px solid rgba(201, 162, 39, 0.65);
  box-shadow: var(--shadow);
  background: #000;
}

.about-coin {
  position: absolute;
  width: 118px;
  height: 118px;
  right: -8px;
  bottom: -18px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  background: #fff;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
  animation: floatLogo 3.4s ease-in-out infinite;
}

/* Origin */
.origin {
  background: linear-gradient(180deg, rgba(201, 162, 39, 0.07), transparent 70%);
}

.origin-head { text-align: center; margin-bottom: 1.8rem; }

.origin-facts {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.origin-facts li {
  background: linear-gradient(160deg, rgba(232, 197, 71, 0.95), var(--gold));
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  padding: 1.2rem 1.05rem;
  box-shadow: var(--shadow);
  color: var(--outline);
}

.origin-facts span {
  display: block;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--gold-deep);
  margin-bottom: 0.25rem;
}

.origin-facts strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.45rem;
  margin-bottom: 0.3rem;
}

.origin-facts p { font-size: 0.95rem; font-weight: 600; }

.x-feature {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.4rem;
  align-items: stretch;
}

.x-feature-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.6rem 1.4rem;
  background: var(--card);
  border: 1px solid rgba(201, 162, 39, 0.4);
  border-radius: 4px;
}

.x-feature-copy h3 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--white);
  margin-bottom: 0.7rem;
}

.x-feature-copy p {
  color: var(--muted);
  margin-bottom: 1.2rem;
  max-width: 28em;
}

.x-card {
  background: #15202b;
  border-radius: 4px;
  padding: 1.2rem 1.25rem;
  color: #e7e9ea;
  border: 1px solid rgba(201, 162, 39, 0.45);
  display: flex;
  flex-direction: column;
}

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

.x-card-avatar-img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--gold);
  background: #fff;
  flex-shrink: 0;
}

.x-card-who { display: flex; flex-direction: column; line-height: 1.25; }
.x-card-who span { font-size: 0.88rem; color: #8b98a5; }
.x-card-logo { margin-left: auto; color: #e7e9ea; }

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

.x-card-meta {
  font-size: 0.88rem;
  color: #8b98a5;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid #38444d;
  margin-bottom: 0.8rem;
}

.x-card-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.65rem;
  border-radius: 999px;
  background: linear-gradient(145deg, var(--gold-bright), var(--gold));
  color: var(--outline);
  font-weight: 800;
  text-decoration: none;
  margin-top: auto;
}

/* Contract */
.contract-card {
  padding: 2rem 1.6rem 1.5rem;
  background: var(--card);
  border: 1px solid rgba(201, 162, 39, 0.55);
  border-radius: 4px;
  box-shadow: var(--shadow);
}

.contract-copy { text-align: center; margin-bottom: 1.2rem; }

.contract-hint {
  color: var(--muted);
  font-weight: 600;
  max-width: 34em;
  margin: 0 auto;
}

.ca-kicker {
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--outline);
}

.ca-box {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  max-width: 760px;
  margin: 0 auto;
  padding: 1rem 1rem 1rem 1.15rem;
  background: linear-gradient(145deg, var(--gold-bright), var(--gold));
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  color: var(--outline);
}

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

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

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

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

.contract-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem 1.3rem;
  margin-top: 0.35rem;
  font-weight: 800;
  font-size: 0.82rem;
  text-transform: uppercase;
  color: var(--muted);
}

/* Chart */
.chart-head { text-align: center; margin-bottom: 1.2rem; }
.chart-lead { color: var(--muted); font-weight: 600; }

.chart-wrapper {
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(201, 162, 39, 0.65);
  box-shadow: var(--shadow);
  background: #1b120c;
  min-height: 420px;
}

.chart-wrapper.is-tba {
  min-height: 340px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 40%, rgba(201, 162, 39, 0.22), transparent 55%),
    #16120e;
}

.chart-tba {
  text-align: center;
  color: var(--ink);
  padding: 2.6rem 1.4rem;
}

.chart-tba-logo {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  margin: 0 auto 0.9rem;
  border: 2px solid var(--gold);
  background: #fff;
}

.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.4rem;
}

.chart-tba strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 7vw, 4rem);
  color: var(--gold-bright);
  margin-bottom: 0.35rem;
}

.chart-tba p { color: rgba(247, 243, 234, 0.75); font-weight: 600; }

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

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

/* Buy */
.buy .section-title { text-align: center; }
.buy .section-label { text-align: center; }

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 1.5rem 0 2rem;
}

.step {
  padding: 1.25rem 1.05rem;
  background: var(--card);
  border: 1px solid rgba(201, 162, 39, 0.4);
  border-radius: 4px;
  box-shadow: var(--shadow);
  color: var(--ink);
}

.step:nth-child(2) { background: #19150f; }
.step:nth-child(3) { background: #1d1811; }
.step:nth-child(4) { background: #211b13; }

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

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

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

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

/* Footer */
.footer {
  padding: 2.6rem 0 2rem;
  background: #070605;
  color: var(--ink);
  border-top: 1px solid rgba(201, 162, 39, 0.45);
}

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

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

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

.footer-brand strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--gold-bright);
}

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

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

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

.footer-disclaimer {
  max-width: 42em;
  font-size: 0.82rem;
  opacity: 0.72;
}

@media (max-width: 900px) {
  .hero-grid,
  .about-grid,
  .x-feature {
    grid-template-columns: 1fr;
  }

  .hero { min-height: auto; }
  .hero-grid { padding: 7rem 0 2.4rem; }
  .hero-bg { object-position: 28% 35%; }
  .hero-logo { width: min(170px, 48%); }
  .steps { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav-links {
    position: absolute;
    top: calc(100% + 0.55rem);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(12, 10, 8, 0.98);
    border: 1px solid rgba(201, 162, 39, 0.55);
    border-radius: 18px;
    padding: 0.4rem 0 0.8rem;
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: 0.2s ease;
  }

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

  .nav-links a { display: block; padding: 0.8rem 1.2rem; }
  .nav-socials { justify-content: center; padding: 0.45rem; }
  .nav-cta { margin: 0.35rem 1rem; justify-content: center; }
  .nav-toggle { display: flex; }
  .steps, .origin-facts { grid-template-columns: 1fr; }
  .ca-box { flex-wrap: wrap; }
  .ca-kicker { width: 100%; }
  .dexscreener-embed,
  .chart-wrapper { min-height: 380px; }
  .dexscreener-embed { height: 380px; }
  .about-coin { width: 84px; height: 84px; }
  .hero-title { font-size: clamp(3rem, 16vw, 4.4rem); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
