/* ============================================================
   RECREATIONAL McNUKE — style.css
   Nuclear-Punk / AnCap Corporate Apocalypse Aesthetic
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Black+Ops+One&family=Oswald:wght@300;400;600;700&family=Share+Tech+Mono&family=Barlow+Condensed:wght@400;700;900&display=swap');

/* ── CSS Variables ─────────────────────────────────────── */
:root {
  --fire: #FF4500;
  --gold: #FFD700;
  --nuke-red: #CC2200;
  --char: #1a0a00;
  --ash: #2a1800;
  --smoke: #3d2a10;
  --pale-ash: #f5e8d0;
  --white: #fff8f0;
  --text-dim: #c4a26b;
  --danger: #ff2200;
  --nuclear-glow: rgba(255,69,0,0.4);
  --gold-glow: rgba(255,215,0,0.35);

  --font-display: 'Black Ops One', cursive;
  --font-heading: 'Oswald', sans-serif;
  --font-body: 'Barlow Condensed', sans-serif;
  --font-mono: 'Share Tech Mono', monospace;

  --nav-h: 68px;
  --radius: 4px;
  --border: 1px solid rgba(255,69,0,0.3);
  --transition: 0.25s cubic-bezier(0.23,1,0.32,1);
}

/* ── Reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--char);
  color: var(--pale-ash);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

/* ── Animated Background ───────────────────────────────── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 40% at 50% 110%, rgba(255,69,0,0.18) 0%, transparent 70%),
    repeating-linear-gradient(0deg, transparent, transparent 39px, rgba(255,69,0,0.04) 40px),
    repeating-linear-gradient(90deg, transparent, transparent 39px, rgba(255,69,0,0.04) 40px);
  pointer-events: none;
  z-index: 0;
}

/* scan lines */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0px,
    transparent 2px,
    rgba(0,0,0,0.08) 2px,
    rgba(0,0,0,0.08) 4px
  );
  pointer-events: none;
  z-index: 0;
}

/* ── Typography ────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
h1 { font-family: var(--font-display); line-height: 1.05; }
a { color: var(--gold); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--fire); }
p { font-size: 1.05rem; line-height: 1.7; }

/* ── Utilities ─────────────────────────────────────────── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 20px; position: relative; z-index: 1; }
.section { padding: 90px 0; position: relative; }
.section--dark { background: rgba(0,0,0,0.35); }
.tag {
  display: inline-block;
  background: var(--fire);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  padding: 3px 10px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.fire-text {
  background: linear-gradient(135deg, var(--gold) 0%, var(--fire) 50%, var(--nuke-red) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.glow {
  text-shadow: 0 0 20px rgba(255,69,0,0.8), 0 0 60px rgba(255,69,0,0.4);
}
.gold-glow {
  text-shadow: 0 0 20px rgba(255,215,0,0.8), 0 0 40px rgba(255,215,0,0.3);
}
.section-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  margin-bottom: 16px;
}
.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-dim);
  max-width: 600px;
  margin-bottom: 48px;
}
.divider {
  width: 60px; height: 3px;
  background: linear-gradient(90deg, var(--fire), var(--gold));
  margin: 16px 0 32px;
}

/* ── Scroll Reveal ─────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ══════════════════════════════════════════════════════════
   NAVBAR
══════════════════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 1000;
  background: rgba(10,3,0,0.92);
  border-bottom: 1px solid rgba(255,69,0,0.25);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: background var(--transition);
}
.navbar.scrolled {
  background: rgba(10,3,0,0.98);
  border-bottom-color: var(--fire);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 24px;
  max-width: 1200px;
  margin: 0 auto;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--gold);
  text-shadow: 0 0 15px rgba(255,215,0,0.5);
  text-decoration: none;
}
.nav-logo img {
  width: 38px; height: 38px;
  border-radius: 50%;
  object-fit: cover;

  box-shadow: 0 0 10px rgba(255, 68, 0, 0.048);
}
.nav-logo .mc { color: var(--fire); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}
.nav-links a {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pale-ash);
  padding: 6px 12px;
  border-radius: var(--radius);
  transition: all var(--transition);
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
  background: rgba(255,69,0,0.15);
}

.nav-cta {
  background: var(--fire) !important;
  color: var(--white) !important;
  padding: 7px 16px !important;
  border-radius: var(--radius) !important;
  font-weight: 700 !important;
  box-shadow: 0 0 15px rgba(255,69,0,0.4);
}
.nav-cta:hover {
  background: var(--gold) !important;
  color: var(--char) !important;
  box-shadow: 0 0 25px rgba(255,215,0,0.5) !important;
}

.nav-social-icons {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-left: 8px;
}
.nav-social-icons a {
  display: flex; align-items: center; justify-content: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
  color: var(--pale-ash);
  font-size: 14px;
  transition: all var(--transition);
}
.nav-social-icons a:hover { background: var(--fire); color: var(--white); }
.nav-social-icons img, .nav-social-icons svg {
  width: 16px; height: 16px; object-fit: contain;
  filter: brightness(0) invert(1);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none; border: none;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--gold);
  transition: all var(--transition);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: rgba(10,3,0,0.98);
  border-bottom: 2px solid var(--fire);
  z-index: 999;
  padding: 20px 0;
  backdrop-filter: blur(20px);
}
.mobile-menu.open { display: block; }
.mobile-menu ul { list-style: none; }
.mobile-menu ul li a {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pale-ash);
  padding: 14px 28px;
  border-bottom: 1px solid rgba(255,69,0,0.12);
  transition: all var(--transition);
}
.mobile-menu ul li a:hover { color: var(--gold); padding-left: 36px; }

/* ══════════════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  padding-top: var(--nav-h);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 60%, rgba(255,69,0,0.25) 0%, transparent 65%),
    radial-gradient(circle at 20% 80%, rgba(255,140,0,0.12) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(200,30,0,0.12) 0%, transparent 50%);
  z-index: 0;
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  background-image: url('assets/mascot.png');
  background-size: cover;
  background-position: center top;
  opacity: 0.12;
  z-index: 0;
  filter: blur(4px) saturate(2);
  display: none; /* Replaced by video background on index.html */
}

/* Video Background for Hero - Epic nuclear/AnCap atmosphere */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.72;
  filter: saturate(1.25) contrast(1.08) brightness(0.92);
  pointer-events: none;
}

.mushroom-bg {
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 100%; max-width: 900px;
  opacity: 0.07;
  z-index: 0;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 40px 20px;
  max-width: 900px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,69,0,0.15);
  border: 1px solid var(--fire);
  border-radius: 99px;
  padding: 5px 16px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: 28px;
  animation: pulse-border 2s ease-in-out infinite;
}
@keyframes pulse-border {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,69,0,0.4); }
  50% { box-shadow: 0 0 0 6px rgba(255,69,0,0); }
}
.hero-badge .dot {
  width: 6px; height: 6px;
  background: var(--fire);
  border-radius: 50%;
  animation: blink 1.2s ease-in-out infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.2} }

.hero-title {
  font-size: clamp(2.8rem, 9vw, 7rem);
  line-height: 1;
  margin-bottom: 8px;
  color: var(--white);
}
.hero-title .mc {
  display: block;
  color: var(--fire);
  text-shadow: 0 0 30px rgba(255,69,0,0.7), 0 0 80px rgba(255,69,0,0.3);
  font-size: 0.65em;
}
.hero-title .nuke {
  display: block;
  color: var(--gold);
  text-shadow: 0 0 30px rgba(255,215,0,0.6), 0 0 80px rgba(255,215,0,0.2);
}
.hero-ticker {
  font-family: var(--font-mono);
  font-size: clamp(1rem, 3vw, 1.6rem);
  color: var(--fire);
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}
.hero-sub {
  font-size: clamp(0.95rem, 2.5vw, 1.25rem);
  color: var(--text-dim);
  max-width: 600px;
  margin: 0 auto 32px;
  font-style: italic;
}

/* ── Marquee Ticker ────────────────────────────────────── */
.marquee-wrapper {
  width: 100%;
  max-width: 800px;
  margin: 0 auto 36px;
  overflow: hidden;
  background: rgba(255,69,0,0.1);
  border: 1px solid rgba(255,69,0,0.3);
  border-radius: var(--radius);
  padding: 10px 0;
  position: relative;
}
.marquee-wrapper::before,
.marquee-wrapper::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 60px;
  z-index: 2;
}
.marquee-wrapper::before { left: 0; background: linear-gradient(to right, rgba(26,10,0,0.95), transparent); }
.marquee-wrapper::after { right: 0; background: linear-gradient(to left, rgba(26,10,0,0.95), transparent); }

.marquee-track {
  display: flex;
  gap: 0;
  animation: marquee-scroll 20s linear infinite;
  white-space: nowrap;
}
.marquee-track:hover { animation-play-state: paused; }
@keyframes marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 24px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: var(--gold);
  text-transform: uppercase;
}
.marquee-item .sep { color: var(--fire); opacity: 0.7; }

/* ── Hero CTA Buttons ─────────────────────────────────── */
.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}
.btn-primary {
  background: var(--fire);
  color: var(--white);
  border-color: var(--fire);
  box-shadow: 0 0 20px rgba(255,69,0,0.4);
}
.btn-primary:hover {
  background: transparent;
  color: var(--fire);
  box-shadow: 0 0 30px rgba(255,69,0,0.5);
  transform: translateY(-2px);
}
.btn-gold {
  background: var(--gold);
  color: var(--char);
  border-color: var(--gold);
  box-shadow: 0 0 20px rgba(255,215,0,0.3);
}
.btn-gold:hover {
  background: transparent;
  color: var(--gold);
  box-shadow: 0 0 30px rgba(255,215,0,0.5);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: var(--pale-ash);
  border-color: rgba(255,255,255,0.25);
}
.btn-outline:hover {
  border-color: var(--fire);
  color: var(--fire);
  transform: translateY(-2px);
}

/* ── CA Box ───────────────────────────────────────────── */
.ca-box {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(0,0,0,0.5);
  border: 1px solid rgba(255,69,0,0.4);
  border-radius: var(--radius);
  padding: 12px 20px;
  margin-top: 32px;
  cursor: pointer;
  transition: all var(--transition);
  max-width: 100%;
  overflow: hidden;
}
.ca-box:hover { border-color: var(--fire); box-shadow: 0 0 20px rgba(255,69,0,0.2); }
.ca-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: var(--fire);
  white-space: nowrap;
}
.ca-addr {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 280px;
}
.ca-copy-btn {
  background: var(--fire);
  border: none;
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  padding: 5px 10px;
  border-radius: 2px;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition);
  flex-shrink: 0;
}
.ca-copy-btn:hover { background: var(--gold); color: var(--char); }

/* ── Toast ────────────────────────────────────────────── */
.toast {
  position: fixed;
  bottom: 30px; left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: #1a0a00;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  padding: 12px 24px;
  border-radius: var(--radius);
  z-index: 9999;
  opacity: 0;
  transition: all 0.35s cubic-bezier(0.23,1,0.32,1);
  white-space: nowrap;
  box-shadow: 0 0 20px rgba(255,215,0,0.3);
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ── Mascot Float ─────────────────────────────────────── */
.hero-mascot {
  width: clamp(180px, 35vw, 320px);
  margin: 32px auto 0;
  animation: float 4s ease-in-out infinite;
  filter: drop-shadow(0 0 30px rgba(255,69,0,0.5)) drop-shadow(0 0 60px rgba(255,150,0,0.2));
}
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-14px) rotate(1deg); }
}

/* ══════════════════════════════════════════════════════════
   STATS BAR
══════════════════════════════════════════════════════════ */
.stats-bar {
  padding: 0;
  border-top: 1px solid rgba(255,69,0,0.2);
  border-bottom: 1px solid rgba(255,69,0,0.2);
  background: rgba(0,0,0,0.4);
}
.stats-bar .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  divide-x: 1px solid rgba(255,255,255,0.08);
}
.stat-item {
  padding: 28px 20px;
  text-align: center;
  border-right: 1px solid rgba(255,69,0,0.15);
}
.stat-item:last-child { border-right: none; }
.stat-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.stat-value {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--gold);
  text-shadow: 0 0 15px rgba(255,215,0,0.4);
}

/* ══════════════════════════════════════════════════════════
   ABOUT / LORE INTRO
══════════════════════════════════════════════════════════ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-img {
  position: relative;
}
.about-img img {
  width: 100%;
  border-radius: var(--radius);
  border: 2px solid rgba(255,69,0,0.4);
  box-shadow: 0 0 40px rgba(255,69,0,0.25), 0 20px 60px rgba(0,0,0,0.6);
}
.about-img::after {
  content: 'CLASSIFIED MATERIAL';
  position: absolute;
  top: 16px; left: -8px;
  background: var(--fire);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  padding: 4px 12px;
  transform: rotate(-2deg);
}
.about-text blockquote {
  border-left: 3px solid var(--fire);
  padding: 16px 20px;
  background: rgba(255,69,0,0.06);
  margin: 24px 0;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--gold);
  line-height: 1.8;
}

/* ══════════════════════════════════════════════════════════
   TOKENOMICS
══════════════════════════════════════════════════════════ */
.tok-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}
.tok-card {
  background: rgba(255,69,0,0.06);
  border: 1px solid rgba(255,69,0,0.2);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: all var(--transition);
}
.tok-card:hover {
  border-color: var(--fire);
  background: rgba(255,69,0,0.12);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(255,69,0,0.2);
}
.tok-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
  display: block;
  filter: drop-shadow(0 0 10px rgba(255,69,0,0.5));
}
.tok-card h3 {
  font-size: 1rem;
  color: var(--text-dim);
  margin-bottom: 8px;
}
.tok-card .tok-val {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--gold);
  text-shadow: 0 0 20px rgba(255,215,0,0.4);
}
.tok-card .tok-note {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-dim);
  margin-top: 6px;
}

.supply-bar-wrap { margin: 40px 0; }
.supply-bar-label {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-dim);
  margin-bottom: 8px;
}
.supply-bar {
  height: 14px;
  background: rgba(255,255,255,0.06);
  border-radius: 99px;
  overflow: hidden;
  border: 1px solid rgba(255,69,0,0.2);
}
.supply-bar-fill {
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--nuke-red), var(--fire), var(--gold));
  box-shadow: 0 0 10px rgba(255,120,0,0.5);
  transition: width 1.5s cubic-bezier(0.23,1,0.32,1);
  width: 0;
}
.supply-bar-fill.animated { width: var(--target-width, 100%); }

/* ── DexScreener Embed ───────────────────────────────── */
.dex-embed-wrap {
  background: rgba(0,0,0,0.4);
  border: 1px solid rgba(255,69,0,0.25);
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  font-family: var(--font-mono);
  color: var(--text-dim);
}
.dex-embed-wrap iframe {
  width: 100%;
  height: 500px;
  border: none;
  display: block;
}
.dex-placeholder {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
}
.dex-placeholder span { color: var(--gold); }

/* ══════════════════════════════════════════════════════════
   ROADMAP
══════════════════════════════════════════════════════════ */
.roadmap-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
}
.roadmap-track::before {
  content: '';
  position: absolute;
  top: 28px; left: 16.6%; right: 16.6%;
  height: 2px;
  background: linear-gradient(90deg, var(--fire), var(--gold));
  z-index: 0;
}
.roadmap-phase {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 20px;
}
.phase-dot {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.5rem;
  position: relative;
  z-index: 2;
}
.phase-dot.active {
  background: var(--fire);
  box-shadow: 0 0 25px rgba(255,69,0,0.6), 0 0 50px rgba(255,69,0,0.3);
}
.phase-dot.upcoming {
  background: var(--ash);
  border: 2px solid rgba(255,69,0,0.4);
}
.roadmap-phase h3 {
  font-size: 1rem;
  color: var(--gold);
  margin-bottom: 12px;
}
.roadmap-phase ul {
  list-style: none;
  font-size: 0.85rem;
  color: var(--text-dim);
  line-height: 2;
}
.roadmap-phase ul li::before {
  content: '▸ ';
  color: var(--fire);
}

/* ══════════════════════════════════════════════════════════
   MEME GALLERY
══════════════════════════════════════════════════════════ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid rgba(255,69,0,0.2);
  aspect-ratio: 1;
  cursor: pointer;
  transition: all var(--transition);
}
.gallery-item:hover {
  border-color: var(--fire);
  transform: scale(1.02);
  box-shadow: 0 10px 40px rgba(255,69,0,0.3);
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(1.1);
  transition: transform var(--transition);
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,3,0,0.9), transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 16px;
}
.gallery-item:hover .overlay { opacity: 1; }
.gallery-caption {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--gold);
  text-transform: uppercase;
}

/* ── Lightbox ─────────────────────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border: 2px solid var(--fire);
  box-shadow: 0 0 60px rgba(255,69,0,0.4);
}
.lightbox-close {
  position: fixed;
  top: 20px; right: 24px;
  background: var(--fire);
  color: var(--white);
  border: none;
  font-size: 1.4rem;
  width: 40px; height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
}
.lightbox-close:hover { background: var(--gold); color: var(--char); }

/* ══════════════════════════════════════════════════════════
   NAP SIMULATOR
══════════════════════════════════════════════════════════ */
.nap-sim {
  background: rgba(0,0,0,0.5);
  border: 1px solid rgba(255,69,0,0.3);
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}
.nap-sim h3 {
  font-size: 1.4rem;
  color: var(--gold);
  margin-bottom: 8px;
}
.nap-scenario {
  background: rgba(255,69,0,0.08);
  border: 1px solid rgba(255,69,0,0.2);
  border-radius: var(--radius);
  padding: 24px;
  margin: 24px 0;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--pale-ash);
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-style: italic;
  transition: all 0.4s ease;
}
.nap-verdict {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--fire);
  text-shadow: 0 0 20px rgba(255,69,0,0.7);
  margin: 8px 0;
  min-height: 42px;
}

/* ══════════════════════════════════════════════════════════
   COMMUNITY
══════════════════════════════════════════════════════════ */
.community-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.social-card {
  background: rgba(255,69,0,0.05);
  border: 1px solid rgba(255,69,0,0.2);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: all var(--transition);
}

.social-card:hover {
  background: rgba(255,69,0,0.12);
  border-color: var(--fire);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(255,69,0,0.2);
}

/* ==================== FIXED SOCIAL ICON SECTION ==================== */
.social-card .social-icon {
  width: 52px; 
  height: 52px;
  border-radius: 50%;
  background: rgba(255,69,0,0.15);
  display: flex; 
  align-items: center; 
  justify-content: center;
  margin: 0 auto 16px;
  transition: all var(--transition);
  overflow: hidden;
}

.social-card:hover .social-icon {
  background: var(--fire);
  box-shadow: 0 0 20px rgba(255,69,0,0.5);
}

/* Make SVG much smaller */
.social-card .social-icon svg {
  width: 22px !important;     /* ← Reduced from 28px */
  height: 22px !important;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.social-card h3 { 
  font-size: 1.05rem; 
  color: var(--white); 
  margin-bottom: 8px; 
}

.social-card p { 
  font-size: 0.85rem; 
  color: var(--text-dim); 
}

.social-card .btn { 
  margin-top: 20px; 
  font-size: 0.75rem; 
  padding: 10px 20px; 
}

/* ── External Links ───────────────────────────────────── */
.links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}
.link-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 18px 20px;
  transition: all var(--transition);
  text-decoration: none;
  color: inherit;
}
.link-card:hover {
  border-color: var(--fire);
  color: var(--gold);
  transform: translateX(4px);
  background: rgba(255,69,0,0.08);
}
.link-card-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
}
.link-card h4 { font-size: 0.9rem; color: var(--white); margin-bottom: 2px; }
.link-card p { font-size: 0.75rem; color: var(--text-dim); }

/* ══════════════════════════════════════════════════════════
   LORE PAGE
══════════════════════════════════════════════════════════ */
.lore-hero {
  padding: 140px 0 60px;
  text-align: center;
}
.lore-hero h1 { font-size: clamp(2.5rem, 7vw, 5rem); }
.lore-content-wrap {
  max-width: 780px;
  margin: 0 auto;
}
.lore-chapter {
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(255,69,0,0.15);
  border-radius: var(--radius);
  padding: 40px;
  margin-bottom: 28px;
}
.lore-chapter h2 {
  font-size: 1.3rem;
  color: var(--fire);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.lore-chapter h2::before {
  content: '▶';
  color: var(--gold);
  font-size: 0.8rem;
}
.lore-chapter p { font-size: 1rem; color: var(--pale-ash); margin-bottom: 16px; }
.lore-chapter blockquote {
  border-left: 3px solid var(--gold);
  padding: 16px 20px;
  background: rgba(255,215,0,0.05);
  margin: 20px 0;
  font-style: italic;
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 0.9rem;
}

/* ══════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════ */
footer {
  background: rgba(0,0,0,0.6);
  border-top: 1px solid rgba(255,69,0,0.2);
  padding: 60px 0 30px;
  position: relative;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand .brand-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--gold);
  margin-bottom: 12px;
}
.footer-brand p {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 20px;
}
.footer-social {
  display: flex;
  gap: 10px;
}
.footer-social a {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  color: var(--pale-ash);
  font-size: 1rem;
  transition: all var(--transition);
  border: 1px solid rgba(255,69,0,0.2);
}
.footer-social a:hover { background: var(--fire); border-color: var(--fire); color: var(--white); }

.footer-col h4 {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--fire);
  margin-bottom: 16px;
  font-family: var(--font-mono);
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-size: 0.85rem;
  color: var(--text-dim);
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom p {
  font-size: 0.72rem;
  color: var(--text-dim);
  line-height: 1.8;
}
.disclaimer {
  background: rgba(255,69,0,0.06);
  border: 1px solid rgba(255,69,0,0.2);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 24px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  line-height: 1.9;
}
.disclaimer strong { color: var(--fire); }

/* ══════════════════════════════════════════════════════════
   PAGE HEADER (inner pages)
══════════════════════════════════════════════════════════ */
.page-header {
  padding: 130px 0 60px;
  text-align: center;
  background: linear-gradient(to bottom, rgba(255,69,0,0.08), transparent);
  border-bottom: 1px solid rgba(255,69,0,0.15);
  margin-bottom: 60px;
}
.page-header h1 { font-size: clamp(2.2rem, 6vw, 4.5rem); }
.page-header p { color: var(--text-dim); max-width: 600px; margin: 16px auto 0; }

/* ══════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .nav-links, .nav-social-icons, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .stats-bar .container { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .tok-grid, .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .roadmap-track { grid-template-columns: 1fr; gap: 32px; }
  .roadmap-track::before { display: none; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .stats-bar .container { grid-template-columns: 1fr 1fr; }
  .stat-item { padding: 18px 12px; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .btn { justify-content: center; }
  .gallery-grid { grid-template-columns: 1fr; }
  .nap-sim { padding: 24px 16px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .ca-addr { max-width: 160px; font-size: 0.65rem; }
}

/* ── Extras ────────────────────────────────────────────── */
.radiation-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255,69,0,0.12);
  animation: expand 4s ease-out infinite;
  pointer-events: none;
}
@keyframes expand {
  0% { transform: scale(0.8); opacity: 0.6; }
  100% { transform: scale(1.4); opacity: 0; }
}

/* warning stripes on some elements */
.warning-stripe {
  background-image: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 8px,
    rgba(255,69,0,0.15) 8px,
    rgba(255,69,0,0.15) 16px
  );
}

/* Table style */
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-mono);
  font-size: 0.82rem;
}
.data-table th {
  background: rgba(255,69,0,0.12);
  color: var(--fire);
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid rgba(255,69,0,0.3);
}
.data-table td {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  color: var(--pale-ash);
}
.data-table tr:hover td { background: rgba(255,69,0,0.05); }
.data-table td.highlight { color: var(--gold); font-weight: 700; }

/* ── Page-specific bg fixes ───────────────────────────── */
.page-body-inner { padding-top: var(--nav-h); }
/* === NEW: Video + Overlay + Popup === */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.72;
  filter: saturate(1.25) contrast(1.08) brightness(0.92);
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 3, 0, 0.58);
  z-index: 1;
  pointer-events: none;
}

.popup-character {
  position: absolute;
  top: -220px;
  right: 8%;
  width: clamp(160px, 28vw, 260px);
  z-index: 4;
  transform: rotate(-28deg);
  animation: pop-down-upside 1.4s cubic-bezier(0.23, 1, 0.32, 1) forwards;
  filter: drop-shadow(0 10px 30px rgba(255,69,0,0.6));
  pointer-events: none;
}

@keyframes pop-down-upside {
  0% { top: -320px; opacity: 0; transform: rotate(-65deg) scale(0.4); }
  55% { top: 35px; transform: rotate(18deg) scale(1.15); opacity: 1; }
  75% { transform: rotate(-12deg) scale(0.95); }
  100% { top: 55px; transform: rotate(-22deg) scale(1); opacity: 1; }
}

/* Remove glow from nav logo */
.nav-logo img {
  width: 38px; height: 38px;
  border-radius: 50%;
  object-fit: cover;
}

/* Mobile improvements */
@media (max-width: 600px) {
  .marquee-wrapper { max-width: 100%; padding: 6px 0; }
  .marquee-item { font-size: 0.68rem; padding: 0 12px; }
  .hero-title { font-size: 2.4rem; }
  .hero-sub { font-size: 0.95rem; }
  .popup-character { width: 140px; right: 5%; top: -80px; }
}

/* ============================================================
   MOBILE OVERFLOW FIX — hero & global
   Prevents marquee, CA box, buttons, subtitle, and badge
   from bleeding outside the viewport on phones.
   ============================================================ */

/* Global page lock */
html, body {
  overflow-x: hidden;
  max-width: 100%;
}

@media (max-width: 768px) {

  /* Container must never exceed viewport */
  .container {
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
  }

  /* Hero section locked */
  .hero {
    overflow: hidden;
    width: 100%;
  }

  .hero-content {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    padding: 40px 16px;
  }

  /* Badge — allow wrap on tiny screens */
  .hero-badge {
    max-width: 100%;
    box-sizing: border-box;
    flex-wrap: wrap;
    text-align: center;
    justify-content: center;
    font-size: 0.62rem;
    padding: 5px 12px;
  }

  /* Title — force wrap */
  .hero-title {
    word-break: break-word;
    overflow-wrap: break-word;
  }

  /* Subtitle — force wrap, kill overflow */
  .hero-sub {
    white-space: normal !important;
    word-break: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
    font-size: clamp(0.88rem, 3.8vw, 1.05rem);
  }

  /* Marquee — MUST contain the infinitely-wide track */
  .marquee-wrapper {
    max-width: 100% !important;
    width: 100%;
    overflow: hidden !important;
    box-sizing: border-box;
  }

  /* CA box — full width, don't overflow */
  .ca-box {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
    overflow: hidden;
    display: flex;
  }

  .ca-addr {
    flex: 1 1 0;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.6rem;
  }

  /* CTA buttons — stack vertically, full width */
  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .hero-ctas .btn {
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
    white-space: nowrap;
  }

  /* Popup character — keep contained, don't push page right */
  .popup-character {
    right: 4%;
    width: clamp(90px, 22vw, 150px);
    max-width: 150px;
  }
}

@media (max-width: 480px) {

  .container {
    padding: 0 14px;
  }

  .hero-content {
    padding: 32px 14px;
  }

  /* Hide the <br> in subtitle so it wraps naturally */
  .hero-sub br {
    display: none;
  }

  .hero-sub {
    font-size: 0.88rem;
  }

  /* CA label — tighter on small phones */
  .ca-label {
    font-size: 0.5rem;
    letter-spacing: 0.08em;
    padding: 0 8px 0 0;
  }

  .ca-addr {
    font-size: 0.5rem;
    letter-spacing: 0;
  }

  .ca-copy-btn {
    font-size: 0.52rem;
    padding: 5px 8px;
    letter-spacing: 0.04em;
  }

  /* Badge — even tighter */
  .hero-badge {
    font-size: 0.58rem;
    letter-spacing: 0.08em;
  }

  /* Popup — hide on very small screens so it doesn't compete */
  .popup-character {
    display: none;
  }
}