:root {
  /* Set your live Solana contract address here. */
  --contract-address: "CA COMING SOON";
  --bg: #030303;
  --bg-soft: #0b0b0b;
  --card: #101010;
  --text: #f7f7f7;
  --muted: #a9a9a9;
  --accent: #f3859c;
  --border: rgba(255, 255, 255, 0.14);
  --shadow: 0 30px 70px rgba(0, 0, 0, 0.65);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: #1f1f1f #050505;
}

*::-webkit-scrollbar {
  width: 11px;
}

*::-webkit-scrollbar-track {
  background: #050505;
}

*::-webkit-scrollbar-thumb {
  background: #1f1f1f;
  border-radius: 999px;
  border: 2px solid #050505;
}

*::-webkit-scrollbar-thumb:hover {
  background: #2a2a2a;
}

body {
  margin: 0;
  background: #000;
  color: var(--text);
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
  min-height: 100vh;
}

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

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

@keyframes entryBlink {
  0%,
  49% {
    opacity: 1;
  }
  50%,
  100% {
    opacity: 0;
  }
}

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

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

.site-locked {
  overflow: hidden;
}

.entry {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.2rem;
  background: #000;
  text-align: center;
  transition: opacity 0.9s ease, visibility 0.9s ease;
}

.entry.is-exiting {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.entry__content {
  width: min(850px, 100%);
  animation: entryFadeIn 0.9s ease both;
}

.entry__line {
  margin: 0;
  min-height: 1.35em;
  color: var(--accent);
  font-size: clamp(1.5rem, 4.1vw, 3.25rem);
  line-height: 1.2;
  letter-spacing: 0.02em;
  font-weight: 600;
}

.entry__cursor {
  display: inline-block;
  width: 0.48ch;
  border-right: 1px solid var(--accent);
  margin-left: 0.06em;
  transform: translateY(0.05em);
  animation: entryBlink 1s steps(1, end) infinite;
}

.entry__cursor.is-complete {
  animation: none;
  opacity: 0;
}

.entry__button {
  margin-top: 1.7rem;
  border: 1px solid rgba(243, 133, 156, 0.72);
  background: rgba(243, 133, 156, 0.08);
  color: var(--accent);
  border-radius: 999px;
  padding: 0.62rem 1.25rem;
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  cursor: pointer;
  opacity: 0;
  transform: translateY(8px);
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.entry__button:hover {
  border-color: var(--accent);
  background: rgba(243, 133, 156, 0.16);
  box-shadow: 0 8px 22px rgba(243, 133, 156, 0.25);
}

.entry__button.is-visible {
  animation: entryButtonIn 0.7s ease forwards;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.intro {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: #000;
  transition: opacity 0.9s ease, visibility 0.9s ease;
}

.intro--standby {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.intro.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.intro__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.intro__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.26) 45%, rgba(0, 0, 0, 0.58));
  pointer-events: none;
}

.intro__controls {
  position: absolute;
  right: clamp(0.9rem, 2vw, 2.2rem);
  bottom: clamp(0.9rem, 2.5vw, 2rem);
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.sound-control {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.2rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.44);
  backdrop-filter: blur(8px);
}

.control-button {
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.38);
  color: #f9f9f9;
  padding: 0.56rem 0.96rem;
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.25s ease, color 0.25s ease, background 0.25s ease;
}

.control-button:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.control-button--skip {
  background: rgba(9, 9, 9, 0.82);
}

.volume-wrap {
  width: clamp(90px, 8vw, 130px);
  padding-right: 0.45rem;
}

.volume-slider {
  width: 100%;
  appearance: none;
  height: 2px;
  background: rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  outline: none;
}

.volume-slider::-webkit-slider-thumb {
  appearance: none;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: #fff;
}

.volume-slider::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: #fff;
}

.site-shell {
  opacity: 0;
  transition: opacity 1s ease;
}

.main-visible .site-shell {
  opacity: 1;
}

.header {
  --header-alpha: 0;
  --header-border-alpha: 0;
  --header-blur: 0px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1rem 1.3rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, var(--header-border-alpha));
  backdrop-filter: blur(var(--header-blur));
  -webkit-backdrop-filter: blur(var(--header-blur));
  background: rgba(6, 6, 6, var(--header-alpha));
  z-index: 30;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.82rem;
  text-decoration: none;
}

.brand__icon {
  width: 3.95rem;
  height: 3.95rem;
  object-fit: cover;
}

.dollar-sign {
  display: inline-block;
  font-size: 1.26em;
  line-height: 1;
  transform: translateY(0.03em);
}

.brand__name {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.13em;
  font-size: 1.34rem;
}

.dollar-sign--brand {
  font-size: 1.34em;
  transform: translateY(0.03em);
}

.nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: clamp(0.8rem, 2vw, 1.7rem);
  transform: translateX(28px);
}

.nav a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.02rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  transition: color 0.25s ease;
}

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

.header__actions {
  display: flex;
  align-items: center;
  gap: 0.52rem;
}

.icon-button {
  width: 3.28rem;
  height: 3.28rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 10, 10, 0.64);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.icon-button:hover {
  transform: translateY(-1px);
  border-color: var(--accent);
}

.icon-button img {
  width: 66%;
  height: 66%;
  object-fit: contain;
}

.icon-button--pump img {
  width: 88%;
  height: 88%;
}

.buy-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.82rem 1.4rem;
  border: 1px solid rgba(243, 133, 156, 0.72);
  border-radius: 999px;
  text-decoration: none;
  color: var(--accent);
  font-size: 0.96rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  background: rgba(243, 133, 156, 0.1);
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.buy-button:hover {
  background: rgba(243, 133, 156, 0.2);
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(243, 133, 156, 0.16);
}

main {
  width: min(1200px, calc(100% - 2rem));
  margin: 0 auto;
  padding-top: 7rem;
}

section {
  scroll-margin-top: 6.5rem;
  text-align: center;
}

.hero {
  min-height: max(calc(100vh - 6rem), 760px);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  padding-top: 0;
  padding-bottom: 0;
  transform: translateY(-2.25rem);
}

.hero__background-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.34;
  filter: saturate(0.88) contrast(1.02);
  pointer-events: none;
}

.section-tag {
  margin: 0;
  color: var(--accent);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
}

body,
p,
a,
button,
span,
strong,
h1,
h2 {
  text-transform: uppercase;
}

#contractValue {
  text-transform: none;
}

.body-copy-normal {
  text-transform: none;
}

h1,
h2 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  line-height: 1.08;
  color: var(--accent);
}

h1 {
  font-size: clamp(4rem, 13vw, 9.5rem);
  letter-spacing: 0.18em;
  max-width: none;
  text-wrap: balance;
  margin-left: auto;
  margin-right: auto;
  text-indent: 0.18em;
  position: relative;
  z-index: 1;
}

.hero__subline {
  margin-top: clamp(2.25rem, 5vw, 3.75rem);
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(1.01rem, 2.1vw, 1.28rem);
  line-height: 1.65;
  max-width: 48ch;
  margin-left: auto;
  margin-right: auto;
}

.hero__echo {
  margin-top: clamp(2.1rem, 4vw, 3.25rem);
  font-size: clamp(1.8rem, 4vw, 3rem);
}

.vision,
.market,
.tokenomics,
.gallery,
.final-cta {
  padding: clamp(3.1rem, 8vw, 6rem) 0;
}

h2 {
  margin-top: 0.85rem;
  font-size: clamp(1.8rem, 4.5vw, 3.25rem);
  margin-left: auto;
  margin-right: auto;
}

.vision p {
  margin: 1.15rem auto 0;
  color: rgba(255, 255, 255, 0.78);
  max-width: 68ch;
  line-height: 1.85;
  font-size: clamp(0.98rem, 1.45vw, 1.1rem);
}

.market__intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  text-align: left;
}

.market__subline {
  margin: 1rem 0 0;
  color: rgba(255, 255, 255, 0.78);
  max-width: 58ch;
  line-height: 1.75;
  font-size: clamp(0.98rem, 1.45vw, 1.08rem);
}

.market__meta {
  min-width: min(320px, 100%);
  text-align: right;
}

.market__status,
.market__updated {
  margin: 0;
}

.market__status {
  color: #fff;
  font-size: 1rem;
  letter-spacing: 0.03em;
}

.market__status[data-state="live"] {
  color: var(--accent);
}

.market__status[data-state="error"] {
  color: #ffb4c0;
}

.market__updated {
  margin-top: 0.45rem;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.market__layout {
  margin-top: 1.75rem;
  display: grid;
  grid-template-columns: minmax(240px, 0.78fr) minmax(0, 1.22fr);
  gap: 2.4rem;
  align-items: center;
}

.market-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.market-card {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: linear-gradient(170deg, rgba(17, 17, 17, 0.88), rgba(5, 5, 5, 0.96));
  box-shadow: var(--shadow);
}

.market-card {
  min-height: 205px;
  border-radius: 18px;
  padding: 1.3rem 1.2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.85rem;
  text-align: left;
}

.market-card span {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.84rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.market-card strong {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  color: var(--accent);
  font-size: clamp(2rem, 3vw, 3.15rem);
  line-height: 1;
  text-wrap: balance;
}

.market-card--contract strong,
.market-card--source strong {
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  line-height: 1.4;
  word-break: break-word;
}

.market-card--source a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(243, 133, 156, 0.45);
  transition: color 0.25s ease, border-color 0.25s ease;
}

.market-card--source a:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.heartbeat-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
}

.heart-stage {
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.heart-visual {
  width: min(260px, 100%);
  height: auto;
  display: block;
}

.heart-visual--canvas[hidden],
.heart-visual--fallback[hidden] {
  display: none;
}

.heartbeat-panel__meta {
  text-align: center;
}

.heartbeat-panel__meta span {
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.heartbeat-panel__meta strong {
  display: block;
  margin-top: 0.5rem;
  color: var(--accent);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
}

.token-grid {
  margin-top: 1.4rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.token-card {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  padding: 1.2rem 1.1rem;
  background: linear-gradient(170deg, rgba(20, 20, 20, 0.88), rgba(8, 8, 8, 0.92));
  min-height: 170px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  box-shadow: var(--shadow);
  text-align: center;
}

.token-card span {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.93rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.15;
}

.token-card strong {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  color: var(--accent);
  font-size: clamp(1.85rem, 2.3vw, 2.45rem);
  letter-spacing: 0.01em;
  text-wrap: balance;
  line-height: 1.05;
}

.tokenomics .token-card span,
.tokenomics .token-card strong {
  color: #fff;
}

.dollar-sign--tokenname {
  font-size: 3em;
  transform: translateY(0.02em);
}

.contract-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  flex-wrap: wrap;
}

.contract-wrap strong {
  font-size: clamp(1rem, 1.8vw, 1.28rem);
  line-height: 1.35;
  word-break: break-word;
}

.copy-button {
  border: 1px solid rgba(243, 133, 156, 0.6);
  background: rgba(243, 133, 156, 0.08);
  color: var(--accent);
  border-radius: 999px;
  padding: 0.28rem 0.7rem;
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.tokenomics .copy-button,
.tokenomics .copy-button.is-copied,
.tokenomics .copy-button:disabled {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.08);
}

.tokenomics .copy-button:not(:disabled):hover {
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.14);
}

.copy-button:not(:disabled):hover {
  border-color: var(--accent);
  background: rgba(243, 133, 156, 0.18);
}

.copy-button.is-copied {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.16);
}

.copy-button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.48);
}

.gallery-marquee {
  margin-top: 1.6rem;
  display: grid;
  gap: 1rem;
  overflow: hidden;
}

.gallery-row {
  display: flex;
  width: max-content;
  will-change: transform;
}

.gallery-row--top {
  animation: galleryLeft 34s linear infinite;
}

.gallery-row--bottom {
  animation: galleryRight 34s linear infinite;
}

.gallery-frame {
  margin: 0 1rem 0 0;
  width: clamp(175px, 17vw, 225px);
  aspect-ratio: 3 / 4;
  border-radius: 0;
  overflow: hidden;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.gallery-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.final-cta {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  text-align: center;
  padding-bottom: 5.3rem;
}

.final-cta p {
  margin: 1rem auto 0;
  color: rgba(255, 255, 255, 0.78);
  max-width: 52ch;
  line-height: 1.75;
}

.buy-button--large {
  margin-top: 1.5rem;
  font-size: 0.85rem;
  padding: 0.78rem 1.36rem;
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.85s ease, transform 0.85s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .header {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 0.78rem;
    padding: 0.9rem;
  }

  .brand {
    justify-self: flex-start;
    width: 100%;
  }

  .nav {
    width: 100%;
    justify-content: space-between;
    transform: none;
  }

  .header__actions {
    width: 100%;
    justify-content: flex-end;
  }

  main {
    padding-top: 10rem;
  }

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

  .market__intro,
  .market__meta {
    text-align: center;
  }

  .market__intro {
    align-items: center;
    flex-direction: column;
  }

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

  .gallery-frame {
    width: clamp(160px, 23vw, 205px);
  }
}

@media (max-width: 640px) {
  .intro__controls {
    left: 0.75rem;
    right: 0.75rem;
    justify-content: space-between;
  }

  .sound-control {
    max-width: calc(100% - 88px);
  }

  .volume-wrap {
    width: min(32vw, 120px);
  }

  .nav {
    font-size: 0.76rem;
  }

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

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

  .gallery-marquee {
    gap: 0.75rem;
  }

  .gallery-frame {
    width: 42vw;
    margin-right: 0.75rem;
  }

  .hero {
    min-height: auto;
    padding-top: 4.2rem;
  }

  .hero__content {
    padding-top: 0;
    padding-bottom: 2rem;
    transform: translateY(-1rem);
  }

  .hero__background-video {
    height: 58vh;
  }

  .hero__subline {
    margin-top: 1.9rem;
  }

  .hero__echo {
    margin-top: 1.8rem;
  }

  h1 {
    max-width: 100%;
  }
}
