/* ═══════════════════════════════════════════
   $MOGBERT — mogbert.xyz
   pixel potato · purple aura · side character
   ═══════════════════════════════════════════ */

:root {
  --bg: #0a0612;
  --bg-elevated: #120a1c;
  --bg-card: rgba(28, 16, 42, 0.72);
  --border: rgba(168, 85, 247, 0.22);
  --border-strong: rgba(192, 132, 252, 0.45);
  --text: #f3eefc;
  --text-muted: #a89bb8;
  --beige: #c4a574;
  --beige-deep: #8b6f4e;
  --purple: #a855f7;
  --purple-bright: #c084fc;
  --purple-deep: #6b21a8;
  --glow: 0 0 40px rgba(168, 85, 247, 0.35);
  --glow-sm: 0 0 20px rgba(168, 85, 247, 0.25);
  --radius: 16px;
  --radius-sm: 10px;
  --font: "Space Grotesk", system-ui, sans-serif;
  --pixel: "Press Start 2P", monospace;
  --max: 1120px;
  --nav-h: 72px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

strong {
  font-weight: 600;
  color: var(--text);
}

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

.glow-orb {
  pointer-events: none;
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 0;
  opacity: 0.35;
}

.glow-orb-a {
  width: 420px;
  height: 420px;
  background: var(--purple-deep);
  top: -80px;
  right: -60px;
}

.glow-orb-b {
  width: 360px;
  height: 360px;
  background: #3b1d6e;
  bottom: 10%;
  left: -100px;
}

/* ── top X advert banner ── */
.x-banner {
  position: relative;
  z-index: 110;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 1rem;
  flex-wrap: wrap;
  padding: 0.7rem 1.25rem;
  background: linear-gradient(90deg, #1a0b2e 0%, #3b1d6e 40%, #6b21a8 70%, #1a0b2e 100%);
  background-size: 200% 100%;
  animation: bannerShift 8s ease infinite;
  border-bottom: 1px solid rgba(192, 132, 252, 0.45);
  box-shadow: 0 0 40px rgba(168, 85, 247, 0.25);
  color: #fff;
  text-decoration: none;
  font-size: 0.95rem;
  transition: filter 0.15s ease;
}

.x-banner:hover {
  filter: brightness(1.08);
}

.x-banner-pulse {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: #c084fc;
  box-shadow: 0 0 12px #a855f7;
}

.x-banner-icon {
  font-size: 1.15rem;
  line-height: 1;
  color: #fff;
}

.x-banner-text {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.75rem;
  justify-content: center;
}

.x-banner-text strong {
  font-family: var(--pixel);
  font-size: 0.5rem;
  letter-spacing: 0.06em;
  color: #e9d5ff;
  text-transform: uppercase;
}

.x-banner-handle {
  font-weight: 700;
  font-size: 1.05rem;
  color: #fff;
  text-shadow: 0 0 16px rgba(192, 132, 252, 0.8);
}

.x-banner-cta {
  color: rgba(243, 238, 252, 0.85);
  font-size: 0.9rem;
}

.x-banner-btn {
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  background: #fff;
  color: #1a0b2e;
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.25);
}

@keyframes bannerShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: var(--nav-h);
  padding: 0 1.5rem;
  max-width: calc(var(--max) + 4rem);
  margin: 0 auto;
  backdrop-filter: blur(16px);
  background: rgba(10, 6, 18, 0.75);
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  border-bottom-color: var(--border);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.nav-x {
  color: var(--purple-bright) !important;
  font-weight: 600;
}

.nav-x:hover {
  color: #fff !important;
}

.btn-x {
  background: #0a0612;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
}

.btn-x:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.btn-x-solid {
  background: #111;
  border: 1px solid rgba(192, 132, 252, 0.5);
  color: #fff;
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.2);
}

.btn-x-solid:hover {
  border-color: var(--purple-bright);
  box-shadow: var(--glow-sm);
}

.x-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1.25rem;
  padding: 0.65rem 0.95rem;
  border-radius: 999px;
  background: rgba(168, 85, 247, 0.12);
  border: 1px solid rgba(192, 132, 252, 0.4);
  color: var(--text-muted);
  font-size: 0.9rem;
  max-width: 100%;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.x-chip:hover {
  border-color: var(--purple-bright);
  background: rgba(168, 85, 247, 0.2);
  color: var(--text);
}

.x-chip strong {
  color: var(--purple-bright);
}

.x-chip-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 10px #22c55e;
  flex-shrink: 0;
  animation: livePulse 1.6s ease infinite;
}

@keyframes livePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.85); }
}

.social-card-hot {
  border-color: rgba(192, 132, 252, 0.55);
  box-shadow: var(--glow-sm);
  background: linear-gradient(160deg, rgba(107, 33, 168, 0.35), rgba(28, 16, 42, 0.85));
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--pixel);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  color: var(--beige);
}

.brand-dot {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: var(--purple);
  box-shadow: var(--glow-sm);
  image-rendering: pixelated;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

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

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

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

.btn:active {
  transform: translateY(0);
}

.btn-sm {
  padding: 0.55rem 1rem;
  font-size: 0.85rem;
}

.btn-glow {
  background: linear-gradient(135deg, #8b5cf6, #a855f7 50%, #c084fc);
  color: #0a0612;
  box-shadow: var(--glow-sm);
}

.btn-glow:hover {
  box-shadow: var(--glow);
}

.btn-ghost {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--purple-bright);
  background: rgba(168, 85, 247, 0.08);
}

.btn.is-disabled,
.btn[data-placeholder="true"] {
  opacity: 0.7;
  cursor: default;
}

/* hero */
.hero {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem 2.5rem;
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.5rem 1.5rem 3.5rem;
}

.hero-art {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 0;
}

.eyebrow {
  font-family: var(--pixel);
  font-size: 0.55rem;
  letter-spacing: 0.08em;
  color: var(--purple-bright);
  text-transform: uppercase;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 3.8rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.accent {
  background: linear-gradient(90deg, var(--beige), #e8d5b0 40%, var(--purple-bright));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 34rem;
  margin-bottom: 1.75rem;
}

.lede strong {
  color: var(--beige);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.ca-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 0.85rem;
  padding: 0.85rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  backdrop-filter: blur(8px);
  max-width: 100%;
}

.ca-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  width: 100%;
}

.ca-value {
  font-family: ui-monospace, "Cascadia Code", monospace;
  font-size: 0.85rem;
  color: var(--beige);
  word-break: break-all;
  flex: 1;
  min-width: 0;
}

.ca-copy {
  font-family: var(--font);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.4rem 0.75rem;
  border-radius: 8px;
  border: 1px solid var(--border-strong);
  background: rgba(168, 85, 247, 0.12);
  color: var(--text);
  cursor: pointer;
  transition: background 0.15s ease;
}

.ca-copy:not(:disabled):hover {
  background: rgba(168, 85, 247, 0.25);
}

.ca-copy:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.ca-copy.copied {
  border-color: #86efac;
  color: #86efac;
}

.art-frame {
  position: relative;
  width: min(100%, 400px);
  border-radius: 24px;
  padding: 0.55rem;
  background: linear-gradient(160deg, rgba(168, 85, 247, 0.4), rgba(139, 92, 246, 0.08) 50%, rgba(196, 165, 116, 0.18));
  box-shadow: var(--glow);
}

/* natural image ratio — never stretch pixel art */
.hero-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
  background: #0d0814;
  object-fit: contain;
  object-position: center bottom;
  image-rendering: auto;
  vertical-align: middle;
}

.card-img-face {
  object-fit: contain;
  object-position: center;
  background: #0d0814;
  padding: 1rem;
  aspect-ratio: 1;
}

.art-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0.85rem 0.35rem;
  font-family: var(--pixel);
  font-size: 0.5rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.cap-arrow {
  color: var(--purple);
}

.cap-aura {
  color: var(--purple-bright);
  text-shadow: 0 0 12px rgba(192, 132, 252, 0.6);
}

/* marquee */
.marquee {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border-block: 1px solid var(--border);
  background: rgba(18, 10, 28, 0.85);
  padding: 0.9rem 0;
  margin-bottom: 1rem;
}

.marquee-track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  animation: scroll 32s linear infinite;
  font-family: var(--pixel);
  font-size: 0.55rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.marquee-track span:nth-child(odd) {
  color: var(--purple-bright);
}

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

/* sections */
.section {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: 4.5rem 1.5rem;
}

.section-head {
  margin-bottom: 2.25rem;
}

.section-head.center {
  text-align: center;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

.section-head h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.section-sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-top: 0.75rem;
}

.section-sub.left {
  max-width: 36rem;
  margin-left: 0;
  margin-right: 0;
  text-align: left;
}

/* cards */
.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.25rem;
}

.stack {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem 1.4rem;
  backdrop-filter: blur(10px);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--glow-sm);
}

.card-feature {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.card-img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  object-position: center;
  background: #0d0814;
}

.card-body {
  padding: 1.35rem 1.4rem 1.5rem;
}

.card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.card p {
  color: var(--text-muted);
  font-size: 0.98rem;
}

.card p + p {
  margin-top: 0.65rem;
}

.muted {
  color: var(--text-muted) !important;
  opacity: 0.9;
}

.card-aura {
  border-color: rgba(168, 85, 247, 0.4);
  box-shadow: inset 0 0 40px rgba(168, 85, 247, 0.08);
}

.icon-pixel {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  font-family: var(--pixel);
  font-size: 0.65rem;
  background: rgba(196, 165, 116, 0.12);
  color: var(--beige);
  border: 1px solid rgba(196, 165, 116, 0.3);
  border-radius: 8px;
  margin-bottom: 0.85rem;
}

.icon-pixel.aura {
  background: rgba(168, 85, 247, 0.15);
  color: var(--purple-bright);
  border-color: rgba(168, 85, 247, 0.4);
  box-shadow: var(--glow-sm);
}

/* steps / check */
.section-check {
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(107, 33, 168, 0.2), transparent 70%);
}

.section-check .section-head {
  margin-bottom: 2.5rem;
}

.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.35rem;
  position: relative;
}

.step-num {
  font-family: var(--pixel);
  font-size: 0.55rem;
  color: var(--purple-bright);
  display: block;
  margin-bottom: 1rem;
}

.step h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

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

.check-cta {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.25rem;
}

/* caption templates */
.template-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
  margin-top: 2.25rem;
}

.template-card {
  background: rgba(10, 6, 18, 0.55);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 1.1rem 1rem;
}

.template-tag {
  font-family: var(--pixel);
  font-size: 0.45rem;
  color: var(--purple-bright);
  letter-spacing: 0.06em;
  display: block;
  margin-bottom: 0.65rem;
}

.template-card p {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.4;
}

/* cinematic lore */
.section-cinematic {
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}

.cinema {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  border-radius: 0;
  overflow: hidden;
  border-block: 1px solid var(--border);
}

.cinema-second {
  margin-top: 0;
  border-top: none;
}

.cinema-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 560px;
  object-fit: cover;
  object-position: center center;
  display: block;
  background: #0d0814;
}

/* stage is native 16:9; door is 1:1 — cover + center keeps both clean */
.cinema-second .cinema-img {
  object-position: center 55%;
}

.cinema-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2.5rem clamp(1.25rem, 4vw, 3rem);
  background:
    linear-gradient(0deg, rgba(10, 6, 18, 0.94) 0%, rgba(10, 6, 18, 0.55) 42%, rgba(10, 6, 18, 0.12) 100%);
}

.cinema-overlay .eyebrow,
.cinema-overlay h2,
.cinema-overlay > p,
.cinema-overlay .cinema-quote {
  max-width: 36rem;
}

.cinema-overlay h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
  line-height: 1.1;
}

.cinema-overlay > p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.cinema-quote {
  margin-top: 1rem !important;
  font-style: italic;
  color: var(--beige) !important;
  border-left: 3px solid var(--purple);
  padding-left: 1rem;
}

/* vs strip */
.vs-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1rem;
  align-items: stretch;
}

.vs-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.vs-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  object-position: center;
  background: #0d0814;
}

.vs-body {
  padding: 1.25rem 1.35rem 1.5rem;
}

.vs-label {
  font-family: var(--pixel);
  font-size: 0.5rem;
  color: var(--beige);
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 0.5rem;
}

.vs-label.aura {
  color: var(--purple-bright);
}

.vs-body h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.vs-body ul {
  list-style: none;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.vs-body li {
  padding: 0.35rem 0;
  border-bottom: 1px solid rgba(168, 85, 247, 0.1);
}

.vs-body li:last-child {
  border-bottom: none;
}

.vs-them {
  border-color: rgba(168, 85, 247, 0.4);
  box-shadow: inset 0 0 50px rgba(168, 85, 247, 0.08);
}

.vs-mid {
  display: grid;
  place-items: center;
  font-family: var(--pixel);
  font-size: 0.75rem;
  color: var(--purple-bright);
  text-shadow: 0 0 20px rgba(192, 132, 252, 0.7);
  padding: 0 0.25rem;
}

/* gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(160px, auto);
  gap: 0.85rem;
}

.gal-item {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
  position: relative;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.gal-item:hover {
  border-color: var(--border-strong);
  box-shadow: var(--glow-sm);
  transform: translateY(-2px);
}

.gal-item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
  aspect-ratio: 1;
  min-height: 0;
  background: #0d0814;
}

.gal-tall {
  grid-row: span 2;
}

.gal-tall img {
  /* halo is ~9:16 */
  aspect-ratio: 9 / 16;
  height: 100%;
  object-fit: cover;
  min-height: 280px;
}

.gal-wide {
  grid-column: span 2;
}

.gal-wide img {
  /* stage 16:9, door framed wide */
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center center;
  min-height: 200px;
}

.gal-wide.gal-door img {
  aspect-ratio: 16 / 9;
  object-position: center 60%;
}

.gal-item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.5rem 0.85rem 0.75rem;
  background: linear-gradient(transparent, rgba(10, 6, 18, 0.92));
  font-size: 0.85rem;
  color: var(--text);
  font-weight: 500;
}

.meme-pack {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.4rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.meme-pack-copy h3 {
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.meme-pack-copy p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.meme-pack-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* how cards */
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}

.how-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem 1.25rem;
}

.how-num {
  font-family: var(--pixel);
  font-size: 0.5rem;
  color: var(--beige);
  display: block;
  margin-bottom: 0.75rem;
}

.how-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

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

/* faq */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.15rem 1.15rem;
  transition: border-color 0.2s ease;
}

.faq-item[open] {
  border-color: var(--border-strong);
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1rem 0;
  font-weight: 600;
  font-size: 1.02rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-family: var(--pixel);
  font-size: 0.7rem;
  color: var(--purple-bright);
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item p {
  color: var(--text-muted);
  padding: 0 0 1.1rem;
  font-size: 0.98rem;
  line-height: 1.55;
}

/* token */
.token-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 1.25rem;
}

.token-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
}

.token-card h3 {
  font-size: 1.05rem;
  margin-bottom: 1.1rem;
  color: var(--purple-bright);
  font-family: var(--pixel);
  font-size: 0.65rem;
  letter-spacing: 0.04em;
}

.spec-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.spec-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(168, 85, 247, 0.12);
  font-size: 0.95rem;
}

.spec-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.spec-list span {
  color: var(--text-muted);
}

.spec-list strong {
  text-align: right;
  color: var(--beige);
  font-weight: 600;
}

.token-copy p {
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-size: 1.02rem;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.tag {
  font-size: 0.8rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--text-muted);
  background: rgba(10, 6, 18, 0.5);
}

/* buy panel */
.section-buy {
  padding-top: 2rem;
}

.buy-panel {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 2rem;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(107, 33, 168, 0.25), rgba(28, 16, 42, 0.9) 45%, rgba(196, 165, 116, 0.08));
  border: 1px solid var(--border-strong);
  border-radius: 24px;
  padding: 2rem;
  box-shadow: var(--glow-sm);
}

.buy-mascot {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  object-position: center;
  border-radius: 16px;
  background: #0d0814;
  border: 1px solid var(--border);
}

.buy-copy h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.buy-copy > p {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  max-width: 36rem;
}

.fineprint {
  font-size: 0.8rem !important;
  color: var(--text-muted) !important;
  opacity: 0.7;
  margin-top: 1rem !important;
  margin-bottom: 0 !important;
}

/* socials */
.social-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.social-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.5rem 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.social-card:hover {
  border-color: var(--purple-bright);
  transform: translateY(-2px);
  box-shadow: var(--glow-sm);
}

.social-icon {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  color: var(--purple-bright);
}

.social-name {
  font-weight: 600;
  font-size: 1.05rem;
}

.social-hint {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.social-card[data-placeholder="true"] {
  opacity: 0.75;
}

/* footer */
.footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  margin-top: 2rem;
  padding: 2.5rem 1.5rem 3rem;
  background: rgba(8, 5, 14, 0.9);
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  text-align: center;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.footer-brand strong {
  font-family: var(--pixel);
  font-size: 0.7rem;
  color: var(--beige);
}

.footer-brand span {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.footer-disclaimer {
  font-size: 0.8rem;
  color: var(--text-muted);
  opacity: 0.75;
  max-width: 40rem;
  margin: 0 auto 1.25rem;
  line-height: 1.5;
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--text-muted);
  opacity: 0.75;
}

.footer-copy a {
  color: var(--purple-bright);
  text-decoration: none;
}

.footer-copy a:hover {
  text-decoration: underline;
}

/* responsive */
@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .x-banner-cta {
    display: none;
  }

  .x-banner {
    padding: 0.65rem 1rem;
    gap: 0.5rem;
  }

  .x-chip {
    font-size: 0.82rem;
    text-align: left;
  }

  .nav-actions .btn-x {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 1.5rem;
    text-align: center;
  }

  .lede {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-ctas {
    justify-content: center;
  }

  .ca-box {
    text-align: left;
  }

  .hero-art {
    order: -1;
  }

  .art-frame {
    width: min(100%, 320px);
  }

  .about-grid,
  .token-grid,
  .steps,
  .social-grid,
  .template-grid,
  .how-grid,
  .vs-grid {
    grid-template-columns: 1fr;
  }

  .vs-mid {
    padding: 0.5rem 0;
  }

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

  .gal-tall,
  .gal-wide {
    grid-column: span 2;
    grid-row: span 1;
  }

  .gal-tall img {
    aspect-ratio: 3 / 4;
    min-height: 220px;
    object-fit: cover;
  }

  .gal-wide img,
  .gal-wide.gal-door img {
    aspect-ratio: 16 / 10;
    min-height: 160px;
  }

  .cinema-img {
    max-height: 420px;
    aspect-ratio: 16 / 10;
  }

  .cinema-overlay {
    padding: 1.5rem 1.25rem;
  }

  .buy-panel {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .buy-mascot {
    max-width: 180px;
    margin: 0 auto;
  }

  .buy-copy .hero-ctas {
    justify-content: center;
  }

  .meme-pack {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .brand span {
    font-size: 0.55rem;
  }

  .nav {
    padding: 0 1rem;
  }

  .hero h1 {
    font-size: 2.1rem;
  }

  .section {
    padding: 3rem 1rem;
  }

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

  .gal-tall,
  .gal-wide {
    grid-column: span 1;
  }
}

/* ── hero stats ── */
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.35rem;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.65rem 0.9rem;
  min-width: 5.5rem;
  background: rgba(28, 16, 42, 0.65);
  border: 1px solid var(--border);
  border-radius: 12px;
  backdrop-filter: blur(8px);
}

.hero-stat-n {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--beige);
  letter-spacing: -0.02em;
}

.hero-stat-l {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.btn-play {
  background: linear-gradient(135deg, #f0d9a8, #c4a574);
  color: #1a1220;
  border: 1px solid rgba(196, 165, 116, 0.5);
  box-shadow: 0 0 24px rgba(196, 165, 116, 0.25);
  font-weight: 700;
}

.btn-play:hover {
  box-shadow: 0 0 32px rgba(196, 165, 116, 0.4);
}

.art-float {
  animation: artBob 5s ease-in-out infinite;
}

.art-frame {
  --mx: 50%;
  --my: 40%;
}

.art-frame::after {
  content: "";
  pointer-events: none;
  position: absolute;
  inset: 0.55rem;
  border-radius: 18px;
  background: radial-gradient(
    420px circle at var(--mx) var(--my),
    rgba(192, 132, 252, 0.18),
    transparent 45%
  );
  opacity: 0.9;
  transition: opacity 0.2s ease;
}

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

/* ── game ── */
.section-game {
  background:
    radial-gradient(ellipse 70% 60% at 50% 0%, rgba(107, 33, 168, 0.28), transparent 70%);
}

.game-shell {
  max-width: 720px;
  margin: 0 auto;
}

.game-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 0.85rem;
}

.game-pill {
  font-size: 0.85rem;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(10, 6, 18, 0.55);
  color: var(--text-muted);
}

.game-pill strong {
  color: var(--beige);
  margin-left: 0.25rem;
}

.game-hint {
  color: var(--purple-bright);
}

.game-stage {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  box-shadow: var(--glow);
  background: #0d0814;
}

#mog-game {
  display: block;
  width: 100%;
  height: auto;
  cursor: crosshair;
  touch-action: none;
  outline: none;
}

.game-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  padding: 1.5rem;
  text-align: center;
  background: rgba(10, 6, 18, 0.72);
  backdrop-filter: blur(4px);
}

.game-overlay[hidden] {
  display: none !important;
}

.game-status {
  font-size: 1.05rem;
  color: var(--text);
  line-height: 1.5;
  margin-bottom: 0.25rem;
}

.mogged-tag {
  display: inline-block;
  font-family: var(--pixel);
  font-size: 0.7rem;
  color: #f0abfc;
  text-shadow: 0 0 18px rgba(232, 121, 249, 0.8);
  letter-spacing: 0.04em;
  margin-bottom: 0.5rem;
}

.crown-tag {
  display: inline-block;
  font-family: var(--pixel);
  font-size: 0.85rem;
  color: #fbbf24;
  text-shadow: 0 0 22px rgba(251, 191, 36, 0.85);
  letter-spacing: 0.06em;
  margin-bottom: 0.55rem;
}

.crown-sub {
  display: block;
  margin-top: 0.35rem;
  color: var(--purple-bright);
  font-size: 0.95rem;
}

.game-status-soft {
  display: block;
  margin-top: 0.45rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.game-overlay-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  justify-content: center;
  align-items: center;
}

.btn-crown {
  background: linear-gradient(135deg, #fbbf24, #f59e0b 40%, #a855f7);
  color: #1a1220;
  border: 1px solid rgba(251, 191, 36, 0.6);
  box-shadow: 0 0 28px rgba(251, 191, 36, 0.35);
  font-weight: 800;
  letter-spacing: 0.02em;
}

.btn-crown:hover {
  box-shadow: 0 0 40px rgba(251, 191, 36, 0.55);
  filter: brightness(1.05);
}

.game-mode-pill {
  color: var(--purple-bright);
  border-color: rgba(192, 132, 252, 0.45);
}

.game-mode-pill.ascended {
  color: #fda4af;
  border-color: rgba(251, 113, 133, 0.55);
  box-shadow: 0 0 16px rgba(244, 114, 182, 0.25);
}

.game-egg-toast {
  position: absolute;
  left: 50%;
  top: 12px;
  transform: translateX(-50%) translateY(-8px);
  z-index: 5;
  max-width: min(92%, 420px);
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: rgba(12, 8, 22, 0.92);
  border: 1px solid rgba(251, 191, 36, 0.45);
  color: #fde68a;
  font-size: 0.8rem;
  font-weight: 600;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  box-shadow: 0 0 24px rgba(168, 85, 247, 0.25);
}

.game-egg-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.game-footnote {
  text-align: center;
  margin-top: 0.9rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.game-footnote a {
  color: var(--purple-bright);
}

/* ── reveal + dock ── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

.float-dock {
  position: fixed;
  z-index: 120;
  left: 50%;
  bottom: 1.1rem;
  transform: translateX(-50%) translateY(120%);
  display: flex;
  gap: 0.4rem;
  padding: 0.4rem;
  border-radius: 999px;
  background: rgba(12, 8, 20, 0.88);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(16px);
  box-shadow: var(--glow);
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.float-dock.show {
  transform: translateX(-50%) translateY(0);
}

.float-item {
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  color: var(--text);
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease;
}

.float-item:hover {
  background: rgba(168, 85, 247, 0.2);
}

.float-x {
  color: #fff;
}

.float-buy {
  background: linear-gradient(135deg, #8b5cf6, #c084fc);
  color: #0a0612;
}

.float-buy:hover {
  background: linear-gradient(135deg, #a78bfa, #e9d5ff);
  color: #0a0612;
}

/* card lift polish */
.card,
.step,
.token-card,
.how-card,
.social-card,
.template-card {
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.card:hover,
.step:hover,
.token-card:hover,
.how-card:hover {
  transform: translateY(-3px);
}

/* body padding for dock */
body {
  padding-bottom: 5rem;
}

@media (max-width: 900px) {
  .hero-stats {
    justify-content: center;
  }

  .game-hint {
    display: none;
  }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .marquee-track,
  .art-float,
  .x-banner {
    animation: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn:hover,
  .social-card:hover,
  .gal-item:hover,
  .card:hover,
  .step:hover,
  .token-card:hover,
  .how-card:hover {
    transform: none;
  }
}
