/* jyjili-visual-26c8.css — jyjili.homes basefiles stylesheet (prefix: v8d3-) */
/* Palette: deep stone #3A3A3A background + rich green #228B22 accent. */

:root {
  --v8d3-bg: #3A3A3A;
  --v8d3-bg-soft: #2e2e2e;
  --v8d3-bg-deep: #1f1f1f;
  --v8d3-card: #474747;
  --v8d3-card-2: #4f4f4f;
  --v8d3-accent: #228B22;
  --v8d3-accent-soft: #2ea64a;
  --v8d3-accent-dark: #176b17;
  --v8d3-gold: #e8c46a;
  --v8d3-text: #f5f1e6;
  --v8d3-text-soft: #d8d2c2;
  --v8d3-muted: #a9a394;
  --v8d3-border: rgba(255, 255, 255, 0.08);
  --v8d3-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
  --v8d3-radius: 14px;
  --v8d3-header-h: 56px;
  --v8d3-bottom-h: 64px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Hind Siliguri", "Noto Sans Bengali", "SolaimanLipi", system-ui, sans-serif;
  background: var(--v8d3-bg);
  color: var(--v8d3-text);
  line-height: 1.55;
  font-size: 15px;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--v8d3-accent-soft); text-decoration: none; }
a:hover { color: var(--v8d3-gold); }
h1, h2, h3 { line-height: 1.3; margin: 0 0 8px; }
h1 { font-size: 22px; }
h2 { font-size: 19px; }
h3 { font-size: 16px; }
p { margin: 0 0 10px; }

.v8d3-wrap {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  position: relative;
}

/* ---------- Header ---------- */
.v8d3-header {
  position: sticky;
  top: 0;
  z-index: 60;
  height: var(--v8d3-header-h);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  background: linear-gradient(180deg, #2c2c2c 0%, #3A3A3A 100%);
  border-bottom: 1px solid var(--v8d3-border);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}
.v8d3-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
}
.v8d3-brand img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid rgba(232, 196, 106, 0.4);
  object-fit: cover;
  flex-shrink: 0;
  background: #fff;
}
.v8d3-brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.v8d3-brand-name {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: var(--v8d3-gold);
  white-space: nowrap;
}
.v8d3-brand-tag {
  font-size: 11px;
  color: var(--v8d3-text-soft);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.v8d3-header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}
.v8d3-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: none;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease;
  font-family: inherit;
  text-align: center;
}
.v8d3-btn:active { transform: scale(0.96); }
.v8d3-btn-login {
  background: transparent;
  color: var(--v8d3-text);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 0 12px;
}
.v8d3-btn-register {
  background: linear-gradient(135deg, #228B22 0%, #2ea64a 100%);
  color: #fff;
  box-shadow: 0 4px 12px rgba(34, 139, 34, 0.4);
}
.v8d3-icon-btn {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--v8d3-border);
  color: var(--v8d3-text);
  cursor: pointer;
}
.v8d3-icon-btn svg { width: 20px; height: 20px; fill: currentColor; }

/* ---------- Top notice strip ---------- */
.v8d3-notice {
  background: var(--v8d3-bg-deep);
  color: var(--v8d3-gold);
  font-size: 12.5px;
  padding: 6px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  overflow: hidden;
  white-space: nowrap;
  border-bottom: 1px dashed rgba(232, 196, 106, 0.25);
}
.v8d3-notice-dot {
  width: 8px; height: 8px;
  background: var(--v8d3-accent-soft);
  border-radius: 50%;
  flex-shrink: 0;
  animation: v8d3pulse 1.6s infinite;
}
@keyframes v8d3pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

/* ---------- Hero carousel ---------- */
.v8d3-hero {
  position: relative;
  margin: 12px 12px 4px;
  border-radius: var(--v8d3-radius);
  overflow: hidden;
  background: var(--v8d3-bg-deep);
  box-shadow: var(--v8d3-shadow);
}
.v8d3-hero-track { position: relative; height: 170px; }
.v8d3-hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
  display: flex;
  align-items: flex-end;
}
.v8d3-hero-slide.v8d3-active { opacity: 1; }
.v8d3-hero-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.v8d3-hero-overlay {
  position: relative;
  z-index: 2;
  padding: 12px;
  width: 100%;
  background: linear-gradient(0deg, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0) 100%);
}
.v8d3-hero-title {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 4px;
}
.v8d3-hero-sub {
  font-size: 12.5px;
  color: var(--v8d3-text-soft);
  margin: 0 0 8px;
}
.v8d3-hero-cta {
  display: inline-block;
  background: var(--v8d3-gold);
  color: #1f1f1f;
  font-weight: 700;
  font-size: 13px;
  padding: 6px 14px;
  border-radius: 999px;
}
.v8d3-hero-dots {
  position: absolute;
  bottom: 8px;
  right: 10px;
  display: flex;
  gap: 5px;
  z-index: 3;
}
.v8d3-hero-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
}
.v8d3-hero-dot.v8d3-active { background: var(--v8d3-gold); }

/* ---------- Stats strip ---------- */
.v8d3-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 12px;
}
.v8d3-stat {
  background: var(--v8d3-card);
  border: 1px solid var(--v8d3-border);
  border-radius: 12px;
  padding: 10px 6px;
  text-align: center;
}
.v8d3-stat-num {
  font-size: 17px;
  font-weight: 700;
  color: var(--v8d3-gold);
  display: block;
}
.v8d3-stat-label {
  font-size: 11px;
  color: var(--v8d3-text-soft);
  margin-top: 2px;
}

/* ---------- Filter chips ---------- */
.v8d3-filter {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 8px 12px 4px;
  scrollbar-width: none;
}
.v8d3-filter::-webkit-scrollbar { display: none; }
.v8d3-filter-chip {
  flex-shrink: 0;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--v8d3-border);
  background: var(--v8d3-card);
  color: var(--v8d3-text-soft);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.18s ease;
}
.v8d3-filter-chip.v8d3-active {
  background: linear-gradient(135deg, var(--v8d3-accent) 0%, var(--v8d3-accent-soft) 100%);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 10px rgba(34, 139, 34, 0.35);
}

/* ---------- Game sections ---------- */
.v8d3-section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 18px 14px 8px;
}
.v8d3-section-title h2 {
  margin: 0;
  font-size: 18px;
  color: var(--v8d3-gold);
  flex: 1;
}
.v8d3-section-title .v8d3-bar {
  width: 4px;
  height: 18px;
  background: linear-gradient(180deg, var(--v8d3-accent-soft), var(--v8d3-accent-dark));
  border-radius: 2px;
}
.v8d3-more {
  font-size: 12px;
  color: var(--v8d3-text-soft);
  font-weight: 600;
}

.v8d3-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 4px 12px 8px;
}
@media (min-width: 360px) {
  .v8d3-grid { gap: 9px; }
}
.v8d3-game {
  background: var(--v8d3-card);
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid var(--v8d3-border);
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
  display: flex;
  flex-direction: column;
}
.v8d3-game:hover, .v8d3-game:active {
  transform: translateY(-2px);
  border-color: rgba(34, 139, 34, 0.55);
  box-shadow: 0 6px 14px rgba(34, 139, 34, 0.25);
}
.v8d3-game-img {
  aspect-ratio: 1 / 1;
  width: 100%;
  background: #2a2a2a;
  object-fit: cover;
}
.v8d3-game-name {
  font-size: 11.5px;
  color: var(--v8d3-text);
  padding: 5px 6px 7px;
  text-align: center;
  line-height: 1.25;
  min-height: 30px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.v8d3-game-tag {
  position: absolute;
  background: var(--v8d3-accent);
  color: #fff;
  font-size: 9.5px;
  padding: 2px 6px;
  border-radius: 0 0 8px 0;
  font-weight: 700;
}
.v8d3-game { position: relative; }
.v8d3-game-tag.v8d3-hot { background: #c0392b; }
.v8d3-game-tag.v8d3-new { background: var(--v8d3-gold); color: #1f1f1f; }

/* ---------- Content blocks ---------- */
.v8d3-block {
  margin: 14px 12px;
  background: var(--v8d3-card);
  border-radius: var(--v8d3-radius);
  padding: 14px;
  border: 1px solid var(--v8d3-border);
}
.v8d3-block h2 { color: var(--v8d3-gold); margin-top: 0; }
.v8d3-block p { color: var(--v8d3-text-soft); font-size: 14px; }
.v8d3-block ul { margin: 0 0 10px; padding-left: 20px; }
.v8d3-block li { color: var(--v8d3-text-soft); margin-bottom: 5px; font-size: 14px; }
.v8d3-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 8px 0;
}
.v8d3-feature {
  background: var(--v8d3-bg-soft);
  padding: 10px;
  border-radius: 10px;
  border-left: 3px solid var(--v8d3-accent-soft);
}
.v8d3-feature h3 { margin: 0 0 4px; font-size: 14px; color: var(--v8d3-text); }
.v8d3-feature p { margin: 0; font-size: 12.5px; color: var(--v8d3-muted); }

.v8d3-faq-item {
  background: var(--v8d3-bg-soft);
  border-radius: 10px;
  padding: 10px 12px;
  margin-bottom: 8px;
  border: 1px solid var(--v8d3-border);
}
.v8d3-faq-item h3 { margin: 0 0 4px; font-size: 14px; color: var(--v8d3-accent-soft); }
.v8d3-faq-item p { margin: 0; font-size: 13px; color: var(--v8d3-text-soft); }

/* ---------- Promo strip ---------- */
.v8d3-promo-strip {
  margin: 16px 12px;
  background: linear-gradient(135deg, #176b17 0%, #228B22 50%, #2ea64a 100%);
  border-radius: var(--v8d3-radius);
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 8px 20px rgba(34, 139, 34, 0.35);
}
.v8d3-promo-strip .v8d3-promo-text {
  flex: 1;
  min-width: 0;
}
.v8d3-promo-strip h3 {
  color: #fff;
  margin: 0 0 4px;
  font-size: 17px;
}
.v8d3-promo-strip p {
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  font-size: 13px;
}
.v8d3-promo-strip .v8d3-btn {
  background: var(--v8d3-gold);
  color: #1f1f1f;
  flex-shrink: 0;
}

/* ---------- Extended footer (site-specific) ---------- */
.v8d3-ext-footer {
  margin: 18px 12px;
  background: var(--v8d3-card);
  border: 1px solid var(--v8d3-border);
  border-radius: var(--v8d3-radius);
  padding: 14px;
}
.v8d3-ext-footer .v8d3-brand-line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--v8d3-border);
}
.v8d3-ext-footer .v8d3-brand-line img {
  width: 36px; height: 36px; border-radius: 10px;
}
.v8d3-ext-footer h3 { color: var(--v8d3-gold); font-size: 15px; margin: 12px 0 6px; }
.v8d3-ext-footer .v8d3-link-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 14px;
  margin-bottom: 12px;
}
.v8d3-ext-footer a {
  display: block;
  font-size: 13px;
  color: var(--v8d3-text-soft);
  padding: 4px 0;
}
.v8d3-ext-footer a:hover { color: var(--v8d3-accent-soft); }
.v8d3-ext-footer .v8d3-promo-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 10px 0 14px;
}
.v8d3-ext-footer .v8d3-promo-row .v8d3-btn {
  font-size: 12px;
  padding: 8px 4px;
  background: rgba(34, 139, 34, 0.18);
  color: var(--v8d3-text);
  border: 1px solid rgba(34, 139, 34, 0.4);
}
.v8d3-ext-footer .v8d3-disclaimer {
  font-size: 11.5px;
  color: var(--v8d3-muted);
  line-height: 1.6;
  border-top: 1px dashed var(--v8d3-border);
  padding-top: 10px;
}

/* ---------- Common footer ---------- */
.v8d3-footer {
  background: var(--v8d3-bg-deep);
  padding: 16px 14px calc(var(--v8d3-bottom-h) + 22px);
  text-align: center;
  font-size: 12.5px;
  color: var(--v8d3-muted);
  border-top: 1px solid var(--v8d3-border);
}
.v8d3-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 14px;
  margin-bottom: 10px;
}
.v8d3-footer-links a { color: var(--v8d3-text-soft); font-size: 12.5px; }
.v8d3-footer-copy { color: var(--v8d3-muted); }

/* ---------- Mobile menu drawer ---------- */
.v8d3-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease;
  z-index: 90;
}
.v8d3-menu-overlay.v8d3-visible {
  opacity: 1;
  visibility: visible;
}
.v8d3-menu-drawer {
  position: fixed;
  top: 0;
  right: -78%;
  width: 78%;
  max-width: 320px;
  height: 100%;
  background: var(--v8d3-bg-soft);
  z-index: 100;
  transition: right 0.28s ease;
  overflow-y: auto;
  padding: 16px;
  box-shadow: -6px 0 20px rgba(0, 0, 0, 0.4);
}
.v8d3-menu-drawer.v8d3-open { right: 0; }
.v8d3-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--v8d3-border);
}
.v8d3-menu-head img { width: 34px; height: 34px; border-radius: 9px; }
.v8d3-menu-head span { color: var(--v8d3-gold); font-weight: 700; flex: 1; margin-left: 10px; }
.v8d3-menu-drawer a {
  display: block;
  color: var(--v8d3-text);
  padding: 11px 10px;
  border-radius: 8px;
  font-size: 14.5px;
  border-bottom: 1px solid var(--v8d3-border);
}
.v8d3-menu-drawer a:hover, .v8d3-menu-drawer a:focus {
  background: rgba(34, 139, 34, 0.15);
  color: var(--v8d3-gold);
}
.v8d3-menu-drawer .v8d3-menu-actions {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}
.v8d3-menu-drawer .v8d3-menu-actions .v8d3-btn { flex: 1; padding: 10px; }

body.v8d3-no-scroll { overflow: hidden; }

/* ---------- Bottom navigation ---------- */
.v8d3-bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: var(--v8d3-bottom-h);
  background: linear-gradient(180deg, #2c2c2c 0%, #1f1f1f 100%);
  border-top: 1px solid rgba(232, 196, 106, 0.25);
  display: flex;
  align-items: center;
  justify-content: space-around;
  z-index: 70;
  padding-bottom: env(safe-area-inset-bottom);
}
.v8d3-bottom-nav-btn {
  flex: 1;
  height: 100%;
  background: transparent;
  border: none;
  color: var(--v8d3-text-soft);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  font-size: 10.5px;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  font-family: inherit;
  padding: 0;
  transition: color 0.2s ease;
}
.v8d3-bottom-nav-btn svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
  transition: transform 0.2s ease;
}
.v8d3-bottom-nav-btn.is-promo svg {
  transform: translateY(-3px);
}
.v8d3-bottom-nav-btn.is-promo {
  position: relative;
}
.v8d3-bottom-nav-btn.is-promo::before {
  content: "";
  position: absolute;
  top: -10px;
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--v8d3-accent) 0%, var(--v8d3-accent-soft) 100%);
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(34, 139, 34, 0.5);
  z-index: 0;
}
.v8d3-bottom-nav-btn.is-promo svg, .v8d3-bottom-nav-btn.is-promo span {
  position: relative;
  z-index: 1;
}
.v8d3-bottom-nav-btn.is-promo svg {
  width: 20px; height: 20px;
  fill: #fff;
  margin-top: -10px;
}
.v8d3-bottom-nav-btn.is-promo span { color: var(--v8d3-gold); }
.v8d3-bottom-nav-btn.v8d3-current {
  color: var(--v8d3-gold);
}
.v8d3-bottom-nav-btn.v8d3-current::after {
  content: "";
  position: absolute;
  bottom: 4px;
  width: 22px;
  height: 3px;
  background: var(--v8d3-gold);
  border-radius: 2px;
}
.v8d3-bottom-nav-btn:active svg {
  transform: scale(1.15);
}

/* ---------- Back to top ---------- */
.v8d3-to-top {
  position: fixed;
  right: 14px;
  bottom: calc(var(--v8d3-bottom-h) + 14px);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--v8d3-accent);
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.25s ease;
  z-index: 65;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  cursor: pointer;
}
.v8d3-to-top.v8d3-show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.v8d3-to-top svg { width: 20px; height: 20px; fill: currentColor; }

/* ---------- Utility ---------- */
.v8d3-clearfix::after { content: ""; display: table; clear: both; }
.v8d3-sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* Make sure main content clears fixed bars */
.v8d3-main { padding-bottom: 8px; }
