:root {
  --bg: #04100a;
  --bg-panel: #081711;
  --green: #2be27e;
  --green-soft: rgba(43, 226, 126, 0.14);
  --green-border: rgba(43, 226, 126, 0.22);
  --green-border-strong: rgba(43, 226, 126, 0.45);
  --text: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.62);
  --text-faint: rgba(255, 255, 255, 0.4);
  --card-bg: rgba(43, 226, 126, 0.045);
  --card-border: rgba(43, 226, 126, 0.16);
  --radius: 14px;
  --max-width: 1200px;
  --font: "paralucent", "Work Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: "IBM Plex Mono", "Consolas", monospace;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Ticker bar ---------- */

.ticker-bar video {
  display: block;
  width: 100%;
  height: 30px;
  object-fit: cover;
  /* bottom-anchored so the border line baked into the video's top edge is cropped off */
  object-position: left bottom;
  border-radius: 15px;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 10%,
    #000 90%,
    transparent 100%
  );
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 10%,
    #000 90%,
    transparent 100%
  );
}

/* ---------- Logo ---------- */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 24px;
  letter-spacing: 0.5px;
}
.logo-img {
  height: 25px;
  width: auto;
  display: block;
}
.logo-accent {
  color: var(--green);
}

.beta-badge {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--green);
  border: 1px solid var(--green-border-strong);
  border-radius: 999px;
  padding: 4px 10px;
  margin-left: 10px;
  white-space: nowrap;
  background: var(--green-soft);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 16px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, opacity 0.15s ease,
    box-shadow 0.25s ease, border-color 0.25s ease;
}
.btn:hover {
  transform: translateY(-1px);
}

/* Solid green (form submit) */
.btn-primary {
  background: var(--green);
  color: #01130a;
  padding: 14px 24px;
  border-radius: 6px;
}
.btn-primary:hover {
  opacity: 0.9;
}
.bolt::before {
  content: "\26A1";
  font-size: 16px;
}

/* White pill */
.btn-white {
  background: #ffffff;
  color: #04100a;
  padding: 14px 32px;
  border-radius: 999px;
}
.btn-white:hover {
  opacity: 0.92;
}

/* Outline pill (nav) */
.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: var(--text);
  padding: 12px 22px;
  border-radius: 999px;
}
.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* Neon green outline pill (hero CTA) */
.btn-glow {
  position: relative;
  background: #050e09;
  color: var(--text);
  border: 1.5px solid var(--green-border-strong);
  padding: 14px 32px;
  border-radius: 999px;
  box-shadow: 0 0 6px rgba(43, 226, 126, 0.3),
    0 0 18px rgba(43, 226, 126, 0.18),
    inset 0 0 10px rgba(43, 226, 126, 0.07);
  animation: neon-pill-pulse 3.2s ease-in-out infinite;
}
@keyframes neon-pill-pulse {
  0%,
  100% {
    box-shadow: 0 0 6px rgba(43, 226, 126, 0.3),
      0 0 18px rgba(43, 226, 126, 0.18),
      inset 0 0 10px rgba(43, 226, 126, 0.07);
    border-color: var(--green-border-strong);
  }
  50% {
    box-shadow: 0 0 4px rgba(43, 226, 126, 0.18),
      0 0 11px rgba(43, 226, 126, 0.12),
      inset 0 0 7px rgba(43, 226, 126, 0.04);
    border-color: rgba(43, 226, 126, 0.32);
  }
}
.btn-glow:hover {
  animation: none;
  border-color: rgba(43, 226, 126, 0.9);
  box-shadow: 0 0 10px rgba(43, 226, 126, 0.55),
    0 0 28px rgba(43, 226, 126, 0.35),
    inset 0 0 14px rgba(43, 226, 126, 0.1);
}

/* ---------- Header ---------- */
.site-header {
  position: relative;
  z-index: 10;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  padding-bottom: 24px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 15px;
}
.nav-links a:not(.btn):hover {
  color: var(--green);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 60px 0 90px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: -20px;
  background: linear-gradient(
      180deg,
      rgba(4, 16, 10, 0.94) 0%,
      rgba(4, 16, 10, 0.88) 40%,
      rgba(4, 16, 10, 0.98) 100%
    ),
    radial-gradient(ellipse at top left, rgba(43, 226, 126, 0.08), transparent 55%),
    url("../images/hero-bg.png") center top / cover no-repeat,
    linear-gradient(180deg, #05130c 0%, #04100a 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 70%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 70%, transparent 100%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.live-pill {
  height: 46px;
  width: auto;
  display: block;
  border-radius: 23px;
  margin-bottom: 26px;
}

.hero-title {
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -1px;
  margin-bottom: 22px;
}
.hero-title .line-white,
.hero-title .line-mixed {
  display: block;
  color: var(--text);
  font-size: clamp(40px, 5.6vw, 68px);
}
.hero-title .line-accent {
  color: var(--green);
}

.hero-sub {
  max-width: 520px;
  color: var(--text-muted);
  font-size: 18px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.eligibility {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-faint);
}
.eligibility a {
  color: var(--text-muted);
  text-decoration: underline;
}

/* Hero market cards */
.hero-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.market-card {
  background: linear-gradient(rgba(43, 226, 126, 0.05), rgba(43, 226, 126, 0.05)),
    #06120c;
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 22px 24px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}
.mc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--text-faint);
  margin-bottom: 10px;
}
.mc-q {
  font-size: 19px;
  font-weight: 600;
  margin-bottom: 18px;
}
.price-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
}
.price-yes {
  color: var(--green);
}
.price-no {
  color: var(--text-faint);
}
.price-track {
  flex: 1;
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.price-fill {
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, #17b661, var(--green));
  box-shadow: 0 0 8px rgba(43, 226, 126, 0.5);
}
.yn-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.btn-yes,
.btn-no {
  font-family: var(--font);
  font-weight: 600;
  font-size: 15px;
  padding: 11px 0;
  border-radius: 8px;
  cursor: pointer;
  text-align: center;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.btn-yes {
  background: var(--green-soft);
  border: 1px solid var(--green-border-strong);
  color: var(--green);
}
.btn-yes:hover {
  background: rgba(43, 226, 126, 0.22);
}
.btn-no {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--text-muted);
}
.btn-no:hover {
  border-color: rgba(255, 255, 255, 0.35);
}

/* ---------- Section headings ---------- */
.section-title {
  text-align: center;
  font-weight: 500;
  font-size: clamp(32px, 4.4vw, 48px);
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}
.section-sub {
  text-align: center;
  color: var(--text-muted);
  font-size: 17px;
  max-width: 720px;
  margin: 0 auto 56px;
}
.accent {
  color: var(--green);
}

/* ---------- How it works ---------- */
.how-it-works {
  padding: 80px 0;
}
.hiw-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.hiw-card {
  background: var(--card-bg);
  border: 1px solid var(--green-border);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: 7px 7px 0 -1px rgba(43, 226, 126, 0.1);
}
.hiw-card h3 {
  font-size: 21px;
  font-weight: 600;
  margin: 18px 0 10px;
}
.hiw-card p {
  color: var(--text-muted);
  font-size: 15px;
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 9px;
  background: var(--green-soft);
  border: 1px solid var(--green-border);
  color: var(--green);
}
.card-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--green);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Every market, one price ---------- */
.one-price {
  padding: 80px 0;
}
.op-badge {
  display: inline-block;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--green);
  border: 1px solid var(--green-border-strong);
  border-radius: 999px;
  padding: 6px 18px;
  margin-bottom: 22px;
  background: var(--green-soft);
}
.op-title {
  font-weight: 500;
  font-size: clamp(36px, 5vw, 56px);
  letter-spacing: -1px;
  margin-bottom: 16px;
}
.op-sub {
  color: var(--text-muted);
  font-size: 17px;
  max-width: 520px;
  margin-bottom: 48px;
}
.op-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}
.cat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px 32px;
}
.cat h3 {
  font-size: 19px;
  font-weight: 600;
  margin: 14px 0 8px;
}
.cat p {
  color: var(--text-muted);
  font-size: 14.5px;
}
.chart-card {
  background: var(--bg-panel);
  border: 1px solid var(--green-border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45),
    0 0 40px rgba(43, 226, 126, 0.06);
}
.chart-card video {
  display: block;
  width: 100%;
  height: auto;
}

/* ---------- Trending markets ---------- */
.markets {
  padding: 80px 0 40px;
}
.filter-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  background: rgba(43, 226, 126, 0.04);
  border: 1px solid var(--green-border);
  border-radius: 16px;
  padding: 14px 16px;
  margin-bottom: 32px;
}
.fpill {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 9px 18px;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
  white-space: nowrap;
}
.fpill:hover {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.35);
}
.fpill.active {
  color: var(--green);
  border-color: var(--green-border-strong);
  background: var(--green-soft);
}
.market-search {
  flex: 1;
  min-width: 220px;
  margin-left: auto;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--text);
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 11px 16px;
  outline: none;
}
.market-search::placeholder {
  color: var(--text-faint);
}
.market-search:focus {
  border-color: var(--green-border-strong);
}

.markets-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
/* Bottom row fades into the background, per mockup */
.markets-grid::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 170px;
  background: linear-gradient(180deg, rgba(4, 16, 10, 0) 0%, var(--bg) 100%);
  pointer-events: none;
}
.m-card {
  display: flex;
  flex-direction: column;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.m-card:hover {
  border-color: var(--green-border-strong);
  transform: translateY(-2px);
}
.m-card.hidden {
  display: none;
}
.m-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 18px;
}
.m-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--green-soft);
  border: 1px solid var(--green-border);
}
.m-icon svg {
  width: 17px;
  height: 17px;
  stroke: var(--green);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.m-q {
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.35;
  flex: 1;
}
.m-tag {
  flex-shrink: 0;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 3px 10px;
  margin-top: 2px;
}
.m-meta {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--text-muted);
  margin-bottom: 22px;
}
.m-meta svg {
  width: 13px;
  height: 13px;
  stroke: rgba(43, 226, 126, 0.7);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: -2px;
  margin-right: 7px;
}
.m-meta .label {
  color: var(--text-faint);
}
.track-btn {
  margin-top: auto;
  display: block;
  text-align: center;
  background: #ffffff;
  color: #04100a;
  font-weight: 600;
  font-size: 15px;
  padding: 13px 0;
  border-radius: 999px;
  transition: opacity 0.15s ease, transform 0.15s ease;
}
.track-btn:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}
.no-results {
  display: none;
  text-align: center;
  font-family: var(--mono);
  font-size: 14px;
  color: var(--text-faint);
  padding: 48px 0;
}
.no-results.visible {
  display: block;
}

/* ---------- CTA / waitlist ---------- */
.cta {
  padding: 100px 0 120px;
}
.cta-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.cta-title {
  font-weight: 700;
  line-height: 1.1;
  font-size: clamp(34px, 5vw, 52px);
  margin-bottom: 20px;
}
.cta-title .line-glow {
  color: var(--green);
  text-shadow: 0 0 8px rgba(43, 226, 126, 0.9),
    0 0 22px rgba(43, 226, 126, 0.6),
    0 0 45px rgba(43, 226, 126, 0.4),
    0 0 80px rgba(43, 226, 126, 0.25);
  animation: neon-text-pulse 3.2s ease-in-out infinite;
}
@keyframes neon-text-pulse {
  0%,
  100% {
    text-shadow: 0 0 8px rgba(43, 226, 126, 0.9),
      0 0 22px rgba(43, 226, 126, 0.6),
      0 0 45px rgba(43, 226, 126, 0.4),
      0 0 80px rgba(43, 226, 126, 0.25);
  }
  50% {
    text-shadow: 0 0 6px rgba(43, 226, 126, 0.6),
      0 0 14px rgba(43, 226, 126, 0.4),
      0 0 30px rgba(43, 226, 126, 0.25),
      0 0 55px rgba(43, 226, 126, 0.15);
  }
}
.cta-sub {
  max-width: 640px;
  color: var(--text-muted);
  font-size: 17px;
  margin-bottom: 36px;
}

.waitlist-form {
  display: flex;
  gap: 8px;
  background: rgba(43, 226, 126, 0.06);
  border: 1px solid var(--green-border);
  padding: 8px;
  border-radius: 10px;
  width: 100%;
  max-width: 600px;
}
.waitlist-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text);
  font-family: var(--mono);
  font-size: 14px;
  padding: 0 16px;
}
.waitlist-input::placeholder {
  color: var(--text-faint);
}

.form-note {
  margin-top: 16px;
  font-size: 13px;
  color: var(--text-muted);
}
.form-note a {
  color: var(--text);
  text-decoration: underline;
}

/* ---------- Thank you page ---------- */
.thanks {
  position: relative;
  padding: 120px 0 140px;
}
.thanks-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.you-in-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 54px;
  border-radius: 27px;
  border: 2px solid var(--green);
  background: #071510;
  padding: 0 22px;
  animation: borderbeat 2s ease-in-out infinite;
}
@keyframes borderbeat {
  0%,
  100% {
    box-shadow: 0 0 8px rgba(43, 226, 126, 0.15);
  }
  50% {
    box-shadow: 0 0 20px rgba(43, 226, 126, 0.4);
  }
}
.pill-text {
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  white-space: nowrap;
}
.dot-wrap {
  position: relative;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.dot {
  width: 13px;
  height: 13px;
  background: var(--green);
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: dp 1.6s ease-in-out infinite;
}
.dot-ring {
  width: 13px;
  height: 13px;
  border: 2px solid var(--green);
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: dr 1.6s ease-out infinite;
}
@keyframes dp {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    transform: translate(-50%, -50%) scale(0.75);
    opacity: 0.7;
  }
}
@keyframes dr {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.7;
  }
  100% {
    transform: translate(-50%, -50%) scale(2.4);
    opacity: 0;
  }
}
.thanks-title {
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -1px;
  margin: 28px 0 24px;
}
.thanks-title .line-white,
.thanks-title .line-glow {
  display: block;
}
.thanks-title .line-white {
  color: var(--text);
  font-size: clamp(40px, 7vw, 84px);
}
.thanks-title .line-glow {
  color: var(--green);
  font-size: clamp(36px, 6vw, 72px);
  text-shadow: 0 0 8px rgba(43, 226, 126, 0.9),
    0 0 22px rgba(43, 226, 126, 0.6),
    0 0 45px rgba(43, 226, 126, 0.4),
    0 0 80px rgba(43, 226, 126, 0.25);
  animation: neon-text-pulse 3.2s ease-in-out infinite;
}
.thanks-sub {
  max-width: 620px;
  color: var(--text-muted);
  font-size: 19px;
  margin-bottom: 36px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: #000000;
  padding: 56px 0 64px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}
.copyright {
  color: var(--text-faint);
  font-size: 14px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero-cards {
    max-width: 560px;
  }
  .op-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .markets-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
  .hiw-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .nav {
    gap: 12px;
  }
  .nav-links {
    gap: 16px;
  }
  .nav-links a:not(.btn) {
    display: none;
  }
  .nav-links .btn-outline {
    white-space: nowrap;
    padding: 10px 16px;
    font-size: 14px;
  }
  .beta-badge {
    display: none;
  }
  .markets-grid {
    grid-template-columns: 1fr;
  }
  .cat-grid {
    grid-template-columns: 1fr;
  }
  .market-search {
    margin-left: 0;
    width: 100%;
  }
  .waitlist-form {
    flex-direction: column;
    background: transparent;
    border: none;
    padding: 0;
    gap: 12px;
  }
  .waitlist-input {
    background: rgba(43, 226, 126, 0.07);
    border: 1px solid var(--green-border);
    border-radius: 8px;
    padding: 14px 16px;
  }
  .btn-primary {
    justify-content: center;
  }
  .ticker-bar video {
    height: 26px;
  }
}

@media (max-width: 380px) {
  .logo {
    font-size: 20px;
  }
  .nav-links .btn-outline {
    padding: 9px 14px;
    font-size: 13px;
  }
}
