
/* Global Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  background-color: #000;
  color: #00ff00;
  font-family: 'Courier New', Courier, monospace;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Navigation */
header {
  padding: 1rem 2rem;
  border-bottom: 1px solid #00ff00;
}
nav {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.logo {
  font-size: 1.5rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: bold;
  line-height: 1;
}

.logo-img {
  height: 1.6rem;
  vertical-align: middle;
}

.nav-links a {
  color: #00ff00;
  text-decoration: none;
  margin-left: 1.5rem;
  transition: color 0.2s ease-in-out;
}
.nav-links a:hover {
  color: #b6ffb6;
  text-shadow: 0 0 8px #00ff00;
}

/* Footer */
footer {
  text-align: center;
  padding: 1rem;
  border-top: 1px solid #00ff00;
  font-size: 0.9rem;
  margin-top: auto;
}
@media (max-width: 600px) {
  h1.profile-title {
    font-size: 1.3rem;
  }
}
.fbi-profile {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 1.5rem;
  max-width: 100%;
  overflow-x: hidden;
}
.fbi-avatar {
  width: 100%;
  max-width: 300px;
  height: auto;
  border: 2px solid #00ff00;
  border-radius: 12px;
}
.fbi-section {
  flex: 1 1 260px;
  max-width: 100%;
}


@media (max-width: 600px) {
  nav {
    flex-direction: column;
    align-items: flex-start;
  }
  .nav-links {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
  }
}


/* ===== v2 Enhancements (matrix/glitch + nav fix) ===== */

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(
    180deg,
    rgba(0,255,0,0.035),
    rgba(0,255,0,0.035) 1px,
    transparent 1px,
    transparent 4px
  );
  pointer-events: none;
  z-index: 0;
}

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

nav.site-nav {
  display: flex !important;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}

.nav-toggle {
  display: none;
  border: 1px solid #00ff00;
  background: transparent;
  color: #00ff00;
  padding: 0.35rem 0.65rem;
  border-radius: 4px;
  font-family: inherit;
  cursor: pointer;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.nav-links a[aria-current="page"] {
  text-shadow: 0 0 8px #00ff00;
  border-bottom: 1px solid #00ff00;
  padding-bottom: 2px;
}

@media (max-width: 720px) {
  .nav-toggle { display: inline-block; }
  .nav-links {
    width: 100%;
    display: none;
    padding-top: 0.5rem;
  }
  .nav-links.open { display: flex; }
}

/* whitepaper counters */
.download-meta {
  font-size: 0.9rem;
  opacity: 0.9;
  margin-top: 0.35rem;
}


/* ===== DaWabLauncher / RHC website integration ===== */
.btn {
  display: inline-block;
  border: 1px solid #00ff00;
  border-radius: 4px;
  padding: 0.55rem 0.9rem;
  color: #00ff00;
  background: transparent;
  font-family: inherit;
  text-decoration: none;
  transition: background-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.btn:hover {
  background: #00ff00;
  color: #000;
  box-shadow: 0 0 14px rgba(0, 255, 0, 0.24);
}

.nav-links .launcher-link {
  border: 1px solid rgba(0, 255, 0, 0.7);
  border-radius: 4px;
  padding: 0.35rem 0.55rem;
  margin-left: 0.75rem;
}

.nav-links .launcher-link:hover,
.nav-links .launcher-link[aria-current="page"] {
  background: #00ff00;
  color: #000;
  text-shadow: none;
}

.dextools-grid {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 1rem;
  flex-wrap: wrap;
}

.dextools-widget {
  width: min(500px, 100%);
  height: 400px;
  border: 1px solid rgba(0, 255, 0, 0.45);
  border-radius: 4px;
}

.rhc-market-section {
  width: min(940px, 100%);
  margin: 2rem auto 0;
  padding: 1.25rem;
  border: 1px solid #00ff00;
  background: rgba(0, 255, 0, 0.018);
  text-align: left;
  box-shadow: inset 0 0 28px rgba(0, 255, 0, 0.035);
}

.rhc-market-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.rhc-market-heading h2,
.launcher-info-section h2,
.roadmap-launcher-section h2 {
  margin-top: 0.2rem;
  font-family: 'Courier New', Courier, monospace;
}

.terminal-label,
.section-kicker {
  color: #8cff8c;
  font-size: 0.76rem;
  font-weight: bold;
  letter-spacing: 0.12em;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.35rem 0.65rem;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: bold;
  letter-spacing: 0.05em;
}

.status-pending {
  color: #ffd166;
}

.rhc-chart-placeholder {
  position: relative;
  display: grid;
  min-height: 340px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(0, 255, 0, 0.55);
  background: #020702;
}

.rhc-chart-grid {
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(0, 255, 0, 0.17) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 255, 0, 0.17) 1px, transparent 1px);
  background-size: 48px 48px;
}

.rhc-chart-grid::after {
  content: "";
  position: absolute;
  left: 7%;
  right: 7%;
  top: 54%;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, #00ff00 12%, #00ff00 28%, #00aa00 45%, #00ff00 62%, #00ff00 82%, transparent 100%);
  transform: skewY(-7deg);
  box-shadow: 0 0 10px rgba(0, 255, 0, 0.4);
}

.rhc-chart-message {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.65rem;
  width: min(560px, calc(100% - 2rem));
  padding: 1.25rem;
  background: rgba(0, 0, 0, 0.82);
  border: 1px solid rgba(0, 255, 0, 0.55);
  text-align: center;
}

.rhc-chart-message strong {
  font-size: clamp(1.2rem, 3vw, 1.75rem);
}

.rhc-chart-message span {
  line-height: 1.55;
}

.terminal-status {
  color: #ffd166;
  font-weight: bold;
  letter-spacing: 0.08em;
}

.rhc-market-meta {
  display: flex;
  justify-content: center;
  gap: 0.75rem 1.5rem;
  flex-wrap: wrap;
  margin: 1rem 0;
  font-size: 0.82rem;
  line-height: 1.5;
}

.rhc-market-meta strong {
  color: #b6ffb6;
}

.launcher-cta {
  margin-top: 0.25rem;
  font-weight: bold;
}

.launcher-info-section,
.roadmap-launcher-section {
  margin: 1.5rem;
  padding: 1.5rem;
  border: 1px solid rgba(0, 255, 0, 0.65);
  background: rgba(0, 255, 0, 0.018);
}

.launcher-info-section p,
.roadmap-launcher-section p {
  margin-top: 0.8rem;
  line-height: 1.7;
}

.launcher-principle {
  display: grid;
  gap: 0.35rem;
  margin-top: 1rem;
  padding: 1rem;
  border-left: 3px solid #00ff00;
  background: rgba(0, 255, 0, 0.04);
}

.launcher-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}

.launcher-stats-grid > div {
  display: grid;
  gap: 0.35rem;
  padding: 0.9rem;
  border: 1px solid rgba(0, 255, 0, 0.3);
  background: rgba(0, 0, 0, 0.45);
}

.launcher-stats-grid span,
.section-note {
  color: #8cff8c;
  font-size: 0.82rem;
}

.launcher-stats-grid strong {
  color: #eaffea;
}

.lifecycle-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid rgba(0, 255, 0, 0.3);
}

.lifecycle-strip span {
  padding: 0.35rem 0.55rem;
  border: 1px solid rgba(0, 255, 0, 0.45);
}

.roadmap-checklist {
  display: grid;
  gap: 0.55rem;
  margin: 1rem 0 1.25rem;
  list-style: none;
}

.roadmap-checklist li {
  position: relative;
  padding-left: 1.8rem;
  line-height: 1.55;
}

.roadmap-checklist li::before {
  position: absolute;
  left: 0;
  top: 0;
  font-weight: bold;
}

.roadmap-checklist li.done::before {
  content: "✓";
  color: #00ff00;
}

.roadmap-checklist li.next::before {
  content: "→";
  color: #ffd166;
}

.launcher-placeholder-page main {
  display: grid;
  flex: 1;
  width: min(980px, calc(100% - 2rem));
  margin: 0 auto;
  place-items: center;
  padding: 3rem 0;
}

.launcher-placeholder-card {
  width: 100%;
  padding: clamp(1.25rem, 4vw, 2.5rem);
  border: 1px solid #00ff00;
  background: rgba(0, 255, 0, 0.02);
  text-align: center;
}

.launcher-placeholder-card h1 {
  margin-top: 0.35rem;
  font-size: clamp(2rem, 6vw, 4rem);
}

.launcher-placeholder-card p {
  max-width: 720px;
  margin: 1rem auto 0;
  line-height: 1.7;
}

.placeholder-terminal {
  width: min(680px, 100%);
  margin: 1.5rem auto;
  padding: 1rem;
  border: 1px solid rgba(0, 255, 0, 0.4);
  background: #020702;
  text-align: left;
  line-height: 1.7;
}

@media (max-width: 760px) {
  .launcher-stats-grid {
    grid-template-columns: 1fr;
  }

  .rhc-chart-placeholder {
    min-height: 280px;
  }

  .launcher-info-section,
  .roadmap-launcher-section {
    margin: 1rem;
    padding: 1rem;
  }

  .nav-links .launcher-link {
    margin-left: 0;
  }
}

/* ===== RHC mainnet live state ===== */
.status-live {
  color: #00ff41;
  box-shadow: 0 0 12px rgba(0, 255, 65, 0.12);
}

.terminal-status.live {
  color: #00ff41;
}

.rhc-contract-links {
  display: flex;
  justify-content: center;
  gap: 0.75rem 1.25rem;
  flex-wrap: wrap;
  margin: 0.75rem 0 1rem;
}

.rhc-contract-links a {
  color: #8cff8c;
  font-size: 0.8rem;
  overflow-wrap: anywhere;
}

.rhc-contract-links a:hover {
  color: #eaffea;
  text-shadow: 0 0 8px rgba(0, 255, 0, 0.35);
}

.contract-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}

.contract-card {
  display: grid;
  gap: 0.35rem;
  padding: 0.9rem;
  border: 1px solid rgba(0, 255, 0, 0.3);
  background: rgba(0, 0, 0, 0.45);
  color: #00ff00;
  text-decoration: none;
}

.contract-card:hover {
  border-color: #00ff00;
  box-shadow: 0 0 12px rgba(0, 255, 0, 0.12);
}

.contract-card span {
  color: #8cff8c;
  font-size: 0.78rem;
}

.contract-card strong {
  color: #eaffea;
  font-size: 0.9rem;
  overflow-wrap: anywhere;
}

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