/* ============================================================
   ff77.click - style-46b1.css
   CSS class prefix: s46b-
   Color palette: #4169E1 | #E9967A | #FF0000 | #8B0000 | #0F0F23
   ============================================================ */

:root {
  --s46b-primary: #4169E1;
  --s46b-coral: #E9967A;
  --s46b-red: #FF0000;
  --s46b-darkred: #8B0000;
  --s46b-bg: #0F0F23;
  --s46b-text: #f5f5fa;
  --s46b-muted: #b6b6d2;
  --s46b-card: #1a1a36;
  --s46b-card2: #23234a;
  --s46b-border: #2c2c5a;
  --s46b-gold: #ffd86b;
}

/* Reset */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 62.5%; -webkit-text-size-adjust: 100%; }
body {
  font-family: "Hind Siliguri", "Noto Sans Bengali", "Segoe UI", system-ui, sans-serif;
  background: var(--s46b-bg);
  color: var(--s46b-text);
  line-height: 1.5;
  font-size: 1.6rem;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--s46b-coral); text-decoration: none; }
a:hover { color: var(--s46b-gold); }
ul { list-style: none; }

.s46b-no-scroll { overflow: hidden !important; }

/* ---------- Mobile-first container (max-width: 430px) ---------- */
.s46b-wrapper {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1.2rem;
  position: relative;
}
main.s46b-main { padding-bottom: 84px; }

/* ---------- Header ---------- */
.s46b-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(135deg, #0F0F23 0%, #1a1a3e 60%, #2c0a1e 100%);
  border-bottom: 2px solid var(--s46b-primary);
  box-shadow: 0 4px 14px rgba(0,0,0,.5);
}
.s46b-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.s46b-brand {
  display: flex;
  align-items: center;
  gap: .6rem;
}
.s46b-logo {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--s46b-primary), var(--s46b-red));
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; color: #fff; font-size: 1.6rem;
}
.s46b-brand-name {
  font-size: 1.9rem; font-weight: 800; color: #fff;
  letter-spacing: .5px;
}
.s46b-brand-name span { color: var(--s46b-gold); }
.s46b-header-actions { display: flex; align-items: center; gap: .5rem; }

.s46b-btn {
  display: inline-flex; align-items: center; gap: .4rem;
  border: 0; border-radius: 999px;
  font-size: 1.3rem; font-weight: 700;
  padding: .65rem 1.3rem;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
  text-transform: uppercase;
  font-family: inherit;
}
.s46b-btn:active { transform: scale(.95); }
.s46b-btn-register {
  background: linear-gradient(135deg, var(--s46b-red), var(--s46b-darkred));
  color: #fff;
  box-shadow: 0 3px 10px rgba(255,0,0,.35);
}
.s46b-btn-login {
  background: linear-gradient(135deg, var(--s46b-primary), #2a4bd8);
  color: #fff;
  box-shadow: 0 3px 10px rgba(65,105,225,.35);
}
.s46b-btn:hover { color: #fff; transform: translateY(-1px); }

.s46b-menu-btn {
  background: transparent;
  border: 1px solid var(--s46b-border);
  color: #fff;
  width: 38px; height: 38px;
  border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
  font-size: 1.8rem;
}

/* ---------- Mobile expandable menu ---------- */
.s46b-mobile-menu {
  max-height: 0;
  overflow: hidden;
  background: #14142b;
  border-top: 1px solid var(--s46b-border);
  transition: max-height .35s ease;
}
.s46b-mobile-menu.s46b-open { max-height: 460px; }
.s46b-mobile-menu ul { padding: .6rem 1.2rem; }
.s46b-mobile-menu li { border-bottom: 1px solid rgba(255,255,255,.06); }
.s46b-mobile-menu a {
  display: flex; align-items: center; gap: .6rem;
  padding: 1rem .4rem;
  color: var(--s46b-text);
  font-size: 1.45rem;
  font-weight: 600;
}
.s46b-mobile-menu a::before {
  content: "\f105"; font-family: "Font Awesome 6 Free"; font-weight: 900;
  color: var(--s46b-coral);
}

/* ---------- Hero / Carousel ---------- */
.s46b-hero { padding: 1.2rem 0 .6rem; }
.s46b-carousel {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 22px rgba(0,0,0,.45);
}
.s46b-carousel-track {
  display: flex;
  transition: transform .55s ease;
}
.s46b-slide {
  flex: 0 0 100%;
  position: relative;
  cursor: pointer;
}
.s46b-slide img {
  width: 100%; height: 200px; object-fit: cover;
}
.s46b-slide-cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(transparent, rgba(15,15,35,.92));
  padding: 1.4rem 1.2rem 1rem;
}
.s46b-slide-cap h2 { color: #fff; font-size: 1.8rem; font-weight: 800; }
.s46b-slide-cap p { color: var(--s46b-coral); font-size: 1.25rem; margin-top: .2rem; }
.s46b-carousel-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(15,15,35,.6); color: #fff;
  display: flex; align-items: center; justify-content: center;
  border: 0; cursor: pointer; font-size: 1.6rem;
}
.s46b-carousel-prev { left: 8px; }
.s46b-carousel-next { right: 8px; }
.s46b-dots {
  display: flex; justify-content: center; gap: .5rem;
  padding: .6rem 0;
}
.s46b-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,.3); cursor: pointer;
}
.s46b-dot.s46b-active { background: var(--s46b-red); width: 22px; border-radius: 4px; }

/* ---------- Section heads ---------- */
.s46b-section { padding: 1.6rem 0; }
.s46b-section-title {
  display: flex; align-items: center; gap: .6rem;
  font-size: 1.8rem; font-weight: 800; color: #fff;
  margin-bottom: 1rem;
  border-left: 4px solid var(--s46b-red);
  padding-left: .8rem;
}
.s46b-section-title i { color: var(--s46b-gold); }
.s46b-section-sub { color: var(--s46b-muted); font-size: 1.3rem; margin-bottom: 1rem; }

/* ---------- Category heading ---------- */
.s46b-cat-head {
  display: flex; align-items: center; gap: .6rem;
  margin: 1.6rem 0 .8rem;
}
.s46b-cat-head h3 {
  font-size: 1.5rem; color: #fff; font-weight: 800;
}
.s46b-cat-head .s46b-cat-pill {
  background: var(--s46b-primary);
  color: #fff; font-size: 1.1rem; font-weight: 700;
  padding: .2rem .7rem; border-radius: 999px;
}

/* ---------- Game grid ---------- */
.s46b-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .7rem;
}
.s46b-game-card {
  background: var(--s46b-card);
  border: 1px solid var(--s46b-border);
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
  display: block;
  text-align: center;
}
.s46b-game-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(65,105,225,.3);
  border-color: var(--s46b-primary);
}
.s46b-game-card img {
  width: 100%; height: 86px; object-fit: cover;
}
.s46b-game-card-name {
  padding: .5rem .3rem;
  font-size: 1.1rem;
  color: var(--s46b-text);
  font-weight: 600;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* ---------- Promo CTA banner ---------- */
.s46b-cta {
  background: linear-gradient(135deg, var(--s46b-darkred), var(--s46b-red));
  border-radius: 16px;
  padding: 1.4rem 1.2rem;
  text-align: center;
  margin: 1.2rem 0;
  box-shadow: 0 6px 18px rgba(255,0,0,.3);
}
.s46b-cta h3 { color: #fff; font-size: 1.7rem; margin-bottom: .4rem; }
.s46b-cta p { color: #ffe; font-size: 1.25rem; margin-bottom: .8rem; }
.s46b-cta .s46b-btn { background: #fff; color: var(--s46b-darkred); }

/* ---------- Feature list ---------- */
.s46b-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .8rem;
}
.s46b-feature {
  background: var(--s46b-card);
  border: 1px solid var(--s46b-border);
  border-radius: 12px;
  padding: 1.2rem .9rem;
  text-align: center;
}
.s46b-feature i { font-size: 2.4rem; color: var(--s46b-gold); margin-bottom: .4rem; }
.s46b-feature h4 { color: #fff; font-size: 1.3rem; margin-bottom: .2rem; }
.s46b-feature p { color: var(--s46b-muted); font-size: 1.15rem; }

/* ---------- Testimonial ---------- */
.s46b-testimonial {
  background: var(--s46b-card2);
  border-left: 4px solid var(--s46b-coral);
  border-radius: 10px;
  padding: 1rem 1.1rem;
  margin-bottom: .8rem;
}
.s46b-testimonial p { color: var(--s46b-text); font-size: 1.3rem; font-style: italic; }
.s46b-testimonial .s46b-stars { color: var(--s46b-gold); margin-bottom: .3rem; }
.s46b-testimonial .s46b-author { color: var(--s46b-muted); font-size: 1.15rem; margin-top: .3rem; }

/* ---------- Info article ---------- */
.s46b-article {
  background: var(--s46b-card);
  border-radius: 14px;
  padding: 1.3rem 1.2rem;
  margin-bottom: 1.2rem;
  border: 1px solid var(--s46b-border);
}
.s46b-article h2 { color: #fff; font-size: 1.7rem; margin-bottom: .6rem; }
.s46b-article h3 { color: var(--s46b-coral); font-size: 1.4rem; margin: .8rem 0 .4rem; }
.s46b-article p { color: var(--s46b-muted); font-size: 1.3rem; margin-bottom: .6rem; }
.s46b-article a { color: var(--s46b-coral); text-decoration: underline; }

/* ---------- Payment icons ---------- */
.s46b-pay-row {
  display: flex; flex-wrap: wrap; gap: .6rem;
  margin-top: .6rem;
}
.s46b-pay {
  background: #fff; color: #111;
  border-radius: 8px;
  padding: .5rem .8rem;
  font-size: 1.15rem; font-weight: 700;
}

/* ---------- Winners ---------- */
.s46b-winner {
  display: flex; align-items: center; gap: .7rem;
  background: var(--s46b-card2);
  border-radius: 10px; padding: .7rem .9rem;
  margin-bottom: .5rem;
}
.s46b-winner .s46b-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, var(--s46b-primary), var(--s46b-coral));
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; color: #fff;
}
.s46b-winner .s46b-info { flex: 1; }
.s46b-winner .s46b-info p { font-size: 1.2rem; color: var(--s46b-text); }
.s46b-winner .s46b-amount { color: var(--s46b-gold); font-weight: 800; font-size: 1.25rem; }

/* ---------- Footer ---------- */
.s46b-footer {
  background: #0a0a1c;
  border-top: 2px solid var(--s46b-primary);
  padding: 2rem 0 1.4rem;
  margin-top: 1.4rem;
}
.s46b-footer-cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 1.2rem;
}
.s46b-footer h4 { color: #fff; font-size: 1.35rem; margin-bottom: .5rem; }
.s46b-footer a { display: block; color: var(--s46b-muted); font-size: 1.2rem; padding: .25rem 0; }
.s46b-footer a:hover { color: var(--s46b-coral); }
.s46b-footer-desc { color: var(--s46b-muted); font-size: 1.2rem; line-height: 1.6; margin-bottom: 1rem; }
.s46b-footer-promo { display: flex; flex-wrap: wrap; gap: .5rem; margin: .8rem 0; }
.s46b-footer-promo .s46b-btn { font-size: 1.1rem; padding: .5rem 1rem; }
.s46b-copyright {
  text-align: center; color: var(--s46b-muted);
  font-size: 1.1rem; padding-top: 1rem;
  border-top: 1px solid var(--s46b-border);
}

/* ---------- Bottom nav ---------- */
.s46b-bottomnav {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 1000;
  background: linear-gradient(180deg, #1a1a3e, #0F0F23);
  border-top: 2px solid var(--s46b-primary);
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  height: 62px;
  box-shadow: 0 -3px 14px rgba(0,0,0,.5);
}
.s46b-bottomnav-btn {
  flex: 1;
  min-width: 60px;
  min-height: 60px;
  background: transparent;
  border: 0;
  color: var(--s46b-muted);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  transition: color .15s ease, transform .15s ease;
}
.s46b-bottomnav-btn i,
.s46b-bottomnav-btn .material-icons-outlined,
.s46b-bottomnav-btn ion-icon { font-size: 22px; }
.s46b-bottomnav-btn:active { transform: scale(.9); color: #fff; }
.s46b-bottomnav-btn.s46b-current { color: var(--s46b-gold); }
.s46b-bottomnav-btn.s46b-promo { color: var(--s46b-coral); }
.s46b-bottomnav-btn.s46b-promo i { filter: drop-shadow(0 0 4px rgba(233,150,122,.6)); }

/* ---------- Back to top ---------- */
.s46b-backtop {
  position: fixed;
  right: 14px; bottom: 76px;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--s46b-primary);
  color: #fff;
  border: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity .25s ease;
  z-index: 900;
  font-size: 1.6rem;
}
.s46b-backtop.s46b-show { opacity: 1; pointer-events: auto; }

/* ---------- Responsive ---------- */
@media (min-width: 769px) {
  .s46b-bottomnav { display: none; }
  main.s46b-main { padding-bottom: 20px; }
}
@media (min-width: 600px) {
  .s46b-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 768px) {
  main.s46b-main { padding-bottom: 84px; }
}
@media (max-width: 360px) {
  .s46b-grid { grid-template-columns: repeat(2, 1fr); }
  .s46b-game-card img { height: 70px; }
}
