/* ============================================================
   hibaj.click - style-2313.css
   All classes use prefix s231-
   Mobile-first design, max width 430px
   Palette: #F08080 | #A0522D | #EE82EE | #212F3D | #DB7093
   ============================================================ */

:root {
  --s231-primary: #F08080;
  --s231-secondary: #DB7093;
  --s231-accent: #EE82EE;
  --s231-brown: #A0522D;
  --s231-bg: #212F3D;
  --s231-bg-deep: #1a2530;
  --s231-bg-soft: #2b3c4d;
  --s231-text: #FFF5F5;
  --s231-text-muted: #d9c7c7;
  --s231-card: #2a3a4a;
  --s231-border: rgba(240, 128, 128, 0.25);
}

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

html { font-size: 62.5%; }

body {
  font-family: "Hind Siliguri", "Noto Sans Bengali", "Segoe UI", system-ui, sans-serif;
  background: var(--s231-bg);
  color: var(--s231-text);
  line-height: 1.5;
  font-size: 1.5rem;
  max-width: 430px;
  margin: 0 auto;
  position: relative;
  min-height: 100vh;
  -webkit-tap-highlight-color: transparent;
}

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

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

.s231-wrapper {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  overflow-x: hidden;
}

/* ---------- Header ---------- */
.s231-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  max-width: 430px;
  margin: 0 auto;
  background: linear-gradient(135deg, var(--s231-bg-deep) 0%, var(--s231-bg-soft) 100%);
  border-bottom: 2px solid var(--s231-primary);
  z-index: 1000;
  padding: 0.6rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.35);
}

.s231-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--s231-primary);
  font-weight: 800;
  font-size: 1.7rem;
}
.s231-logo img { width: 28px; height: 28px; border-radius: 6px; }
.s231-logo span { color: var(--s231-text); }

.s231-header-actions { display: flex; align-items: center; gap: 0.4rem; }

.s231-btn {
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-weight: 700;
  font-size: 1.3rem;
  border-radius: 2rem;
  padding: 0.55rem 1.1rem;
  transition: transform .15s ease, box-shadow .15s ease;
  min-height: 36px;
}
.s231-btn:active { transform: scale(0.95); }
.s231-btn-register {
  background: linear-gradient(135deg, var(--s231-primary), var(--s231-secondary));
  color: #fff;
  box-shadow: 0 2px 8px rgba(240,128,128,0.4);
}
.s231-btn-login {
  background: transparent;
  color: var(--s231-text);
  border: 1px solid var(--s231-accent);
}

.s231-menu-btn {
  background: transparent;
  border: none;
  color: var(--s231-text);
  font-size: 1.8rem;
  cursor: pointer;
  padding: 0.3rem 0.5rem;
  min-width: 40px;
  min-height: 40px;
}

/* ---------- Mobile dropdown menu ---------- */
.s231-mobile-menu {
  position: fixed;
  top: 56px; left: 0; right: 0;
  max-width: 430px;
  margin: 0 auto;
  background: var(--s231-bg-deep);
  border-bottom: 2px solid var(--s231-primary);
  padding: 0.5rem 0;
  z-index: 9999;
  transform: translateY(-150%);
  transition: transform .3s ease;
  list-style: none;
  box-shadow: 0 8px 16px rgba(0,0,0,0.4);
}
.s231-mobile-menu.s231-menu-open { transform: translateY(0); }
.s231-mobile-menu a {
  display: block;
  padding: 1rem 1.5rem;
  color: var(--s231-text);
  border-bottom: 1px solid rgba(240,128,128,0.1);
  font-size: 1.4rem;
}
.s231-mobile-menu a:active { background: var(--s231-bg-soft); }

/* ---------- Main / hero ---------- */
main.s231-main { padding-top: 64px; padding-bottom: 80px; }

.s231-hero {
  padding: 1.2rem;
  text-align: center;
  background: radial-gradient(circle at 50% 0%, rgba(238,130,238,0.18), transparent 70%);
}
.s231-hero h1 {
  font-size: 2.1rem;
  color: var(--s231-primary);
  margin-bottom: 0.6rem;
  line-height: 1.25;
}
.s231-hero p { color: var(--s231-text-muted); font-size: 1.35rem; margin-bottom: 1rem; }
.s231-hero .s231-btn { font-size: 1.5rem; padding: 0.8rem 2rem; }

/* ---------- Carousel ---------- */
.s231-carousel {
  position: relative;
  margin: 1rem;
  border-radius: 1.2rem;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0,0,0,0.4);
}
.s231-carousel-track {
  display: flex;
  transition: transform .5s ease;
}
.s231-carousel-slide {
  flex: 0 0 100%;
  position: relative;
  cursor: pointer;
}
.s231-carousel-slide img { width: 100%; height: 170px; object-fit: cover; }
.s231-carousel-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  color: #fff;
  padding: 1.5rem 1rem 0.8rem;
  font-weight: 700;
  font-size: 1.4rem;
}
.s231-carousel-dots {
  position: absolute;
  bottom: 0.6rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.4rem;
}
.s231-carousel-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  border: none; cursor: pointer;
}
.s231-carousel-dot-active { background: var(--s231-primary); width: 18px; border-radius: 5px; }

/* ---------- Section ---------- */
.s231-section { padding: 1.2rem; }
.s231-section-title {
  font-size: 1.6rem;
  color: var(--s231-primary);
  margin-bottom: 0.8rem;
  padding-left: 0.6rem;
  border-left: 4px solid var(--s231-accent);
}
.s231-section p { color: var(--s231-text-muted); margin-bottom: 0.8rem; font-size: 1.4rem; }

/* ---------- Game grid ---------- */
.s231-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
}
.s231-card {
  background: var(--s231-card);
  border-radius: 0.8rem;
  overflow: hidden;
  text-align: center;
  cursor: pointer;
  border: 1px solid var(--s231-border);
  transition: transform .15s ease, box-shadow .15s ease;
}
.s231-card:active { transform: scale(0.95); }
.s231-card img { width: 100%; height: 90px; object-fit: cover; }
.s231-card-title {
  display: block;
  font-size: 1.1rem;
  color: var(--s231-text);
  padding: 0.4rem 0.2rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---------- Category label ---------- */
.s231-cat-label {
  display: inline-block;
  background: linear-gradient(135deg, var(--s231-primary), var(--s231-secondary));
  color: #fff;
  padding: 0.3rem 1rem;
  border-radius: 1rem;
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0.8rem 0 0.6rem;
}

/* ---------- Promo banner / inline CTA ---------- */
.s231-cta {
  display: block;
  background: linear-gradient(135deg, var(--s231-secondary), var(--s231-accent));
  color: #fff;
  font-weight: 700;
  text-align: center;
  padding: 0.9rem;
  border-radius: 0.8rem;
  margin: 1rem 0;
  font-size: 1.4rem;
}
.s231-cta:active { transform: scale(0.98); }
.s231-text-link { color: var(--s231-primary); font-weight: 700; border-bottom: 1px dotted var(--s231-primary); }

/* ---------- Info box ---------- */
.s231-info-box {
  background: var(--s231-bg-soft);
  border-radius: 0.8rem;
  padding: 1rem;
  margin-bottom: 0.8rem;
  border-left: 3px solid var(--s231-primary);
}
.s231-info-box h3 { color: var(--s231-accent); font-size: 1.4rem; margin-bottom: 0.4rem; }
.s231-info-box ul { padding-left: 1.4rem; color: var(--s231-text-muted); }
.s231-info-box li { margin-bottom: 0.3rem; font-size: 1.3rem; }

/* ---------- RTP table ---------- */
.s231-rtp {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0.5rem;
  font-size: 1.25rem;
}
.s231-rtp th, .s231-rtp td {
  border: 1px solid var(--s231-border);
  padding: 0.5rem;
  text-align: center;
}
.s231-rtp th { background: var(--s231-secondary); color: #fff; }
.s231-rtp td { color: var(--s231-text-muted); }

/* ---------- FAQ ---------- */
.s231-faq-item {
  background: var(--s231-card);
  border-radius: 0.6rem;
  margin-bottom: 0.5rem;
  overflow: hidden;
}
.s231-faq-q {
  width: 100%;
  text-align: left;
  background: transparent;
  color: var(--s231-text);
  border: none;
  padding: 0.9rem;
  font-size: 1.35rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.s231-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
  padding: 0 0.9rem;
  color: var(--s231-text-muted);
  font-size: 1.3rem;
}
.s231-faq-open .s231-faq-a { max-height: 400px; padding: 0 0.9rem 0.9rem; }

/* ---------- Testimonial ---------- */
.s231-testi {
  background: var(--s231-bg-soft);
  border-radius: 0.8rem;
  padding: 0.9rem;
  margin-bottom: 0.6rem;
  border-left: 3px solid var(--s231-accent);
}
.s231-testi .s231-testi-name { color: var(--s231-primary); font-weight: 700; font-size: 1.3rem; }
.s231-testi p { color: var(--s231-text-muted); font-size: 1.3rem; margin-top: 0.3rem; }

/* ---------- Payment chips ---------- */
.s231-pay { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.s231-pay span {
  background: var(--s231-bg-soft);
  border: 1px solid var(--s231-border);
  border-radius: 1rem;
  padding: 0.4rem 0.9rem;
  font-size: 1.2rem;
  color: var(--s231-text-muted);
}

/* ---------- Footer ---------- */
.s231-footer {
  background: var(--s231-bg-deep);
  padding: 1.2rem;
  border-top: 2px solid var(--s231-primary);
  margin-top: 1rem;
}
.s231-footer p { color: var(--s231-text-muted); font-size: 1.25rem; margin-bottom: 0.6rem; }
.s231-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.8rem;
  margin: 0.6rem 0;
}
.s231-footer-links a {
  color: var(--s231-text);
  font-size: 1.2rem;
  border-bottom: 1px dotted var(--s231-border);
}
.s231-footer .s231-footer-copy {
  margin-top: 0.8rem;
  font-size: 1.1rem;
  color: var(--s231-text-muted);
  opacity: 0.8;
}

/* ---------- Bottom nav ---------- */
.s231-bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  max-width: 430px;
  margin: 0 auto;
  background: var(--s231-bg-deep);
  border-top: 2px solid var(--s231-primary);
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 60px;
  z-index: 1000;
  box-shadow: 0 -2px 12px rgba(0,0,0,0.4);
}
.s231-bottom-nav-btn {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--s231-text-muted);
  font-family: inherit;
  font-size: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  min-width: 60px;
  min-height: 60px;
  cursor: pointer;
  transition: color .2s ease, transform .15s ease;
  text-decoration: none;
}
.s231-bottom-nav-btn:active { transform: scale(0.92); }
.s231-bottom-nav-btn .s231-nav-ico { font-size: 22px; line-height: 1; }
.s231-bottom-nav-btn .material-icons,
.s231-bottom-nav-btn .ion-icon { font-size: 22px; }
.s231-bottom-nav-active { color: var(--s231-primary); }
.s231-bottom-nav-active .s231-nav-ico { color: var(--s231-primary); }

/* ---------- Desktop: hide bottom nav ---------- */
@media (min-width: 769px) {
  .s231-bottom-nav { display: none; }
  main.s231-main { padding-bottom: 1rem; }
}

@media (max-width: 768px) {
  main.s231-main { padding-bottom: 80px; }
}
