/* ROOKNET — Robinhood ecosystem project */
:root {
  color-scheme: dark;
  --void-dark: #0a0f0c;
  --void-mid: #0e1410;
  --void-light: #121a14;
  --void-abyss: #050807;
  --rh-green: #00c805;
  --rh-neon: #00ff5a;
  --rh-dim: #009e04;
  --gold-primary: var(--rh-green);
  --gold-dim: var(--rh-dim);
  --text-main: #e8f5e9;
  --text-muted: #8fa396;
  --glass-bg: #121a14b3;
  --glass-border: #ffffff14;
  --secondary-border: #fff3;
  --surface-highlight: #ffffff1a;
  --surface-light: #ffffff0d;
  --surface-inner: #0f1612;
  --surface-hover: #1a261c;
  --font-header: "Cinzel Decorative", serif;
  --font-body: "Nunito", sans-serif;
  --navbar-height: 74px;
  --ease-out: cubic-bezier(0.34, 1.56, 0.64, 1);
  --max-w-7xl: 80rem;
  --max-w-5xl: 64rem;
  --max-w-3xl: 48rem;
  --max-w-2xl: 42rem;
  --green-glow: 0 0 40px rgba(0, 200, 5, 0.22);
}

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

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

body {
  font-family: var(--font-body);
  background: var(--void-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

img {
  max-width: 100%;
  display: block;
}

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

button {
  font-family: inherit;
  border: none;
  background: none;
  color: inherit;
}

ul,
ol {
  list-style: none;
}

.font-header {
  font-family: var(--font-header);
}

.font-body {
  font-family: var(--font-body);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--rh-green);
  color: #000;
  font-weight: 700;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* Image green grading for fantasy assets */
.img-grade {
  filter: saturate(0.85) hue-rotate(70deg) brightness(0.92) contrast(1.05);
}

.img-grade-soft {
  filter: saturate(0.7) hue-rotate(55deg) brightness(0.88) contrast(1.08);
}

/* ========== NAV ========== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: var(--navbar-height);
  display: flex;
  align-items: center;
  transition: transform 0.3s;
}

.navbar-bg {
  position: absolute;
  inset: 0;
  background: var(--void-dark);
  border-bottom: 1px solid var(--surface-highlight);
}

.navbar-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.4), transparent);
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.5s;
}

.navbar-inner {
  position: relative;
  width: 100%;
  max-width: var(--max-w-7xl);
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  align-items: center;
}

@media (min-width: 768px) {
  .navbar-inner {
    padding: 0 1.5rem;
  }
}

.nav-logo {
  font-family: var(--font-header);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--rh-green);
  transition: color 0.2s;
  line-height: 1;
  transform: translateY(1px);
  text-shadow: 0 0 24px rgba(0, 200, 5, 0.25);
}

.nav-logo:hover {
  color: #fff;
}

.nav-links {
  display: none;
  gap: 0.5rem;
  align-items: center;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
}

.nav-links a {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.7);
  padding: 0.5rem 0.75rem;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--rh-green);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-left: auto;
}

.btn-outline {
  display: none;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid rgba(0, 200, 5, 0.55);
  color: var(--rh-green);
  border-radius: 0.25rem;
  padding: 0.5rem 1.25rem;
  min-height: 44px;
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
  cursor: pointer;
}

.btn-outline:hover {
  background: rgba(0, 200, 5, 0.1);
  border-color: var(--rh-green);
  box-shadow: 0 0 20px rgba(0, 200, 5, 0.15);
}

@media (min-width: 768px) {
  .btn-outline {
    display: inline-flex;
  }
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--rh-green);
  color: #000;
  border: 1px solid var(--rh-green);
  border-radius: 0.25rem;
  padding: 0.75rem 2rem;
  transition: background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
  cursor: pointer;
}

.btn-primary:hover {
  background: transparent;
  color: var(--rh-green);
  box-shadow: 0 0 24px rgba(0, 200, 5, 0.2);
}

.menu-toggle {
  display: flex;
  color: #fff;
  cursor: pointer;
  padding: 0.25rem;
  border-radius: 0.25rem;
}

.menu-toggle:hover {
  color: var(--rh-green);
}

@media (min-width: 768px) {
  .menu-toggle {
    display: none;
  }
}

.mobile-menu {
  position: fixed;
  inset: 0;
  top: var(--navbar-height);
  background: var(--void-dark);
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  gap: 0.25rem;
  z-index: 50;
  overflow-y: auto;
  opacity: 0;
  transform: translateY(-0.5rem);
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
}

.mobile-menu.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

@media (min-width: 768px) {
  .mobile-menu {
    display: none !important;
  }
}

.mobile-menu a {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.9);
  padding: 0.875rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: color 0.2s;
}

.mobile-menu a:hover {
  color: var(--rh-green);
}

.mobile-menu .btn-mobile-cta {
  margin-top: 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: linear-gradient(135deg, #00ff5a, #00c805);
  color: #000;
  border-radius: 0.25rem;
  padding: 0.875rem 1.5rem;
  border: none;
}

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(10, 15, 12, 0.6) 0%, rgba(10, 15, 12, 0.4) 40%, rgba(10, 15, 12, 0.88) 85%, var(--void-dark) 100%),
    radial-gradient(ellipse at 50% 60%, rgba(0, 200, 5, 0.08) 0%, transparent 55%);
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 6rem 1.5rem 4rem;
  max-width: 48rem;
  margin: 0 auto;
}

.hero-title {
  font-family: var(--font-header);
  font-size: clamp(3rem, 10vw, 5.5rem);
  font-weight: 700;
  color: var(--rh-green);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-shadow: 0 4px 40px rgba(0, 200, 5, 0.35);
  line-height: 1.05;
  animation: fadeInUp 0.8s ease-out both;
}

.hero-tagline {
  font-family: var(--font-header);
  font-size: clamp(1.25rem, 3vw, 1.875rem);
  color: rgba(255, 255, 255, 0.95);
  letter-spacing: 0.05em;
  margin-top: 1.5rem;
  animation: fadeInUp 0.8s 0.15s ease-out both;
}

.hero-desc {
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.025em;
  margin-top: 1rem;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 0.8s 0.3s ease-out both;
}

.hero-ctas {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  animation: fadeInUp 0.8s 0.45s ease-out both;
}

.hero-secondary-link {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.4);
  transition: color 0.2s;
  cursor: pointer;
}

.hero-secondary-link:hover {
  color: rgba(255, 255, 255, 0.7);
}

.scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  animation: fadeInUp 0.8s 0.6s ease-out both, bounce 2s 1.5s infinite;
}

.scroll-hint span {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(6px);
  }
}

@keyframes pulseGlow {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(0, 200, 5, 0.25);
  }
  50% {
    box-shadow: 0 0 24px 4px rgba(0, 200, 5, 0.2);
  }
}

/* ========== SECTIONS ========== */
.section {
  position: relative;
  z-index: 30;
  padding: 5rem 0;
}

@media (min-width: 640px) {
  .section {
    padding: 6rem 0;
  }
}

@media (min-width: 1024px) {
  .section {
    padding: 8rem 0;
  }
}

.section-void-light {
  background: var(--void-light);
}

.section-void-dark {
  background: var(--void-dark);
}

.section-void-abyss {
  background: var(--void-abyss);
}

.container {
  width: 100%;
  max-width: var(--max-w-5xl);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-wide {
  max-width: var(--max-w-7xl);
}

.container-narrow {
  max-width: var(--max-w-3xl);
}

.section-title {
  font-family: var(--font-header);
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.section-title-xl {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
}

.section-title-2xl {
  font-size: clamp(1.875rem, 5vw, 2.25rem);
}

.section-title-3xl {
  font-size: clamp(1.875rem, 5vw, 3rem);
  line-height: 1.1;
}

.text-muted {
  color: var(--text-muted);
}

.text-gold,
.text-green {
  color: var(--rh-green);
}

.text-center {
  text-align: center;
}

.gold-divider,
.green-divider {
  width: 4rem;
  height: 1px;
  background: rgba(0, 200, 5, 0.5);
  margin: 0 auto;
}

.gold-divider-left {
  width: 4rem;
  height: 1px;
  background: rgba(0, 200, 5, 0.3);
  margin-top: 2rem;
}

.philosophy p {
  font-size: clamp(1rem, 2vw, 1.125rem);
  line-height: 1.75;
  color: var(--text-muted);
}

.philosophy p + p {
  margin-top: 1rem;
}

.cozy-grid {
  display: grid;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .cozy-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
  }
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.feature-item svg {
  width: 1.25rem;
  height: 1.25rem;
  color: rgba(0, 200, 5, 0.45);
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.feature-item h3 {
  font-size: 0.875rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.feature-item p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.6;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}

@media (min-width: 640px) {
  .pillars {
    gap: 1.5rem;
    margin-top: 4rem;
  }
}

@media (min-width: 1024px) {
  .pillars {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 5rem;
  }
}

.pillar-card {
  padding: 2rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 0.5rem;
  background: rgba(18, 26, 20, 0.5);
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.pillar-card:hover {
  border-color: rgba(0, 200, 5, 0.25);
  background: rgba(18, 26, 20, 0.85);
  box-shadow: 0 0 28px rgba(0, 200, 5, 0.08);
}

.pillar-card svg {
  width: 1.25rem;
  height: 1.25rem;
  color: rgba(0, 200, 5, 0.45);
  margin-bottom: 1rem;
}

.pillar-card h3 {
  font-size: 0.875rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.pillar-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Built on / powered by */
.built-on {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  background: var(--void-light);
  padding: 3.5rem 0;
}

.built-on-label {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: rgba(143, 163, 150, 0.45);
  margin-bottom: 1.75rem;
}

.built-on-logos {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
  max-width: 36rem;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .built-on-logos {
    gap: 2rem;
  }
}

.built-on-logos img {
  height: 1.25rem;
  width: auto;
}

.built-on-logos > :first-child {
  justify-self: end;
}

.built-on-logos > :last-child {
  justify-self: start;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.built-on-logos .brand-text {
  font-size: 0.875rem;
  font-weight: 700;
  color: #fff;
}

.tech-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  margin-top: 1.75rem;
  font-size: 0.75rem;
  letter-spacing: 0.025em;
  color: rgba(143, 163, 150, 0.7);
  transition: color 0.3s;
}

.tech-link:hover {
  color: #fff;
}

.tech-link svg {
  width: 0.875rem;
  height: 0.875rem;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.tech-link:hover svg {
  transform: translateX(4px);
}

/* Arena / Duels → Trade floor */
.arena-section {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

@media (min-width: 640px) {
  .arena-section {
    min-height: 100vh;
  }
}

.arena-bg {
  position: absolute;
  inset: 0;
}

.arena-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.arena-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, var(--void-dark) 0%, rgba(10, 15, 12, 0.72) 15%, rgba(10, 15, 12, 0.55) 50%, rgba(10, 15, 12, 0.88) 85%, var(--void-dark) 100%),
    linear-gradient(to right, rgba(10, 15, 12, 0.65) 0%, transparent 30%, transparent 70%, rgba(10, 15, 12, 0.65) 100%);
}

.arena-content {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: var(--max-w-5xl);
  margin: 0 auto;
  padding: 5rem 1.5rem;
}

.arena-header {
  text-align: center;
  margin-bottom: 3rem;
}

.arena-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .arena-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.arena-grid h3 {
  font-family: var(--font-header);
  font-size: clamp(1.125rem, 2vw, 1.25rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.75rem;
}

.arena-grid p {
  color: var(--text-muted);
  line-height: 1.7;
}

.arena-footer {
  margin-top: 3rem;
  text-align: center;
}

.arena-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.arena-badges img {
  height: 0.875rem;
  width: auto;
  display: inline;
  margin-left: 0.25rem;
}

.hackathon-awards {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .hackathon-awards {
    flex-direction: row;
    justify-content: center;
    gap: 2rem;
  }
}

.award {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.award svg {
  width: 1rem;
  height: 1rem;
  color: rgba(0, 200, 5, 0.9);
  flex-shrink: 0;
}

.award-name {
  font-size: 0.875rem;
  font-weight: 700;
  color: #fff;
}

.award-place {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(0, 200, 5, 0.75);
}

/* Roadmap */
.roadmap-tabs {
  display: flex;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 0.5rem;
  overflow: hidden;
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .roadmap-tabs {
    display: none;
  }
}

.roadmap-tab {
  flex: 1;
  padding: 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.roadmap-tab.active {
  background: rgba(255, 255, 255, 0.05);
}

.roadmap-tab.active[data-tab="working"] {
  color: #4ade80;
}

.roadmap-tab.active[data-tab="notyet"] {
  color: var(--rh-green);
}

.roadmap-tab.active[data-tab="web"] {
  color: #86efac;
}

.roadmap-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 640px) {
  .roadmap-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
  }
}

.roadmap-col {
  display: none;
}

.roadmap-col.active {
  display: block;
}

@media (min-width: 640px) {
  .roadmap-col {
    display: block !important;
  }
}

.roadmap-col-title {
  display: none;
  align-items: baseline;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

@media (min-width: 640px) {
  .roadmap-col-title {
    display: flex;
  }
}

.roadmap-col-title .count {
  font-size: 11px;
  font-weight: 600;
  color: rgba(143, 163, 150, 0.5);
  letter-spacing: normal;
}

.roadmap-col-title.working {
  color: #4ade80;
}
.roadmap-col-title.notyet {
  color: var(--rh-green);
}
.roadmap-col-title.web {
  color: #86efac;
}

.working-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.working-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1rem;
  color: var(--text-muted);
}

.working-item svg {
  width: 1rem;
  height: 1rem;
  color: #4ade80;
  flex-shrink: 0;
}

.notyet-list,
.web-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.notyet-item,
.web-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.notyet-item svg,
.web-item svg {
  width: 1rem;
  height: 1rem;
  color: rgba(0, 200, 5, 0.4);
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.notyet-item .name,
.web-item .name {
  font-size: 1rem;
  color: #fff;
}

.notyet-item .badge {
  margin-left: 0.5rem;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--rh-green);
}

.notyet-item .badge.soon {
  color: rgba(143, 163, 150, 0.6);
}

.notyet-item .desc,
.web-item .desc {
  font-size: 0.875rem;
  color: rgba(143, 163, 150, 0.7);
  margin-top: 0.125rem;
}

/* Community */
.community-cards {
  display: grid;
  gap: 0.75rem;
  max-width: 42rem;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .community-cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
}

.community-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 0.5rem;
  transition: border-color 0.2s, background 0.2s;
}

@media (min-width: 640px) {
  .community-card {
    flex-direction: row;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
  }
}

.community-card:hover {
  border-color: rgba(0, 200, 5, 0.3);
  background: rgba(0, 200, 5, 0.04);
}

.community-card.is-disabled {
  opacity: 0.55;
  cursor: default;
  pointer-events: none;
}

.community-card svg {
  width: 1.25rem;
  height: 1.25rem;
  color: rgba(255, 255, 255, 0.4);
  transition: color 0.2s;
  flex-shrink: 0;
}

.community-card:hover svg {
  color: rgba(0, 200, 5, 0.85);
}

.community-card .label {
  font-size: 0.875rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}

.community-card .sub {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.community-card .text {
  text-align: center;
}

@media (min-width: 640px) {
  .community-card .text {
    text-align: left;
  }
}

/* CA banner */
.ca-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 1.25rem;
  margin: 0 auto 2rem;
  max-width: 36rem;
  padding: 0.875rem 1.25rem;
  border: 1px solid rgba(0, 200, 5, 0.25);
  border-radius: 0.5rem;
  background: rgba(0, 200, 5, 0.05);
  animation: pulseGlow 3s ease-in-out infinite;
}

.ca-banner .ca-label {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.ca-banner .ca-value {
  font-size: 0.9375rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--rh-green);
}

.ca-banner .ca-copy {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.25rem;
  padding: 0.35rem 0.65rem;
  cursor: not-allowed;
}

/* ========== FOOTER ========== */
.site-footer {
  background: var(--void-abyss);
  padding: 3rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  font-size: 0.875rem;
}

@media (min-width: 640px) {
  .site-footer {
    padding: 4rem 0 2rem;
  }
}

@media (min-width: 768px) {
  .site-footer {
    padding: 5rem 0 2rem;
  }
}

.footer-inner {
  max-width: var(--max-w-7xl);
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .footer-inner {
    padding: 0 1.5rem;
  }
}

.footer-top {
  display: grid;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .footer-top {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 2rem;
  }
}

.footer-brand {
  font-family: var(--font-header);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--rh-green);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.footer-tagline {
  font-size: 0.875rem;
  color: var(--text-muted);
  max-width: 20rem;
  line-height: 1.6;
}

.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 1rem;
}

.footer-col a {
  display: block;
  font-size: 0.875rem;
  color: var(--text-muted);
  padding: 0.25rem 0;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: #fff;
}

.footer-col a.is-disabled {
  opacity: 0.45;
  pointer-events: none;
  cursor: default;
}

.footer-socials {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}

.footer-socials a,
.footer-socials .social-btn {
  padding: 0.5rem;
  color: rgba(255, 255, 255, 0.3);
  transition: color 0.2s;
  display: inline-flex;
  background: none;
  border: none;
  cursor: pointer;
}

.footer-socials a:hover,
.footer-socials .social-btn:hover:not(.is-disabled) {
  color: rgba(0, 200, 5, 0.85);
}

.footer-socials .social-btn.is-disabled {
  opacity: 0.4;
  cursor: default;
}

.footer-socials svg {
  width: 1.25rem;
  height: 1.25rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
  text-align: center;
  font-size: 0.75rem;
  color: rgba(143, 163, 150, 0.5);
}

@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

/* ========== INNER PAGES ========== */
.page-hero {
  padding: calc(var(--navbar-height) + 4rem) 1.5rem 3rem;
  text-align: center;
  max-width: 48rem;
  margin: 0 auto;
}

.page-hero h1 {
  font-family: var(--font-header);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
}

.page-hero p {
  color: var(--text-muted);
  font-size: 1.125rem;
  line-height: 1.7;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
}

.pill {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.5rem 1rem;
  border: 1px solid rgba(0, 200, 5, 0.25);
  border-radius: 9999px;
  color: var(--text-muted);
}

.tech-cards {
  display: grid;
  gap: 1.5rem;
  max-width: var(--max-w-5xl);
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
}

@media (min-width: 768px) {
  .tech-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

.tech-card {
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 0.75rem;
  background: var(--void-light);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.tech-card:hover {
  border-color: rgba(0, 200, 5, 0.3);
  box-shadow: 0 0 32px rgba(0, 200, 5, 0.06);
}

.tech-card h3 {
  font-family: var(--font-header);
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.75rem;
}

.tech-card p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.7;
}

.tech-card p + p {
  margin-top: 0.75rem;
}

.platform-grid {
  display: grid;
  gap: 2rem;
  max-width: var(--max-w-5xl);
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
}

@media (min-width: 768px) {
  .platform-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.platform-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.platform-item img {
  height: 1.75rem;
  width: auto;
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.platform-item h4 {
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.25rem;
}

.platform-item p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.hackathon-grid {
  display: grid;
  gap: 1rem;
  max-width: var(--max-w-5xl);
  margin: 0 auto;
  padding: 0 1.5rem 5rem;
}

@media (min-width: 768px) {
  .hackathon-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.hackathon-card {
  padding: 1.5rem;
  border: 1px solid rgba(0, 200, 5, 0.18);
  border-radius: 0.75rem;
  background: rgba(0, 200, 5, 0.03);
}

.hackathon-card h4 {
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.25rem;
}

.hackathon-card .place {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--rh-green);
  margin-bottom: 0.5rem;
}

.hackathon-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Join / early access hero */
.playtest-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.playtest-hero .hero-bg img {
  object-position: center top;
}

.playtest-panel {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 28rem;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

.playtest-panel h1 {
  font-family: var(--font-header);
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  font-weight: 700;
  color: #fff;
  text-align: center;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.playtest-panel .desc {
  text-align: center;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9375rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.playtest-badge {
  display: block;
  text-align: center;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--rh-green);
  margin-bottom: 1.5rem;
}

.auth-tabs {
  display: flex;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.auth-tab {
  flex: 1;
  padding: 0.75rem;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  cursor: pointer;
  text-align: center;
  transition: background 0.2s, color 0.2s;
}

.auth-tab.active {
  background: rgba(0, 200, 5, 0.12);
  color: var(--rh-green);
}

.auth-form {
  display: none;
  flex-direction: column;
  gap: 1rem;
}

.auth-form.active {
  display: flex;
}

.form-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 0.375rem;
}

.form-group input {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.375rem;
  color: #fff;
  font-size: 0.9375rem;
  font-family: var(--font-body);
  outline: none;
  transition: border-color 0.2s;
}

.form-group input:focus {
  border-color: rgba(0, 200, 5, 0.45);
}

.form-group input::placeholder {
  color: rgba(143, 163, 150, 0.5);
}

.form-check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  cursor: pointer;
}

.form-check input {
  width: auto;
  accent-color: var(--rh-green);
}

.form-note {
  font-size: 0.75rem;
  color: rgba(143, 163, 150, 0.6);
  text-align: center;
}

.form-note a {
  color: rgba(0, 200, 5, 0.8);
  text-decoration: underline;
}

.faq-list {
  max-width: 42rem;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  text-align: left;
  gap: 1rem;
}

.faq-q:hover {
  color: var(--rh-green);
}

.faq-q svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform 0.2s;
}

.faq-item.open .faq-q svg {
  transform: rotate(180deg);
}

.faq-a {
  display: none;
  padding: 0 0 1.25rem;
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.7;
}

.faq-item.open .faq-a {
  display: block;
}

.schedule-card {
  max-width: 36rem;
  margin: 0 auto;
  padding: 2rem;
  border: 1px solid rgba(0, 200, 5, 0.25);
  border-radius: 0.75rem;
  background: rgba(0, 200, 5, 0.04);
  text-align: center;
}

.schedule-card h3 {
  font-family: var(--font-header);
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

.schedule-card .badge {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--rh-green);
  border: 1px solid rgba(0, 200, 5, 0.35);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  margin-bottom: 1rem;
}

.schedule-card p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* Token page */
.name-hero {
  padding: calc(var(--navbar-height) + 3rem) 1.5rem 2rem;
  text-align: center;
  max-width: 40rem;
  margin: 0 auto;
}

.name-hero h1 {
  font-family: var(--font-header);
  font-size: clamp(1.75rem, 5vw, 2.75rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
  line-height: 1.15;
}

.name-hero p {
  color: var(--text-muted);
  font-size: 1.0625rem;
  line-height: 1.7;
}

.claimed-count {
  margin-top: 1.5rem;
  font-size: 0.875rem;
  color: var(--rh-green);
  font-weight: 600;
}

.name-form-card {
  max-width: 28rem;
  margin: 0 auto 4rem;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.75rem;
  background: var(--void-light);
}

.token-symbol-big {
  font-family: var(--font-header);
  font-size: 2rem;
  font-weight: 700;
  color: var(--rh-green);
  text-align: center;
  letter-spacing: 0.1em;
  margin-bottom: 1.25rem;
}

.how-steps {
  display: grid;
  gap: 1.5rem;
  max-width: var(--max-w-5xl);
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
}

@media (min-width: 768px) {
  .how-steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.how-step {
  text-align: center;
  padding: 1.5rem;
}

.how-step .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 1px solid rgba(0, 200, 5, 0.35);
  color: var(--rh-green);
  font-weight: 700;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.how-step h3 {
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}

.how-step p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.leading-relaxed { line-height: 1.75; }
.w-full { width: 100%; }

.cta-band {
  text-align: center;
  padding: 4rem 1.5rem;
}

.cta-band h2 {
  font-family: var(--font-header);
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: #fff;
  margin-bottom: 1.5rem;
}

/* ========== Lore / origin story ========== */
.lore-section {
  position: relative;
  overflow: hidden;
}

.lore-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(0, 200, 5, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 100%, rgba(0, 255, 90, 0.05) 0%, transparent 45%);
  pointer-events: none;
}

.lore-grid {
  display: grid;
  gap: 2.5rem;
  position: relative;
  z-index: 1;
}

@media (min-width: 900px) {
  .lore-grid {
    grid-template-columns: 1fr 1.15fr;
    gap: 3.5rem;
    align-items: start;
  }
}

.lore-eyebrow {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--rh-green);
  margin-bottom: 1rem;
}

.lore-lead {
  font-size: clamp(1.05rem, 2.2vw, 1.2rem);
  color: rgba(232, 245, 233, 0.9);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.lore-body {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.8;
}

.lore-body p + p {
  margin-top: 1rem;
}

.lore-breakdown {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.lore-card {
  padding: 1.25rem 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 0.65rem;
  background: rgba(18, 26, 20, 0.65);
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}

.lore-card:hover {
  border-color: rgba(0, 200, 5, 0.3);
  box-shadow: 0 0 28px rgba(0, 200, 5, 0.08);
  transform: translateY(-2px);
}

.lore-card .part {
  font-family: var(--font-header);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--rh-green);
  letter-spacing: 0.06em;
  margin-bottom: 0.35rem;
}

.lore-card .meaning {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.lore-quote {
  margin-top: 2rem;
  padding: 1.25rem 1.5rem;
  border-left: 3px solid var(--rh-green);
  background: rgba(0, 200, 5, 0.04);
  border-radius: 0 0.5rem 0.5rem 0;
  font-family: var(--font-header);
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.5;
  letter-spacing: 0.02em;
}
