:root {
  --bg: #0e0700;
  --card: #1a0d00;
  --gold: #ffca28;
  --gold-2: #ffea7a;
  --ink: #1d1300;
  --white: #fff8e1;
  --mx: 50%;
  --my: 50%;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: Inter, Arial, sans-serif;
  background:
    radial-gradient(circle at 80% -10%, #ffcf3f55, transparent 40%),
    radial-gradient(circle at 15% 10%, #ff980033, transparent 40%),
    var(--bg);
  color: var(--white);
}

body {
  line-height: 1.5;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 110;
  mix-blend-mode: screen;
  background: radial-gradient(
    320px circle at var(--mx) var(--my),
    #ffd54f78,
    #ffd54f22 36%,
    transparent 70%
  );
}

#main-site {
  transition: opacity 0.35s ease;
  position: relative;
  isolation: isolate;
}

#main-site::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.18;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='120' viewBox='0 0 180 120'%3E%3Ctext x='12' y='72' font-size='52' font-family='Arial' font-weight='700' fill='%23ffcf3f'%3E888%3C/text%3E%3C/svg%3E");
  background-size: 180px 120px;
  background-repeat: repeat;
}

.prelaunch {
  overflow: hidden;
}

.prelaunch #main-site {
  opacity: 0;
  visibility: hidden;
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 2;
}

.intro-gate {
  position: fixed;
  inset: 0;
  z-index: 120;
  cursor: pointer;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.intro-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.intro-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 30%, #ffd54f55, transparent 45%),
    linear-gradient(180deg, #09050099, #090500cc);
}

.intro-copy {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #ffefaf;
  text-shadow:
    -2px -2px 0 #000,
    2px -2px 0 #000,
    -2px 2px 0 #000,
    2px 2px 0 #000;
}

.intro-copy p {
  margin: 0;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.intro-copy h1 {
  margin: 0.3rem 0 0;
  font-family: Bangers, Impact, sans-serif;
  font-size: clamp(2rem, 9vw, 5rem);
  letter-spacing: 0.06em;
}

body:not(.prelaunch) .intro-gate {
  display: none;
}

#gold-cursor-glow {
  position: fixed;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  pointer-events: none;
  z-index: 135;
  left: 0;
  top: 0;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, #fffef0 0%, #ffd54f 45%, #ffc10711 76%);
  box-shadow:
    0 0 16px #ffca28cc,
    0 0 36px #ffca2877;
  mix-blend-mode: screen;
  will-change: left, top, transform;
}

#gold-cursor-glow::before,
#gold-cursor-glow::after {
  content: "";
  position: absolute;
  border-radius: 999px;
}

#gold-cursor-glow::before {
  width: 140px;
  height: 140px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, #ffd54f66 0%, #ffd54f22 42%, transparent 72%);
  filter: blur(8px);
}

#gold-cursor-glow::after {
  width: 64px;
  height: 64px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid #ffe17baa;
  box-shadow: 0 0 14px #ffd54f66 inset;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 1.25rem;
  border-bottom: 3px solid #000;
  background: linear-gradient(90deg, #2d1400, #6d3400 50%, #2d1400);
}

.logo-wrap {
  display: flex;
  gap: 0.55rem;
  align-items: center;
  font-family: Bangers, Impact, sans-serif;
  font-size: 1.6rem;
  letter-spacing: 0.04em;
}

.coin-dot {
  display: inline-grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 999px;
  border: 2px solid #000;
  color: #000;
  font-size: 0.9rem;
  background: radial-gradient(circle at 35% 25%, #fff7b5, #f5b000 70%);
}

.site-nav {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.site-nav a {
  color: #fff4c6;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.32rem 0.62rem;
  border: 2px solid #000;
  background: #7b3e00;
}

.site-nav a:hover {
  background: #a05000;
}

.panel {
  width: min(1120px, 92%);
  margin: 1rem auto;
  padding: 1.1rem;
  border: 4px solid #000;
  border-radius: 18px;
  background:
    repeating-linear-gradient(
      135deg,
      #2a1400,
      #2a1400 14px,
      #261000 14px,
      #261000 28px
    );
  box-shadow: 0 10px 0 #00000088;
}

.hero {
  position: relative;
  min-height: 66vh;
  overflow: hidden;
  display: grid;
  place-items: center;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 10%, #ffd54f80, transparent 35%),
    linear-gradient(180deg, #0d0700aa, #0d0700bb);
}

.hero-content {
  position: relative;
  text-align: center;
  z-index: 2;
  max-width: 760px;
}

.hero-gallery {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(90px, 1fr));
  gap: 0.5rem;
}

.hero-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 3px solid #000;
  border-radius: 10px;
  box-shadow: 0 0 16px #ffd54f66;
}

.tag {
  margin: 0;
  display: inline-block;
  padding: 0.3rem 0.8rem;
  border: 2px solid #000;
  background: #ffeb3b;
  color: #1d1300;
  font-weight: 800;
}

.hero h1 {
  margin: 0.65rem 0 0.2rem;
  font-family: Bangers, Impact, sans-serif;
  font-size: clamp(2.2rem, 9vw, 6.1rem);
  letter-spacing: 0.04em;
  color: var(--gold-2);
  text-shadow:
    -3px -3px 0 #000,
    3px -3px 0 #000,
    -3px 3px 0 #000,
    3px 3px 0 #000,
    0 0 24px #ffda47aa;
}

.subtitle {
  margin: 0.25rem 0;
  font-size: clamp(1rem, 2.8vw, 1.35rem);
}

.ticker {
  font-size: 1.05rem;
  margin: 0.35rem 0 1rem;
}

.ticker span {
  color: var(--gold);
  font-weight: 800;
}

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

.btn {
  text-decoration: none;
  font-weight: 800;
  border: 3px solid #000;
  border-radius: 10px;
  padding: 0.6rem 1rem;
  transition: transform 0.15s ease;
}

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

.btn-gold {
  color: var(--ink);
  background: linear-gradient(180deg, #ffe082, #ffb300);
}

.btn-outline {
  color: #ffe9a6;
  background: #2f1700;
}

h2 {
  margin: 0 0 0.8rem;
  font-family: Bangers, Impact, sans-serif;
  letter-spacing: 0.04em;
  font-size: clamp(1.7rem, 3.8vw, 2.8rem);
  color: var(--gold);
  text-shadow: -2px 2px #000;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.9rem;
  margin-bottom: 0.95rem;
}

.comic-card {
  padding: 0.75rem;
  border: 3px solid #000;
  border-radius: 12px;
  background: linear-gradient(180deg, #3a1e00, #241000);
}

.comic-card h3 {
  margin-top: 0;
  color: #ffd84f;
}

.image-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  align-items: start;
}

.image-strip img {
  width: 100%;
  height: 260px;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  display: block;
  background: #1b0d00;
  padding: 0.35rem;
  border: 3px solid #000;
  border-radius: 10px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.step {
  padding: 0.75rem;
  border: 3px solid #000;
  border-radius: 12px;
  background: #251100;
}

.step span {
  display: inline-block;
  color: #000;
  font-weight: 900;
  background: #ffd54f;
  border: 2px solid #000;
  padding: 0.1rem 0.45rem;
}

.step h3 {
  margin: 0.5rem 0 0.35rem;
  color: #ffd65d;
}

.chart-note {
  margin-top: -0.2rem;
}

.chart-wrap {
  border: 3px solid #000;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 0.8rem;
}

.chart-wrap iframe {
  display: block;
  width: 100%;
  height: 500px;
  border: 0;
  background: #120900;
}

.joinus {
  text-align: center;
}

.join-banner {
  margin-top: 1rem;
}

.join-banner img {
  width: min(100%, 900px);
  border: 4px solid #000;
  border-radius: 14px;
}

.site-footer {
  text-align: center;
  padding: 1rem;
  color: #ffe08a;
}

@media (max-width: 680px) {
  .site-header {
    gap: 0.7rem;
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav a {
    font-size: 0.82rem;
  }

  .chart-wrap iframe {
    height: 400px;
  }

  #gold-cursor-glow {
    display: none;
  }

  .hero-gallery {
    grid-template-columns: repeat(3, minmax(72px, 1fr));
  }
}
