.rbh-page {
  min-height: 100vh;
}

.rbh-hero {
  position: relative;
  min-height: 100vh;
  padding: 34px 18px;
  isolation: isolate;
}

.rbh-hero::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background-image:
    linear-gradient(90deg, rgba(2, 4, 12, 0.92), rgba(16, 26, 42, 0.68) 44%, rgba(5, 7, 13, 0.84)),
    url("../assets/images/bg-robbie-buybot-nft-tracker-wide.png?v=20260519-bg2"),
    url("../assets/images/bg-robbi-wallet-inspector.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.rbh-hero::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(180deg, rgba(5, 7, 13, 0.02), rgba(5, 7, 13, 0.76)),
    radial-gradient(circle at 50% 0%, rgba(215, 164, 65, 0.2), transparent 34%);
  pointer-events: none;
}

.rbh-shell {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.rbh-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin: 0 0 24px;
}

.rbh-head h1 {
  margin: 0;
  color: #ffffff;
  font-family: "Dela Gothic One", Impact, sans-serif;
  font-size: clamp(42px, 7vw, 86px);
  line-height: 0.98;
  letter-spacing: 0;
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.48);
}

.rbh-live {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  color: rgba(244, 247, 255, 0.88);
  font-size: 13px;
  font-weight: 800;
  background: rgba(4, 6, 14, 0.72);
  border: 1px solid rgba(132, 255, 193, 0.28);
  border-radius: 999px;
}

.rbh-live span {
  width: 10px;
  height: 10px;
  background: #19c875;
  border-radius: 999px;
  box-shadow: 0 0 18px rgba(25, 200, 117, 0.7);
}

.rbh-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.rbh-card {
  display: grid;
  min-height: 390px;
  padding: 18px;
  color: #ffffff;
  text-decoration: none;
  background: rgba(6, 8, 18, 0.78);
  border: 1px solid rgba(167, 189, 255, 0.2);
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(18px);
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.rbh-card:hover,
.rbh-card.is-active {
  transform: translateY(-3px);
  background: rgba(8, 13, 28, 0.86);
  border-color: rgba(47, 140, 255, 0.58);
}

.rbh-card-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 22px;
}

.rbh-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 10px;
  color: rgba(244, 247, 255, 0.82);
  font-size: 12px;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(167, 189, 255, 0.16);
  border-radius: 999px;
}

.rbh-chip .rbs-info {
  width: 16px;
  height: 16px;
  font-size: 10px;
}

.rbh-card-head strong {
  color: #d7a441;
  font-size: 14px;
}

.rbh-card-head strong.is-live-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
}

.rbh-card-head strong.is-live-dot span {
  display: block;
  width: 13px;
  height: 13px;
  background: #19c875;
  border-radius: 999px;
  box-shadow: 0 0 22px rgba(25, 200, 117, 0.84);
  animation: rbh-pulse-green 1.05s ease-in-out infinite;
}

.rbh-card-head strong.is-alert-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
}

.rbh-card-head strong.is-alert-dot span {
  display: block;
  width: 13px;
  height: 13px;
  background: #ff4f6c;
  border-radius: 999px;
  box-shadow: 0 0 22px rgba(255, 79, 108, 0.84);
  animation: rbh-pulse-red-dot 1.05s ease-in-out infinite;
}

.rbh-card h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.04;
  letter-spacing: 0;
}

.rbh-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 22px 0;
}

.rbh-metrics span {
  min-width: 0;
  min-height: 66px;
  padding: 10px;
  color: rgba(244, 247, 255, 0.72);
  font-size: 13px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(167, 189, 255, 0.15);
  border-radius: 8px;
}

.rbh-metrics strong {
  display: block;
  max-width: 100%;
  overflow: hidden;
  color: #ffffff;
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rbh-metrics em {
  display: block;
  margin-top: 3px;
  overflow: hidden;
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rbh-buybot-metrics {
  grid-template-columns: 1fr;
  margin: 18px 0 14px;
}

.rbh-buybot-metrics span {
  min-height: 86px;
  padding: 14px 16px;
}

.rbh-buybot-metrics strong {
  font-size: clamp(26px, 4.3vw, 42px);
  line-height: 0.98;
}

.rbh-chart-shell {
  align-self: end;
  position: relative;
  min-height: 164px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(167, 189, 255, 0.14);
  border-radius: 8px;
}

.rbh-bars {
  display: grid;
  grid-template-columns: repeat(16, minmax(0, 1fr));
  align-items: end;
  gap: 5px;
  min-height: 164px;
  padding: 8px 8px 34px;
}

.rbh-bars span {
  display: block;
  min-height: 18px;
  background: linear-gradient(180deg, #d7a441, #2f8cff);
  border-radius: 6px 6px 2px 2px;
}

.rbh-bars[data-mode="candles"] {
  display: block;
  min-height: 164px;
  padding: 8px 8px 34px;
}

.rbh-bars[data-mode="empty"] {
  display: block;
  min-height: 164px;
  background:
    linear-gradient(90deg, rgba(167, 189, 255, 0.06) 1px, transparent 1px) 0 0 / 42px 42px,
    linear-gradient(180deg, rgba(167, 189, 255, 0.05) 1px, transparent 1px) 0 0 / 42px 42px;
}

.rbh-candle-chart {
  display: block;
  width: 100%;
  height: 122px;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.22));
}

.rbh-chart-footer {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  min-height: 28px;
  padding: 6px 10px;
  overflow: hidden;
  color: rgba(244, 247, 255, 0.76);
  font-size: 12px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
  background: rgba(4, 6, 14, 0.72);
  border-top: 1px solid rgba(167, 189, 255, 0.12);
  backdrop-filter: blur(10px);
}

.rbh-orbit {
  align-self: end;
  position: relative;
  min-height: 132px;
  border: 1px solid rgba(167, 189, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  overflow: hidden;
}

.rbh-orbit > span {
  position: absolute;
  width: 10px;
  height: 10px;
  background: #19c875;
  border-radius: 999px;
  box-shadow: 0 0 18px rgba(25, 200, 117, 0.62);
}

.rbh-orbit.is-empty > span {
  left: 50%;
  top: 50%;
  width: 14px;
  height: 14px;
  background: #ff4f6c;
  box-shadow: 0 0 22px rgba(255, 79, 108, 0.78);
  transform: translate(-50%, -50%);
  animation: rbh-pulse-red 1.05s ease-in-out infinite;
}

.rbh-orbit.has-info {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.rbh-core-detail {
  display: grid;
  gap: 6px;
  text-align: center;
}

.rbh-core-detail strong {
  color: #ffffff;
  font-family: "Dela Gothic One", Impact, sans-serif;
  font-size: clamp(24px, 3.2vw, 38px);
  line-height: 0.95;
}

.rbh-core-detail span {
  color: rgba(244, 247, 255, 0.72);
  font-size: 14px;
  font-weight: 800;
}

.rbh-nft-carousel {
  align-self: end;
  position: relative;
  min-height: 132px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(167, 189, 255, 0.14);
  border-radius: 8px;
}

.rbh-nft-carousel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.78;
  transform: scale(1.04);
  transition: opacity 260ms ease, transform 260ms ease;
}

.rbh-nft-carousel::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(2, 4, 12, 0.62), rgba(2, 4, 12, 0.18));
}

.rbh-nft-overlay {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 1;
  display: inline-grid;
  gap: 1px;
  padding: 9px 10px;
  background: rgba(4, 6, 14, 0.76);
  border: 1px solid rgba(167, 189, 255, 0.2);
  border-radius: 8px;
  backdrop-filter: blur(12px);
}

.rbh-nft-overlay strong {
  color: #ffffff;
  font-size: 24px;
  line-height: 1;
}

.rbh-nft-overlay span {
  color: rgba(244, 247, 255, 0.74);
  font-size: 12px;
  font-weight: 800;
}

.rbh-docs-band {
  margin-top: 18px;
}

.rbh-docs-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 72px;
  padding: 16px 18px;
  color: #ffffff;
  text-decoration: none;
  background: rgba(4, 6, 14, 0.66);
  border: 1px solid rgba(215, 164, 65, 0.34);
  border-radius: 8px;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(16px);
  transition: border-color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.rbh-docs-link:hover,
.rbh-docs-link:focus-visible {
  background: rgba(215, 164, 65, 0.12);
  border-color: rgba(215, 164, 65, 0.72);
  outline: none;
  transform: translateY(-1px);
}

.rbh-docs-link span {
  color: #d7a441;
  font-family: "Dela Gothic One", Impact, sans-serif;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1;
}

.rbh-docs-link strong {
  color: rgba(244, 247, 255, 0.78);
  font-size: 14px;
  text-align: right;
}

@keyframes rbh-pulse-green {
  0%,
  100% {
    opacity: 0.5;
    transform: scale(0.82);
  }

  50% {
    opacity: 1;
    transform: scale(1.16);
  }
}

@keyframes rbh-pulse-red {
  0%,
  100% {
    opacity: 0.42;
    transform: translate(-50%, -50%) scale(0.82);
  }

  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.14);
  }
}

@keyframes rbh-pulse-red-dot {
  0%,
  100% {
    opacity: 0.42;
    transform: scale(0.82);
  }

  50% {
    opacity: 1;
    transform: scale(1.16);
  }
}

.rbh-footer {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 16px;
  padding: 14px 0;
  color: rgba(244, 247, 255, 0.72);
  font-size: 13px;
}

@media (max-width: 920px) {
  .rbh-board {
    grid-template-columns: 1fr;
  }

  .rbh-card {
    min-height: 300px;
  }
}

@media (max-width: 1280px) {
  .rbh-hero {
    padding-top: 82px;
  }
}

@media (max-width: 680px) {
  .rbh-hero {
    padding: 70px 12px 24px;
  }

  .rbh-head,
  .rbh-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .rbh-docs-link {
    align-items: flex-start;
    flex-direction: column;
  }

  .rbh-docs-link strong {
    text-align: left;
  }
}
