:root {
  --rh-green: #00c805;
  --rh-green-bright: #5cff61;
  --rh-green-deep: #009b04;
  --ink: #070a08;
  --ink-2: #0d1410;
  --fog: rgba(232, 245, 234, 0.72);
  --fog-strong: #e8f5ea;
  --line: rgba(0, 200, 5, 0.22);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 4.5rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--fog-strong);
  font-family: "Outfit", system-ui, sans-serif;
  background: var(--ink);
  overflow-x: hidden;
}

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

.logo-frame {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(145deg, #7dff82 0%, #00c805 45%, #007a03 100%);
  box-shadow:
    0 0 0 1px rgba(0, 200, 5, 0.35),
    0 0 22px rgba(0, 200, 5, 0.45);
}

.logo-frame img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  background: #050806;
}

.logo-frame-sm {
  width: 34px;
  height: 34px;
  padding: 2px;
}

.logo-frame-sm img {
  width: 100%;
  height: 100%;
}

.logo-frame-hero {
  width: clamp(7.5rem, 20vw, 9.5rem);
  height: clamp(7.5rem, 20vw, 9.5rem);
  padding: 4px;
  box-shadow:
    0 0 0 1px rgba(0, 200, 5, 0.4),
    0 0 48px rgba(0, 200, 5, 0.4),
    0 14px 40px rgba(0, 0, 0, 0.5);
  animation: float-y 4.5s ease-in-out infinite;
}

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

#bg-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.bg-veil {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(0, 200, 5, 0.18), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 80%, rgba(0, 155, 4, 0.12), transparent 50%),
    linear-gradient(180deg, rgba(7, 10, 8, 0.35) 0%, rgba(7, 10, 8, 0.72) 45%, rgba(7, 10, 8, 0.92) 100%);
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
  backdrop-filter: blur(14px);
  background: rgba(7, 10, 8, 0.45);
  border-bottom: 1px solid transparent;
  transition: border-color 0.35s var(--ease), background 0.35s var(--ease);
}

.site-header.scrolled {
  border-bottom-color: var(--line);
  background: rgba(7, 10, 8, 0.78);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: "Syne", sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
  z-index: 2;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--fog);
  transition: color 0.25s ease;
}

.nav a:hover {
  color: var(--rh-green-bright);
}

.nav-cta {
  padding: 0.55rem 1.05rem;
  border: 1px solid rgba(0, 200, 5, 0.45);
  border-radius: 0.55rem;
  color: var(--rh-green-bright) !important;
  background: rgba(0, 200, 5, 0.08);
}

.menu-btn {
  display: none;
  position: relative;
  z-index: 2;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.menu-btn span {
  display: block;
  width: 1.35rem;
  height: 2px;
  margin: 0.35rem auto;
  background: var(--fog-strong);
  transition: transform 0.3s var(--ease), opacity 0.3s;
}

.menu-btn[aria-expanded="true"] span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.menu-btn[aria-expanded="true"] span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: calc(var(--header-h) + 2rem) clamp(1.25rem, 4vw, 3rem) 5.5rem;
  text-align: center;
}

.hero-inner {
  width: min(100%, 72rem);
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
  animation: rise 1s var(--ease) both;
}

.hero-copy {
  width: 100%;
}

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.hero-chain {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1.35rem;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rh-green-bright);
  animation: rise 1s var(--ease) both;
}

.hero-chain img {
  width: 20px;
  height: 20px;
  filter: drop-shadow(0 0 10px rgba(0, 200, 5, 0.55));
}

.hero-brand {
  margin: 0 auto;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.06em;
  font-family: "Syne", sans-serif;
  font-weight: 800;
  font-size: clamp(2.8rem, 9vw, 6.4rem);
  line-height: 0.9;
  letter-spacing: -0.045em;
  color: var(--rh-green-bright);
  animation: brand-in 1.15s var(--ease) 0.1s both;
}

.hero-brand span {
  display: block;
  background: linear-gradient(180deg, #ffffff 10%, var(--rh-green-bright) 55%, var(--rh-green-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 28px rgba(0, 200, 5, 0.28));
}

.hero-lead {
  max-width: 34rem;
  margin: 1.5rem auto 0;
  font-size: clamp(1.05rem, 2.4vw, 1.25rem);
  line-height: 1.55;
  color: var(--fog);
  animation: rise 1s var(--ease) 0.25s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 2rem;
  animation: rise 1s var(--ease) 0.4s both;
}

@media (min-width: 900px) {
  .hero {
    text-align: left;
  }

  .hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: clamp(2rem, 4vw, 3.5rem);
    min-height: calc(100svh - var(--header-h) - 6rem);
  }

  .hero-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
  }

  .hero-visual {
    justify-content: center;
    align-items: center;
    min-height: 100%;
  }

  .logo-frame-hero {
    width: clamp(12rem, 24vw, 18rem);
    height: clamp(12rem, 24vw, 18rem);
    margin: 0;
  }

  .hero-brand {
    margin: 0;
    align-items: flex-start;
    font-size: clamp(3.2rem, 6.5vw, 5.8rem);
  }

  .hero-lead {
    margin-left: 0;
    margin-right: 0;
  }

  .hero-actions {
    justify-content: flex-start;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.75rem 1.45rem;
  border-radius: 0.65rem;
  font-weight: 700;
  font-size: 0.98rem;
  transition: transform 0.25s var(--ease), background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #041006;
  background: linear-gradient(135deg, var(--rh-green-bright), var(--rh-green));
  box-shadow: 0 10px 40px rgba(0, 200, 5, 0.35);
}

.btn-primary:hover {
  box-shadow: 0 14px 48px rgba(0, 200, 5, 0.5);
}

.btn-ghost {
  color: var(--fog-strong);
  border: 1px solid rgba(232, 245, 234, 0.28);
  background: rgba(255, 255, 255, 0.03);
}

.btn-ghost:hover {
  border-color: rgba(0, 200, 5, 0.55);
  color: var(--rh-green-bright);
}

.hero-scroll {
  position: absolute;
  bottom: 0.65rem;
  left: 0;
  right: 0;
  width: max-content;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  padding-left: 0.18em; /* optical balance for letter-spacing */
  text-transform: uppercase;
  text-align: center;
  color: rgba(232, 245, 234, 0.45);
  pointer-events: none;
  animation: rise 1s var(--ease) 0.7s both;
}

.scroll-line {
  width: 1px;
  height: 2.5rem;
  margin-inline: auto;
  flex-shrink: 0;
  background: linear-gradient(180deg, var(--rh-green), transparent);
  transform-origin: top center;
  animation: scroll-pulse 1.8s ease-in-out infinite;
}

.section {
  padding: clamp(4.5rem, 10vw, 7.5rem) clamp(1.25rem, 4vw, 3rem);
}

.section-head {
  max-width: 40rem;
  margin: 0 auto 3rem;
  text-align: center;
}

.section-head h2,
.tokenomics-copy h2,
.chain-band h2,
.join-inner h2 {
  margin: 0;
  font-family: "Syne", sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 3.1rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.section-head p,
.tokenomics-copy p,
.chain-band p,
.join-inner > p {
  margin: 0.9rem 0 0;
  color: var(--fog);
  font-size: 1.08rem;
  line-height: 1.6;
}

.bulletin {
  width: min(100%, 68rem);
  margin: 0 auto;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(0, 200, 5, 0.06), transparent 40%),
    rgba(7, 12, 9, 0.72);
  backdrop-filter: blur(10px);
}

.bulletin-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  padding: 0.85rem 1.15rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.82rem;
}

.bulletin-live {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--rh-green-bright);
}

.live-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--rh-green);
  box-shadow: 0 0 10px rgba(0, 200, 5, 0.8);
  animation: live-pulse 1.6s ease-in-out infinite;
}

.bulletin-note {
  color: rgba(232, 245, 234, 0.45);
}

.bulletin-table {
  display: grid;
}

.bulletin-row {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) 4.5rem minmax(0, 1fr) minmax(0, 1fr);
  gap: 0.75rem 1rem;
  align-items: center;
  padding: 1.05rem 1.15rem;
  border-bottom: 1px solid rgba(0, 200, 5, 0.12);
}

.bulletin-row:last-child {
  border-bottom: 0;
}

.bulletin-head {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(232, 245, 234, 0.45);
  background: rgba(0, 0, 0, 0.22);
}

.bulletin-channel strong {
  display: block;
  font-family: "Syne", sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.bulletin-channel span {
  display: block;
  margin-top: 0.2rem;
  color: var(--fog);
  font-size: 0.88rem;
}

.bulletin-tax {
  font-family: "Syne", sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--rh-green);
}

.bulletin-stat {
  min-width: 0;
}

.ticker {
  display: inline-flex;
  align-items: baseline;
  gap: 0.08em;
  font-family: "Syne", "Outfit", sans-serif;
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--fog-strong);
  font-variant-numeric: tabular-nums;
}

.ticker .reel {
  display: inline-block;
  position: relative;
  width: 0.62em;
  height: 1.15em;
  overflow: hidden;
  text-align: center;
  border-radius: 0.15em;
  background: rgba(0, 200, 5, 0.06);
  box-shadow: inset 0 0 0 1px rgba(0, 200, 5, 0.12);
}

.ticker .reel-strip {
  display: block;
  will-change: transform;
}

.ticker .reel-strip span {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 1.15em;
  color: var(--rh-green-bright);
}

.ticker .ticker-prefix,
.ticker .ticker-suffix,
.ticker .ticker-static {
  color: var(--fog-strong);
}

.ticker.is-spinning .reel-strip span {
  color: #9dff9f;
}

.bulletin-total {
  background: rgba(0, 200, 5, 0.05);
}

.bulletin-total .ticker {
  color: var(--rh-green-bright);
}

@keyframes live-pulse {
  0%,
  100% {
    opacity: 0.55;
    transform: scale(0.9);
  }
  50% {
    opacity: 1;
    transform: scale(1.15);
  }
}

@media (max-width: 820px) {
  .bulletin-row {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "channel tax"
      "usd usd"
      "eth eth";
    gap: 0.55rem 0.85rem;
    padding: 1rem 1rem;
  }

  .bulletin-head {
    display: none;
  }

  .bulletin-channel {
    grid-area: channel;
  }

  .bulletin-tax {
    grid-area: tax;
    text-align: right;
  }

  .bulletin-stat:nth-child(3) {
    grid-area: usd;
  }

  .bulletin-stat:nth-child(4) {
    grid-area: eth;
  }

  .bulletin-stat {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.55rem 0.65rem;
    border: 1px solid rgba(0, 200, 5, 0.14);
    background: rgba(0, 0, 0, 0.2);
  }

  .bulletin-stat::before {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(232, 245, 234, 0.45);
  }

  .bulletin-stat:nth-child(3)::before {
    content: "USD";
  }

  .bulletin-stat:nth-child(4)::before {
    content: "ETH";
  }
}

.tokenomics-panel {
  max-width: 64rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.tax-bars {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}

.tax-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.45rem;
  font-weight: 600;
}

.tax-meta strong {
  color: var(--rh-green-bright);
}

.tax-track {
  height: 0.55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.tax-track span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--rh-green-deep), var(--rh-green-bright));
  box-shadow: 0 0 18px rgba(0, 200, 5, 0.55);
  transition: width 1.2s var(--ease);
}

.tax-track.is-on span {
  width: var(--w);
}

.chain-band {
  max-width: 52rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 2rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.chain-logo {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  filter: drop-shadow(0 0 20px rgba(0, 200, 5, 0.45));
  animation: float-y 4s ease-in-out infinite;
}

.join {
  padding-bottom: clamp(5rem, 12vw, 8rem);
}

.join-inner {
  max-width: 40rem;
  margin: 0 auto;
  text-align: center;
}

.join-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

.ca-hint {
  margin: 0.85rem 0 0;
  min-height: 1.25rem;
  color: var(--rh-green-bright);
  font-weight: 600;
  font-size: 0.9rem;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem clamp(1.25rem, 4vw, 3rem) 2rem;
  border-top: 1px solid var(--line);
  color: rgba(232, 245, 234, 0.5);
  font-size: 0.88rem;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: "Syne", sans-serif;
  font-weight: 700;
  color: var(--fog-strong);
}

.footer-brand .logo-frame-sm {
  width: 30px;
  height: 30px;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes brand-in {
  from {
    opacity: 0;
    transform: scale(0.96) translateY(18px);
    filter: blur(8px);
  }
  to {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

@keyframes pulse-glow {
  0%,
  100% {
    box-shadow: 0 0 0 rgba(0, 200, 5, 0);
  }
  50% {
    box-shadow: 0 0 28px rgba(0, 200, 5, 0.25);
  }
}

@keyframes scroll-pulse {
  0%,
  100% {
    opacity: 0.35;
    transform: scaleY(0.75);
    transform-origin: top;
  }
  50% {
    opacity: 1;
    transform: scaleY(1);
  }
}

@keyframes float-y {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@media (max-width: 899px) {
  .hero-visual {
    order: -1;
  }

  .logo-frame-hero {
    margin: 0 auto;
    width: clamp(12rem, 52vw, 16.5rem);
    height: clamp(12rem, 52vw, 16.5rem);
  }

  .tokenomics-panel {
    grid-template-columns: 1fr;
  }

  .chain-band {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 760px) {
  .menu-btn {
    display: block;
  }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    z-index: 50;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 1.25rem 1.25rem;
    background: rgba(7, 10, 8, 0.96);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(16px);
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    width: 100%;
    padding: 0.9rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .nav-cta {
    margin-top: 0.75rem;
    text-align: center;
    border-radius: 0.55rem;
  }

  .brand {
    font-size: 0.8rem;
  }

  .hero-brand {
    font-size: clamp(2.6rem, 14vw, 3.8rem);
    letter-spacing: -0.04em;
  }

  .hero-lead {
    font-size: 1.02rem;
  }

  .site-footer {
    flex-direction: column;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
