/* BL55 site core stylesheet
   Class prefix: sb0a-
   Color palette: #0000CD (royal blue) | #D4AF37 (gold) | #FFF8DC (cornsilk) | #34495E (slate)
   Mobile-first design, max-width 430px, rem units (root 62.5%). */

:root {
  --sb0a-primary: #0000CD;
  --sb0a-accent: #D4AF37;
  --sb0a-light: #FFF8DC;
  --sb0a-dark: #34495E;
  --sb0a-bg: #0a1240;
  --sb0a-bg-alt: #11193f;
  --sb0a-text: #FFF8DC;
  --sb0a-text-muted: #b9c2e0;
  --sb0a-card: #161d4a;
  --sb0a-border: #243066;
  --sb0a-gold-grad: linear-gradient(135deg, #D4AF37 0%, #f0d674 50%, #D4AF37 100%);
  --sb0a-blue-grad: linear-gradient(135deg, #0000CD 0%, #2848e6 100%);
  --sb0a-radius: 1.2rem;
  --sb0a-shadow: 0 0.4rem 1.6rem rgba(0, 0, 80, 0.45);
  --sb0a-header-h: 6.4rem;
  --sb0a-bnav-h: 6.4rem;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 62.5%; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Be Vietnam', 'Segoe UI', Roboto, Arial, sans-serif;
  background: var(--sb0a-bg);
  color: var(--sb0a-text);
  line-height: 1.5;
  font-size: 1.5rem;
  min-height: 100vh;
  overflow-x: hidden;
}

.sb0a-wrapper { max-width: 430px; margin: 0 auto; position: relative; min-height: 100vh; background: var(--sb0a-bg); }

img { max-width: 100%; display: block; }

a { color: var(--sb0a-accent); text-decoration: none; }

button { font-family: inherit; }

/* Header */
.sb0a-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(10, 18, 64, 0.88);
  backdrop-filter: blur(1rem);
  border-bottom: 0.1rem solid var(--sb0a-border);
  transition: background 0.3s ease;
}
.sb0a-header-scrolled { background: rgba(10, 18, 64, 0.98); box-shadow: var(--sb0a-shadow); }
.sb0a-header-inner {
  max-width: 430px; margin: 0 auto; height: var(--sb0a-header-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 1.2rem; gap: 0.8rem;
}
.sb0a-logo { display: flex; align-items: center; gap: 0.7rem; color: var(--sb0a-light); font-weight: 800; font-size: 1.8rem; }
.sb0a-logo img { width: 3.2rem; height: 3.2rem; border-radius: 0.6rem; }
.sb0a-logo-text { background: var(--sb0a-gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; letter-spacing: 0.04em; }

.sb0a-header-actions { display: flex; align-items: center; gap: 0.6rem; }
.sb0a-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  font-weight: 700; border: none; cursor: pointer; border-radius: 0.8rem;
  font-size: 1.35rem; min-height: 4rem; padding: 0 1.3rem; transition: transform 0.15s ease, box-shadow 0.2s ease;
}
.sb0a-btn:active { transform: scale(0.96); }
.sb0a-btn-login { background: transparent; color: var(--sb0a-light); border: 0.15rem solid var(--sb0a-accent); }
.sb0a-btn-register { background: var(--sb0a-gold-grad); color: #1a1030; box-shadow: 0 0.3rem 1rem rgba(212, 175, 55, 0.4); }
.sb0a-menu-toggle {
  background: transparent; border: none; color: var(--sb0a-accent); font-size: 2.2rem; cursor: pointer;
  width: 4.4rem; height: 4.4rem; border-radius: 0.6rem; display: flex; align-items: center; justify-content: center;
}

/* Mobile menu */
.sb0a-mobile-menu {
  position: fixed; top: 0; right: -100%; width: 82%; max-width: 340px; height: 100vh;
  background: var(--sb0a-bg-alt); z-index: 9999; transition: right 0.3s ease;
  padding: var(--sb0a-header-h) 1.4rem 2rem; overflow-y: auto; border-left: 0.1rem solid var(--sb0a-border);
}
.sb0a-mobile-menu.sb0a-menu-open { right: 0; }
.sb0a-mobile-menu h3 { color: var(--sb0a-accent); font-size: 1.5rem; margin: 1.4rem 0 0.6rem; text-transform: uppercase; letter-spacing: 0.05em; }
.sb0a-mobile-menu a {
  display: flex; align-items: center; gap: 0.8rem; padding: 1.2rem 1rem; border-radius: 0.8rem; color: var(--sb0a-light);
  font-size: 1.45rem; border-bottom: 0.1rem solid var(--sb0a-border); transition: background 0.2s ease;
}
.sb0a-mobile-menu a:hover, .sb0a-mobile-menu a:active { background: var(--sb0a-card); color: var(--sb0a-accent); }
.sb0a-mobile-menu a i { color: var(--sb0a-accent); width: 2.4rem; text-align: center; }
.sb0a-menu-overlay {
  position: fixed; inset: 0; background: rgba(0, 0, 0, 0.55); z-index: 9998; opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
}
.sb0a-menu-overlay.sb0a-menu-open { opacity: 1; pointer-events: auto; }

/* Main content */
.sb0a-main { padding-top: var(--sb0a-header-h); }

/* Carousel */
.sb0a-carousel { position: relative; width: 100%; height: 22rem; overflow: hidden; }
.sb0a-carousel-track { position: relative; width: 100%; height: 100%; }
.sb0a-carousel-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 0.6s ease; cursor: pointer; }
.sb0a-carousel-slide.sb0a-slide-active { opacity: 1; }
.sb0a-carousel-slide img { width: 100%; height: 100%; object-fit: cover; }
.sb0a-carousel-caption {
  position: absolute; left: 1.4rem; bottom: 2.6rem; right: 1.4rem; z-index: 2;
  background: linear-gradient(90deg, rgba(10,18,64,0.85), rgba(10,18,64,0.2)); padding: 1rem 1.4rem; border-radius: 1rem; border-left: 0.3rem solid var(--sb0a-accent);
}
.sb0a-carousel-caption h2 { color: var(--sb0a-accent); font-size: 1.8rem; margin-bottom: 0.3rem; }
.sb0a-carousel-caption p { color: var(--sb0a-light); font-size: 1.3rem; }
.sb0a-carousel-dots { position: absolute; bottom: 1rem; left: 50%; transform: translateX(-50%); display: flex; gap: 0.6rem; z-index: 3; }
.sb0a-carousel-dot { width: 0.8rem; height: 0.8rem; border-radius: 50%; background: rgba(255, 248, 220, 0.5); cursor: pointer; transition: all 0.25s ease; border: none; }
.sb0a-carousel-dot.sb0a-dot-active { background: var(--sb0a-accent); width: 2.2rem; border-radius: 0.4rem; }

/* Sections */
.sb0a-section { padding: 2.4rem 1.4rem; }
.sb0a-section-title {
  font-size: 2rem; color: var(--sb0a-light); margin-bottom: 1.2rem; padding-left: 1rem;
  border-left: 0.4rem solid var(--sb0a-accent); display: flex; align-items: center; gap: 0.7rem;
}
.sb0a-section-title i, .sb0a-section-title .material-icons { color: var(--sb0a-accent); font-size: 2rem; }
.sb0a-section-intro { color: var(--sb0a-text-muted); font-size: 1.35rem; margin-bottom: 1.6rem; line-height: 1.7; }

/* Game grid */
.sb0a-game-cat-header {
  display: flex; align-items: center; gap: 0.8rem; margin: 2rem 0 1.2rem;
  color: var(--sb0a-accent); font-size: 1.7rem; font-weight: 700;
}
.sb0a-game-cat-header i, .sb0a-game-cat-header .material-icons { font-size: 2rem; }
.sb0a-game-cat-header .sb0a-cat-badge { margin-left: auto; background: var(--sb0a-card); color: var(--sb0a-text-muted); font-size: 1.1rem; padding: 0.2rem 0.8rem; border-radius: 1rem; border: 0.1rem solid var(--sb0a-border); }
.sb0a-game-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.9rem; }
.sb0a-game-card {
  background: var(--sb0a-card); border-radius: 1rem; overflow: hidden; border: 0.1rem solid var(--sb0a-border);
  transition: transform 0.18s ease, box-shadow 0.2s ease, border-color 0.2s ease; cursor: pointer;
}
.sb0a-game-card:hover, .sb0a-game-card:active { transform: translateY(-0.3rem); box-shadow: var(--sb0a-shadow); border-color: var(--sb0a-accent); }
.sb0a-game-card img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.sb0a-game-card-name { padding: 0.6rem 0.4rem 0.8rem; font-size: 1.15rem; color: var(--sb0a-light); text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-height: 2.8rem; }

/* Feature cards */
.sb0a-features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.1rem; }
.sb0a-feature-card { background: var(--sb0a-card); border-radius: 1.2rem; padding: 1.6rem 1.2rem; border: 0.1rem solid var(--sb0a-border); text-align: center; }
.sb0a-feature-card .sb0a-feature-icon { font-size: 2.6rem; color: var(--sb0a-accent); margin-bottom: 0.6rem; }
.sb0a-feature-card h3 { color: var(--sb0a-light); font-size: 1.45rem; margin-bottom: 0.4rem; }
.sb0a-feature-card p { color: var(--sb0a-text-muted); font-size: 1.2rem; line-height: 1.5; }

/* Promo banner */
.sb0a-promo-banner {
  background: var(--sb0a-blue-grad); border-radius: 1.4rem; padding: 2rem 1.4rem;
  text-align: center; margin: 1.6rem 1.4rem; border: 0.15rem solid var(--sb0a-accent); position: relative; overflow: hidden;
}
.sb0a-promo-banner h3 { color: var(--sb0a-accent); font-size: 2rem; margin-bottom: 0.6rem; }
.sb0a-promo-banner p { color: var(--sb0a-light); font-size: 1.35rem; margin-bottom: 1.2rem; line-height: 1.6; }

/* RTP table */
.sb0a-rtp-table { width: 100%; border-collapse: collapse; background: var(--sb0a-card); border-radius: 1rem; overflow: hidden; }
.sb0a-rtp-table th, .sb0a-rtp-table td { padding: 1rem 1.2rem; text-align: left; border-bottom: 0.1rem solid var(--sb0a-border); font-size: 1.3rem; }
.sb0a-rtp-table th { background: var(--sb0a-bg-alt); color: var(--sb0a-accent); }
.sb0a-rtp-table td { color: var(--sb0a-light); }
.sb0a-rtp-table tr:last-child td { border-bottom: none; }
.sb0a-rtp-bar { display: inline-block; width: 6rem; height: 0.8rem; background: var(--sb0a-bg); border-radius: 0.4rem; overflow: hidden; vertical-align: middle; margin-right: 0.6rem; }
.sb0a-rtp-bar-fill { height: 100%; background: var(--sb0a-gold-grad); }

/* Testimonials */
.sb0a-testimonials { display: grid; gap: 1.1rem; }
.sb0a-testimonial { background: var(--sb0a-card); border-radius: 1.2rem; padding: 1.4rem; border-left: 0.3rem solid var(--sb0a-accent); }
.sb0a-testimonial p { color: var(--sb0a-light); font-size: 1.3rem; margin-bottom: 0.6rem; font-style: italic; line-height: 1.6; }
.sb0a-testimonial .sb0a-testimonial-author { color: var(--sb0a-accent); font-size: 1.25rem; font-weight: 700; }

/* Winners */
.sb0a-winners { background: var(--sb0a-card); border-radius: 1.2rem; padding: 1.2rem 1.4rem; }
.sb0a-winner-row { display: flex; justify-content: space-between; align-items: center; padding: 0.9rem 0; border-bottom: 0.1rem solid var(--sb0a-border); font-size: 1.3rem; }
.sb0a-winner-row:last-child { border-bottom: none; }
.sb0a-winner-name { color: var(--sb0a-light); }
.sb0a-winner-game { color: var(--sb0a-text-muted); font-size: 1.15rem; }
.sb0a-winner-amount { color: var(--sb0a-accent); font-weight: 700; }

/* Payment */
.sb0a-payments { display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: center; }
.sb0a-payment-item { background: var(--sb0a-card); border: 0.1rem solid var(--sb0a-border); border-radius: 0.8rem; padding: 0.8rem 1.2rem; color: var(--sb0a-light); font-size: 1.25rem; display: flex; align-items: center; gap: 0.6rem; }
.sb0a-payment-item i, .sb0a-payment-item .material-icons { color: var(--sb0a-accent); }

/* FAQ */
.sb0a-faq-item { background: var(--sb0a-card); border-radius: 1rem; margin-bottom: 0.9rem; overflow: hidden; border: 0.1rem solid var(--sb0a-border); }
.sb0a-faq-q { padding: 1.2rem 1.4rem; color: var(--sb0a-light); font-weight: 600; font-size: 1.4rem; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 0.8rem; }
.sb0a-faq-icon { color: var(--sb0a-accent); transition: transform 0.2s ease; }
.sb0a-faq-icon-open { transform: rotate(180deg); }
.sb0a-faq-a { padding: 0 1.4rem 1.2rem; color: var(--sb0a-text-muted); font-size: 1.3rem; line-height: 1.6; display: none; }

/* Content prose */
.sb0a-prose { color: var(--sb0a-text-muted); font-size: 1.35rem; line-height: 1.8; }
.sb0a-prose p { margin-bottom: 1rem; }
.sb0a-prose strong, .sb0a-prose b { color: var(--sb0a-accent); font-weight: 700; }
.sb0a-prose h3 { color: var(--sb0a-light); font-size: 1.6rem; margin: 1.6rem 0 0.6rem; }
.sb0a-prose ul { padding-left: 1.6rem; margin-bottom: 1rem; }
.sb0a-prose li { margin-bottom: 0.4rem; }
.sb0a-prose a { color: var(--sb0a-accent); text-decoration: underline; font-weight: 600; cursor: pointer; }

/* Inline promo link */
.sb0a-promo-link { color: var(--sb0a-accent); font-weight: 700; text-decoration: underline; cursor: pointer; }

/* Play CTA */
.sb0a-play-cta { text-align: center; padding: 2.4rem 1.4rem; }
.sb0a-play-cta h3 { color: var(--sb0a-accent); font-size: 2.2rem; margin-bottom: 0.8rem; }
.sb0a-play-cta p { color: var(--sb0a-light); margin-bottom: 1.6rem; font-size: 1.4rem; line-height: 1.6; }
.sb0a-btn-cta { background: var(--sb0a-gold-grad); color: #1a1030; font-size: 1.6rem; padding: 1.2rem 3rem; min-height: 4.8rem; border: none; cursor: pointer; border-radius: 1rem; font-weight: 800; box-shadow: 0 0.4rem 1.4rem rgba(212, 175, 55, 0.4); }
.sb0a-btn-cta:active { transform: scale(0.96); }

/* App download CTA */
.sb0a-app-cta { background: var(--sb0a-blue-grad); border-radius: 1.4rem; padding: 2rem 1.4rem; text-align: center; margin: 1.6rem 1.4rem; border: 0.15rem solid var(--sb0a-accent); }
.sb0a-app-cta h3 { color: var(--sb0a-accent); font-size: 1.9rem; margin-bottom: 0.6rem; }
.sb0a-app-cta p { color: var(--sb0a-light); margin-bottom: 1.2rem; font-size: 1.3rem; line-height: 1.6; }
.sb0a-app-buttons { display: flex; gap: 0.8rem; justify-content: center; flex-wrap: wrap; }
.sb0a-app-btn { background: rgba(0,0,0,0.4); color: var(--sb0a-light); border: 0.1rem solid var(--sb0a-accent); border-radius: 0.8rem; padding: 0.9rem 1.4rem; font-size: 1.3rem; display: flex; align-items: center; gap: 0.5rem; cursor: pointer; min-height: 4rem; font-weight: 700; }
.sb0a-app-btn:active { transform: scale(0.96); }

/* Footer */
.sb0a-footer { background: var(--sb0a-bg-alt); border-top: 0.15rem solid var(--sb0a-accent); padding: 2.4rem 1.4rem 8rem; margin-top: 2rem; }
.sb0a-footer-brand { color: var(--sb0a-light); font-size: 1.3rem; line-height: 1.7; margin-bottom: 1.4rem; }
.sb0a-footer-brand strong { color: var(--sb0a-accent); }
.sb0a-footer-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.7rem; margin-bottom: 1.6rem; }
.sb0a-footer-links a { color: var(--sb0a-text-muted); font-size: 1.25rem; }
.sb0a-footer-links a:hover { color: var(--sb0a-accent); }
.sb0a-footer-promo { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1.6rem; }
.sb0a-footer-promo button { background: var(--sb0a-card); border: 0.1rem solid var(--sb0a-accent); color: var(--sb0a-accent); border-radius: 0.6rem; padding: 0.6rem 1rem; font-size: 1.2rem; cursor: pointer; min-height: 3.6rem; font-weight: 600; }
.sb0a-footer-promo button:active { transform: scale(0.96); }
.sb0a-footer-copy { color: var(--sb0a-text-muted); font-size: 1.2rem; text-align: center; border-top: 0.1rem solid var(--sb0a-border); padding-top: 1.4rem; }

/* Mobile bottom nav */
.sb0a-bnav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
  background: var(--sb0a-bg-alt); border-top: 0.15rem solid var(--sb0a-accent);
  height: var(--sb0a-bnav-h); display: flex; justify-content: space-around; align-items: center;
  padding: 0 0.3rem; box-shadow: 0 -0.4rem 1.2rem rgba(0,0,0,0.4);
}
.sb0a-bnav-btn {
  flex: 1; min-width: 6rem; min-height: 6rem; background: transparent; border: none;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.2rem;
  color: var(--sb0a-text-muted); cursor: pointer; font-size: 1.05rem; font-weight: 600;
  transition: color 0.2s ease, transform 0.15s ease; position: relative;
}
.sb0a-bnav-btn i, .sb0a-bnav-btn .material-icons, .sb0a-bnav-btn ion-icon { font-size: 2.3rem; }
.sb0a-bnav-btn ion-icon { width: 2.3rem; height: 2.3rem; }
.sb0a-bnav-btn:active { transform: scale(0.9); }
.sb0a-bnav-btn:hover { color: var(--sb0a-light); }
.sb0a-bnav-active { color: var(--sb0a-accent); }
.sb0a-bnav-active::before {
  content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 3rem; height: 0.28rem; background: var(--sb0a-accent); border-radius: 0 0 0.3rem 0.3rem;
}
.sb0a-bnav-badge {
  position: absolute; top: 0.5rem; right: 1.2rem; min-width: 1.6rem; height: 1.6rem;
  background: #e74c3c; color: #fff; border-radius: 0.8rem; font-size: 0.9rem;
  display: flex; align-items: center; justify-content: center; padding: 0 0.3rem; font-weight: 700;
}

/* Desktop: hide bottom nav, widen wrapper */
@media (min-width: 769px) {
  .sb0a-bnav { display: none; }
  .sb0a-wrapper { max-width: 760px; }
  .sb0a-footer { padding-bottom: 2.4rem; }
}

/* Mobile: add bottom padding to main content for nav clearance */
@media (max-width: 768px) {
  .sb0a-footer { padding-bottom: calc(var(--sb0a-bnav-h) + 2rem); }
  .sb0a-main { padding-bottom: var(--sb0a-bnav-h); }
}

/* Utilities */
.sb0a-container { width: 100%; max-width: 430px; margin: 0 auto; padding: 0 1.4rem; }
.sb0a-grid { display: grid; gap: 1rem; }
.sb0a-text-center { text-align: center; }
.sb0a-mt-2 { margin-top: 2rem; }
.sb0a-hidden { display: none !important; }
