/* =========================================================
 * tk222 - theme-5236.css
 * All custom classes use the "w5236-" prefix.
 * Palette: #FFF176 | #7FFF00 | #1C2833 | #9AFF9A | #00FF7F
 * Dark bg (#1C2833) + light text. Root font 62.5% (1rem = 10px).
 * ========================================================= */

:root {
  --w5236-primary: #00FF7F;
  --w5236-secondary: #7FFF00;
  --w5236-accent: #FFF176;
  --w5236-mint: #9AFF9A;
  --w5236-bg: #1C2833;
  --w5236-bg-alt: #16202b;
  --w5236-bg-card: #21303d;
  --w5236-text: #f3fff7;
  --w5236-text-muted: #a7c2b5;
  --w5236-border: rgba(0, 255, 127, 0.18);
  --w5236-radius: 14px;
  --w5236-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  --w5236-maxw: 430px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  padding: 0;
  font-family: "Hind Siliguri", "Noto Sans Bengali", "Segoe UI", system-ui, sans-serif;
  background: var(--w5236-bg);
  color: var(--w5236-text);
  line-height: 1.5rem;
  font-size: 1.5rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

/* ---------- Layout containers ---------- */
.w5236-wrapper {
  width: 100%;
  max-width: var(--w5236-maxw);
  margin: 0 auto;
  padding: 0 12px;
}

.w5236-container {
  width: 100%;
  max-width: var(--w5236-maxw);
  margin: 0 auto;
  padding: 8px 12px 0;
}

main { display: block; padding-bottom: 84px; }

/* ---------- Header ---------- */
.w5236-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: linear-gradient(90deg, #16202b 0%, #1C2833 60%, #1d3326 100%);
  border-bottom: 2px solid var(--w5236-primary);
  box-shadow: var(--w5236-shadow);
}

.w5236-header-inner {
  max-width: var(--w5236-maxw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
}

.w5236-logo {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 800;
  font-size: 2rem;
  color: var(--w5236-accent);
  letter-spacing: 0.5px;
}

.w5236-logo img { width: 30px; height: 30px; border-radius: 8px; }

.w5236-header-actions { margin-left: auto; display: flex; align-items: center; gap: 6px; }

/* ---------- Buttons ---------- */
.w5236-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 40px;
  padding: 0 14px;
  border: none;
  border-radius: 999px;
  font-size: 1.35rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  text-decoration: none;
  color: #0d1b14;
}

.w5236-btn:active { transform: scale(0.96); }

.w5236-btn-register {
  background: linear-gradient(135deg, #FFF176, #7FFF00);
  box-shadow: 0 4px 12px rgba(127, 255, 0, 0.35);
}

.w5236-btn-login {
  background: linear-gradient(135deg, #00FF7F, #9AFF9A);
  box-shadow: 0 4px 12px rgba(0, 255, 127, 0.35);
}

.w5236-btn-ghost {
  background: transparent;
  border: 1.5px solid var(--w5236-primary);
  color: var(--w5236-primary);
}

.w5236-menu-btn {
  background: transparent;
  border: none;
  color: var(--w5236-primary);
  font-size: 2.2rem;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.w5236-menu-btn:hover { background: rgba(0, 255, 127, 0.1); }

/* ---------- Mobile expandable menu ---------- */
#w5236-mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
  background: var(--w5236-bg-alt);
  border-top: 1px solid var(--w5236-border);
}

#w5236-mobile-menu.w5236-menu-open { max-height: 520px; }

.w5236-menu-list {
  list-style: none;
  margin: 0;
  padding: 6px 12px 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.w5236-menu-list a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--w5236-bg-card);
  color: var(--w5236-text);
  font-size: 1.35rem;
  font-weight: 600;
  border: 1px solid var(--w5236-border);
}

.w5236-menu-list a:active { background: rgba(0, 255, 127, 0.12); }

/* ---------- Carousel ---------- */
.w5236-hero { margin-top: 64px; }

.w5236-carousel {
  position: relative;
  border-radius: var(--w5236-radius);
  overflow: hidden;
  box-shadow: var(--w5236-shadow);
}

.w5236-slide {
  display: none;
  position: relative;
  cursor: pointer;
}

.w5236-slide.w5236-active { display: block; }

.w5236-slide img { width: 100%; height: 180px; object-fit: cover; }

.w5236-slide-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 22px 14px 12px;
  background: linear-gradient(to top, rgba(0,0,0,0.75), transparent);
  color: #fff;
  font-weight: 700;
  font-size: 1.6rem;
}

.w5236-dots {
  position: absolute;
  bottom: 8px; left: 0; right: 0;
  display: flex;
  justify-content: center;
  gap: 6px;
}

.w5236-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  border: none;
}

.w5236-dot.w5236-active { background: var(--w5236-accent); width: 22px; border-radius: 6px; }

/* ---------- Headings ---------- */
.w5236-h1 {
  font-size: 2.4rem;
  font-weight: 800;
  margin: 18px 0 8px;
  color: var(--w5236-accent);
  line-height: 1.35;
}

.w5236-h2 {
  font-size: 1.9rem;
  font-weight: 700;
  margin: 22px 0 10px;
  color: var(--w5236-primary);
  padding-left: 10px;
  border-left: 4px solid var(--w5236-secondary);
}

.w5236-h3 {
  font-size: 1.6rem;
  font-weight: 700;
  margin: 16px 0 6px;
  color: var(--w5236-mint);
}

.w5236-lead { color: var(--w5236-text-muted); font-size: 1.45rem; margin-bottom: 12px; }

/* ---------- Sections ---------- */
.w5236-section { margin: 18px 0; }

.w5236-card {
  background: var(--w5236-bg-card);
  border: 1px solid var(--w5236-border);
  border-radius: var(--w5236-radius);
  padding: 14px;
  box-shadow: var(--w5236-shadow);
  margin-bottom: 12px;
}

/* ---------- Game grid ---------- */
.w5236-cat-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--w5236-accent);
  margin: 20px 0 10px;
}

.w5236-cat-title .w5236-cat-badge {
  background: var(--w5236-primary);
  color: #0d1b14;
  font-size: 1.15rem;
  padding: 2px 8px;
  border-radius: 999px;
}

.w5236-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.w5236-game {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--w5236-bg-card);
  border-radius: 12px;
  padding: 6px 4px 8px;
  cursor: pointer;
  border: 1px solid var(--w5236-border);
  transition: transform .15s ease, box-shadow .15s ease;
  text-align: center;
}

.w5236-game:active { transform: scale(0.94); border-color: var(--w5236-primary); }

.w5236-game img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 4px;
}

.w5236-game-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--w5236-text);
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* ---------- Features / feature list ---------- */
.w5236-feature-list { list-style: none; padding: 0; margin: 0; }
.w5236-feature-list li {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 8px 0; border-bottom: 1px dashed var(--w5236-border);
}
.w5236-feature-list li:last-child { border-bottom: none; }
.w5236-feature-list i { color: var(--w5236-primary); font-size: 1.8rem; margin-top: 2px; }

/* ---------- RTP table ---------- */
.w5236-rtp-table { width: 100%; border-collapse: collapse; font-size: 1.3rem; }
.w5236-rtp-table th, .w5236-rtp-table td {
  padding: 8px 10px; text-align: left; border-bottom: 1px solid var(--w5236-border);
}
.w5236-rtp-table th { color: var(--w5236-accent); background: rgba(255,241,118,0.06); }
.w5236-rtp-bar { display:inline-block; height:8px; border-radius:6px; background: var(--w5236-primary); }

/* ---------- Promo CTA banner ---------- */
.w5236-cta {
  background: linear-gradient(135deg, #00FF7F 0%, #7FFF00 100%);
  color: #0d1b14;
  border-radius: var(--w5236-radius);
  padding: 14px 16px;
  margin: 14px 0;
  text-align: center;
  box-shadow: 0 8px 18px rgba(0,255,127,0.25);
}

.w5236-cta h3 { margin: 0 0 6px; color: #0d1b14; }
.w5236-cta p { margin: 0 0 10px; font-size: 1.35rem; }
.w5236-cta .w5236-btn { background: #1C2833; color: var(--w5236-accent); }

/* ---------- Testimonials ---------- */
.w5236-testi {
  background: var(--w5236-bg-card);
  border-left: 4px solid var(--w5236-secondary);
  padding: 10px 12px;
  border-radius: 8px;
  margin-bottom: 8px;
  font-size: 1.3rem;
  color: var(--w5236-text-muted);
}
.w5236-testi b { color: var(--w5236-accent); display:block; margin-bottom: 2px; }

/* ---------- Payment chips ---------- */
.w5236-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.w5236-chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--w5236-bg-card); border: 1px solid var(--w5236-border);
  color: var(--w5236-text); padding: 6px 10px; border-radius: 999px; font-size: 1.2rem;
}
.w5236-chip i { color: var(--w5236-mint); }

/* ---------- Winners ---------- */
.w5236-winner {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 10px; background: var(--w5236-bg-card);
  border-radius: 8px; margin-bottom: 6px; font-size: 1.3rem;
}
.w5236-winner b { color: var(--w5236-accent); }

/* ---------- Inline promo link ---------- */
.w5236-promo-link {
  color: var(--w5236-secondary);
  font-weight: 800;
  cursor: pointer;
  border-bottom: 2px dotted var(--w5236-secondary);
}

/* ---------- FAQ ---------- */
.w5236-faq { margin-bottom: 10px; }
.w5236-faq summary {
  cursor: pointer; font-weight: 700; color: var(--w5236-accent);
  padding: 8px 10px; background: var(--w5236-bg-card); border-radius: 8px;
  list-style: none;
}
.w5236-faq summary::-webkit-details-marker { display: none; }
.w5236-faq p { padding: 8px 12px; color: var(--w5236-text-muted); font-size: 1.3rem; }

/* ---------- App download ---------- */
.w5236-app-box {
  display: flex; gap: 12px; align-items: center;
  background: var(--w5236-bg-card); border-radius: var(--w5236-radius);
  padding: 12px; border: 1px solid var(--w5236-border);
}
.w5236-app-box img { width: 64px; height: 64px; border-radius: 14px; }

/* ---------- Footer ---------- */
.w5236-footer {
  background: var(--w5236-bg-alt);
  border-top: 2px solid var(--w5236-primary);
  padding: 18px 12px 24px;
  margin-top: 18px;
  color: var(--w5236-text-muted);
  font-size: 1.25rem;
}

.w5236-footer-brand { margin-bottom: 12px; }
.w5236-footer-brand strong { color: var(--w5236-accent); font-size: 1.6rem; }

.w5236-footer-links {
  display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0;
}

.w5236-footer-links a {
  display: inline-flex; align-items: center; gap: 4px;
  background: var(--w5236-bg-card); border: 1px solid var(--w5236-border);
  padding: 6px 10px; border-radius: 999px; color: var(--w5236-text); font-size: 1.2rem;
}

.w5236-footer-promos { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; }
.w5236-footer-promos .w5236-btn { flex: 1 1 auto; min-width: 110px; }

.w5236-copy { margin-top: 10px; font-size: 1.15rem; color: var(--w5236-text-muted); }

/* ---------- Mobile bottom nav ---------- */
.w5236-bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: 62px;
  background: linear-gradient(180deg, #1d3326 0%, #16202b 100%);
  border-top: 2px solid var(--w5236-primary);
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  z-index: 1000;
  box-shadow: 0 -4px 14px rgba(0,0,0,0.4);
}

.w5236-bottom-nav a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: var(--w5236-text-muted);
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 600;
  transition: color .15s ease, transform .15s ease;
  position: relative;
  min-width: 60px;
  min-height: 60px;
}

.w5236-bottom-nav a i,
.w5236-bottom-nav a .material-icons-outlined {
  font-size: 24px;
}

.w5236-bottom-nav a:active { transform: scale(0.92); }

.w5236-bottom-nav a.w5236-active { color: var(--w5236-accent); }
.w5236-bottom-nav a.w5236-active::after {
  content: ""; position: absolute; top: -2px; left: 30%; right: 30%;
  height: 3px; border-radius: 0 0 4px 4px; background: var(--w5236-accent);
}

.w5236-bottom-nav a.w5236-nav-promo1 { color: var(--w5236-secondary); }
.w5236-bottom-nav a.w5236-nav-promo2 { color: var(--w5236-mint); }

.w5236-nav-badge {
  position: absolute; top: 6px; right: 18px;
  background: #ff5b5b; color: #fff; font-size: 0.9rem;
  min-width: 16px; height: 16px; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0 4px;
}

/* ---------- Desktop ---------- */
@media (min-width: 769px) {
  .w5236-bottom-nav { display: none; }
  main { padding-bottom: 24px; }
  .w5236-wrapper, .w5236-container, .w5236-header-inner { max-width: 760px; }
  .w5236-grid { grid-template-columns: repeat(6, 1fr); }
  .w5236-slide img { height: 320px; }
}

/* ---------- Utility ---------- */
.w5236-text-center { text-align: center; }
.w5236-mt-12 { margin-top: 12px; }
.w5236-mb-12 { margin-bottom: 12px; }
.w5236-row { display: flex; gap: 8px; flex-wrap: wrap; }
.w5236-hidden-mobile { display: none; }
