:root {
  --pink: #f50073;
  --pink-2: #ff4ba2;
  --pink-3: #ff9bcc;
  --deep: #71002f;
  --ink: #1c0712;
  --cream: #fff7fb;
  --white: #ffffff;
  --line: rgba(255,255,255,.3);
  --shadow: 0 24px 60px rgba(112,0,48,.22);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 70% 14%, rgba(255,255,255,.24), transparent 23rem),
    linear-gradient(180deg, #ff70b4 0%, #f72f8c 25%, #f50073 58%, #bc0053 100%);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 12% 22%, rgba(255,255,255,.22) 0 1px, transparent 2px),
    radial-gradient(circle at 76% 36%, rgba(255,255,255,.18) 0 1px, transparent 2px),
    radial-gradient(circle at 42% 76%, rgba(255,255,255,.14) 0 1px, transparent 2px);
  background-size: 160px 160px, 230px 230px, 190px 190px;
  opacity: .8;
  z-index: -1;
}

.noise {
  position: fixed;
  inset: 0;
  opacity: .055;
  pointer-events: none;
  z-index: 99;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.86' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}

a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }

.topbar {
  position: sticky;
  top: 16px;
  z-index: 50;
  width: min(1180px, calc(100% - 32px));
  min-height: 68px;
  margin: 16px auto 0;
  padding: 9px 10px 9px 14px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  border: 1px solid rgba(255,255,255,.42);
  border-radius: 22px;
  background: rgba(113, 0, 47, .34);
  backdrop-filter: blur(18px) saturate(145%);
  -webkit-backdrop-filter: blur(18px) saturate(145%);
  box-shadow: 0 14px 36px rgba(89, 0, 38, .18), inset 0 1px 0 rgba(255,255,255,.28);
}

.brand { display: inline-flex; align-items: center; gap: 10px; width: max-content; font-weight: 950; letter-spacing: -.03em; color: var(--white); }
.brand img { width: 42px; height: 42px; border-radius: 12px; object-fit: cover; box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); }
.nav-links { display: flex; gap: 26px; align-items: center; color: rgba(255,255,255,.83); font-size: 13px; font-weight: 800; }
.nav-links a { transition: color .2s ease, transform .2s ease; }
.nav-links a:hover { color: white; transform: translateY(-1px); }
.top-actions { justify-self: end; display: flex; gap: 8px; align-items: center; }
.icon-btn, .buy-btn { display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.35); box-shadow: inset 0 1px 0 rgba(255,255,255,.15); }
.icon-btn { width: 46px; height: 46px; border-radius: 14px; background: rgba(255,255,255,.13); }
.icon-btn img { width: 24px; height: 24px; border-radius: 7px; }
.buy-btn { min-height: 46px; padding: 0 16px 0 11px; gap: 9px; border-radius: 14px; background: var(--cream); color: var(--deep); font-size: 12px; font-weight: 950; letter-spacing: .08em; }
.buy-btn img { width: 27px; height: 27px; }
.icon-btn:hover, .buy-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(92,0,39,.2); }

.section { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.hero {
  min-height: 780px;
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  align-items: center;
  gap: 28px;
  padding: 62px 0 52px;
}

.eyebrow, .section-kicker { color: rgba(83,0,33,.66); font-size: 12px; font-weight: 950; letter-spacing: .18em; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; }
.eyebrow span { width: 28px; height: 3px; border-radius: 99px; background: var(--deep); }
.hero h1, .section-heading h2, .chart-header h2, .join-copy h2 {
  margin: 16px 0 0;
  font-family: "Arial Black", Impact, ui-sans-serif, sans-serif;
  font-weight: 950;
  letter-spacing: -.075em;
  line-height: .84;
  text-transform: uppercase;
}
.hero h1 { font-size: clamp(66px, 8vw, 124px); color: var(--cream); text-shadow: 0 7px 0 rgba(121,0,49,.24), 0 28px 60px rgba(94,0,39,.18); }
.hero h1 strong { color: var(--deep); -webkit-text-stroke: 1px rgba(255,255,255,.18); }
.hero-description { max-width: 590px; margin: 28px 0 0; color: rgba(67,0,27,.82); font-size: clamp(17px, 2vw, 21px); line-height: 1.55; font-weight: 650; }
.hero-description b { color: var(--cream); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 31px; }
.primary-cta, .secondary-cta {
  display: inline-flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  gap: 11px;
  border-radius: 17px;
  padding: 0 20px;
  font-weight: 900;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.primary-cta { background: var(--deep); color: white; box-shadow: 0 18px 40px rgba(92,0,39,.24); }
.secondary-cta { background: rgba(255,255,255,.18); color: var(--deep); border: 1px solid rgba(255,255,255,.4); backdrop-filter: blur(9px); }
.primary-cta img, .secondary-cta img { width: 28px; height: 28px; object-fit: contain; }
.secondary-cta img { padding: 4px; border-radius: 8px; background: var(--deep); }
.primary-cta:hover, .secondary-cta:hover { transform: translateY(-3px); box-shadow: 0 18px 36px rgba(89,0,37,.18); }

.ca-card { max-width: 610px; margin-top: 23px; padding: 13px 15px 15px; border: 1px solid rgba(255,255,255,.38); border-radius: 18px; background: rgba(103,0,44,.2); backdrop-filter: blur(12px); box-shadow: inset 0 1px 0 rgba(255,255,255,.18); }
.ca-label { margin-bottom: 9px; color: rgba(255,255,255,.72); font-size: 10px; font-weight: 950; letter-spacing: .17em; }
.ca-row { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 10px; align-items: center; }
.ca-row code { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: white; font: 750 13px/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.ca-row button { min-width: 92px; height: 42px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; border: 0; border-radius: 12px; background: white; color: var(--deep); cursor: pointer; font: 900 12px/1 ui-sans-serif, sans-serif; }
.ca-row button svg { width: 17px; fill: currentColor; }
.ca-row button.copied { background: #fff0f7; }

.hero-art { position: relative; display: grid; place-items: center; min-height: 610px; perspective: 1200px; }
.coin { position: relative; z-index: 5; width: min(660px, 112%); filter: drop-shadow(0 42px 34px rgba(102,0,43,.26)); animation: floatCoin 5s ease-in-out infinite; transform-origin: center; }
.orbit { position: absolute; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); box-shadow: inset 0 0 50px rgba(255,255,255,.07); }
.orbit-one { width: 88%; aspect-ratio: 1; transform: rotate(-13deg) scaleY(.56); }
.orbit-two { width: 110%; aspect-ratio: 1; transform: rotate(22deg) scaleY(.39); border-color: rgba(119,0,48,.22); }
.spark { position: absolute; z-index: 8; color: white; text-shadow: 0 0 22px white; animation: sparkle 2.8s ease-in-out infinite; }
.spark-one { top: 15%; right: 10%; font-size: 34px; }
.spark-two { bottom: 24%; left: 8%; font-size: 21px; animation-delay: .8s; }
.spark-three { top: 38%; left: 4%; font-size: 15px; animation-delay: 1.45s; }
@keyframes floatCoin { 0%,100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-17px) rotate(1.3deg); } }
@keyframes sparkle { 0%,100% { opacity: .35; transform: scale(.8) rotate(0); } 50% { opacity: 1; transform: scale(1.3) rotate(40deg); } }

.ticker-strip { overflow: hidden; padding: 16px 0; border-block: 1px solid rgba(255,255,255,.28); background: var(--deep); color: white; transform: rotate(-1deg) scale(1.01); box-shadow: 0 16px 40px rgba(79,0,32,.18); }
.ticker-track { width: max-content; display: flex; align-items: center; gap: 24px; animation: ticker 24s linear infinite; font: 950 18px/1 "Arial Black", Impact, sans-serif; letter-spacing: .03em; }
.ticker-track i { color: var(--pink-3); font-style: normal; }
@keyframes ticker { to { transform: translateX(-50%); } }

.about { padding: 120px 0 105px; }
.section-heading h2, .chart-header h2, .join-copy h2 { font-size: clamp(54px, 7vw, 94px); color: var(--cream); text-shadow: 0 6px 0 rgba(98,0,41,.18); }
.section-heading h2 em, .chart-header h2 em, .join-copy h2 em { color: var(--deep); font-style: normal; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 48px; }
.feature-card { min-height: 250px; padding: 28px; border-radius: 25px; border: 1px solid rgba(255,255,255,.34); background: linear-gradient(160deg, rgba(255,255,255,.28), rgba(255,255,255,.12)); box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.3); backdrop-filter: blur(12px); }
.feature-number { display: grid; place-items: center; width: 49px; height: 49px; border-radius: 15px; background: var(--deep); color: white; font-weight: 950; }
.feature-card h3 { margin: 30px 0 10px; color: var(--cream); font-size: 24px; letter-spacing: -.035em; }
.feature-card p { margin: 0; color: rgba(68,0,28,.75); line-height: 1.65; font-weight: 650; }

.chart-section { padding: 20px 0 115px; }
.chart-header { display: flex; align-items: end; justify-content: space-between; gap: 26px; margin-bottom: 34px; }
.chart-header .secondary-cta { flex: 0 0 auto; }
.chart-shell { position: relative; min-height: 620px; overflow: hidden; border: 1px solid rgba(255,255,255,.37); border-radius: 30px; background: #14030a; box-shadow: 0 32px 70px rgba(74,0,31,.28), inset 0 1px 0 rgba(255,255,255,.18); }
#dexChart { width: 100%; min-height: 620px; border: 0; display: none; background: #14030a; }
.chart-placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 30px; text-align: center; background: radial-gradient(circle at 50% 35%, rgba(245,0,115,.3), transparent 37%), linear-gradient(160deg, #2e0719, #110207); color: white; }
.placeholder-mark { width: 98px; height: 98px; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(145deg, #ff7dbb, #f50073); border: 4px solid #ffacd4; box-shadow: 0 0 0 9px rgba(255,255,255,.05), 0 26px 50px rgba(245,0,115,.22); font: 950 56px/1 "Arial Black", sans-serif; }
.chart-placeholder h3 { margin: 24px 0 8px; font-size: 25px; }
.chart-placeholder p { max-width: 520px; margin: 0; color: rgba(255,255,255,.62); line-height: 1.6; }

.join { padding-bottom: 105px; }
.join-card { position: relative; min-height: 510px; overflow: hidden; display: grid; grid-template-columns: 1fr .8fr; align-items: center; padding: 54px; border-radius: 34px; background: linear-gradient(140deg, #780031 0%, #a60048 45%, #e10067 100%); border: 1px solid rgba(255,255,255,.28); box-shadow: 0 34px 80px rgba(82,0,33,.32), inset 0 1px 0 rgba(255,255,255,.18); }
.join-glow { position: absolute; width: 540px; height: 540px; border-radius: 50%; right: -130px; top: -100px; background: rgba(255,255,255,.12); filter: blur(1px); }
.join-copy { position: relative; z-index: 4; }
.join-copy .section-kicker { color: rgba(255,255,255,.6); }
.join-copy p { max-width: 540px; color: rgba(255,255,255,.72); line-height: 1.65; font-size: 17px; }
.join-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.social-wide { min-height: 54px; display: inline-flex; align-items: center; gap: 10px; padding: 0 16px; border-radius: 15px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18); color: white; font-weight: 850; transition: transform .2s ease, background .2s ease; }
.social-wide:hover { transform: translateY(-2px); background: rgba(255,255,255,.18); }
.social-wide img { width: 28px; height: 28px; border-radius: 8px; }
.social-wide.pump img { border-radius: 50%; }
.join-coin { position: relative; z-index: 3; width: 520px; justify-self: end; transform: rotate(8deg) scale(1.17); filter: drop-shadow(0 30px 30px rgba(37,0,15,.25)); }

footer { width: min(1180px, calc(100% - 40px)); margin: 0 auto 28px; padding: 22px 0 0; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid rgba(255,255,255,.2); color: rgba(255,255,255,.68); font-size: 12px; font-weight: 800; letter-spacing: .08em; }
.footer-brand { display: flex; align-items: center; gap: 10px; color: white; }
.footer-brand img { width: 34px; height: 34px; border-radius: 10px; }
footer p { margin: 0; }

.config-link.disabled { opacity: .55; cursor: not-allowed; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 920px) {
  .topbar { grid-template-columns: 1fr auto; }
  .nav-links { display: none; }
  .hero { min-height: 0; grid-template-columns: 1fr; padding-top: 70px; }
  .hero-copy { text-align: center; }
  .eyebrow { justify-content: center; }
  .hero-description, .ca-card { margin-left: auto; margin-right: auto; }
  .hero-ctas { justify-content: center; }
  .hero-art { min-height: 520px; margin-top: -12px; }
  .coin { width: min(660px, 96vw); }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 0; }
  .chart-header { align-items: flex-start; flex-direction: column; }
  .join-card { grid-template-columns: 1fr; padding: 42px; }
  .join-coin { position: absolute; right: -130px; bottom: -140px; width: 430px; opacity: .33; }
  .join-copy { max-width: 650px; }
}

@media (max-width: 640px) {
  .topbar { top: 8px; width: calc(100% - 16px); margin-top: 8px; min-height: 58px; padding: 7px 8px 7px 10px; border-radius: 18px; }
  .brand span { display: none; }
  .brand img { width: 40px; height: 40px; }
  .icon-btn { width: 42px; height: 42px; }
  .buy-btn { min-height: 42px; padding: 0 12px 0 8px; }
  .section { width: min(100% - 24px, 1180px); }
  .hero { padding-top: 52px; gap: 5px; }
  .hero h1 { font-size: clamp(60px, 20vw, 86px); }
  .hero-description { font-size: 16px; }
  .primary-cta, .secondary-cta { width: 100%; min-height: 54px; }
  .ca-card { padding: 12px; }
  .ca-row { grid-template-columns: 1fr; }
  .ca-row button { width: 100%; }
  .hero-art { min-height: 410px; }
  .spark-one { right: 5%; }
  .about { padding-top: 92px; }
  .section-heading h2, .chart-header h2, .join-copy h2 { font-size: clamp(48px, 16vw, 68px); }
  .feature-grid { margin-top: 32px; }
  .feature-card { padding: 23px; border-radius: 21px; }
  .chart-shell, #dexChart { min-height: 540px; }
  .chart-header .secondary-cta { width: 100%; }
  .join-card { padding: 34px 25px 220px; min-height: 640px; border-radius: 28px; }
  .join-actions { flex-direction: column; }
  .social-wide { justify-content: center; }
  .join-coin { right: -66px; bottom: -115px; width: 360px; opacity: .63; }
  footer { width: calc(100% - 24px); flex-direction: column; align-items: flex-start; gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
