/* ===================================================
   hao88app Theme Stylesheet
   Prefix: sb1b-
   Mobile-first design, max-width: 430px
   Color Palette: #708090 | #ADB5BD | #4169E1 | #5F9EA0 | #00BFFF | #273746
   =================================================== */

/* CSS Variables */
:root {
  --sb1b-primary: #4169E1;
  --sb1b-primary-dark: #273746;
  --sb1b-primary-light: #5F9EA0;
  --sb1b-accent: #00BFFF;
  --sb1b-bg-dark: #1a2332;
  --sb1b-bg-card: #1e2d3d;
  --sb1b-bg-section: #162230;
  --sb1b-text-light: #ADB5BD;
  --sb1b-text-white: #e8edf2;
  --sb1b-text-gold: #ffd700;
  --sb1b-border: #2a3f52;
  --sb1b-gray: #708090;
  --sb1b-success: #28a745;
  --sb1b-danger: #dc3545;
  --sb1b-warning: #ffc107;
  --sb1b-radius: 8px;
  --sb1b-radius-lg: 12px;
  --sb1b-shadow: 0 2px 8px rgba(0,0,0,0.3);
  --sb1b-shadow-lg: 0 4px 16px rgba(0,0,0,0.4);
  --sb1b-transition: all 0.3s ease;
  --sb1b-font: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --sb1b-max-w: 430px;
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 62.5%; scroll-behavior: smooth; }
body {
  font-family: var(--sb1b-font);
  background: var(--sb1b-bg-dark);
  color: var(--sb1b-text-light);
  line-height: 1.5rem;
  font-size: 1.4rem;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--sb1b-accent); text-decoration: none; transition: var(--sb1b-transition); }
a:hover { color: var(--sb1b-text-white); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

/* Container */
.sb1b-container {
  width: 100%;
  max-width: var(--sb1b-max-w);
  margin: 0 auto;
  padding: 0 1.2rem;
}

/* ============ HEADER ============ */
.sb1b-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(135deg, var(--sb1b-primary-dark) 0%, #1a2a3a 100%);
  border-bottom: 1px solid var(--sb1b-border);
  height: 56px;
}
.sb1b-header-inner {
  max-width: var(--sb1b-max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
  height: 100%;
}
.sb1b-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
}
.sb1b-logo img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}
.sb1b-logo-text {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--sb1b-accent);
  letter-spacing: 0.5px;
}
.sb1b-header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.sb1b-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.2rem;
  border-radius: var(--sb1b-radius);
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--sb1b-transition);
  text-decoration: none;
  line-height: 1;
  min-height: 36px;
}
.sb1b-btn-register {
  background: linear-gradient(135deg, var(--sb1b-success), #20c997);
  color: #fff;
}
.sb1b-btn-register:hover { transform: scale(1.05); box-shadow: 0 2px 12px rgba(40,167,69,0.4); }
.sb1b-btn-login {
  background: linear-gradient(135deg, var(--sb1b-primary), #5b7fff);
  color: #fff;
}
.sb1b-btn-login:hover { transform: scale(1.05); box-shadow: 0 2px 12px rgba(65,105,225,0.4); }
.sb1b-hamburger {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  cursor: pointer;
  color: var(--sb1b-text-white);
  font-size: 2rem;
  background: none;
  border: none;
}

/* ============ MOBILE MENU ============ */
.sb1b-menu-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.6);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: var(--sb1b-transition);
}
.sb1b-overlay-active { opacity: 1; visibility: visible; }
.sb1b-mobile-menu {
  position: fixed;
  top: 0; right: -280px;
  width: 280px;
  height: 100%;
  background: var(--sb1b-bg-dark);
  z-index: 9999;
  transition: right 0.3s ease;
  overflow-y: auto;
  padding: 2rem 1.5rem;
  border-left: 1px solid var(--sb1b-border);
}
.sb1b-menu-active { right: 0; }
.sb1b-menu-close {
  position: absolute;
  top: 1rem; right: 1rem;
  background: none; border: none;
  color: var(--sb1b-text-light);
  font-size: 2.2rem;
  cursor: pointer;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
}
.sb1b-menu-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--sb1b-accent);
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--sb1b-border);
}
.sb1b-menu-list { display: flex; flex-direction: column; gap: 0; }
.sb1b-menu-item {
  padding: 1.2rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.sb1b-menu-item a {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--sb1b-text-light);
  font-size: 1.4rem;
  font-weight: 500;
}
.sb1b-menu-item a:hover { color: var(--sb1b-accent); }
.sb1b-menu-item .material-icons,
.sb1b-menu-item .fas,
.sb1b-menu-item .far {
  font-size: 2rem;
  width: 24px;
  text-align: center;
}
.sb1b-menu-promo {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--sb1b-border);
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.sb1b-menu-promo .sb1b-btn {
  width: 100%;
  text-align: center;
  font-size: 1.4rem;
  padding: 1rem;
}

/* ============ CAROUSEL ============ */
.sb1b-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: var(--sb1b-radius);
  margin-top: 56px;
}
.sb1b-carousel-slide {
  display: none;
  width: 100%;
  cursor: pointer;
}
.sb1b-slide-active { display: block; }
.sb1b-carousel-slide img {
  width: 100%;
  height: auto;
  aspect-ratio: 16/7;
  object-fit: cover;
}
.sb1b-carousel-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}
.sb1b-carousel-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: var(--sb1b-transition);
}
.sb1b-dot-active { background: var(--sb1b-accent); width: 20px; border-radius: 4px; }

/* ============ MAIN CONTENT ============ */
.sb1b-main {
  padding-top: 56px;
  min-height: 100vh;
}
@media (max-width: 768px) {
  .sb1b-main { padding-bottom: 80px; }
}

/* ============ SECTION ============ */
.sb1b-section {
  padding: 2rem 0;
}
.sb1b-section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--sb1b-text-white);
  margin-bottom: 1.2rem;
  padding-left: 1rem;
  border-left: 3px solid var(--sb1b-primary);
}
.sb1b-section-subtitle {
  font-size: 1.4rem;
  color: var(--sb1b-text-light);
  margin-bottom: 1rem;
}

/* ============ GAME GRID ============ */
.sb1b-category-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--sb1b-accent);
  margin: 1.5rem 0 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.sb1b-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
}
.sb1b-game-item {
  text-align: center;
  cursor: pointer;
  transition: var(--sb1b-transition);
  padding: 0.5rem;
  border-radius: var(--sb1b-radius);
  background: var(--sb1b-bg-card);
}
.sb1b-game-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--sb1b-shadow);
}
.sb1b-game-item img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--sb1b-radius);
  margin-bottom: 0.4rem;
}
.sb1b-game-name {
  font-size: 1.1rem;
  color: var(--sb1b-text-light);
  line-height: 1.3rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ============ CARDS ============ */
.sb1b-card {
  background: var(--sb1b-bg-card);
  border-radius: var(--sb1b-radius-lg);
  padding: 1.5rem;
  margin-bottom: 1rem;
  border: 1px solid var(--sb1b-border);
}
.sb1b-card-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--sb1b-text-white);
  margin-bottom: 1rem;
}
.sb1b-card-text {
  font-size: 1.3rem;
  color: var(--sb1b-text-light);
  line-height: 1.8rem;
  margin-bottom: 1rem;
}

/* ============ INFO BLOCK ============ */
.sb1b-info-block {
  background: linear-gradient(135deg, var(--sb1b-bg-card), var(--sb1b-bg-section));
  border-radius: var(--sb1b-radius-lg);
  padding: 1.5rem;
  margin: 1rem 0;
  border: 1px solid var(--sb1b-border);
}
.sb1b-info-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--sb1b-text-white);
  margin-bottom: 0.8rem;
}
.sb1b-info-text {
  font-size: 1.3rem;
  color: var(--sb1b-text-light);
  line-height: 1.8rem;
}

/* ============ RTP TABLE ============ */
.sb1b-rtp-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
}
.sb1b-rtp-table th {
  background: var(--sb1b-primary);
  color: #fff;
  padding: 0.8rem;
  font-size: 1.2rem;
  text-align: left;
}
.sb1b-rtp-table td {
  padding: 0.7rem 0.8rem;
  font-size: 1.2rem;
  border-bottom: 1px solid var(--sb1b-border);
  color: var(--sb1b-text-light);
}
.sb1b-rtp-table tr:nth-child(even) td {
  background: rgba(255,255,255,0.02);
}

/* ============ CTA / PROMO ============ */
.sb1b-cta {
  background: linear-gradient(135deg, var(--sb1b-primary), var(--sb1b-primary-light));
  border-radius: var(--sb1b-radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  margin: 1.5rem 0;
}
.sb1b-cta-title {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.8rem;
}
.sb1b-cta-text {
  font-size: 1.3rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 1.2rem;
}
.sb1b-cta .sb1b-btn {
  font-size: 1.5rem;
  padding: 1rem 2.5rem;
  background: var(--sb1b-text-gold);
  color: var(--sb1b-primary-dark);
  font-weight: 700;
}
.sb1b-promo-link {
  color: var(--sb1b-text-gold);
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
  transition: var(--sb1b-transition);
}
.sb1b-promo-link:hover {
  color: #ffe44d;
}
.sb1b-btn-promo {
  background: linear-gradient(135deg, var(--sb1b-text-gold), #ffaa00);
  color: var(--sb1b-primary-dark);
  font-weight: 700;
  padding: 0.8rem 1.8rem;
  border-radius: var(--sb1b-radius);
  display: inline-block;
  cursor: pointer;
  border: none;
  font-size: 1.3rem;
  transition: var(--sb1b-transition);
}
.sb1b-btn-promo:hover { transform: scale(1.05); box-shadow: 0 3px 15px rgba(255,215,0,0.4); }

/* ============ TESTIMONIALS ============ */
.sb1b-testimonial {
  background: var(--sb1b-bg-card);
  border-radius: var(--sb1b-radius-lg);
  padding: 1.2rem;
  margin-bottom: 0.8rem;
  border-left: 3px solid var(--sb1b-primary);
}
.sb1b-testimonial-name {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--sb1b-accent);
  margin-bottom: 0.4rem;
}
.sb1b-testimonial-text {
  font-size: 1.2rem;
  color: var(--sb1b-text-light);
  line-height: 1.6rem;
  font-style: italic;
}
.sb1b-testimonial-stars {
  color: var(--sb1b-text-gold);
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
}

/* ============ WINNER SHOWCASE ============ */
.sb1b-winner-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.8rem;
  background: var(--sb1b-bg-card);
  border-radius: var(--sb1b-radius);
  margin-bottom: 0.6rem;
}
.sb1b-winner-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--sb1b-primary);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.4rem; font-weight: 600;
  flex-shrink: 0;
}
.sb1b-winner-info { flex: 1; }
.sb1b-winner-name {
  font-size: 1.2rem;
  color: var(--sb1b-text-white);
  font-weight: 600;
}
.sb1b-winner-game {
  font-size: 1.1rem;
  color: var(--sb1b-gray);
}
.sb1b-winner-amount {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--sb1b-text-gold);
}

/* ============ PAYMENT METHODS ============ */
.sb1b-payment-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
}
.sb1b-payment-item {
  background: var(--sb1b-bg-card);
  border-radius: var(--sb1b-radius);
  padding: 0.8rem 1.2rem;
  text-align: center;
  border: 1px solid var(--sb1b-border);
  font-size: 1.2rem;
  color: var(--sb1b-text-light);
  min-width: 80px;
}

/* ============ FAQ ============ */
.sb1b-faq-item {
  margin-bottom: 1rem;
  border: 1px solid var(--sb1b-border);
  border-radius: var(--sb1b-radius);
  overflow: hidden;
}
.sb1b-faq-q {
  background: var(--sb1b-bg-card);
  padding: 1rem 1.2rem;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--sb1b-text-white);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.sb1b-faq-a {
  padding: 1rem 1.2rem;
  font-size: 1.2rem;
  color: var(--sb1b-text-light);
  line-height: 1.7rem;
  background: var(--sb1b-bg-section);
}

/* ============ FEATURES GRID ============ */
.sb1b-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.sb1b-feature-item {
  background: var(--sb1b-bg-card);
  border-radius: var(--sb1b-radius);
  padding: 1.2rem;
  text-align: center;
  border: 1px solid var(--sb1b-border);
}
.sb1b-feature-icon {
  font-size: 2.4rem;
  color: var(--sb1b-accent);
  margin-bottom: 0.6rem;
}
.sb1b-feature-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--sb1b-text-white);
  margin-bottom: 0.4rem;
}
.sb1b-feature-desc {
  font-size: 1.1rem;
  color: var(--sb1b-text-light);
  line-height: 1.5rem;
}

/* ============ APP DOWNLOAD CTA ============ */
.sb1b-app-cta {
  background: linear-gradient(135deg, var(--sb1b-primary-dark), #1a3045);
  border-radius: var(--sb1b-radius-lg);
  padding: 2rem;
  text-align: center;
  border: 1px solid var(--sb1b-border);
  margin: 1.5rem 0;
}
.sb1b-app-cta h3 {
  font-size: 1.8rem;
  color: var(--sb1b-accent);
  margin-bottom: 1rem;
}
.sb1b-app-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.sb1b-app-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  border-radius: var(--sb1b-radius);
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--sb1b-transition);
}
.sb1b-app-btn-android {
  background: var(--sb1b-success);
  color: #fff;
}
.sb1b-app-btn-ios {
  background: var(--sb1b-gray);
  color: #fff;
}

/* ============ FOOTER ============ */
.sb1b-footer {
  background: var(--sb1b-primary-dark);
  padding: 2rem 0 1rem;
  border-top: 1px solid var(--sb1b-border);
}
.sb1b-footer-brand {
  font-size: 1.3rem;
  color: var(--sb1b-text-light);
  line-height: 1.8rem;
  margin-bottom: 1.5rem;
}
.sb1b-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}
.sb1b-footer-link {
  font-size: 1.2rem;
  color: var(--sb1b-text-light);
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
  background: rgba(255,255,255,0.05);
  transition: var(--sb1b-transition);
}
.sb1b-footer-link:hover { color: var(--sb1b-accent); background: rgba(255,255,255,0.1); }
.sb1b-footer-promos {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}
.sb1b-footer-promo-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1.2rem;
  background: var(--sb1b-primary);
  color: #fff;
  border-radius: var(--sb1b-radius);
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--sb1b-transition);
}
.sb1b-footer-promo-btn:hover { background: #5b7fff; }
.sb1b-footer-copy {
  text-align: center;
  font-size: 1.1rem;
  color: var(--sb1b-gray);
  padding-top: 1rem;
  border-top: 1px solid var(--sb1b-border);
}

/* ============ BOTTOM NAV ============ */
.sb1b-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(180deg, #1a2d3e, #0f1f2e);
  border-top: 1px solid var(--sb1b-border);
  height: 60px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 0 0.5rem;
}
@media (min-width: 769px) {
  .sb1b-bottom-nav { display: none; }
}
.sb1b-bottom-nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 54px;
  background: none;
  border: none;
  cursor: pointer;
  transition: var(--sb1b-transition);
  color: var(--sb1b-gray);
  position: relative;
  padding: 0.4rem 0;
}
.sb1b-bottom-nav-btn .material-icons,
.sb1b-bottom-nav-btn .fas,
.sb1b-bottom-nav-btn .far,
.sb1b-bottom-nav-btn .fad,
.sb1b-bottom-nav-btn ion-icon,
.sb1b-bottom-nav-btn .bi {
  font-size: 22px;
  margin-bottom: 2px;
}
.sb1b-bottom-nav-btn ion-icon { font-size: 24px; }
.sb1b-bottom-nav-btn span {
  font-size: 1rem;
  line-height: 1.2rem;
  font-weight: 500;
}
.sb1b-bottom-nav-btn:hover,
.sb1b-bottom-nav-btn.sb1b-nav-active {
  color: var(--sb1b-accent);
}
.sb1b-bottom-nav-btn.sb1b-nav-active::after {
  content: '';
  position: absolute;
  top: -1px;
  left: 25%;
  right: 25%;
  height: 2px;
  background: var(--sb1b-accent);
  border-radius: 0 0 2px 2px;
}
.sb1b-btn-touch {
  transform: scale(0.92);
  opacity: 0.8;
}

/* ============ INTERNAL LINK ============ */
.sb1b-internal-link {
  color: var(--sb1b-primary-light);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.sb1b-internal-link:hover { color: var(--sb1b-accent); }

/* ============ GAME DETAIL PAGE STYLES ============ */
.sb1b-game-hero {
  background: linear-gradient(135deg, var(--sb1b-bg-card), var(--sb1b-bg-section));
  border-radius: var(--sb1b-radius-lg);
  padding: 1.5rem;
  text-align: center;
  margin-bottom: 1.5rem;
  border: 1px solid var(--sb1b-border);
}
.sb1b-game-hero img {
  width: 100px;
  height: 100px;
  border-radius: var(--sb1b-radius-lg);
  margin: 0 auto 1rem;
  box-shadow: var(--sb1b-shadow-lg);
}
.sb1b-game-hero h2 {
  font-size: 2rem;
  color: var(--sb1b-text-white);
  margin-bottom: 0.5rem;
}
.sb1b-game-meta {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 1rem 0;
}
.sb1b-game-meta-item {
  background: rgba(255,255,255,0.06);
  padding: 0.5rem 1rem;
  border-radius: var(--sb1b-radius);
  font-size: 1.2rem;
  color: var(--sb1b-text-light);
}

/* ============ BREADCRUMB ============ */
.sb1b-breadcrumb {
  padding: 0.8rem 0;
  font-size: 1.2rem;
  color: var(--sb1b-gray);
}
.sb1b-breadcrumb a { color: var(--sb1b-accent); }

/* ============ STEPS / HOW TO ============ */
.sb1b-steps {
  counter-reset: sb1bstep;
}
.sb1b-step-item {
  position: relative;
  padding: 1rem 1rem 1rem 3.5rem;
  margin-bottom: 0.8rem;
  background: var(--sb1b-bg-card);
  border-radius: var(--sb1b-radius);
  border: 1px solid var(--sb1b-border);
}
.sb1b-step-item::before {
  counter-increment: sb1bstep;
  content: counter(sb1bstep);
  position: absolute;
  left: 0.8rem;
  top: 0.8rem;
  width: 28px; height: 28px;
  background: var(--sb1b-primary);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
}
.sb1b-step-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--sb1b-text-white);
  margin-bottom: 0.3rem;
}
.sb1b-step-desc {
  font-size: 1.2rem;
  color: var(--sb1b-text-light);
  line-height: 1.6rem;
}

/* ============ LEADERBOARD ============ */
.sb1b-leaderboard-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem;
  background: var(--sb1b-bg-card);
  border-radius: var(--sb1b-radius);
  margin-bottom: 0.5rem;
  border: 1px solid var(--sb1b-border);
}
.sb1b-rank {
  width: 28px; height: 28px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.sb1b-rank-1 { background: #ffd700; color: #000; }
.sb1b-rank-2 { background: #c0c0c0; color: #000; }
.sb1b-rank-3 { background: #cd7f32; color: #fff; }
.sb1b-rank-default { background: var(--sb1b-border); color: var(--sb1b-text-light); }

/* ============ UTILITY ============ */
.sb1b-text-center { text-align: center; }
.sb1b-text-gold { color: var(--sb1b-text-gold); }
.sb1b-text-accent { color: var(--sb1b-accent); }
.sb1b-mt-1 { margin-top: 1rem; }
.sb1b-mb-1 { margin-bottom: 1rem; }
.sb1b-mt-2 { margin-top: 2rem; }
.sb1b-mb-2 { margin-bottom: 2rem; }
.sb1b-hidden { display: none !important; }

/* Desktop: show wider layout */
@media (min-width: 769px) {
  .sb1b-container { max-width: 768px; }
  .sb1b-game-grid { grid-template-columns: repeat(6, 1fr); }
  .sb1b-features-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Category highlight chips */
.sb1b-category-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  background: rgba(65,105,225,0.15);
  border: 1px solid rgba(65,105,225,0.3);
  border-radius: 20px;
  color: var(--sb1b-accent);
  font-size: 1.2rem;
  font-weight: 500;
  margin: 0.3rem;
}
.sb1b-category-chip i { font-size: 1.4rem; }
