:root{
  --bb-text: rgba(255,255,255,.92);
  --bb-muted: rgba(255,255,255,.65);
  --bb-border: rgba(255,255,255,.12);

  --bb-accent: #ffc83d;
  --bb-accentBorder: rgba(255,200,61,.24);
  --bb-accentBg: rgba(255,200,61,.10);

  --bb-radius: 18px;
}

.bb-page{
  color: var(--bb-text);
}

/* Container */
.bb-container{
  width: min(1050px, calc(100% - 32px));
  margin: 0 auto;
  padding: 22px 0 28px;
}

/* Appbar */
.bb-appbar{
  position: sticky;
  top: 0;
  z-index: 10;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 14px 18px;
  background: rgba(10,10,12,.72);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.bb-appbar__left{
  display: flex;
  align-items: center;
  gap: 14px;
}

.bb-traffic{
  display: flex;
  gap: 7px;
  padding: 9px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
}

.dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  display: inline-block;
  opacity: .95;
}
.dot--red{ background: #ff5f57; }
.dot--yellow{ background: #febc2e; }
.dot--green{ background: #28c840; }

.bb-brand__title{
  font-weight: 750;
  letter-spacing: .2px;
}
.bb-brand__sub{
  margin-top: 1px;
  font-size: 12px;
  color: rgba(255,255,255,.58);
}

.bb-appbar__right{
  display: flex;
  gap: 10px;
  align-items: center;
}

/* Buttons */
.bb-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 9px 14px;
  border-radius: 999px;

  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  color: var(--bb-text);
  text-decoration: none;
  font-weight: 650;
  font-size: 13px;

  transition: transform .12s ease, background .15s ease, border-color .15s ease;
}

.bb-btn:hover{
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.18);
  transform: translateY(-1px);
}

.bb-btn--ghost{
  background: transparent;
  border-color: rgba(255,255,255,.12);
}

.bb-btn--soft{
  background: var(--bb-accentBg);
  border-color: var(--bb-accentBorder);
}

.bb-btn--soft:hover{
  background: rgba(255,200,61,.16);
  border-color: rgba(255,200,61,.34);
}

.bb-btn--primary{
  background: rgba(255,200,61,.22);
  border-color: rgba(255,200,61,.40);
}

.bb-btn--primary:hover{
  background: rgba(255,200,61,.28);
  border-color: rgba(255,200,61,.55);
}

/* Hero */
.bb-hero{
  margin: 18px 0 16px;
}

.bb-title{
  margin: 0;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.12;
}

.bb-subtitle{
  margin: 10px 0 0;
  color: var(--bb-muted);
  max-width: 72ch;
}

/* Grid + Cards */
.bb-grid{
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}

.bb-card{
  grid-column: span 6;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--bb-radius);
  padding: 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
}

.bb-card--primary{
  grid-column: span 12;
  background: rgba(255,200,61,.08);
  border-color: rgba(255,200,61,.20);
}

.bb-card--muted{
  grid-column: span 12;
  background: rgba(0,0,0,.18);
  border-color: rgba(255,255,255,.10);
}

.bb-card__title{
  margin: 0 0 8px;
  font-size: 16px;
  letter-spacing: .2px;
}

.bb-card__text{
  margin: 0 0 14px;
  color: var(--bb-muted);
}

.bb-actions{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

.bb-hint{
  margin-top: 12px;
  color: rgba(255,255,255,.62);
  font-size: 13px;
}

/* QR section */
.bb-qr{
  display: grid;
  gap: 10px;
}

.bb-link{
  color: #ffffff;
  text-decoration: none;
  font-weight: 750;
  word-break: break-word;
}

.bb-link:hover{
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,.35);
}

.bb-qr__img{
  width: fit-content;
  padding: 12px;
  border-radius: 16px;
  background: rgba(0,0,0,.25);
  border: 1px solid rgba(255,255,255,.10);
}

.bb-qr__img img{
  display: block;
  max-width: 210px;
  height: auto;
}

.bb-small{
  font-size: 12px;
  color: rgba(255,255,255,.60);
}

/* Legacy inputs styling if used */
#inputs{
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 6px;
}

#inputs > input{
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.25);
  color: #fff;
  outline: none;
}

#inputs > input::placeholder{
  color: rgba(255,255,255,.55);
}

#inputs > button{
  width: fit-content;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,200,61,.34);
  background: rgba(255,200,61,.12);
  color: rgba(255,255,255,.92);
  font-weight: 750;
  cursor: pointer;
}

#inputs > button:hover{
  background: rgba(255,200,61,.18);
  border-color: rgba(255,200,61,.52);
}

/* Footer */
.bb-footer{
  margin-top: 18px;
}

.bb-footer__line{
  height: 1px;
  background: rgba(255,255,255,.08);
  margin: 16px 0 10px;
}

.bb-footer__text{
  color: rgba(255,255,255,.55);
  font-size: 12px;
}

/* Responsive */
@media (max-width: 900px){
  .bb-card{ grid-column: span 12; }
}
