:root {
  --bg: #020604;
  --panel: rgba(2, 13, 8, 0.82);
  --panel2: rgba(0, 20, 14, 0.72);
  --green: #35ff5e;
  --green-soft: #9bffad;
  --cyan: #21d7ff;
  --blue: #2f95ff;
  --red: #ff4141;
  --yellow: #f4e35d;
  --text: #e5fbe8;
  --muted: #a0b7a3;
  --border: rgba(53, 255, 94, 0.35);
  --shadow: 0 0 35px rgba(53, 255, 94, 0.18);
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  --sans: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  background: radial-gradient(circle at top, #06160f 0%, var(--bg) 52%, #000 100%);
  color: var(--text);
  overflow-x: hidden;
}

#matrixRain { position: fixed; inset: 0; z-index: -3; opacity: 0.45; }
.scanline {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background: repeating-linear-gradient(to bottom, rgba(255,255,255,0.025) 0, rgba(255,255,255,0.025) 1px, transparent 1px, transparent 5px);
  mix-blend-mode: overlay;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 24px;
  background: rgba(0, 0, 0, 0.78);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
  font-family: var(--mono);
}
.brand { color: var(--green); text-decoration: none; font-weight: 800; letter-spacing: .08em; }
.prompt { color: var(--green-soft); }
.nav { display: flex; gap: 18px; flex-wrap: wrap; }
.nav a { color: var(--text); text-decoration: none; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }
.nav a:hover { color: var(--green); text-shadow: 0 0 12px var(--green); }
.menu-toggle { display: none; background: transparent; border: 1px solid var(--border); color: var(--green); padding: 8px 10px; }

main { width: min(1720px, 96vw); margin: 0 auto 90px; }
.section { margin: 24px 0; }

.hero-v2 {
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 20px;
  padding: 28px 0;
}
.hero-center {
  text-align: center;
  max-width: 1180px;
  margin: 0 auto;
  padding: 20px 24px;
}
.hero-logo {
  width: min(680px, 86vw);
  max-height: 500px;
  object-fit: contain;
  display: block;
  margin: 0 auto 18px;
  filter: drop-shadow(0 0 36px rgba(53, 255, 94, .42));
}
.hero-center .hero-copy { margin-left: auto; margin-right: auto; max-width: 980px; font-size: clamp(18px, 1.45vw, 23px); }
.hero-terminal { max-width: 1180px; width: 100%; min-height: 260px; margin: 0 auto; align-self: auto; }

.panel, .hero-card, .terminal-card, .chart-card, .choice-section {
  background: linear-gradient(145deg, var(--panel), rgba(0,0,0,.88));
  border: 1px solid var(--border);
  box-shadow: var(--shadow), inset 0 0 25px rgba(53, 255, 94, .04);
  border-radius: 12px;
}
.hero-main { padding: 20px; }
.eyebrow { color: var(--green); font-family: var(--mono); text-transform: uppercase; letter-spacing: .12em; font-size: 13px; }
.eyebrow.red { color: var(--red); }
.eyebrow.yellow { color: var(--yellow); }
h1, h2, h3 { margin: 0; line-height: .98; text-transform: uppercase; letter-spacing: .03em; }
h1 { font-size: clamp(44px, 7vw, 92px); text-shadow: 0 0 28px rgba(53,255,94,.5); }
h2 { font-size: clamp(30px, 4vw, 56px); margin-bottom: 14px; }
h3 { font-size: 22px; color: var(--green-soft); }
p { color: var(--muted); line-height: 1.65; }
.hero-copy { font-size: 18px; max-width: 720px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.hero-actions.center { justify-content: center; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 8px;
  text-decoration: none;
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: .08em;
  background: rgba(0,0,0,.45);
}
.btn.primary { color: #001806; background: var(--green); box-shadow: 0 0 24px rgba(53,255,94,.35); font-weight: 900; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 0 30px rgba(53,255,94,.28); }

.terminal-card { overflow: hidden; align-self: stretch; min-height: 380px; }
.terminal-top { display: flex; align-items: center; gap: 8px; padding: 12px 14px; border-bottom: 1px solid var(--border); background: rgba(255,255,255,.03); font-family: var(--mono); }
.terminal-top span { width: 12px; height: 12px; border-radius: 50%; background: var(--red); }
.terminal-top span:nth-child(2) { background: #ffbd43; }
.terminal-top span:nth-child(3) { background: var(--green); }
.terminal-top em { margin-left: 8px; color: var(--muted); font-style: normal; font-size: 13px; }
pre { margin: 0; padding: 22px; white-space: pre-wrap; font: 14px/1.7 var(--mono); color: var(--text); }

.video-panel, .panel { padding: 22px; }
.section-heading { max-width: 1040px; margin-bottom: 18px; }
video { width: 100%; max-height: 620px; border: 1px solid var(--border); border-radius: 10px; background: #000; box-shadow: var(--shadow); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
ul { list-style: none; padding: 0; margin: 0; }
li { margin: 12px 0; color: var(--text); font-family: var(--mono); }
.check-list li::before { content: "> "; color: var(--green); }
.cross-list li::before { content: "× "; color: var(--red); font-weight: 900; }
.danger-panel { border-color: rgba(255,65,65,.35); }
.elite-panel { border-color: rgba(244,227,93,.45); }
.image-frame { border: 1px solid var(--border); border-radius: 10px; padding: 8px; background: rgba(0,0,0,.5); }
.image-frame img { width: 100%; display: block; border-radius: 6px; }
.chart-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.chart-card { padding: 12px; transition: .25s ease; }
.chart-card:hover { transform: translateY(-4px); border-color: var(--green); }
.chart-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 8px; border: 1px solid rgba(255,255,255,.08); cursor: zoom-in; }
.chart-card p { font-size: 14px; }
.final-cta { text-align: center; padding: 42px 22px; }

.choice-section { padding: 28px; overflow: hidden; position: relative; }
.choice-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(53,255,94,.12), transparent 55%);
  pointer-events: none;
}
.choice-heading { text-align: center; max-width: 1100px; margin: 0 auto 24px; position: relative; }
.choice-grid { display: grid; grid-template-columns: 1fr 380px 1fr; gap: 18px; align-items: center; position: relative; }
.choice-panel {
  min-height: 430px;
  padding: 24px;
  border-radius: 14px;
  background: rgba(0,0,0,.58);
  border: 1px solid var(--border);
}
.blue-pill-panel { border-color: rgba(47,149,255,.6); box-shadow: 0 0 26px rgba(47,149,255,.12); }
.red-pill-panel { border-color: rgba(255,65,65,.68); box-shadow: 0 0 26px rgba(255,65,65,.14); }
.choice-label { font-family: var(--mono); text-transform: uppercase; letter-spacing: .16em; font-size: 28px; margin: 0 0 12px; }
.choice-label.blue { color: var(--blue); text-shadow: 0 0 18px rgba(47,149,255,.65); }
.choice-label.red { color: var(--red); text-shadow: 0 0 18px rgba(255,65,65,.65); }
.small-note { font-family: var(--mono); text-transform: uppercase; letter-spacing: .12em; margin-top: 28px; color: var(--blue); }
.red-cta { margin-top: 28px; width: 100%; color: #ffdada; border-color: var(--red); background: rgba(255,65,65,.16); box-shadow: 0 0 26px rgba(255,65,65,.2); font-weight: 900; }
.pill-figure { height: 470px; position: relative; display: flex; align-items: center; justify-content: center; }
.figure-head {
  width: 150px;
  height: 150px;
  border-radius: 50% 50% 44% 44%;
  background: radial-gradient(circle at 50% 40%, #1c2b1d, #050705 70%);
  border: 1px solid rgba(155,255,173,.28);
  box-shadow: 0 0 45px rgba(53,255,94,.28);
  position: absolute;
  top: 40px;
  z-index: 3;
}
.figure-head::before {
  content: "";
  position: absolute;
  width: 110px;
  height: 18px;
  left: 20px;
  top: 54px;
  border-radius: 999px;
  background: linear-gradient(90deg, #050505, #111, #050505);
  box-shadow: 0 0 10px rgba(53,255,94,.2);
}
.figure-body {
  width: 260px;
  height: 320px;
  border-radius: 120px 120px 40px 40px;
  background: linear-gradient(160deg, #101711, #030303 62%);
  border: 1px solid rgba(155,255,173,.2);
  box-shadow: inset 0 0 40px rgba(53,255,94,.06), 0 0 45px rgba(53,255,94,.18);
  position: absolute;
  bottom: 24px;
}
.hand {
  width: 130px;
  height: 86px;
  border-radius: 50%;
  background: radial-gradient(circle, #243124, #0b0d0b 70%);
  border: 1px solid rgba(155,255,173,.22);
  position: absolute;
  bottom: 78px;
  z-index: 4;
  box-shadow: 0 0 24px rgba(53,255,94,.18);
}
.hand-right { left: 6px; }
.hand-left { right: 6px; }
.pill {
  width: 54px;
  height: 24px;
  border-radius: 999px;
  display: block;
  position: absolute;
  left: 38px;
  top: 29px;
  transform: rotate(45deg);
}
.red-pill { background: linear-gradient(90deg, #ff1c1c, #ff8686); box-shadow: 0 0 22px rgba(255,65,65,.9); }
.blue-pill { background: linear-gradient(90deg, #1685ff, #8fd0ff); box-shadow: 0 0 22px rgba(47,149,255,.9); }

.faq-list { display: grid; gap: 12px; }
.faq-list details { border: 1px solid rgba(229, 251, 232, .22); border-radius: 10px; background: rgba(0,0,0,.32); padding: 0; overflow: hidden; }
.faq-list summary { cursor: pointer; padding: 22px 24px; color: var(--text); font-size: 20px; font-weight: 750; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; float: right; color: var(--green); font-family: var(--mono); }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { padding: 0 24px 22px; margin: 0; }
.contact-form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { display: grid; gap: 8px; color: var(--text); font-family: var(--mono); }
.contact-form input, .contact-form textarea { width: 100%; border: 1px solid var(--border); border-radius: 8px; padding: 14px 16px; background: rgba(0, 0, 0, .55); color: var(--text); font: 16px var(--sans); outline: none; }
.contact-form input:focus, .contact-form textarea:focus { box-shadow: 0 0 0 3px rgba(53,255,94,.14); border-color: var(--green); }
.contact-form textarea { resize: vertical; min-height: 150px; }
.contact-form .btn { width: fit-content; border: 0; cursor: pointer; }
.form-note { margin: 0; color: var(--green-soft); font-family: var(--mono); }

.status-bar { position: fixed; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(0,0,0,.85); border-top: 1px solid var(--border); font-family: var(--mono); z-index: 30; }
.status-bar span { padding: 12px 16px; border-right: 1px solid var(--border); color: var(--muted); font-size: 12px; text-transform: uppercase; }
.status-bar strong { color: var(--green); }

.reveal { opacity: 0; transform: translateY(20px); transition: .8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,.92); display: flex; align-items: center; justify-content: center; padding: 24px; }
.lightbox img { max-width: 96vw; max-height: 92vh; border: 1px solid var(--border); box-shadow: var(--shadow); }

@media (max-width: 1100px) {
  .chart-grid { grid-template-columns: 1fr; }
  .choice-grid { grid-template-columns: 1fr; }
  .pill-figure { order: -1; height: 360px; }
  .choice-panel { min-height: auto; }
}

@media (max-width: 760px) {
  main { width: min(94vw, 680px); }
  .topbar { padding: 16px 20px; }
  .brand { font-size: 18px; }
  .nav { display: none; position: absolute; right: 16px; top: 58px; flex-direction: column; background: rgba(0,0,0,.95); border: 1px solid var(--border); padding: 14px; border-radius: 10px; }
  .nav.open { display: flex; }
  .menu-toggle { display: block; }
  .hero-logo { width: min(520px, 94vw); }
  h1 { font-size: 42px; }
  .split { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .faq-list summary { font-size: 17px; padding: 18px; }
  .status-bar { grid-template-columns: 1fr 1fr; }
  .status-bar span { padding: 8px; font-size: 10px; }
  .choice-section { padding: 20px; }
  .choice-label { font-size: 23px; }
  .pill-figure { height: 315px; transform: scale(.88); margin: -20px 0; }
}

.choice-image-card {
  position: relative;
  width: 100%;
  overflow: hidden;
  border: 1px solid rgba(0, 255, 65, .35);
  border-radius: 18px;
  box-shadow: 0 0 40px rgba(0, 255, 65, .14);
  background: rgba(0, 0, 0, .72);
}

.choice-image-card img {
  display: block;
  width: 100%;
  height: auto;
}

.choice-image-discord-link,
.choice-image-blue-link {
  position: absolute;
  border-radius: 14px;
}

.choice-image-discord-link {
  left: 10%;
  top: 77.5%;
  width: 18%;
  height: 10.5%;
}

.choice-image-blue-link {
  left: 73.5%;
  top: 78%;
  width: 17.5%;
  height: 10.5%;
}

.choice-image-discord-link:hover {
  background: rgba(255, 0, 0, .08);
  box-shadow: 0 0 26px rgba(255, 65, 65, .28);
}

.choice-image-blue-link:hover {
  background: rgba(0, 132, 255, .08);
  box-shadow: 0 0 26px rgba(0, 132, 255, .28);
}

@media (max-width: 900px) {
  .choice-image-card {
    border-radius: 14px;
    overflow-x: auto;
  }

  .choice-image-card img {
    min-width: 980px;
  }

  .choice-image-discord-link {
    left: 98px;
    top: 527px;
    width: 278px;
    height: 72px;
  }

  .choice-image-blue-link {
    left: 720px;
    top: 530px;
    width: 270px;
    height: 72px;
  }
}

.mobile-choice-stack {
  display: none;
}

@media (max-width: 900px) {
  .choice-section {
    overflow: hidden;
  }

  .choice-image-card {
    display: none;
  }

  .mobile-choice-stack {
    display: grid;
    gap: 18px;
  }

  .mobile-choice-avatar {
    border: 1px solid rgba(53,255,94,.45);
    border-radius: 18px;
    overflow: hidden;
    background: rgba(0,0,0,.72);
    box-shadow: 0 0 32px rgba(53,255,94,.16);
  }

  .mobile-choice-avatar img {
    display: block;
    width: 100%;
    height: 520px;
    object-fit: cover;
    object-position: center center;
  }

  .mobile-pill-panel {
    border-radius: 16px;
    padding: 22px;
    background: rgba(0,0,0,.72);
    font-family: var(--mono);
  }

  .mobile-red-panel {
    border: 1px solid rgba(255,65,65,.8);
    box-shadow: 0 0 26px rgba(255,65,65,.16);
  }

  .mobile-blue-panel {
    border: 1px solid rgba(47,149,255,.8);
    box-shadow: 0 0 26px rgba(47,149,255,.16);
  }

  .mobile-pill-title {
    margin: 0;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: 30px;
    font-weight: 900;
  }

  .mobile-red-panel .mobile-pill-title { color: var(--red); }
  .mobile-blue-panel .mobile-pill-title { color: var(--blue); }

  .mobile-pill-subtitle {
    margin: 4px 0 18px;
    color: var(--text);
    text-transform: uppercase;
    font-size: 17px;
  }

  .mobile-pill-panel ul {
    margin: 0 0 20px;
  }

  .mobile-pill-panel li {
    margin: 11px 0;
    font-size: 15px;
  }

  .mobile-red-panel li::before {
    content: "✓ ";
    color: var(--red);
    font-weight: 900;
  }

  .mobile-blue-panel li::before {
    content: "× ";
    color: var(--blue);
    font-weight: 900;
  }

  .mobile-red-btn,
  .mobile-blue-btn {
    width: 100%;
    justify-content: center;
  }

  .mobile-red-btn {
    border-color: var(--red);
    color: #ff4747;
  }

  .mobile-blue-btn {
    border-color: var(--blue);
    color: var(--blue);
  }
}

@media (max-width: 480px) {
  .mobile-choice-avatar img {
    height: 455px;
  }
}


/* FINAL MOBILE PATCH: keep desktop exactly as-is, stack the pill section only on mobile */
html, body { max-width: 100%; overflow-x: hidden; }

@media (max-width: 900px) {
  body, main, .section, .choice-section { overflow-x: hidden !important; }
  .choice-section { padding: 18px !important; }
  .choice-image-card { display: none !important; }
  .mobile-choice-stack { display: grid !important; grid-template-columns: 1fr !important; gap: 18px !important; width: 100% !important; max-width: 100% !important; }
  .mobile-choice-avatar, .mobile-pill-panel { width: 100% !important; max-width: 100% !important; }
  .mobile-choice-avatar img { width: 100% !important; max-width: 100% !important; min-width: 0 !important; height: auto !important; max-height: none !important; object-fit: contain !important; object-position: center center !important; }
  .mobile-pill-panel { display: block !important; }
}

/* FINAL LAUNCH PATCH: Discord menu link, red-pill pulse, and iPhone width fix */
.nav-discord {
  color: var(--green) !important;
  border: 1px solid rgba(53, 255, 94, .45);
  border-radius: 8px;
  padding: 8px 12px;
}

@keyframes redPillPulse {
  0%, 100% {
    box-shadow: 0 0 10px rgba(255, 65, 65, .35), 0 0 0 rgba(255, 65, 65, 0);
  }
  50% {
    box-shadow: 0 0 24px rgba(255, 65, 65, .95), 0 0 44px rgba(255, 65, 65, .35);
  }
}

.choice-image-discord-link,
.mobile-red-btn {
  animation: redPillPulse 3s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .choice-image-discord-link,
  .mobile-red-btn {
    animation: none;
  }
}

@media (max-width: 760px) {
  main {
    width: 100%;
    max-width: 100%;
    padding-left: 20px;
    padding-right: 20px;
  }

  .section,
  .hero-v2,
  .hero-main,
  .hero-terminal,
  .terminal-card,
  .panel,
  .video-panel,
  .choice-section {
    width: 100%;
    max-width: 100%;
  }

  .hero-logo {
    width: 100%;
    max-width: 520px;
  }

  .hero-main,
  .terminal-card,
  .panel,
  .video-panel {
    padding-left: 18px;
    padding-right: 18px;
  }

  .terminal-card pre,
  pre {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .nav.open {
    right: 30px;
    max-width: calc(100vw - 60px);
  }

  .nav-discord {
    color: var(--red) !important;
    border-color: rgba(255, 65, 65, .65);
  }
}


/* TRUE FINAL PATCH: menu Discord scrolls to Red/Blue Pill, visible red pulse, mobile overflow lock */
html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

.nav-discord {
  color: var(--green) !important;
  border: 1px solid rgba(53, 255, 94, .55);
  border-radius: 8px;
  padding: 8px 12px;
}

@keyframes redPillEnergyPulse {
  0%, 100% {
    border-color: rgba(255, 65, 65, .75);
    box-shadow: 0 0 8px rgba(255, 65, 65, .35), inset 0 0 8px rgba(255, 65, 65, .08);
    background-color: rgba(255, 65, 65, .04);
  }
  50% {
    border-color: rgba(255, 65, 65, 1);
    box-shadow: 0 0 22px rgba(255, 65, 65, .95), 0 0 42px rgba(255, 65, 65, .45), inset 0 0 16px rgba(255, 65, 65, .16);
    background-color: rgba(255, 65, 65, .10);
  }
}

.choice-image-discord-link {
  border: 1px solid rgba(255, 65, 65, .75);
  animation: redPillEnergyPulse 2.8s ease-in-out infinite;
}

.mobile-red-btn {
  border: 1px solid rgba(255, 65, 65, .85) !important;
  color: #ff5a5a !important;
  animation: redPillEnergyPulse 2.8s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .choice-image-discord-link,
  .mobile-red-btn { animation: none !important; }
}

@media (max-width: 760px) {
  * { max-width: 100%; }

  body {
    position: relative;
    overflow-x: hidden !important;
  }

  main {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .section,
  .hero-v2,
  .hero-main,
  .hero-center,
  .hero-terminal,
  .terminal-card,
  .panel,
  .video-panel,
  .choice-section,
  .image-frame,
  .chart-card,
  .faq-list,
  .contact-form {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .hero-logo,
  .image-frame img,
  .chart-card img,
  video {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    object-fit: contain !important;
  }

  .hero-main,
  .terminal-card,
  .panel,
  .video-panel,
  .choice-section {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .terminal-card pre,
  pre,
  #bootText {
    white-space: pre-wrap !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
    font-size: 13px !important;
    line-height: 1.65 !important;
    overflow-x: hidden !important;
  }

  .nav.open {
    right: 16px !important;
    max-width: calc(100vw - 32px) !important;
  }

  .nav-discord {
    color: var(--green) !important;
    border-color: rgba(53, 255, 94, .55) !important;
  }

  .status-bar {
    width: 100% !important;
    max-width: 100% !important;
    left: 0 !important;
    right: 0 !important;
  }
}

/* LAUNCH 102: final precision patch */
*, *::before, *::after {
  box-sizing: border-box;
}

/* Keep Discord visible in desktop nav and make it scroll to the pill section */
@media (min-width: 761px) {
  .nav {
    gap: 28px;
  }
  .nav .nav-discord {
    display: inline-flex !important;
    align-items: center;
    color: var(--green) !important;
    border: 1px solid rgba(53, 255, 94, .55);
    border-radius: 8px;
    padding: 8px 13px;
    box-shadow: 0 0 14px rgba(53,255,94,.12);
  }
}

/* Visible red energy pulse: desktop overlay and mobile button */
@keyframes redPillLaunchPulse {
  0%, 100% {
    border-color: rgba(255, 45, 45, .75);
    box-shadow: 0 0 8px rgba(255, 45, 45, .35), 0 0 0 0 rgba(255, 45, 45, .35), inset 0 0 8px rgba(255, 45, 45, .08);
    background-color: rgba(255, 45, 45, .04);
    transform: scale(1);
  }
  50% {
    border-color: rgba(255, 70, 70, 1);
    box-shadow: 0 0 22px rgba(255, 45, 45, .95), 0 0 42px rgba(255, 45, 45, .55), inset 0 0 18px rgba(255, 45, 45, .18);
    background-color: rgba(255, 45, 45, .14);
    transform: scale(1.018);
  }
}

.choice-image-discord-link {
  border: 2px solid rgba(255, 65, 65, .75) !important;
  animation: redPillLaunchPulse 2.6s ease-in-out infinite !important;
}

.mobile-red-btn {
  border: 2px solid rgba(255, 65, 65, .85) !important;
  color: #ff5a5a !important;
  text-shadow: 0 0 10px rgba(255,65,65,.65);
  animation: redPillLaunchPulse 2.6s ease-in-out infinite !important;
  will-change: transform, box-shadow;
}

/* Mobile-only width lock: fixes hero/terminal being slightly too wide */
@media (max-width: 760px) {
  html, body {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  body {
    min-width: 0 !important;
  }

  .topbar {
    width: 100% !important;
    max-width: 100% !important;
    left: 0 !important;
    right: 0 !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  main {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto 90px !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
    overflow-x: hidden !important;
  }

  .hero-v2,
  .hero-main,
  .hero-center,
  .hero-terminal,
  .terminal-card,
  .terminal-top,
  .section,
  .panel,
  .video-panel,
  .choice-section,
  .mobile-choice-stack,
  .mobile-choice-avatar,
  .mobile-pill-panel {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    overflow-x: hidden !important;
  }

  .hero-main,
  .terminal-card,
  .panel,
  .video-panel,
  .choice-section {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  .hero-logo,
  .mobile-choice-avatar img,
  .image-frame img,
  .chart-card img,
  video {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
  }

  .hero-logo {
    object-fit: contain !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  pre,
  #bootText,
  .terminal-card pre {
    width: 100% !important;
    max-width: 100% !important;
    white-space: pre-wrap !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
    overflow-x: hidden !important;
  }
}


/* LAUNCH 104 FINAL POLISH */
.nav .nav-discord,
.nav.open .nav-discord {
  display: inline-block !important;
  color: var(--text) !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}
.nav .nav-discord:hover,
.nav.open .nav-discord:hover {
  color: var(--green) !important;
  text-shadow: 0 0 12px var(--green) !important;
}
@media (min-width: 761px) {
  .nav {
    gap: 24px !important;
  }
  .nav .nav-discord {
    display: inline-block !important;
  }
}
@keyframes redPillDesktop104 {
  0%, 100% {
    opacity: .72;
    box-shadow: 0 0 10px rgba(255,35,35,.75), 0 0 0 0 rgba(255,35,35,.45), inset 0 0 10px rgba(255,35,35,.18);
    transform: scale(1);
  }
  50% {
    opacity: 1;
    box-shadow: 0 0 26px rgba(255,35,35,1), 0 0 52px rgba(255,35,35,.85), inset 0 0 22px rgba(255,35,35,.3);
    transform: scale(1.025);
  }
}
.choice-image-discord-link {
  border: 3px solid rgba(255,45,45,.98) !important;
  background: rgba(255,0,0,.06) !important;
  animation: redPillDesktop104 2.2s ease-in-out infinite !important;
  z-index: 20 !important;
  will-change: transform, box-shadow, opacity;
}
.choice-image-card::after { display: none !important; }
@media (max-width: 760px) {
  .choice-image-discord-link { display: none !important; }
  .mobile-red-btn { animation: redPillDesktop104 2.2s ease-in-out infinite !important; }
}
