:root {
  --bg: #030303;
  --panel: rgba(7, 7, 7, 0.84);
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #f5f5f5;
  --muted: #b5b5b5;
  --white: #ffffff;
  --shadow: 0 20px 60px rgba(0,0,0,0.45);
  --radius: 24px;
  --radius-sm: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  position: relative;
}

.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(circle at center, black 40%, transparent 90%);
  pointer-events: none;
  z-index: 0;
}

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

.flash-ghost {
  position: absolute;
  width: min(42vw, 300px);
  aspect-ratio: 2 / 3;
  background-image: url('assets/mindless-mascot.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0;
  filter: grayscale(1) contrast(1.1);
  mix-blend-mode: screen;
  animation: fadeGhost var(--dur) ease-in-out infinite;
}

@keyframes fadeGhost {
  0%, 100% { opacity: 0; transform: scale(.92); }
  20% { opacity: 0.04; }
  50% { opacity: 0.11; transform: scale(1); }
  80% { opacity: 0.03; }
}

.hero, .container, .footer { position: relative; z-index: 1; }

.hero { padding: 24px 16px 8px; }

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
  border-radius: calc(var(--radius) + 8px);
  box-shadow: var(--shadow);
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.hero-banner {
  display: block;
  width: 100%;
  object-fit: cover;
  max-height: 420px;
  border-bottom: 1px solid var(--line);
}

.hero-copy { padding: 28px 22px 32px; }

.eyebrow, .kicker, .buy-card-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  font-weight: 700;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 4.5rem);
  line-height: 0.98;
  margin: 12px 0 16px;
  max-width: 900px;
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.hero h1 span {
  color: var(--white);
  text-shadow: 0 0 25px rgba(255,255,255,0.1);
}

.hero p, .muted {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 860px;
  margin: 0;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.btn {
  text-decoration: none;
  color: var(--white);
  padding: 14px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
  font-weight: 700;
}

.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--white); color: #000; }
.btn-secondary { background: rgba(255,255,255,0.08); }
.btn-ghost { background: transparent; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 16px 60px;
}

.section {
  margin-top: 22px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.section-heading h2, .embed-header h2 {
  margin: 10px 0 8px;
  font-size: clamp(1.5rem, 4vw, 2.6rem);
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: -0.03em;
}

.embed-header p, .thesis-card p, .buy-card p { color: var(--muted); }

.thesis-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 22px;
  margin-top: 16px;
}

.thesis-card, .mascot-card, .buy-card, .burn-ring-card, .burn-stats-card {
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
  border-radius: var(--radius-sm);
}

.thesis-card { padding: 20px; }

.lead {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-top: 0;
}

.thesis-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 20px 0;
}

.point {
  padding: 16px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.025);
}

.point h3 { margin: 0 0 8px; font-size: 1rem; }
.point p { margin: 0; line-height: 1.6; }

blockquote {
  margin: 0;
  padding: 20px;
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  line-height: 1.4;
  text-transform: uppercase;
  border-left: 3px solid rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.03);
  border-radius: 16px;
}

.mascot-card {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-height: 100%;
}

.mascot-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(1) contrast(1.05);
}

.burn-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 22px;
}

.burn-ring-card, .burn-stats-card {
  padding: 22px;
}

.burn-ring-wrap {
  position: relative;
  width: min(100%, 360px);
  margin: 0 auto;
}

.burn-ring {
  width: 100%;
  height: auto;
  display: block;
  transform: rotate(-90deg);
}

.ring-bg {
  fill: none;
  stroke: rgba(255,255,255,0.08);
  stroke-width: 14;
}

.ring-progress {
  fill: none;
  stroke: rgba(255,255,255,0.96);
  stroke-width: 14;
  stroke-linecap: round;
  stroke-dasharray: 565.49;
  stroke-dashoffset: 565.49;
  transition: stroke-dashoffset .9s ease;
  filter: drop-shadow(0 0 12px rgba(255,255,255,0.22));
}

.burn-ring-center {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 40px;
}

.burn-small-label {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  font-weight: 700;
}

.burn-percent {
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  font-weight: 900;
  letter-spacing: -0.04em;
}

.burn-stats-card {
  display: grid;
  gap: 12px;
}

.burn-stat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,0.025);
}

.burn-label {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.74rem;
  font-weight: 700;
}

.burn-stat strong {
  font-size: clamp(1rem, 2vw, 1.25rem);
  text-align: right;
}

.burn-meta {
  margin-top: 6px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,0.02);
}

.mint-line {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
}

.mint-line span {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.74rem;
  font-weight: 700;
}

.mint-line code {
  display: block;
  overflow-wrap: anywhere;
  font-size: 0.95rem;
  color: var(--white);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
}

.copy-btn {
  appearance: none;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.06);
  color: var(--white);
  padding: 12px 16px;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
}

.copy-btn:hover { border-color: var(--line-strong); }

.burn-status {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.95rem;
}

.thesis-link-card {
  margin-top: 16px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02)),
    #000;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 28px;
}

.thesis-link-copy { max-width: 700px; }
.thesis-note {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.8;
  margin: 0 0 18px;
}

.frame-shell {
  width: 100%;
  margin-top: 16px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #000;
}

.frame-shell iframe {
  width: 100%;
  border: 0;
  display: block;
  background: #000;
}

.frame-shell.chart iframe { height: 680px; }

.buy-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.buy-card {
  padding: 20px;
  text-decoration: none;
  color: var(--white);
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.buy-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.05);
}

.buy-card h3 { margin: 14px 0 8px; font-size: 1.35rem; }
.buy-link { display: inline-block; margin-top: 18px; font-weight: 700; }

.footer {
  padding: 18px 16px 40px;
  text-align: center;
  color: var(--muted);
}

.designer-credit { margin-top: 10px; }
.designer-credit a {
  color: var(--white);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.25);
}
.designer-credit a:hover { border-bottom-color: rgba(255,255,255,0.7); }

@media (max-width: 980px) {
  .thesis-grid, .buy-grid, .thesis-points, .burn-grid { grid-template-columns: 1fr; }
  .hero-banner { max-height: none; }
  .frame-shell.chart iframe { height: 560px; }
}

@media (max-width: 640px) {
  .hero { padding: 12px 10px 4px; }
  .container { padding: 8px 10px 40px; }
  .hero-copy, .section, .burn-ring-card, .burn-stats-card { padding: 18px; }
  .cta-row { flex-direction: column; }
  .btn { width: 100%; text-align: center; }
  .burn-stat { flex-direction: column; align-items: flex-start; }
  .burn-stat strong { text-align: left; }
  .frame-shell.chart iframe { height: 460px; }
  .flash-ghost { width: 56vw; }
}

.burn-status:empty { display: none; }
