/* tak bet layout (bn-BD). All classes use s9ea- prefix. Mobile-first. */
:root {
  --s9ea-c1: #999999;
  --s9ea-c2: #696969;
  --s9ea-c3: #2D2D2D;
  --s9ea-c4: #5D5D5D;
  --s9ea-primary: #5D5D5D;
  --s9ea-bg: #2D2D2D;
  --s9ea-bg2: #1c1c1c;
  --s9ea-card: #3a3a3a;
  --s9ea-text: #f3f3f3;
  --s9ea-muted: #c9c9c9;
  --s9ea-accent: #e8b339;
  --s9ea-accent2: #d64a4a;
  --s9ea-border: #5D5D5D;
  --s9ea-radius: 14px;
  --s9ea-header-h: 56px;
  --s9ea-bottom-h: 62px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--s9ea-bg);
  color: var(--s9ea-text);
  font-family: "Hind Siliguri", "Noto Sans Bengali", "Segoe UI", Roboto, sans-serif;
  font-size: 1.6rem;
  line-height: 1.5rem;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--s9ea-accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* HTML root font 62.5% */
html { font-size: 62.5%; }

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

/* ===== Header ===== */
.s9ea-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: linear-gradient(90deg, #1c1c1c, #2D2D2D 60%, #1c1c1c);
  border-bottom: 1px solid var(--s9ea-border);
  box-shadow: 0 2px 10px rgba(0,0,0,0.45);
}
.s9ea-header-inner {
  max-width: 430px;
  margin: 0 auto;
  height: var(--s9ea-header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  gap: 8px;
}
.s9ea-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.s9ea-brand img {
  width: 30px; height: 30px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid var(--s9ea-border);
}
.s9ea-brand-name {
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: 0.3px;
  background: linear-gradient(90deg, #e8b339, #ffd479);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  white-space: nowrap;
}
.s9ea-header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}
.s9ea-btn {
  border: 0;
  border-radius: 10px;
  padding: 9px 14px;
  font-size: 1.35rem;
  font-weight: 700;
  cursor: pointer;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: transform 0.15s ease, filter 0.15s ease;
  color: #1c1c1c;
}
.s9ea-btn:active { transform: scale(0.96); }
.s9ea-btn-login {
  background: #d9d9d9;
  color: #2D2D2D;
}
.s9ea-btn-register {
  background: linear-gradient(90deg, #e8b339, #d64a4a);
  color: #1c1c1c;
  box-shadow: 0 3px 8px rgba(232,179,57,0.25);
}
.s9ea-icon-btn {
  background: transparent;
  border: 0;
  color: var(--s9ea-text);
  width: 38px; height: 38px;
  font-size: 2rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}

/* ===== Mobile Menu ===== */
.s9ea-mobile-menu {
  position: fixed;
  top: var(--s9ea-header-h);
  right: -100%;
  width: 78%;
  max-width: 320px;
  height: calc(100vh - var(--s9ea-header-h));
  background: #1c1c1c;
  border-left: 1px solid var(--s9ea-border);
  padding: 14px;
  z-index: 9999;
  transition: right 0.28s ease;
  overflow-y: auto;
}
.s9ea-mobile-menu.s9ea-open { right: 0; }
.s9ea-menu-title {
  font-size: 1.7rem;
  color: var(--s9ea-c1);
  margin: 6px 4px 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.s9ea-menu-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border-radius: 10px;
  color: var(--s9ea-text);
  font-size: 1.55rem;
  border-bottom: 1px solid #333;
}
.s9ea-menu-link:hover { background: #2D2D2D; text-decoration: none; }
.s9ea-menu-link i { color: var(--s9ea-accent); font-size: 1.9rem; }
.s9ea-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 9998;
  display: none;
}
.s9ea-mobile-menu.s9ea-open ~ .s9ea-overlay { display: block; }

/* ===== Main ===== */
.s9ea-main {
  padding-top: calc(var(--s9ea-header-h) + 8px);
  padding-bottom: calc(var(--s9ea-bottom-h) + 24px);
}

/* ===== Hero Carousel ===== */
.s9ea-hero {
  margin-top: 10px;
  border-radius: var(--s9ea-radius);
  overflow: hidden;
  position: relative;
  border: 1px solid var(--s9ea-border);
}
.s9ea-slides { position: relative; }
.s9ea-slide {
  display: none;
  cursor: pointer;
  position: relative;
}
.s9ea-slide.s9ea-active { display: block; }
.s9ea-slide img { width: 100%; height: 190px; object-fit: cover; }
.s9ea-slide-caption {
  position: absolute;
  left: 12px; bottom: 12px;
  background: rgba(0,0,0,0.55);
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 1.4rem;
  font-weight: 700;
}
.s9ea-dots {
  position: absolute;
  bottom: 10px; right: 12px;
  display: flex;
  gap: 6px;
}
.s9ea-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
}
.s9ea-dot.s9ea-active { background: var(--s9ea-accent); }

/* ===== Section ===== */
.s9ea-section {
  margin-top: 22px;
}
.s9ea-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.s9ea-section-title {
  font-size: 1.9rem;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}
.s9ea-section-title i { color: var(--s9ea-accent); font-size: 2.1rem; }
.s9ea-section-more {
  font-size: 1.3rem;
  color: var(--s9ea-accent);
  font-weight: 600;
}

/* ===== H1 ===== */
.s9ea-h1 {
  font-size: 2.3rem;
  font-weight: 900;
  margin: 18px 0 10px;
  line-height: 1.25;
  color: #fff;
}

/* ===== Game grid ===== */
.s9ea-game-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.s9ea-game-card {
  background: var(--s9ea-card);
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid #444;
  transition: transform 0.15s ease;
  text-align: center;
}
.s9ea-game-card:active { transform: scale(0.97); }
.s9ea-game-card img {
  width: 100%;
  height: 84px;
  object-fit: cover;
  background: #222;
}
.s9ea-game-name {
  font-size: 1.2rem;
  padding: 5px 4px;
  color: #eee;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 600;
}
.s9ea-cat-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin-bottom: 12px;
  padding-bottom: 4px;
}
.s9ea-cat-tab {
  flex: 0 0 auto;
  padding: 8px 14px;
  border-radius: 20px;
  background: #3a3a3a;
  color: #ddd;
  font-size: 1.3rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid #444;
}

/* ===== Cards / blocks ===== */
.s9ea-card {
  background: var(--s9ea-card);
  border: 1px solid #444;
  border-radius: var(--s9ea-radius);
  padding: 16px;
  margin-bottom: 14px;
}
.s9ea-card h2 {
  margin: 0 0 10px;
  font-size: 1.9rem;
  color: #fff;
}
.s9ea-card h3 {
  margin: 12px 0 6px;
  font-size: 1.6rem;
  color: var(--s9ea-accent);
}
.s9ea-card p {
  margin: 0 0 10px;
  color: #ddd;
  font-size: 1.4rem;
  line-height: 1.5;
}

/* Promo link styles */
.s9ea-link {
  color: var(--s9ea-accent);
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
}
.s9ea-promo-banner {
  background: linear-gradient(90deg, #d64a4a, #e8b339);
  border-radius: var(--s9ea-radius);
  padding: 14px;
  color: #1c1c1c;
  font-weight: 800;
  text-align: center;
  cursor: pointer;
  margin: 14px 0;
  font-size: 1.6rem;
  box-shadow: 0 4px 12px rgba(232,179,57,0.25);
}
.s9ea-promo-banner:active { transform: scale(0.98); }

/* RTP compact */
.s9ea-rtp-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 0;
  border-bottom: 1px dashed #555;
  font-size: 1.35rem;
}
.s9ea-rtp-bar {
  flex: 1;
  height: 7px;
  background: #222;
  border-radius: 4px;
  margin: 0 10px;
  overflow: hidden;
}
.s9ea-rtp-fill {
  height: 100%;
  background: linear-gradient(90deg, #d64a4a, #e8b339);
  border-radius: 4px;
}

/* Testimonial / winners */
.s9ea-tile-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.s9ea-tile {
  background: #333;
  border-radius: 10px;
  padding: 10px;
  text-align: center;
  border: 1px solid #444;
}
.s9ea-tile .s9ea-amount {
  color: var(--s9ea-accent);
  font-weight: 800;
  font-size: 1.6rem;
}
.s9ea-tile .s9ea-name {
  color: #ddd;
  font-size: 1.2rem;
  margin-top: 4px;
}

/* Payment */
.s9ea-pay-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.s9ea-pay-pill {
  background: #3a3a3a;
  border: 1px solid #555;
  border-radius: 20px;
  padding: 6px 12px;
  font-size: 1.25rem;
  color: #ddd;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Features list */
.s9ea-feature {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #444;
  align-items: flex-start;
}
.s9ea-feature i {
  color: var(--s9ea-accent);
  font-size: 2.2rem;
  margin-top: 2px;
}
.s9ea-feature-text { color: #ddd; font-size: 1.4rem; }
.s9ea-feature-text strong { color: #fff; display: block; font-size: 1.5rem; margin-bottom: 2px; }

/* FAQ */
.s9ea-faq {
  border-bottom: 1px solid #444;
  padding: 10px 0;
}
.s9ea-faq summary {
  cursor: pointer;
  font-weight: 700;
  color: #fff;
  font-size: 1.45rem;
}
.s9ea-faq p { margin: 8px 0 0; color: #ccc; font-size: 1.35rem; }

/* ===== Footer ===== */
.s9ea-footer {
  background: #1c1c1c;
  border-top: 1px solid var(--s9ea-border);
  padding: 22px 14px calc(var(--s9ea-bottom-h) + 22px);
  margin-top: 30px;
}
.s9ea-footer-inner { max-width: 430px; margin: 0 auto; }
.s9ea-footer-brand { color: #ddd; font-size: 1.4rem; line-height: 1.5; margin-bottom: 14px; }
.s9ea-footer-promos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}
.s9ea-footer-promos button {
  background: linear-gradient(90deg, #5D5D5D, #999999);
  color: #1c1c1c;
  border: 0;
  border-radius: 8px;
  padding: 10px;
  font-weight: 700;
  font-size: 1.3rem;
  cursor: pointer;
}
.s9ea-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  margin-bottom: 14px;
}
.s9ea-footer-links a { font-size: 1.25rem; color: var(--s9ea-c1); }
.s9ea-copy { font-size: 1.2rem; color: var(--s9ea-c2); text-align: center; margin-top: 8px; }

/* ===== Bottom Nav ===== */
.s9ea-bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: var(--s9ea-bottom-h);
  background: #1c1c1c;
  border-top: 1px solid var(--s9ea-border);
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  z-index: 1000;
  box-shadow: 0 -2px 12px rgba(0,0,0,0.5);
}
.s9ea-bottom-nav-btn {
  flex: 1;
  background: transparent;
  border: 0;
  color: #bbb;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-width: 60px;
  min-height: 60px;
  padding: 6px 2px;
  cursor: pointer;
  position: relative;
  transition: color 0.15s ease, transform 0.15s ease;
}
.s9ea-bottom-nav-btn i { font-size: 22px; }
.s9ea-bottom-nav-btn .material-icons-outlined { font-size: 24px; }
.s9ea-bottom-nav-btn span { font-size: 1.1rem; line-height: 1; }
.s9ea-bottom-nav-btn:active { transform: scale(0.93); }
.s9ea-bottom-nav-btn.s9ea-current { color: var(--s9ea-accent); }
.s9ea-bottom-nav-btn.s9ea-current::after {
  content: "";
  position: absolute;
  top: 0; left: 30%; right: 30%;
  height: 3px;
  background: var(--s9ea-accent);
  border-radius: 0 0 4px 4px;
}
.s9ea-nav-badge {
  position: absolute;
  top: 4px; right: 18px;
  background: var(--s9ea-accent2);
  color: #fff;
  font-size: 1rem;
  border-radius: 10px;
  padding: 0 5px;
  min-width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Hide bottom nav on desktop */
@media (min-width: 769px) {
  .s9ea-bottom-nav { display: none; }
  .s9ea-footer { padding-bottom: 22px; }
  .s9ea-main { padding-bottom: 24px; }
}
@media (max-width: 768px) {
  .s9ea-main { padding-bottom: calc(var(--s9ea-bottom-h) + 24px); }
}

/* Utility */
.s9ea-text-center { text-align: center; }
.s9ea-mt { margin-top: 14px; }
.s9ea-hide-desktop { display: block; }
@media (min-width: 769px) { .s9ea-hide-desktop { display: none; } }
