@import url("https://fonts.googleapis.com/css2?family=Caveat:wght@500;600;700&family=IBM+Plex+Mono:wght@400;500&family=IBM+Plex+Sans:wght@400;500;600&display=swap");

:root {
  --neon: #079f16;
  --neon-bright: #12c922;
  --neon-dim: #057210;
  --glow: 0 0 8px rgba(7, 159, 22, 0.55), 0 0 22px rgba(7, 159, 22, 0.28);
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: #000;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

.rg-app {
  position: relative;
  min-height: 100dvh;
  overflow: visible;
  color: var(--neon);
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  background: #000;
  --sy: 0px;
}

.rg-app::before {
  content: "";
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  background: radial-gradient(ellipse at 50% 18%, rgba(7, 159, 22, 0.1), transparent 48%);
}

.rg-bubbles {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.rg-bubble {
  position: absolute;
  bottom: -20px;
  border-radius: 50%;
  border: 1px solid rgba(7, 159, 22, 0.28);
  background: rgba(7, 159, 22, 0.05);
  animation: rg-rise var(--t, 14s) linear infinite;
  animation-delay: var(--d, 0s);
  left: var(--x, 10%);
  width: var(--s, 8px);
  height: var(--s, 8px);
  opacity: 0.45;
}

@keyframes rg-rise {
  0% {
    transform: translateY(0);
    opacity: 0;
  }
  8% {
    opacity: 0.45;
  }
  100% {
    transform: translateY(-110dvh);
    opacity: 0;
  }
}

.rg-nav,
.rg-page,
.rg-foot {
  position: relative;
  z-index: 2;
}

.rg-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  padding: 14px 18px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.92), rgba(0, 0, 0, 0.4));
  border-bottom: 1px solid rgba(7, 159, 22, 0.22);
}

.rg-nav button {
  border: 1px solid transparent;
  background: transparent;
  color: var(--neon-dim);
  font-family: "Caveat", cursive;
  font-size: 20px;
  padding: 6px 14px;
  border-radius: 999px;
  cursor: pointer;
  text-shadow: var(--glow);
}

.rg-nav button:hover {
  color: var(--neon-bright);
}

.rg-nav button.is-on {
  color: #000;
  background: var(--neon);
  border-color: var(--neon-bright);
  box-shadow: var(--glow);
  text-shadow: none;
}

.rg-page {
  display: none;
  max-width: 820px;
  margin: 0 auto;
  padding: 40px 20px 0;
  min-height: 160vh;
}

.rg-page.is-on {
  display: block;
}

.rg-hero {
  text-align: center;
  padding-top: 24px;
}

.rg-mascot-wrap {
  position: relative;
  display: inline-block;
  margin: 8px auto 0;
}

.rg-mascot {
  position: relative;
  z-index: 1;
  width: 280px;
  height: auto;
  display: block;
  border-radius: 28px;
  filter: drop-shadow(0 0 18px rgba(7, 159, 22, 0.55))
    drop-shadow(0 0 42px rgba(7, 159, 22, 0.22));
}

.rg-name-row {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 980px;
  margin: 28px auto 0;
  padding: 0 8px 8px;
}

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

.rg-names h1 {
  font-family: "Caveat", cursive;
  font-size: 72px;
  line-height: 1;
  margin: 0;
  color: var(--neon-bright);
  text-shadow: var(--glow);
}

.rg-aka {
  margin: 10px 0 0;
  color: var(--neon);
  font-size: 16px;
  letter-spacing: 0.04em;
  text-shadow: var(--glow);
}

.rg-body {
  font-size: 18px;
  line-height: 1.85;
  color: var(--neon);
  max-width: 620px;
  margin: 56px auto 0;
  text-align: left;
  text-shadow: 0 0 10px rgba(7, 159, 22, 0.35);
  position: relative;
  z-index: 2;
}

.rg-body p {
  margin: 0 0 22px;
}

.rg-wallet {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #000;
  border: 1px solid var(--neon);
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  cursor: pointer;
  color: var(--neon-bright);
  box-shadow: var(--glow);
}

.rg-glass {
  background: #050805;
  border: 1px solid rgba(7, 159, 22, 0.28);
  border-radius: 18px;
  padding: 22px;
  margin-bottom: 18px;
  box-shadow: 0 0 24px rgba(7, 159, 22, 0.08);
}

.rg-glass h2 {
  font-family: "Caveat", cursive;
  font-size: 34px;
  margin: 0 0 8px;
  color: var(--neon-bright);
  text-shadow: var(--glow);
}

.rg-sand {
  position: relative;
  border-radius: 22px;
  padding: 28px 24px;
  margin-bottom: 22px;
  color: var(--neon);
  overflow: hidden;
  background: #050805;
  border: 1px solid rgba(7, 159, 22, 0.28);
  box-shadow: 0 0 24px rgba(7, 159, 22, 0.1);
  opacity: 0;
  transform: translateY(28px);
  animation: rg-in 0.7s ease forwards;
}

.rg-sand:nth-child(1) { animation-delay: 0.05s; }
.rg-sand:nth-child(2) { animation-delay: 0.12s; }
.rg-sand:nth-child(3) { animation-delay: 0.2s; }
.rg-sand:nth-child(4) { animation-delay: 0.28s; }
.rg-sand:nth-child(5) { animation-delay: 0.36s; }
.rg-sand:nth-child(6) { animation-delay: 0.44s; }
.rg-sand:nth-child(7) { animation-delay: 0.52s; }
.rg-sand:nth-child(8) { animation-delay: 0.6s; }
.rg-sand:nth-child(9) { animation-delay: 0.68s; }

@keyframes rg-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.rg-sand h2 {
  font-family: "Caveat", cursive;
  font-size: 40px;
  margin: 0 0 6px;
  color: var(--neon-bright);
  text-shadow: var(--glow);
}

.rg-carve {
  font-family: "Caveat", cursive;
  font-size: 28px;
  line-height: 1.4;
  color: var(--neon);
  text-shadow: var(--glow);
  margin: 0;
}

.rg-sand .when {
  display: block;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--neon-dim);
  margin-bottom: 6px;
}

.rg-empty {
  text-align: center;
  color: var(--neon-dim);
  padding: 22px 10px;
  font-family: "Caveat", cursive;
  font-size: 22px;
  text-shadow: var(--glow);
}

.rg-trade {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(7, 159, 22, 0.14);
  text-decoration: none;
  color: inherit;
}

.rg-trade:last-child {
  border-bottom: 0;
}

.rg-trade img,
.rg-trade .dot {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(7, 159, 22, 0.12);
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 0 10px rgba(7, 159, 22, 0.25);
}

.rg-trade .sym {
  font-weight: 600;
  font-size: 15px;
  color: var(--neon-bright);
  text-shadow: var(--glow);
}

.rg-trade .sym em {
  font-style: normal;
  font-weight: 400;
  color: var(--neon-dim);
  margin-left: 6px;
  font-size: 13px;
}

.rg-trade .sub {
  font-size: 12px;
  color: var(--neon-dim);
  text-transform: lowercase;
}

.rg-trade .usd {
  margin-left: auto;
  text-align: right;
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.rg-trade .usd b {
  font-weight: 600;
  color: var(--neon-bright);
}

.rg-trade .usd .up {
  color: var(--neon-bright);
}

.rg-trade .usd .dn {
  color: #ff6b6b;
}

.rg-sol {
  text-align: center;
  padding: 28px 12px 18px;
}

.rg-sol span {
  display: block;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--neon-dim);
}

.rg-sol b {
  display: block;
  font-size: 42px;
  color: var(--neon-bright);
  font-weight: 600;
  margin-top: 6px;
  text-shadow: var(--glow);
}

.rg-sol i {
  display: block;
  font-style: normal;
  margin-top: 4px;
  color: var(--neon);
  font-family: "IBM Plex Mono", monospace;
  font-size: 14px;
}

.rg-warn {
  color: #ff8b7a;
}

.rg-trench {
  margin-top: 80px;
  min-height: 28vh;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 28px;
  font-family: "Caveat", cursive;
  font-size: 22px;
  color: var(--neon-dim);
  text-shadow: var(--glow);
}

.rg-foot {
  text-align: center;
  font-size: 12px;
  color: var(--neon-dim);
  padding: 0 20px 40px;
}

@media (max-width: 640px) {
  .rg-names h1 {
    font-size: 58px;
  }
  .rg-mascot {
    width: 210px;
  }
}
