/* =========================================================
   888starz partner - style-b92f.css
   All custom classes use the sb92- prefix
   Mobile-first design, max-width 430px
   Palette: #B0E0E6 | #FF1493 | #E0FFFF | #40E0D0 | #E0E0E0 | #212F3D
   ========================================================= */

:root {
  --sb92-primary: #FF1493;
  --sb92-secondary: #40E0D0;
  --sb92-bg: #212F3D;
  --sb92-bg2: #1a2530;
  --sb92-bg3: #0f1820;
  --sb92-text: #E0FFFF;
  --sb92-muted: #B0E0E6;
  --sb92-light: #E0E0E0;
  --sb92-card: #2a3a4a;
  --sb92-border: #3a4a5a;
  --sb92-gold: #FFD700;
  --sb92-radius: 1.2rem;
  --sb92-shadow: 0 .4rem 1.2rem rgba(0, 0, 0, .35);
}

/* Root font scaling: 62.5% -> 1rem = 10px */
html { font-size: 62.5%; }

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

body {
  font-family: "Hind Siliguri", "Noto Sans Bengali", "Segoe UI", sans-serif;
  background: var(--sb92-bg);
  color: var(--sb92-text);
  line-height: 1.5rem;
  font-size: 1.5rem;
  max-width: 430px;
  margin: 0 auto;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--sb92-secondary); text-decoration: none; }

/* =========================================================
   Layout containers
   ========================================================= */
.sb92-container { width: 100%; max-width: 430px; margin: 0 auto; padding: 0 1.2rem; }
.sb92-wrapper { padding: 1rem 0; }
.sb92-section { padding: 1.6rem 0; }
.sb92-section-title {
  font-size: 2rem; font-weight: 700; color: var(--sb92-text);
  margin-bottom: 1rem; padding-left: .8rem;
  border-left: .4rem solid var(--sb92-primary);
}
.sb92-section-title i { color: var(--sb92-primary); margin-right: .5rem; }

/* =========================================================
   Header - fixed top navigation
   ========================================================= */
.sb92-header {
  position: fixed; top: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 430px; z-index: 1000;
  background: linear-gradient(135deg, var(--sb92-bg2), var(--sb92-bg3));
  border-bottom: .1rem solid var(--sb92-border);
  box-shadow: var(--sb92-shadow);
}
.sb92-header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: .8rem 1rem; gap: .6rem;
}
.sb92-logo {
  display: flex; align-items: center; gap: .6rem; flex: 1; min-width: 0;
}
.sb92-logo img { width: 2.8rem; height: 2.8rem; border-radius: .6rem; }
.sb92-logo-text {
  font-size: 1.6rem; font-weight: 800; color: var(--sb92-primary);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.sb92-logo-text span { color: var(--sb92-secondary); }

.sb92-header-actions { display: flex; align-items: center; gap: .5rem; flex-shrink: 0; }
.sb92-btn {
  display: inline-flex; align-items: center; gap: .3rem;
  padding: .6rem 1rem; border-radius: 2rem; font-weight: 700;
  font-size: 1.3rem; border: none; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
  min-height: 3.6rem; line-height: 1; white-space: nowrap;
}
.sb92-btn:active { transform: scale(.94); }
.sb92-btn-register {
  background: linear-gradient(135deg, var(--sb92-primary), #c00c73);
  color: #fff; box-shadow: 0 .3rem .8rem rgba(255, 20, 147, .35);
}
.sb92-btn-login {
  background: linear-gradient(135deg, var(--sb92-secondary), #2bbbad);
  color: #06231f; box-shadow: 0 .3rem .8rem rgba(64, 224, 208, .3);
}

.sb92-menu-btn {
  background: transparent; border: .1rem solid var(--sb92-border);
  color: var(--sb92-muted); width: 3.6rem; height: 3.6rem;
  border-radius: .8rem; font-size: 1.6rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}

/* =========================================================
   Mobile menu drawer (expandable nav)
   ========================================================= */
.sb92-mobile-menu {
  position: fixed; top: 0; left: 50%; transform: translate(-50%, -100%);
  width: 100%; max-width: 430px; z-index: 9999;
  background: var(--sb92-bg2); padding: 6rem 1.2rem 2rem;
  transition: transform .3s ease; max-height: 80vh; overflow-y: auto;
  border-bottom: .2rem solid var(--sb92-primary);
}
.sb92-mobile-menu.sb92-menu-open { transform: translate(-50%, 0); }
.sb92-mobile-menu ul { list-style: none; }
.sb92-mobile-menu li { margin-bottom: .6rem; }
.sb92-mobile-menu a {
  display: flex; align-items: center; gap: .8rem;
  padding: 1rem 1.2rem; background: var(--sb92-card);
  border-radius: 1rem; color: var(--sb92-text); font-weight: 600;
  border-left: .3rem solid var(--sb92-secondary);
  transition: background .15s ease;
}
.sb92-mobile-menu a:active { background: var(--sb92-primary); color: #fff; }
.sb92-mobile-menu a i { color: var(--sb92-primary); font-size: 1.6rem; min-width: 2rem; }

/* =========================================================
   Main content - padding for fixed header & bottom nav
   ========================================================= */
main.sb92-main { padding-top: 6.2rem; padding-bottom: 7.5rem; }

/* =========================================================
   Hero carousel
   ========================================================= */
.sb92-hero { position: relative; width: 100%; overflow: hidden; border-radius: 1.2rem; margin-bottom: 1.2rem; }
.sb92-slides { position: relative; width: 100%; aspect-ratio: 16/9; }
.sb92-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease;
  cursor: pointer;
}
.sb92-slide.sb92-slide-active { opacity: 1; }
.sb92-slide img { width: 100%; height: 100%; object-fit: cover; }
.sb92-slide-overlay {
  position: absolute; left: 0; bottom: 0; right: 0;
  padding: 1rem 1.2rem; background: linear-gradient(transparent, rgba(0,0,0,.75));
  color: #fff;
}
.sb92-slide-overlay h2 { font-size: 1.8rem; margin-bottom: .3rem; color: var(--sb92-gold); }
.sb92-slide-overlay p { font-size: 1.2rem; color: var(--sb92-light); }

.sb92-dots { position: absolute; bottom: .6rem; left: 50%; transform: translateX(-50%); display: flex; gap: .5rem; z-index: 5; }
.sb92-dot { width: .8rem; height: .8rem; border-radius: 50%; background: rgba(255,255,255,.4); cursor: pointer; }
.sb92-dot.sb92-dot-active { background: var(--sb92-primary); width: 2rem; border-radius: .4rem; }

/* =========================================================
   Game category + grid
   ========================================================= */
.sb92-cat-header {
  display: flex; align-items: center; gap: .6rem;
  margin: 1.4rem 0 .8rem; padding: .6rem .8rem;
  background: linear-gradient(90deg, var(--sb92-primary), transparent);
  border-radius: .6rem;
}
.sb92-cat-header i { font-size: 1.8rem; color: var(--sb92-gold); }
.sb92-cat-header h2 { font-size: 1.8rem; font-weight: 700; color: #fff; }
.sb92-cat-header .sb92-cat-count { margin-left: auto; font-size: 1.2rem; color: var(--sb92-muted); }

.sb92-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem;
}
.sb92-game-card {
  background: var(--sb92-card); border-radius: .8rem; overflow: hidden;
  border: .1rem solid var(--sb92-border); cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
  display: block;
}
.sb92-game-card:active { transform: scale(.95); }
.sb92-game-img {
  width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--sb92-bg3);
}
.sb92-game-name {
  font-size: 1.15rem; padding: .5rem .4rem; text-align: center;
  color: var(--sb92-text); white-space: nowrap; overflow: hidden;
  text-overflow: ellipsis; font-weight: 600;
}

/* =========================================================
   Promo / feature / info cards
   ========================================================= */
.sb92-card {
  background: var(--sb92-card); border-radius: var(--sb92-radius);
  padding: 1.2rem; margin-bottom: 1rem; border: .1rem solid var(--sb92-border);
  box-shadow: var(--sb92-shadow);
}
.sb92-card h3 { font-size: 1.6rem; color: var(--sb92-primary); margin-bottom: .6rem; }
.sb92-card p { font-size: 1.3rem; color: var(--sb92-light); margin-bottom: .6rem; line-height: 1.6rem; }
.sb92-card ul { padding-left: 1.6rem; }
.sb92-card li { font-size: 1.3rem; color: var(--sb92-light); margin-bottom: .4rem; line-height: 1.6rem; }

.sb92-promo-link {
  color: var(--sb92-primary); font-weight: 800; cursor: pointer;
  text-decoration: underline;
}
.sb92-promo-link:hover { color: var(--sb92-gold); }

.sb92-cta {
  display: block; text-align: center; padding: 1.2rem;
  background: linear-gradient(135deg, var(--sb92-primary), #c00c73);
  color: #fff; font-weight: 800; font-size: 1.5rem; border-radius: 2rem;
  margin: 1rem 0; box-shadow: 0 .4rem 1rem rgba(255,20,147,.4);
  cursor: pointer; border: none;
}
.sb92-cta:active { transform: scale(.97); }

/* =========================================================
   RTP table / stats
   ========================================================= */
.sb92-rtp-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: .6rem 0; border-bottom: .1rem dashed var(--sb92-border);
  font-size: 1.3rem;
}
.sb92-rtp-row:last-child { border-bottom: none; }
.sb92-rtp-bar { flex: 1; height: .6rem; background: var(--sb92-bg3); border-radius: .3rem; margin: 0 .8rem; overflow: hidden; }
.sb92-rtp-fill { height: 100%; background: linear-gradient(90deg, var(--sb92-secondary), var(--sb92-primary)); }
.sb92-rtp-value { color: var(--sb92-gold); font-weight: 700; min-width: 4rem; text-align: right; }

/* =========================================================
   Testimonials / winners
   ========================================================= */
.sb92-testimonial {
  background: var(--sb92-card); border-radius: 1rem; padding: 1rem;
  margin-bottom: .8rem; border-left: .3rem solid var(--sb92-secondary);
}
.sb92-testimonial .sb92-author { font-weight: 700; color: var(--sb92-primary); font-size: 1.3rem; margin-bottom: .3rem; }
.sb92-testimonial p { font-size: 1.2rem; color: var(--sb92-light); }

.sb92-winner-row {
  display: flex; align-items: center; gap: .8rem; padding: .6rem 0;
  border-bottom: .1rem solid var(--sb92-border); font-size: 1.2rem;
}
.sb92-winner-row:last-child { border-bottom: none; }
.sb92-winner-avatar { width: 3rem; height: 3rem; border-radius: 50%; background: var(--sb92-primary); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; }
.sb92-winner-amount { margin-left: auto; color: var(--sb92-gold); font-weight: 800; }

/* =========================================================
   Payment methods
   ========================================================= */
.sb92-pay-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .6rem; }
.sb92-pay-item {
  background: var(--sb92-card); border-radius: .6rem; padding: .8rem .4rem;
  text-align: center; border: .1rem solid var(--sb92-border);
}
.sb92-pay-item i { font-size: 2rem; color: var(--sb92-secondary); margin-bottom: .3rem; }
.sb92-pay-item span { font-size: 1.1rem; color: var(--sb92-light); display: block; }

/* =========================================================
   Footer
   ========================================================= */
.sb92-footer {
  background: var(--sb92-bg3); padding: 2rem 1.2rem 1rem;
  border-top: .2rem solid var(--sb92-primary); margin-top: 1rem;
}
.sb92-footer-brand { font-size: 1.4rem; color: var(--sb92-muted); margin-bottom: 1rem; line-height: 1.7rem; }
.sb92-footer-links { display: flex; flex-wrap: wrap; gap: .6rem 1rem; margin-bottom: 1rem; }
.sb92-footer-links a { color: var(--sb92-secondary); font-size: 1.2rem; }
.sb92-footer-links a:hover { color: var(--sb92-primary); }
.sb92-footer-promos { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1rem; }
.sb92-footer-promos .sb92-btn { font-size: 1.2rem; padding: .5rem .9rem; min-height: 3rem; }
.sb92-footer-copy { font-size: 1.1rem; color: var(--sb92-muted); text-align: center; padding-top: 1rem; border-top: .1rem solid var(--sb92-border); }

/* =========================================================
   Mobile bottom navigation - fixed, 5 buttons
   ========================================================= */
.sb92-bottomnav {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 430px; height: 6.2rem; z-index: 1000;
  background: linear-gradient(180deg, var(--sb92-bg2), var(--sb92-bg3));
  border-top: .15rem solid var(--sb92-primary);
  display: flex; justify-content: space-around; align-items: center;
  box-shadow: 0 -.3rem 1rem rgba(0,0,0,.4);
}
.sb92-bottomnav-btn {
  flex: 1; min-width: 6rem; min-height: 6rem;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .2rem; background: transparent; border: none; color: var(--sb92-muted);
  font-size: 1.1rem; cursor: pointer; transition: color .15s ease, transform .15s ease;
  text-decoration: none; padding: .3rem;
}
.sb92-bottomnav-btn i { font-size: 2.2rem; }
.sb92-bottomnav-btn span { font-size: 1.05rem; }
.sb92-bottomnav-btn:active { transform: scale(.9); color: var(--sb92-primary); }
.sb92-bottomnav-active { color: var(--sb92-primary); }
.sb92-bottomnav-active i { color: var(--sb92-gold); }
.sb92-bottomnav-badge {
  position: absolute; top: .4rem; right: 1.2rem;
  background: var(--sb92-primary); color: #fff; font-size: .9rem;
  min-width: 1.5rem; height: 1.5rem; border-radius: .8rem;
  display: flex; align-items: center; justify-content: center; padding: 0 .3rem;
}
.sb92-bottomnav-btn { position: relative; }

/* =========================================================
   Misc helpers
   ========================================================= */
.sb92-text-center { text-align: center; }
.sb92-mt-1 { margin-top: 1rem; }
.sb92-mb-1 { margin-bottom: 1rem; }
.sb92-back-top {
  position: fixed; bottom: 7rem; right: 1.2rem; z-index: 900;
  width: 3.6rem; height: 3.6rem; border-radius: 50%;
  background: var(--sb92-secondary); color: #06231f; border: none;
  font-size: 1.6rem; cursor: pointer; box-shadow: var(--sb92-shadow);
  display: flex; align-items: center; justify-content: center;
}

/* =========================================================
   Desktop: hide bottom nav, show desktop nav
   ========================================================= */
@media (min-width: 769px) {
  .sb92-bottomnav { display: none; }
  main.sb92-main { padding-bottom: 2rem; }
  body { max-width: 768px; }
}
@media (min-width: 431px) and (max-width: 768px) {
  .sb92-grid { grid-template-columns: repeat(4, 1fr); }
}
