/* f777bet.click - style-b443.css
   Mobile-first design. All custom classes use the sb44- prefix.
   Palette: #273746 (deep slate) / #BF360C (burnt orange) / #E0FFFF (light cyan) / #FFCC02 (gold) / #FF8C00 (dark orange).
   Comments in English per project convention.
*/

:root {
  --sb44-bg: #273746;
  --sb44-bg-2: #1f2c38;
  --sb44-bg-3: #324a5e;
  --sb44-primary: #BF360C;
  --sb44-accent: #FF8C00;
  --sb44-gold: #FFCC02;
  --sb44-light: #E0FFFF;
  --sb44-text: #e8f6ff;
  --sb44-muted: #9fb3c4;
  --sb44-radius: 14px;
  --sb44-shadow: 0 6px 22px rgba(0, 0, 0, 0.28);
  --sb44-header-h: 56px;
  --sb44-bottom-h: 62px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: "Hind Siliguri", "Noto Sans Bengali", "Segoe UI", Roboto, Arial, sans-serif;
  background: linear-gradient(160deg, #1f2c38 0%, #273746 45%, #1f2c38 100%);
  color: var(--sb44-text);
  line-height: 1.55;
  font-size: 1.5rem;
  overflow-x: hidden;
}

a { color: var(--sb44-gold); text-decoration: none; }
a:hover { color: var(--sb44-light); }
img { max-width: 100%; display: block; }

/* ---------- Layout container ---------- */
.sb44-wrap { width: 100%; max-width: 430px; margin: 0 auto; position: relative; }

main.sb44-main { padding: 14px 14px 0; }
@media (max-width: 768px) {
  main.sb44-main { padding-bottom: 96px; }
}

/* ---------- Header ---------- */
.sb44-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(90deg, #1f2c38, #273746 60%, #BF360C);
  border-bottom: 1px solid rgba(255, 204, 2, 0.25);
  box-shadow: 0 2px 10px rgba(0,0,0,0.35);
}
.sb44-header-inner {
  max-width: 430px;
  margin: 0 auto;
  min-height: var(--sb44-header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 12px;
  gap: 8px;
}
.sb44-logo { display: flex; align-items: center; gap: 8px; color: var(--sb44-light); font-weight: 700; font-size: 1.7rem; }
.sb44-logo img { width: 30px; height: 30px; border-radius: 8px; }
.sb44-logo span b { color: var(--sb44-gold); }

.sb44-header-actions { display: flex; align-items: center; gap: 6px; }
.sb44-btn {
  border: none;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 1.35rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  line-height: 1;
}
.sb44-btn:active { transform: scale(0.95); }
.sb44-btn-register {
  background: linear-gradient(180deg, var(--sb44-gold), var(--sb44-accent));
  color: #3a1c00;
  box-shadow: 0 3px 10px rgba(255, 140, 0, 0.45);
}
.sb44-btn-login {
  background: transparent;
  color: var(--sb44-light);
  border: 1.5px solid var(--sb44-light);
}
.sb44-menu-btn {
  background: transparent;
  border: none;
  color: var(--sb44-light);
  font-size: 2rem;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 8px;
}

/* ---------- Mobile menu ---------- */
.sb44-mobile-menu {
  position: fixed;
  inset: 0 0 0 auto;
  width: 82%;
  max-width: 360px;
  background: var(--sb44-bg-2);
  z-index: 9999;
  transform: translateX(110%);
  transition: transform .28s ease;
  padding: 70px 18px 24px;
  overflow-y: auto;
  border-left: 1px solid rgba(255, 204, 2, 0.25);
  box-shadow: -8px 0 30px rgba(0,0,0,0.5);
}
.sb44-mobile-menu.sb44-open { transform: translateX(0); }
.sb44-mobile-menu h3 { color: var(--sb44-gold); font-size: 1.5rem; margin: 18px 0 8px; letter-spacing:.5px; }
.sb44-mobile-menu a {
  display: block;
  padding: 11px 12px;
  border-radius: 10px;
  color: var(--sb44-light);
  font-size: 1.45rem;
  margin-bottom: 4px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.05);
}
.sb44-mobile-menu a:hover { background: var(--sb44-primary); color: #fff; }
.sb44-menu-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--sb44-primary);
  color: #fff;
  border: none;
  width: 38px; height: 38px;
  border-radius: 50%;
  font-size: 1.8rem;
  cursor: pointer;
}
.sb44-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 9998;
  display: none;
}
.sb44-overlay.sb44-open { display: block; }

/* ---------- Hero ---------- */
.sb44-hero {
  position: relative;
  border-radius: var(--sb44-radius);
  overflow: hidden;
  background: radial-gradient(circle at 30% 20%, #324a5e, #1f2c38);
  padding: 18px 16px;
  box-shadow: var(--sb44-shadow);
  border: 1px solid rgba(255,204,2,0.18);
  margin-bottom: 14px;
}
.sb44-hero h1 {
  font-size: 2.3rem;
  margin: 0 0 6px;
  line-height: 1.25;
  color: var(--sb44-light);
}
.sb44-hero h1 b { color: var(--sb44-gold); }
.sb44-hero p { margin: 0 0 12px; color: var(--sb44-muted); font-size: 1.4rem; }
.sb44-hero-cta { display: flex; flex-wrap: wrap; gap: 8px; }
.sb44-hero-pill {
  display: inline-block;
  background: rgba(191,54,12,0.2);
  color: var(--sb44-gold);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 1.2rem;
  margin-bottom: 8px;
  border: 1px solid rgba(255,204,2,0.3);
}

/* ---------- Carousel ---------- */
.sb44-carousel { position: relative; border-radius: var(--sb44-radius); overflow: hidden; margin-bottom: 16px; box-shadow: var(--sb44-shadow); }
.sb44-track { position: relative; height: 170px; }
.sb44-slide {
  position: absolute; inset: 0;
  opacity: 0; transition: opacity .6s ease;
  display: flex; align-items: center;
  padding: 18px;
  background: linear-gradient(120deg, #BF360C, #FF8C00 70%, #FFCC02);
  color: #2a1500;
}
.sb44-slide.sb44-active { opacity: 1; }
.sb44-slide h2 { margin: 0 0 6px; font-size: 2rem; }
.sb44-slide p { margin: 0; font-size: 1.35rem; }
.sb44-slide.sb44-slide-2 { background: linear-gradient(120deg, #273746, #324a5e, #FFCC02); color: #fff; }
.sb44-slide.sb44-slide-3 { background: linear-gradient(120deg, #1f2c38, #BF360C, #FF8C00); color: #fff; }
.sb44-dots {
  position: absolute; bottom: 8px; left: 0; right: 0;
  display: flex; justify-content: center; gap: 6px;
}
.sb44-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.45); cursor: pointer; border: none; padding: 0;
}
.sb44-dot.sb44-active { background: var(--sb44-gold); }

/* ---------- Section heading ---------- */
.sb44-section-head { display: flex; align-items: center; justify-content: space-between; margin: 18px 0 10px; }
.sb44-section-head h2 { margin: 0; font-size: 1.7rem; color: var(--sb44-light); }
.sb44-section-head h2 i { color: var(--sb44-gold); margin-right: 6px; }
.sb44-section-head a { font-size: 1.25rem; }

/* ---------- Category tabs ---------- */
.sb44-tabs {
  display: flex; gap: 6px; overflow-x: auto;
  padding: 4px 0 8px;
  scrollbar-width: none;
}
.sb44-tabs::-webkit-scrollbar { display: none; }
.sb44-tab {
  flex: 0 0 auto;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  color: var(--sb44-muted);
  font-size: 1.3rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,0.08);
  white-space: nowrap;
}
.sb44-tab.sb44-active {
  background: linear-gradient(180deg, var(--sb44-gold), var(--sb44-accent));
  color: #3a1c00;
  border-color: transparent;
}

/* ---------- Game grid ---------- */
.sb44-game-panel { display: none; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.sb44-game-panel[data-cat="hot"] { display: grid; }
.sb44-card {
  background: var(--sb44-bg-3);
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255,255,255,0.06);
  transition: transform .15s ease, box-shadow .15s ease;
  cursor: pointer;
}
.sb44-card:hover { transform: translateY(-3px); box-shadow: var(--sb44-shadow); }
.sb44-card-img { aspect-ratio: 1/1; background: #1a2530; overflow: hidden; }
.sb44-card-img img { width: 100%; height: 100%; object-fit: cover; }
.sb44-card-name {
  padding: 6px 8px;
  font-size: 1.2rem;
  color: var(--sb44-light);
  text-align: center;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.sb44-card-badge {
  position: absolute; top: 6px; left: 6px;
  background: var(--sb44-primary);
  color: #fff;
  font-size: 1rem;
  padding: 2px 6px;
  border-radius: 6px;
  font-weight: 700;
}
.sb44-card-play {
  position: absolute; inset: 0;
  background: rgba(39,55,70,0.78);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .2s ease;
  color: var(--sb44-gold); font-size: 2.4rem;
}
.sb44-card:hover .sb44-card-play { opacity: 1; }

/* ---------- Promo CTA strip ---------- */
.sb44-promo-cta {
  background: linear-gradient(90deg, #BF360C, #FF8C00);
  border-radius: var(--sb44-radius);
  padding: 16px;
  margin: 18px 0;
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px;
  box-shadow: var(--sb44-shadow);
  color: #fff;
}
.sb44-promo-cta h3 { margin: 0; font-size: 1.7rem; color: #fff; }
.sb44-promo-cta p { margin: 4px 0 0; font-size: 1.25rem; color: #ffe9c2; }
.sb44-promo-cta .sb44-btn-register { font-size: 1.4rem; }

/* ---------- SEO content ---------- */
.sb44-seo { background: rgba(255,255,255,0.04); border-radius: var(--sb44-radius); padding: 16px; margin: 18px 0; border: 1px solid rgba(255,255,255,0.06); }
.sb44-seo h2 { margin: 0 0 8px; font-size: 1.7rem; color: var(--sb44-gold); }
.sb44-seo h3 { margin: 14px 0 6px; font-size: 1.45rem; color: var(--sb44-light); }
.sb44-seo p { margin: 0 0 10px; color: var(--sb44-muted); font-size: 1.35rem; }
.sb44-seo a { color: var(--sb44-gold); border-bottom: 1px dashed rgba(255,204,2,0.4); }

.sb44-faq-item { border-bottom: 1px solid rgba(255,255,255,0.07); padding: 8px 0; }
.sb44-faq-item summary { cursor: pointer; font-weight: 600; color: var(--sb44-light); font-size: 1.4rem; list-style: none; }
.sb44-faq-item summary::-webkit-details-marker { display: none; }
.sb44-faq-item summary::before { content: "\f059"; font-family: "Font Awesome 6 Free"; color: var(--sb44-gold); margin-right: 6px; }
.sb44-faq-item[open] summary { color: var(--sb44-gold); }
.sb44-faq-item p { margin: 6px 0 4px; color: var(--sb44-muted); font-size: 1.3rem; }

/* ---------- Footer ---------- */
.sb44-footer {
  background: #1a2530;
  border-top: 1px solid rgba(255,204,2,0.2);
  padding: 20px 14px 90px;
  margin-top: 14px;
}
.sb44-footer-inner { max-width: 430px; margin: 0 auto; }
.sb44-footer h4 { color: var(--sb44-gold); font-size: 1.4rem; margin: 14px 0 6px; }
.sb44-footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 10px; }
.sb44-footer-links a { color: var(--sb44-muted); font-size: 1.25rem; }
.sb44-footer-links a:hover { color: var(--sb44-light); }
.sb44-footer-copy { color: var(--sb44-muted); font-size: 1.15rem; margin-top: 14px; text-align: center; line-height: 1.6; }

/* ---------- Mobile bottom nav ---------- */
.sb44-bottom-nav {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 1000;
  background: linear-gradient(180deg, #273746, #1a2530);
  border-top: 1px solid rgba(255,204,2,0.3);
  display: flex; justify-content: space-around; align-items: stretch;
  height: var(--sb44-bottom-h);
  padding: 4px 0 calc(env(safe-area-inset-bottom, 0px) + 4px);
}
.sb44-bottom-nav a {
  flex: 1 1 0;
  min-width: 60px;
  min-height: 56px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  color: var(--sb44-muted);
  font-size: 1.05rem;
  gap: 2px;
  position: relative;
}
.sb44-bottom-nav a i { font-size: 2rem; }
.sb44-bottom-nav a span { font-size: 1.05rem; font-weight: 600; }
.sb44-bottom-nav a.sb44-promo-nav { color: var(--sb44-gold); }
.sb44-bottom-nav a.sb44-promo-nav i {
  background: linear-gradient(180deg, var(--sb44-gold), var(--sb44-accent));
  color: #3a1c00;
  width: 38px; height: 38px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  margin-top: -14px;
  box-shadow: 0 3px 10px rgba(255,140,0,0.5);
  border: 2px solid #1a2530;
}
.sb44-bottom-nav a.sb44-active { color: var(--sb44-light); }
.sb44-bottom-nav a.sb44-active::after {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 22px; height: 3px; background: var(--sb44-gold); border-radius: 0 0 3px 3px;
}

/* ---------- Desktop ---------- */
@media (min-width: 769px) {
  body { background: #1f2c38; }
  .sb44-wrap { max-width: 960px; }
  .sb44-header-inner { max-width: 960px; }
  .sb44-bottom-nav { display: none; }
  .sb44-footer { padding-bottom: 30px; }
  main.sb44-main { padding-bottom: 24px; }
  .sb44-game-panel { grid-template-columns: repeat(5, 1fr); }
  .sb44-track { height: 240px; }
  .sb44-hero h1 { font-size: 3rem; }
}
@media (min-width: 769px) {
  .sb44-mobile-menu { display: none; }
  .sb44-overlay { display: none !important; }
}

/* Utility */
.sb44-hide { display: none !important; }
.sb44-text-center { text-align: center; }
