/* ============================================================
 * l89 login - design-7b8f.css
 * Every custom class uses the w7b8f- prefix.
 * Palette: #9370DB / #0D1117 / #8A2BE2 / #CED4DA
 * Dark backgrounds, light text, mobile-first (max-width: 430px).
 * ============================================================ */

:root {
  --w7b8f-primary: #9370DB;
  --w7b8f-bg: #0D1117;
  --w7b8f-accent: #8A2BE2;
  --w7b8f-text: #CED4DA;
  --w7b8f-card: #161B27;
  --w7b8f-card-2: #1E2433;
  --w7b8f-border: #2A2F3E;
  --w7b8f-gold: #F5C451;
  --w7b8f-radius: 14px;
}

* { box-sizing: border-box; }

html { -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(--w7b8f-bg);
  color: var(--w7b8f-text);
  line-height: 1.5;
  font-size: 16px;
  overflow-x: hidden;
}

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

h1, h2, h3 { color: #fff; line-height: 1.25; margin: 0 0 .6em; font-weight: 700; }
h1 { font-size: 1.55rem; }
h2 { font-size: 1.25rem; }
h3 { font-size: 1.05rem; }
p { margin: 0 0 1rem; }

.w7b8f-wrapper {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 14px;
}

.w7b8f-container { width: 100%; }

/* ---------------- Header ---------------- */
.w7b8f-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(135deg, #14091F 0%, #0D1117 100%);
  border-bottom: 1px solid var(--w7b8f-border);
  box-shadow: 0 2px 14px rgba(0,0,0,.45);
}
.w7b8f-header-row {
  max-width: 430px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 12px;
}
.w7b8f-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.w7b8f-logo img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  object-fit: cover;
  flex: 0 0 auto;
}
.w7b8f-logo span {
  font-weight: 800;
  font-size: 1.05rem;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.w7b8f-header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}
.w7b8f-menu-btn {
  background: transparent;
  border: 1px solid var(--w7b8f-border);
  color: var(--w7b8f-text);
  border-radius: 10px;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
}
.w7b8f-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-weight: 700;
  font-size: .9rem;
  border-radius: 22px;
  padding: 8px 16px;
  border: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
  white-space: nowrap;
}
.w7b8f-btn:active { transform: scale(.95); }
.w7b8f-btn-login {
  background: transparent;
  color: var(--w7b8f-text);
  border: 1px solid var(--w7b8f-primary);
}
.w7b8f-btn-register {
  background: linear-gradient(135deg, var(--w7b8f-accent), var(--w7b8f-primary));
  color: #fff;
  box-shadow: 0 4px 14px rgba(138,43,226,.4);
}

/* ---------------- Mobile expandable menu ---------------- */
.w7b8f-mobile-menu {
  display: none;
  background: #11151D;
  border-bottom: 1px solid var(--w7b8f-border);
  padding: 8px 14px 14px;
}
.w7b8f-mobile-menu.w7b8f-menu-open { display: block; }
.w7b8f-mobile-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--w7b8f-text);
  border-bottom: 1px solid var(--w7b8f-border);
  font-size: .95rem;
}
.w7b8f-mobile-menu a:last-child { border-bottom: none; }
.w7b8f-mobile-menu a:hover { background: rgba(147,112,219,.12); color: #fff; }

/* ---------------- Hero / Carousel ---------------- */
.w7b8f-hero { padding: 14px 0 4px; }
.w7b8f-carousel {
  position: relative;
  border-radius: var(--w7b8f-radius);
  overflow: hidden;
  background: #000;
  aspect-ratio: 16/7;
}
.w7b8f-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .6s ease;
  cursor: pointer;
}
.w7b8f-slide img { width: 100%; height: 100%; object-fit: cover; }
.w7b8f-slide.w7b8f-slide-active { opacity: 1; }
.w7b8f-carousel-overlay {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 10px 14px;
  background: linear-gradient(to top, rgba(0,0,0,.75), transparent);
  color: #fff;
  font-weight: 700;
  font-size: .95rem;
  pointer-events: none;
}
.w7b8f-dots {
  position: absolute;
  bottom: 8px;
  left: 0; right: 0;
  display: flex;
  justify-content: center;
  gap: 6px;
}
.w7b8f-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(255,255,255,.4);
}
.w7b8f-dot.w7b8f-dot-active { background: var(--w7b8f-gold); }

/* ---------------- Section title ---------------- */
.w7b8f-section { padding: 18px 0 6px; }
.w7b8f-section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.w7b8f-section-title h2 { margin: 0; flex: 1; }
.w7b8f-section-title .w7b8f-bar {
  width: 4px; height: 22px; border-radius: 2px;
  background: linear-gradient(var(--w7b8f-accent), var(--w7b8f-primary));
}

/* ---------------- Game grid ---------------- */
.w7b8f-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.w7b8f-card {
  background: var(--w7b8f-card);
  border: 1px solid var(--w7b8f-border);
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: transform .15s ease, border-color .15s ease;
}
.w7b8f-card:hover { transform: translateY(-3px); border-color: var(--w7b8f-primary); }
.w7b8f-card-img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  background: #000;
}
.w7b8f-card-name {
  padding: 6px 8px;
  font-size: .72rem;
  color: var(--w7b8f-text);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.w7b8f-cat-head {
  display: flex; align-items: center; gap: 8px;
  margin: 18px 0 10px;
  color: var(--w7b8f-gold);
  font-weight: 700;
  font-size: 1rem;
}
.w7b8f-cat-head i { font-size: 20px; }

/* ---------------- Info / promo blocks ---------------- */
.w7b8f-card-box {
  background: var(--w7b8f-card);
  border: 1px solid var(--w7b8f-border);
  border-radius: var(--w7b8f-radius);
  padding: 14px;
  margin-bottom: 12px;
}
.w7b8f-card-box h3 { color: var(--w7b8f-primary); margin-top: 0; }
.w7b8f-card-box p { font-size: .92rem; color: var(--w7b8f-text); }
.w7b8f-cta {
  display: inline-block;
  margin-top: 6px;
  padding: 8px 18px;
  border-radius: 22px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--w7b8f-accent), var(--w7b8f-primary));
  color: #fff !important;
  cursor: pointer;
  border: none;
  box-shadow: 0 4px 14px rgba(138,43,226,.35);
}
.w7b8f-text-link { color: var(--w7b8f-gold); font-weight: 700; border-bottom: 1px dashed var(--w7b8f-gold); }
.w7b8f-text-link:hover { color: var(--w7b8f-primary); }

.w7b8f-list { padding-left: 18px; margin: 0 0 1rem; }
.w7b8f-list li { margin-bottom: 6px; font-size: .92rem; }

/* ---------------- FAQ ---------------- */
.w7b8f-faq-item {
  background: var(--w7b8f-card);
  border: 1px solid var(--w7b8f-border);
  border-radius: 10px;
  padding: 10px 12px;
  margin-bottom: 8px;
}
.w7b8f-faq-item h4 { margin: 0 0 4px; color: var(--w7b8f-primary); font-size: .95rem; }
.w7b8f-faq-item p { margin: 0; font-size: .88rem; }

/* ---------------- Testimonials ---------------- */
.w7b8f-testimonial {
  background: var(--w7b8f-card-2);
  border-left: 3px solid var(--w7b8f-primary);
  border-radius: 8px;
  padding: 10px 12px;
  margin-bottom: 8px;
  font-size: .88rem;
}
.w7b8f-testimonial strong { color: var(--w7b8f-gold); display: block; margin-bottom: 2px; }

/* ---------------- Payment chips ---------------- */
.w7b8f-pay-row { display: flex; flex-wrap: wrap; gap: 8px; }
.w7b8f-pay-chip {
  background: var(--w7b8f-card-2);
  border: 1px solid var(--w7b8f-border);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: .82rem;
  color: var(--w7b8f-text);
}

/* ---------------- Footer ---------------- */
.w7b8f-footer {
  margin-top: 22px;
  background: #0A0D13;
  border-top: 1px solid var(--w7b8f-border);
  padding: 18px 0 90px;
}
.w7b8f-footer-brand {
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}
.w7b8f-footer-desc { font-size: .85rem; color: var(--w7b8f-text); margin-bottom: 14px; }
.w7b8f-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-bottom: 14px;
}
.w7b8f-footer-links a {
  color: var(--w7b8f-text);
  font-size: .82rem;
}
.w7b8f-footer-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
}
.w7b8f-footer-copy {
  font-size: .75rem;
  color: #6B7280;
  margin-top: 10px;
  border-top: 1px solid var(--w7b8f-border);
  padding-top: 10px;
}

/* ---------------- Bottom nav (fixed) ---------------- */
.w7b8f-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 60px;
  background: linear-gradient(180deg, #14091F, #0D1117);
  border-top: 1px solid var(--w7b8f-border);
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  box-shadow: 0 -4px 18px rgba(0,0,0,.5);
}
.w7b8f-nav-btn {
  flex: 1;
  min-width: 60px;
  min-height: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  background: transparent;
  border: none;
  color: var(--w7b8f-text);
  cursor: pointer;
  font-size: 10px;
  transition: color .15s ease, transform .15s ease;
}
.w7b8f-nav-btn .material-icons,
.w7b8f-nav-btn i { font-size: 22px; }
.w7b8f-nav-btn:active { transform: scale(.9); }
.w7b8f-nav-btn:hover { color: var(--w7b8f-primary); }
.w7b8f-nav-active { color: var(--w7b8f-gold) !important; }
.w7b8f-nav-active i,
.w7b8f-nav-active .material-icons { color: var(--w7b8f-gold); }
.w7b8f-nav-promo {
  position: relative;
  color: #fff;
  background: linear-gradient(135deg, var(--w7b8f-accent), var(--w7b8f-primary));
}
.w7b8f-nav-promo i { color: #fff; }

/* Bottom padding for fixed nav clearance */
main { padding-bottom: 80px; }

/* ---------------- Desktop rules ---------------- */
@media (min-width: 769px) {
  .w7b8f-bottom-nav { display: none; }
  main { padding-bottom: 20px; }
  .w7b8f-wrapper { max-width: 430px; }
}

/* Small screens tighter grid */
@media (max-width: 359px) {
  .w7b8f-grid { grid-template-columns: repeat(2, 1fr); }
}
