:root {
  --bg: #0a0a0f;
  --bg-card: #111118;
  --bg-card-alt: #16161f;
  --border: #1e1e2a;
  --text: #e0e0e0;
  --text-dim: #888899;
  --accent: #FFD700;
  --accent-dim: #b89b00;
  --green: #4ade80;
  --red: #f87171;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

/* VIDEO BG */
.video-bg {
  position: fixed;
  top: 50%; left: 50%;
  width: 1024px;
  height: 576px;
  transform: translate(-50%, -50%);
  z-index: -2;
  pointer-events: none;
}
.video-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(10,10,15,0.65);
  z-index: -1;
  pointer-events: none;
}
h1, h2, h3, .pixel {
  font-family: 'Press Start 2P', monospace;
  line-height: 1.6;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* NAV */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10,10,15,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}
.nav-logo {
  font-family: 'Press Start 2P', monospace;
  font-size: 11px;
  color: #39FF14;
  letter-spacing: 1px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-logo img {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
}
.nav-logo:hover { text-decoration: none; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a {
  color: var(--text-dim);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
  position: relative;
}
.nav-links a:hover { color: var(--text); text-decoration: none; }
.nav-links a.active { color: var(--accent); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0; right: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}
.nav-cta {
  background: var(--accent);
  color: #000;
  padding: 8px 18px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 4px;
  text-decoration: none !important;
  transition: background 0.2s;
  border: none;
  cursor: pointer;
  font-family: inherit;
  line-height: 1;
}
.nav-cta:hover { background: var(--accent-dim); }
.nav-cta.connected {
  background: rgba(57,255,20,0.12);
  color: var(--green);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0;
}
.wallet-menu-wrap { position: relative; display: none; }
.wallet-wrap { position: relative; display: inline-block; }
.wallet-btn {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 24px;
  background: var(--accent);
  border: none;
  border-radius: 4px;
  color: #000;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: 0.5px;
}
.wallet-btn:hover {
  background: var(--accent-dim);
  box-shadow: 0 2px 16px rgba(255,215,0,0.25);
}
.wallet-btn.connected {
  background: rgba(74,222,128,0.1);
  border: 1px solid rgba(74,222,128,0.3);
  color: var(--green);
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
}
.wallet-btn.connected:hover {
  border-color: var(--green);
  box-shadow: 0 2px 12px rgba(74,222,128,0.15);
}
.wallet-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: rgba(10,12,14,0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: 6px;
  min-width: 200px;
  z-index: 201;
  overflow: hidden;
}
.wallet-dropdown.show { display: block; }
.wallet-dropdown a {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px;
  color: var(--text-dim);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.15s;
}
.wallet-dropdown a:hover { background: rgba(255,255,255,0.04); color: var(--text); }
.wallet-dropdown a.dd-disconnect { color: #f44; }
.wallet-dropdown a.dd-disconnect:hover { background: rgba(255,68,68,0.08); }

/* TOAST */
.toast {
  position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: rgba(10,12,14,0.95); backdrop-filter: blur(12px);
  border: 1px solid var(--border); border-radius: 8px;
  padding: 12px 24px; font-size: 13px; color: var(--text);
  opacity: 0; pointer-events: none; transition: all 0.3s; z-index: 9999;
  font-family: var(--font-body); font-weight: 500;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); pointer-events: auto; }
.toast.success { border-color: var(--green); color: var(--green); }
.toast.error { border-color: #f44; color: #f44; }
.mobile-connect-btn {
  display: none;
  background: var(--accent);
  color: #000;
  padding: 12px 24px;
  font-size: 13px;
  font-weight: 700;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-family: inherit;
  text-align: center;
  margin-top: 8px;
}
.mobile-connect-btn.connected {
  background: rgba(57,255,20,0.12);
  color: var(--green);
}
@media (max-width: 768px) {
  .mobile-connect-btn { display: block; }
}
.nav-mobile {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 22px;
  cursor: pointer;
  padding: 4px;
}

/* MOBILE NAV OVERLAY */
.mobile-nav {
  display: none;
  position: fixed;
  top: 56px;
  left: 0; right: 0;
  background: rgba(10,10,15,0.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  z-index: 99;
  padding: 24px;
  flex-direction: column;
  gap: 20px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  color: var(--text-dim);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  padding: 8px 0;
  transition: color 0.2s;
}
.mobile-nav a:hover { color: var(--text); }
.mobile-nav a.active { color: var(--accent); }

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-mobile { display: block; }
}

/* PAGE WRAPPER */
.page {
  padding-top: 56px;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px 100px;
}
.section-label {
  font-family: 'Press Start 2P', monospace;
  font-size: 10px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 16px;
}
.section-title {
  font-size: 28px;
  margin-bottom: 20px;
  color: #fff;
}
@media (max-width: 768px) {
  .section-title { font-size: 20px; }
}
.section-desc {
  font-size: 16px;
  color: var(--text-dim);
  max-width: 680px;
  margin-bottom: 48px;
}

/* HERO */
.hero {
  min-height: calc(100vh - 56px);
  display: flex;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px 100px;
  background: transparent;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  width: 100%;
}
.hero-tag {
  font-family: 'Press Start 2P', monospace;
  font-size: 10px;
  color: var(--accent);
  letter-spacing: 3px;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: 36px;
  color: #fff;
  margin-bottom: 24px;
}
.hero-sub {
  font-size: 18px;
  color: var(--text-dim);
  margin-bottom: 12px;
  line-height: 1.8;
}
.hero-sub strong { color: var(--text); }
.hero-stat-row {
  display: flex;
  gap: 40px;
  margin-top: 32px;
  margin-bottom: 40px;
}
.hero-stat-label {
  font-size: 11px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}
.hero-stat-value {
  font-family: 'Press Start 2P', monospace;
  font-size: 18px;
  color: var(--accent);
}
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-primary {
  background: var(--accent);
  color: #000;
  padding: 14px 32px;
  font-weight: 700;
  font-size: 14px;
  border-radius: 4px;
  text-decoration: none !important;
  transition: background 0.2s;
  border: none;
  cursor: pointer;
  font-family: inherit;
  display: inline-block;
  border: none;
  cursor: pointer;
}
.btn-primary:hover { background: var(--accent-dim); text-decoration: none !important; }
.btn-secondary {
  border: 1px solid var(--border);
  color: var(--text);
  padding: 14px 32px;
  font-weight: 600;
  font-size: 14px;
  border-radius: 4px;
  text-decoration: none !important;
  transition: border-color 0.2s;
  display: inline-block;
}
.btn-secondary:hover { border-color: var(--text-dim); text-decoration: none !important; }

/* NFT ART GRID */
.hero-art {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.hero-art .art-slot {
  position: relative;
  width: 100%;
  aspect-ratio: 1/1;
  overflow: hidden;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--bg-card);
}
.hero-art .art-slot img {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 1.8s cubic-bezier(0.4, 0, 0.2, 1),
              transform 1.8s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity, transform;
}
.hero-art .art-slot img.active {
  opacity: 1;
  transform: scale(1);
}
@media (max-width: 768px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero h1 { font-size: 24px; }
  .hero-art { max-width: 320px; }
}

/* DIVIDER */
.divider {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.divider hr {
  border: none;
  border-top: 1px solid var(--border);
}

/* NODES */
.nodes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.node-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 32px;
  transition: border-color 0.2s;
}
.node-card:hover { border-color: var(--accent-dim); }
.node-card-title {
  font-family: 'Press Start 2P', monospace;
  font-size: 11px;
  color: #fff;
  margin-bottom: 12px;
}
.node-card-desc {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.7;
}
@media (max-width: 768px) {
  .nodes-grid { grid-template-columns: 1fr; }
}

/* NODE DIAGRAM */
.node-diagram {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 40px;
  margin-top: 48px;
  text-align: center;
}
.node-diagram-title {
  font-family: 'Press Start 2P', monospace;
  font-size: 10px;
  color: var(--text-dim);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.node-flow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.nf-box {
  font-family: 'Press Start 2P', monospace;
  font-size: 9px;
  padding: 14px 24px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--bg-card-alt);
  color: var(--text);
  min-width: 240px;
  text-align: center;
}
.nf-box.highlight { color: var(--accent); border-color: var(--accent-dim); }
.nf-arrow {
  color: var(--text-dim);
  font-size: 16px;
  padding: 5px 0;
  line-height: 1;
}

/* STREET CRED */
.cred-flow {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.cred-step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 24px 28px;
  flex: 1;
  min-width: 200px;
}
.cred-step-num {
  font-family: 'Press Start 2P', monospace;
  font-size: 10px;
  color: var(--accent);
  margin-bottom: 10px;
}
.cred-step-title {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}
.cred-step-desc {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.6;
}
.cred-note {
  margin-top: 48px;
  padding: 28px 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
}
.cred-note-title {
  font-family: 'Press Start 2P', monospace;
  font-size: 10px;
  color: var(--accent);
  margin-bottom: 12px;
}
.cred-note-text {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.7;
}
.cred-note-text strong { color: var(--text); }

/* TIERS */
.tier-cards {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 24px;
}
.tier-card {
  display: grid;
  grid-template-columns: 100px 1fr 80px;
  align-items: center;
  padding: 18px 20px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 6px;
}
.tier-card-name {
  font-family: 'Press Start 2P', monospace;
  font-size: 10px;
  color: #fff;
}
.tier-card-req {
  font-size: 14px;
  color: var(--text);
}
.tier-card-mult {
  font-family: 'Press Start 2P', monospace;
  font-size: 14px;
  color: var(--accent);
  text-align: right;
}
.burn-note {
  margin-top: 24px;
  padding: 20px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 14px;
  color: var(--text-dim);
}
.burn-note strong { color: var(--green); }

/* ROADMAP */
.phases {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.phase-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}
.phase-row:last-child { border-bottom: none; }
.phase-tag {
  font-family: 'Press Start 2P', monospace;
  font-size: 10px;
  color: var(--accent);
  padding-top: 2px;
}
.phase-title {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}
.phase-desc {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.7;
}
.phase-status {
  display: inline-block;
  margin-top: 10px;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.status-live { background: rgba(74,222,128,0.12); color: var(--green); }
.status-soon { background: rgba(255,215,0,0.1); color: var(--accent); }
.status-later { background: rgba(136,136,153,0.1); color: var(--text-dim); }
@media (max-width: 768px) {
  .phase-row { grid-template-columns: 1fr; gap: 8px; }
}

/* FLYWHEEL */
.flywheel-visual {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 40px;
  text-align: center;
  margin-top: 48px;
}
.flywheel-chain {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.fw-node {
  font-family: 'Press Start 2P', monospace;
  font-size: 10px;
  padding: 14px 28px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--bg-card-alt);
  color: var(--text);
  min-width: 260px;
  text-align: center;
}
.fw-node.accent { color: var(--accent); border-color: var(--accent-dim); }
.fw-arrow {
  color: var(--text-dim);
  font-size: 18px;
  padding: 6px 0;
  line-height: 1;
}

/* MINT PAGE */
.mint-hero {
  text-align: center;
  padding: 100px 24px 60px;
}
.mint-hero h1 {
  font-size: 32px;
  color: #fff;
  margin-bottom: 12px;
}
.mint-hero .mint-sub {
  font-family: 'Press Start 2P', monospace;
  font-size: 12px;
  color: var(--accent);
  margin-bottom: 0;
}
@media (max-width: 768px) {
  .mint-hero h1 { font-size: 22px; }
}

.mint-info-row {
  display: flex;
  justify-content: center;
  gap: 48px;
  padding: 0 24px;
  margin-bottom: 48px;
}
.mint-info-item {
  text-align: center;
}
.mint-info-label {
  font-size: 11px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}
.mint-info-value {
  font-family: 'Press Start 2P', monospace;
  font-size: 13px;
  color: #fff;
}
@media (max-width: 768px) {
  .mint-info-row { gap: 24px; flex-wrap: wrap; }
}

.mint-container {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px 120px;
  align-items: start;
}
@media (max-width: 768px) {
  .mint-container { grid-template-columns: 1fr; }
}

.mint-preview {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 1/1;
  position: relative;
}
.mint-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0; left: 0;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 1.5s cubic-bezier(0.4, 0, 0.2, 1),
              transform 1.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity, transform;
}
.mint-preview img.active {
  opacity: 1;
  transform: scale(1);
}
.mint-preview-label {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Press Start 2P', monospace;
  font-size: 8px;
  color: var(--text-dim);
  background: rgba(10,10,15,0.8);
  padding: 6px 14px;
  border-radius: 3px;
  letter-spacing: 2px;
  z-index: 2;
}

.mint-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 32px;
}
.mint-card-header {
  font-family: 'Press Start 2P', monospace;
  font-size: 12px;
  color: #fff;
  margin-bottom: 24px;
}
.mint-field {
  margin-bottom: 20px;
}
.mint-field-label {
  font-size: 11px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.mint-qty-control {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--bg-card-alt);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
}
.mint-qty-btn {
  background: none;
  border: none;
  color: var(--accent);
  font-size: 20px;
  font-weight: 700;
  width: 48px;
  height: 48px;
  cursor: pointer;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mint-qty-btn:hover { background: rgba(255,215,0,0.08); }
.mint-qty-btn:disabled { color: var(--text-dim); cursor: not-allowed; }
.mint-qty-value {
  flex: 1;
  text-align: center;
  font-family: 'Press Start 2P', monospace;
  font-size: 16px;
  color: #fff;
}
.mint-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.mint-price-row:last-of-type { border-bottom: none; }
.mint-price-label {
  font-size: 13px;
  color: var(--text-dim);
}
.mint-price-value {
  font-family: 'Press Start 2P', monospace;
  font-size: 12px;
  color: #fff;
}
.mint-price-value.accent { color: var(--accent); }
.mint-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  border-top: 1px solid var(--border);
  margin-top: 4px;
}
.mint-total-label {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}
.mint-total-value {
  font-family: 'Press Start 2P', monospace;
  font-size: 14px;
  color: var(--accent);
}
.mint-card .wallet-wrap {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}
.mint-wallet-btn {
  display: block;
  width: auto;
  min-width: 200px;
  margin: 0;
  padding: 16px 32px;
  font-size: 14px;
  font-weight: 700;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'Inter', sans-serif;
  text-align: center;
}
.mint-wallet-btn.connect {
  background: var(--accent);
  color: #000;
}
.mint-wallet-btn.connect:hover { background: var(--accent-dim); }
.mint-wallet-btn.connected {
  background: rgba(74,222,128,0.1);
  color: var(--green);
  border: 1px solid rgba(74,222,128,0.3);
}
.mint-wallet-btn.soon {
  background: rgba(255,215,0,0.1);
  color: var(--accent);
  border: 2px solid var(--accent);
  cursor: default;
  font-family: 'Press Start 2P', monospace;
  font-size: 12px;
}
.mint-wallet-btn.minting {
  background: var(--accent);
  color: #000;
  cursor: wait;
}

/* MINT STATUS BANNER */
.mint-status {
  text-align: center;
  margin-bottom: 32px;
}
.mint-status-badge {
  display: inline-block;
  font-family: 'Press Start 2P', monospace;
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 8px 20px;
  border-radius: 3px;
}
.mint-status-badge.soon {
  background: rgba(255,215,0,0.1);
  color: var(--accent);
  border: 1px solid rgba(255,215,0,0.2);
}
.mint-status-badge.live {
  background: rgba(74,222,128,0.12);
  color: var(--green);
  border: 1px solid rgba(74,222,128,0.2);
}

/* CHAIN WARNING */
.chain-warn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  max-width: 900px;
  margin: 0 auto 24px;
  padding: 14px 24px;
  background: rgba(248,113,113,0.08);
  border: 1px solid rgba(248,113,113,0.25);
  border-radius: 6px;
  font-size: 13px;
  color: var(--red);
  font-weight: 600;
}
.chain-warn-btn {
  background: var(--red);
  color: #fff;
  border: none;
  padding: 8px 20px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.2s;
  white-space: nowrap;
}
.chain-warn-btn:hover { opacity: 0.85; }

/* TOAST */
.toast {
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 14px 28px;
  border-radius: 6px;
  font-size: 13px;
  color: var(--text);
  z-index: 200;
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
  pointer-events: none;
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.toast.error { border-color: rgba(248,113,113,0.3); }
.toast.success { border-color: rgba(74,222,128,0.3); }

/* FOOTER */
footer {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-left {
  font-family: 'Press Start 2P', monospace;
  font-size: 10px;
  color: var(--text-dim);
}
.footer-links { display: flex; gap: 24px; }
.footer-links a {
  color: var(--text-dim);
  font-size: 13px;
  font-weight: 500;
}
.footer-links a:hover { color: var(--text); }

/* MUSIC TOGGLE */
.music-toggle {
  position:fixed;bottom:20px;left:20px;z-index:100;
  width:40px;height:40px;
  border-radius:50%;
  background:rgba(10,10,15,0.80);
  backdrop-filter:blur(6px);
  -webkit-backdrop-filter:blur(6px);
  border:1px solid rgba(255,255,255,0.10);
  color:var(--text-dim);
  font-size:16px;
  cursor:pointer;
  display:flex;align-items:center;justify-content:center;
  transition:all 0.2s;
}
.music-toggle:hover {
  border-color:rgba(255,215,0,0.3);
  color:var(--accent);
}
.music-toggle.playing {
  border-color:rgba(255,215,0,0.4);
  color:var(--accent);
}
.music-icon {
  font-size:16px;
  line-height:1;
}
@keyframes musicPulse {
  0%,100%{opacity:1}
  50%{opacity:0.5}
}
.music-toggle.playing .music-icon {
  animation:musicPulse 1.5s infinite;
}

/* ============ MINT SUCCESS POPUP ============ */
.mint-popup-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  z-index: 10000;
  justify-content: center;
  align-items: center;
  padding: 20px;
}
.mint-popup-overlay.active {
  display: flex;
}
.mint-popup {
  background: #0a0a0a;
  border: 1px solid rgba(57,255,20,0.3);
  border-radius: 12px;
  max-width: 480px;
  width: 100%;
  padding: 28px 24px;
  text-align: center;
  position: relative;
  max-height: 80vh;
  overflow-y: auto;
}
.mint-popup-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  color: #666;
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
}
.mint-popup-close:hover { color: #fff; }
.mint-popup-title {
  font-family: 'Press Start 2P', monospace;
  font-size: 20px;
  color: #39FF14;
  margin-bottom: 20px;
}
.mint-popup-grid {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 16px;
}
.popup-nft-card {
  background: rgba(255,255,255,0.04);
  border-radius: 8px;
  padding: 6px;
  text-align: center;
}
.popup-nft-img {
  width: 100px;
  height: 100px;
  border-radius: 6px;
  object-fit: cover;
}
.popup-nft-id {
  margin-top: 4px;
  font-size: 11px;
  color: #888;
  font-family: 'Inter', sans-serif;
}
.mint-popup-info {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #ccc;
  margin-bottom: 16px;
  line-height: 1.6;
}
.mint-popup-info strong {
  color: #39FF14;
}
.mint-popup-explorer {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: #39FF14;
  text-decoration: underline;
  margin-bottom: 16px;
}
.mint-popup-done {
  display: block;
  width: 100%;
  padding: 12px;
  background: #39FF14;
  color: #000;
  border: none;
  border-radius: 6px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
.mint-popup-done:hover {
  background: #2ecc10;
}
/* v2 */
