.rb-wrap {
  display: flex;
  justify-content: center;
  width: 100%;
}

.rb-card {
  background: linear-gradient(165deg, rgba(12, 52, 39, 0.95), rgba(3, 20, 15, 0.95));
  border: 1px solid rgba(46, 243, 163, 0.32);
  border-radius: var(--radius-xl);
  padding: clamp(2rem, 4vw, 3.2rem);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-lg);
  position: relative;
  
}

.rb-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(46, 243, 163, 0.22), transparent 60%);
  opacity: 0.85;
  pointer-events: none;
}

.rb-card>* {
  position: relative;
  z-index: 1;
}

.rb-head {
  display: grid;
  grid-template-columns: minmax(200px, 220px) 1fr;
  gap: clamp(1.5rem, 4vw, 2.4rem);
  align-items: center;
  margin-bottom: clamp(1.8rem, 3vw, 2.4rem);
}

.rb-ava {
  width: 100%;
  height: auto;
  border-radius: 26px;
  box-shadow: 0 22px 40px rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(46, 243, 163, 0.45);
  background: rgba(0, 0, 0, 0.35);
  padding: 12px;
}

.rb-title {
  margin: 0;
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: clamp(2rem, 1.6rem + 1vw, 2.6rem);
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text-primary);
}

.rb-sub {
  margin: 0;
  color: var(--text-secondary);
  font-size: 1rem;
}

.rb-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  align-self: flex-start;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  background: rgba(33, 141, 103, 0.35);
  border: 1px solid rgba(46, 243, 163, 0.45);
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rb-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(1.2rem, 4vw, 2rem);
}

.rb-block {
  background: rgba(4, 25, 18, 0.9);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(46, 243, 163, 0.24);
  padding: clamp(1.4rem, 3vw, 1.8rem);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.rb-block h2 {
  margin: 0;
  font-size: 0.85rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
}

.rb-subheading {
  margin: 0;
  font-size: 0.9rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.rb-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.rb-links li {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 1rem;
  align-items: center;
}

.rb-links span {
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.rb-links a {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.85rem;
  border-radius: var(--radius-md);
  background: rgba(18, 70, 52, 0.45);
  border: 1px solid rgba(46, 243, 163, 0.24);
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 600;
  word-break: break-word;
}

.rb-links a:hover,
.rb-links a:focus-visible {
  background: rgba(46, 243, 163, 0.55);
  color: #032217;
  outline: none;
}

.wallet-label {
  margin: 0;
  color: var(--text-secondary);
  font-weight: 600;
}

.rb-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-pill);
  background: rgba(46, 243, 163, 0.22);
  border: 1px solid rgba(46, 243, 163, 0.55);
  color: #032217;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  width: fit-content;
}

.rb-addr {
  display: block;
  padding: 0.9rem 1rem;
  border-radius: var(--radius-md);
  background: rgba(10, 44, 32, 0.55);
  border: 1px dashed rgba(46, 243, 163, 0.5);
  color: var(--text-primary);
  font-family: 'Space Grotesk', 'Inter', monospace;
  font-size: 0.95rem;
  word-break: break-all;
  user-select: all;
}

.rb-proj {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.75rem;
}

.rb-proj li {
  padding: 0.75rem 0.85rem;
  border-radius: var(--radius-md);
  background: rgba(18, 70, 52, 0.32);
  border: 1px solid rgba(46, 243, 163, 0.24);
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.rb-proj strong {
  color: var(--accent);
}

.rb-quote {
  margin: 0;
  padding-left: 0.85rem;
  border-left: 3px solid var(--accent);
  color: var(--text-secondary);
}

.rb-foot {
  margin-top: clamp(1.8rem, 3vw, 2.4rem);
  padding-top: 1.4rem;
  border-top: 1px solid rgba(46, 243, 163, 0.24);
  color: var(--text-muted);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

@media (max-width: 1024px) {
  .rb-head {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .rb-ava {
    max-width: 220px;
    justify-self: center;
  }

  .profile-meta {
    align-items: center;
    text-align: center;
  }

  .profile-chip,
  .rb-pill {
    align-self: center;
  }

  .rb-grid {
    grid-template-columns: 1fr;
  }

  .rb-links li {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .rb-card {
    padding: 1.8rem;
  }

  .rb-links a {
    font-size: 0.9rem;
  }

  .rb-block {
    padding: 1.2rem;
  }
}

@media (max-width: 420px) {
  .rb-card {
    padding: 1.6rem;
  }

  .rb-ava {
    padding: 8px;
  }

  .rb-addr {
    font-size: 0.85rem;
  }
}