:root {
  --bg: #0a0a0a;
  --green: #22ff66;
  --green-dim: #1a9e46;
  --text: #e8e8e8;
  --text-dim: #b9b9b9;
  --card-bg: #111111;
  --card-border: #2a2a2a;
  --max-width: 1322px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Times New Roman', Times, serif;
  overflow-x: hidden;
}

#matrix-rain {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.35;
  pointer-events: none;
}

/* CRT scanlines + flicker overlay */
#crt-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  background: repeating-linear-gradient(
    to bottom,
    rgba(0,0,0,0) 0px,
    rgba(0,0,0,0) 1px,
    rgba(0,0,0,0.18) 2px,
    rgba(0,0,0,0.18) 3px
  );
  mix-blend-mode: multiply;
  animation: crt-flicker 6s infinite steps(1);
}

@keyframes crt-flicker {
  0%, 100% { opacity: 0.85; }
  2% { opacity: 0.6; }
  4% { opacity: 0.9; }
  19% { opacity: 0.85; }
  21% { opacity: 0.55; }
  23% { opacity: 0.9; }
  50% { opacity: 0.8; }
  70% { opacity: 0.65; }
  71% { opacity: 0.9; }
}

main, .site-footer {
  position: relative;
  z-index: 1;
}

.hero {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 60px 20px 20px;
}

.hero-single {
  display: flex;
  justify-content: center;
}

/* CENTER COLUMN */
.col-center {
  text-align: center;
  padding-top: 10px;
  max-width: 620px;
  margin: 0 auto;
}

.profile-photo {
  width: 64px;
  height: 64px;
  border-radius: 0;
  object-fit: cover;
  border: 2px solid var(--green-dim);
  background: #333;
}

.profile-name {
  margin: 12px 0 0;
  font-weight: bold;
  font-size: 16px;
  font-family: 'Courier New', Courier, monospace;
  text-transform: uppercase;
}

.profile-handle {
  margin: 2px 0 0;
  color: var(--text-dim);
  font-size: 14px;
}

.hero-graphic {
  margin: 30px auto;
  max-width: 700px;
}

.hero-graphic img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 10px 30px rgba(0,0,0,0.6));
  mix-blend-mode: screen;
  -webkit-mask-image: radial-gradient(ellipse at center, black 50%, transparent 90%);
  mask-image: radial-gradient(ellipse at center, black 50%, transparent 90%);
}

.headline {
  font-family: 'Courier New', Courier, monospace;
  font-style: normal;
  font-weight: 700;
  color: var(--green);
  font-size: 40px;
  line-height: 1.3;
  text-shadow: 0 0 20px rgba(34,255,102,0.4);
  margin: 20px 0 16px;
  letter-spacing: 1px;
  text-transform: uppercase;
  min-height: 2.6em;
}

#typed-text {
  transition: opacity 0.45s ease;
  opacity: 1;
}

.headline .cursor {
  color: var(--green);
  font-weight: 700;
  animation: blink-cursor 1s steps(1) infinite;
}

@keyframes blink-cursor {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.qa-intro {
  max-width: 560px;
  margin: 0 auto 24px;
  text-align: left;
}

.qa-answer {
  color: var(--text-dim);
  font-size: 18px;
  line-height: 1.6;
  margin: 0;
}

.body-copy {
  max-width: 560px;
  margin: 0 auto;
  text-align: left;
}

.body-copy p {
  color: var(--text-dim);
  font-size: 17px;
  line-height: 1.7;
  margin: 0 0 18px;
}

.what-to-expect {
  max-width: 560px;
  margin: 0 auto;
  text-align: left;
}

.what-to-expect-heading {
  text-align: center;
  font-family: 'Courier New', Courier, monospace;
  font-weight: 700;
  color: var(--green);
  font-size: 26px;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 0 0 20px rgba(34,255,102,0.4);
  margin: 0 0 24px;
}

.what-to-expect p {
  color: var(--text-dim);
  font-size: 17px;
  line-height: 1.7;
  margin: 0 0 18px;
}

/* SIGNUP */
.signup {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
  padding: 40px 20px 20px;
}

.signup-heading {
  font-family: 'Courier New', Courier, monospace;
  font-weight: 700;
  color: var(--green);
  font-size: 26px;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 0 0 20px rgba(34,255,102,0.4);
  margin: 0 0 24px;
}

.signup p {
  color: var(--text-dim);
  line-height: 1.6;
  margin: 0 0 8px;
}

.micro-copy {
  margin-top: 16px;
  font-family: 'Courier New', monospace;
  font-size: 13px;
  color: var(--green-dim);
  letter-spacing: 0.5px;
}

.beehiiv-embed {
  max-width: 480px;
  margin: 20px auto 0;
}

.site-footer {
  text-align: center;
  padding: 40px 20px;
  color: var(--green-dim);
  font-family: 'Courier New', Courier, monospace;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* CONFIRMATION PAGE */
.confirm-section {
  min-height: 70vh;
  align-items: center;
  padding-top: 40px;
  padding-bottom: 40px;
}

.confirm-heading {
  font-family: 'Courier New', Courier, monospace;
  font-weight: 700;
  color: var(--green);
  font-size: 40px;
  line-height: 1.3;
  text-shadow: 0 0 20px rgba(34,255,102,0.4);
  margin: 24px 0 20px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.confirm-copy {
  max-width: 480px;
  margin: 0 auto;
}

.confirm-lead {
  color: var(--text);
  font-size: 19px;
  margin: 0 0 16px;
}

.confirm-copy p {
  color: var(--text-dim);
  font-size: 16px;
  line-height: 1.7;
  margin: 0 0 8px;
}

.help-box {
  display: block;
  max-width: 480px;
  margin: 32px auto 0;
  padding: 18px 24px;
  background: #000;
  border: 1px solid var(--green);
  color: var(--green);
  text-decoration: none;
  font-family: 'Courier New', Courier, monospace;
  font-size: 14px;
  letter-spacing: 0.5px;
  text-align: center;
  box-shadow: 0 0 12px rgba(34,255,102,0.15);
  transition: box-shadow 0.2s ease, background 0.2s ease;
}

.help-box:hover {
  box-shadow: 0 0 20px rgba(34,255,102,0.4);
  background: #050505;
}

/* HELP / TROUBLESHOOTING PAGE */
.help-page {
  max-width: 600px;
}

.help-intro {
  color: var(--text-dim);
  font-size: 16px;
  max-width: 480px;
  margin: 0 auto 32px;
}

.help-card {
  background: #000;
  border: 1px solid var(--green-dim);
  padding: 20px 24px;
  margin-bottom: 20px;
  text-align: left;
}

.help-card h3 {
  font-family: 'Courier New', Courier, monospace;
  color: var(--green);
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0 0 10px;
}

.help-card p {
  color: var(--text-dim);
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}

.help-actions {
  margin-top: 40px;
  text-align: center;
}

.help-action-link {
  display: inline-block;
  font-family: 'Courier New', Courier, monospace;
  font-weight: 700;
  color: var(--green);
  border: 1px solid var(--green-dim);
  padding: 12px 28px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 14px;
  box-shadow: 0 0 12px rgba(34,255,102,0.2);
  transition: box-shadow 0.2s ease;
}

.help-action-link:hover {
  box-shadow: 0 0 20px rgba(34,255,102,0.45);
}

.help-or {
  color: var(--text-dim);
  font-size: 13px;
  margin: 14px 0;
}

.help-contact {
  color: var(--text-dim);
  font-size: 14px;
  text-decoration: underline;
}

/* RESPONSIVE */
@media (max-width: 480px) {
  .headline {
    font-size: 30px;
  }
  .confirm-heading {
    font-size: 30px;
  }
  .body-copy,
  .what-to-expect {
    text-align: left;
  }
}
