/* ==========================================================================
   9bbd.homes base stylesheet
   Prefix: g913-  | Asset hash: b0913b20
   Palette: #F4A460 | #1C2833 | #495057 | #D2B48C | #FDF5E6 | #7FFF00
   Mobile-first canvas 320-430px. Comments in English only.
   ========================================================================== */

:root {
  --g913-bg: #1C2833;
  --g913-bg-2: #232E3C;
  --g913-bg-3: #2C3A4C;
  --g913-card: #243140;
  --g913-muted: #495057;
  --g913-sand: #F4A460;
  --g913-tan: #D2B48C;
  --g913-cream: #FDF5E6;
  --g913-lime: #7FFF00;
  --g913-lime-2: #6FE000;
  --g913-text: #F4ECD8;
  --g913-text-dim: #C8BFAE;
  --g913-border: rgba(210, 180, 140, 0.22);
  --g913-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  --g913-radius: 14px;
  --g913-radius-sm: 10px;
  --g913-touch: 44px;
  --g913-header-h: 56px;
  --g913-bnav-h: 64px;
  --g913-maxw: 440px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Hind Siliguri", "Noto Sans Bengali", "Segoe UI", system-ui, sans-serif;
  background: var(--g913-bg);
  color: var(--g913-text);
  line-height: 1.55;
  font-size: 15px;
  overflow-x: hidden;
}

/* Centered mobile canvas on wider screens */
.g913-shell {
  max-width: var(--g913-maxw);
  margin: 0 auto;
  background: linear-gradient(180deg, #1C2833 0%, #202B3A 100%);
  min-height: 100vh;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.5);
  position: relative;
}

a { color: var(--g913-lime); text-decoration: none; }
a:hover, a:focus { color: #B6FF55; text-decoration: underline; }
img { max-width: 100%; display: block; }
h1, h2, h3 { line-height: 1.3; margin: 0 0 10px; color: var(--g913-cream); }
h1 { font-size: 22px; }
h2 { font-size: 19px; }
h3 { font-size: 16px; }
p { margin: 0 0 12px; color: var(--g913-text-dim); }

/* ============================ Top navigation ============================ */
.g913-header {
  position: sticky;
  top: 0;
  z-index: 60;
  height: var(--g913-header-h);
  background: linear-gradient(90deg, #1C2833 0%, #2C3A4C 60%, #1C2833 100%);
  border-bottom: 1px solid var(--g913-border);
  display: flex;
  align-items: center;
  padding: 0 12px;
  gap: 8px;
}
.g913-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
}
.g913-brand img.g913-logo {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid var(--g913-tan);
  flex-shrink: 0;
}
.g913-brand-name {
  font-weight: 700;
  color: var(--g913-cream);
  font-size: 17px;
  letter-spacing: 0.4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.g913-brand-name span { color: var(--g913-lime); }

.g913-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}
.g913-btn {
  font-family: inherit;
  border: none;
  cursor: pointer;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  padding: 0 14px;
  height: 36px;
  min-width: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
  text-decoration: none;
}
.g913-btn:focus-visible { outline: 2px solid var(--g913-lime); outline-offset: 2px; }
.g913-btn:active { transform: translateY(1px); }
.g913-btn-primary {
  background: linear-gradient(135deg, #7FFF00 0%, #6FE000 100%);
  color: #1C2833;
  box-shadow: 0 4px 14px rgba(127, 255, 0, 0.25);
}
.g913-btn-primary:hover { filter: brightness(1.06); color: #1C2833; text-decoration: none; }
.g913-btn-ghost {
  background: rgba(244, 164, 96, 0.14);
  color: var(--g913-sand);
  border: 1px solid rgba(244, 164, 96, 0.5);
}
.g913-btn-ghost:hover { background: rgba(244, 164, 96, 0.22); color: var(--g913-sand); text-decoration: none; }

.g913-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--g913-border);
  background: rgba(253, 245, 230, 0.05);
  color: var(--g913-cream);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
}
.g913-icon-btn:hover { background: rgba(127, 255, 0, 0.12); }

/* Expandable menu */
.g913-menu-panel {
  position: absolute;
  top: var(--g913-header-h);
  left: 0;
  right: 0;
  background: #1F2A38;
  border-bottom: 1px solid var(--g913-border);
  padding: 12px 14px 16px;
  display: none;
  z-index: 55;
  box-shadow: var(--g913-shadow);
}
.g913-menu-open { display: block; animation: g913-fade 0.18s ease; }
@keyframes g913-fade { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.g913-menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.g913-menu-grid a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: var(--g913-radius-sm);
  background: var(--g913-bg-3);
  color: var(--g913-text);
  font-size: 14px;
  border: 1px solid transparent;
  min-height: var(--g913-touch);
}
.g913-menu-grid a::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--g913-lime);
  border-radius: 50%;
  flex-shrink: 0;
}
.g913-menu-grid a:hover { border-color: var(--g913-border); text-decoration: none; background: #324458; }

/* ============================ Layout padding ============================ */
.g913-main {
  padding: 14px 12px calc(var(--g913-bnav-h) + 26px);
}

/* ============================ Hero carousel ============================ */
.g913-hero {
  position: relative;
  border-radius: var(--g913-radius);
  overflow: hidden;
  box-shadow: var(--g913-shadow);
  border: 1px solid var(--g913-border);
  margin-bottom: 16px;
}
.g913-slides { position: relative; }
.g913-slide {
  display: none;
  position: relative;
  cursor: pointer;
}
.g913-slide-active { display: block; }
.g913-slide img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.g913-slide-overlay {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 14px;
  background: rgba(28, 40, 51, 0.72);
  backdrop-filter: blur(2px);
  padding: 10px 12px;
  border-radius: var(--g913-radius-sm);
  border: 1px solid var(--g913-border);
}
.g913-slide-overlay h2 { margin: 0 0 4px; color: var(--g913-lime); font-size: 16px; }
.g913-slide-overlay p { margin: 0; font-size: 12px; color: var(--g913-text); }
.g913-hero-cta {
  display: inline-block;
  margin-top: 8px;
  background: var(--g913-lime);
  color: #1C2833;
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 12px;
}
.g913-hero-cta:hover { color: #1C2833; text-decoration: none; filter: brightness(1.06); }

.g913-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 8px 0;
}
.g913-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(253, 245, 230, 0.35);
  cursor: pointer;
  border: none;
}
.g913-dot-active { background: var(--g913-lime); transform: scale(1.2); }

.g913-hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(28, 40, 51, 0.7);
  color: var(--g913-cream);
  border: 1px solid var(--g913-border);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.g913-hero-nav.g913-prev { left: 8px; }
.g913-hero-nav.g913-next { right: 8px; }

/* ============================ Section blocks ============================ */
.g913-section {
  margin-bottom: 20px;
}
.g913-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  gap: 8px;
}
.g913-section-head h2 {
  position: relative;
  padding-left: 12px;
  margin: 0;
  font-size: 18px;
}
.g913-section-head h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  bottom: 3px;
  width: 4px;
  background: var(--g913-lime);
  border-radius: 2px;
}
.g913-more {
  font-size: 12px;
  color: var(--g913-tan);
}
.g913-more:hover { color: var(--g913-lime); }

.g913-card {
  background: var(--g913-card);
  border: 1px solid var(--g913-border);
  border-radius: var(--g913-radius);
  padding: 14px;
  box-shadow: var(--g913-shadow);
}

/* ============================ Quick entry tiles ============================ */
.g913-tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.g913-tile {
  background: var(--g913-bg-3);
  border: 1px solid var(--g913-border);
  border-radius: var(--g913-radius-sm);
  padding: 12px 6px;
  text-align: center;
  color: var(--g913-text);
  font-size: 12px;
  font-weight: 600;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  min-height: 64px;
}
.g913-tile:hover { border-color: var(--g913-lime); color: var(--g913-cream); text-decoration: none; }
.g913-tile-ico {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--g913-sand);
}

/* ============================ Winner ticker ============================ */
.g913-ticker {
  background: rgba(127, 255, 0, 0.08);
  border: 1px dashed rgba(127, 255, 0, 0.4);
  border-radius: var(--g913-radius-sm);
  padding: 8px 10px;
  margin-bottom: 16px;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 8px;
}
.g913-ticker-tag {
  flex-shrink: 0;
  background: var(--g913-lime);
  color: #1C2833;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 999px;
}
.g913-ticker-mask {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
}
.g913-ticker-track {
  display: inline-block;
  white-space: nowrap;
  animation: g913-marquee 26s linear infinite;
  font-size: 12px;
  color: var(--g913-cream);
}
.g913-ticker-track span { margin-right: 28px; }
.g913-ticker-track span b { color: var(--g913-sand); }
@keyframes g913-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================ Game grid ============================ */
.g913-cat-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 18px 0 10px;
}
.g913-cat-tag {
  background: var(--g913-sand);
  color: #1C2833;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
}
.g913-cat-head h3 {
  margin: 0;
  color: var(--g913-cream);
  font-size: 15px;
}

.g913-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
@media (min-width: 360px) {
  .g913-grid { gap: 9px; }
}
@media (min-width: 414px) {
  .g913-grid { grid-template-columns: repeat(5, 1fr); }
}

.g913-game {
  background: var(--g913-bg-3);
  border: 1px solid var(--g913-border);
  border-radius: var(--g913-radius-sm);
  padding: 6px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
  overflow: hidden;
}
.g913-game:hover {
  transform: translateY(-2px);
  border-color: var(--g913-lime);
  box-shadow: 0 6px 18px rgba(127, 255, 0, 0.18);
}
.g913-game-thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  overflow: hidden;
  background: #000;
  margin-bottom: 5px;
}
.g913-game-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.g913-game-name {
  font-size: 11px;
  color: var(--g913-cream);
  font-weight: 600;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 28px;
  word-break: break-word;
}

/* ============================ Promo banner ============================ */
.g913-promo {
  background: linear-gradient(135deg, #2C3A4C 0%, #243140 60%, #2C3A4C 100%);
  border: 1px solid var(--g913-border);
  border-radius: var(--g913-radius);
  padding: 16px;
  margin: 16px 0;
  position: relative;
  overflow: hidden;
}
.g913-promo::after {
  content: "";
  position: absolute;
  right: -30px;
  top: -30px;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(127, 255, 0, 0.22), transparent 70%);
  border-radius: 50%;
}
.g913-promo h3 { color: var(--g913-lime); margin-bottom: 6px; }
.g913-promo p { margin-bottom: 12px; font-size: 13px; }

/* ============================ How to play steps ============================ */
.g913-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: step;
}
.g913-steps li {
  counter-increment: step;
  position: relative;
  padding: 10px 10px 10px 42px;
  margin-bottom: 8px;
  background: var(--g913-bg-3);
  border: 1px solid var(--g913-border);
  border-radius: var(--g913-radius-sm);
  color: var(--g913-text);
  font-size: 13.5px;
}
.g913-steps li::before {
  content: counter(step);
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  background: var(--g913-lime);
  color: #1C2833;
  border-radius: 50%;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

/* ============================ Checklist ============================ */
.g913-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}
.g913-checklist li {
  position: relative;
  padding: 8px 8px 8px 28px;
  font-size: 13px;
  color: var(--g913-text);
  border-bottom: 1px dashed var(--g913-border);
}
.g913-checklist li::before {
  content: "✓";
  position: absolute;
  left: 6px;
  top: 7px;
  color: var(--g913-lime);
  font-weight: 800;
}

/* ============================ Info table ============================ */
.g913-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--g913-bg-3);
  border-radius: var(--g913-radius-sm);
  overflow: hidden;
  font-size: 13px;
}
.g913-table th, .g913-table td {
  padding: 9px 10px;
  border-bottom: 1px solid var(--g913-border);
  text-align: left;
  color: var(--g913-text);
}
.g913-table th {
  background: rgba(127, 255, 0, 0.1);
  color: var(--g913-cream);
  font-size: 12px;
}

/* ============================ SEO text ============================ */
.g913-seo {
  background: var(--g913-card);
  border: 1px solid var(--g913-border);
  border-radius: var(--g913-radius);
  padding: 16px;
  margin: 16px 0;
}
.g913-seo h2 { color: var(--g913-lime); }
.g913-seo p { font-size: 13.5px; line-height: 1.7; }
.g913-seo a { color: var(--g913-sand); }

/* ============================ Footer directory ============================ */
.g913-footer {
  background: #161F2A;
  border-top: 1px solid var(--g913-border);
  padding: 18px 14px calc(var(--g913-bnav-h) + 18px);
}
.g913-footer h3 {
  color: var(--g913-lime);
  font-size: 14px;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}
.g913-footer p { font-size: 12.5px; color: var(--g913-text-dim); }
.g913-footer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 12px 0;
}
.g913-footer-col {
  background: var(--g913-bg-3);
  border: 1px solid var(--g913-border);
  border-radius: var(--g913-radius-sm);
  padding: 10px;
}
.g913-footer-col h4 {
  margin: 0 0 6px;
  font-size: 13px;
  color: var(--g913-tan);
}
.g913-footer-col a {
  display: block;
  font-size: 12px;
  padding: 3px 0;
  color: var(--g913-text);
}
.g913-footer-col a:hover { color: var(--g913-lime); }
.g913-promo-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin: 10px 0;
}
.g913-promo-row .g913-btn { width: 100%; }
.g913-disclaimer {
  font-size: 11.5px;
  color: var(--g913-text-dim);
  border-top: 1px dashed var(--g913-border);
  padding-top: 10px;
  margin-top: 8px;
  line-height: 1.6;
}
.g913-copy {
  text-align: center;
  font-size: 11.5px;
  color: var(--g913-text-dim);
  margin-top: 10px;
}

/* ============================ Bottom nav (floating dock) ============================ */
.g913-bnav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 70;
  display: flex;
  justify-content: center;
  pointer-events: none;
}
.g913-bnav-inner {
  max-width: var(--g913-maxw);
  width: 100%;
  background: linear-gradient(180deg, #232E3C 0%, #18222E 100%);
  border-top: 1px solid var(--g913-border);
  box-shadow: 0 -6px 22px rgba(0, 0, 0, 0.45);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  height: var(--g913-bnav-h);
  pointer-events: auto;
}
.g913-bnav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: var(--g913-text-dim);
  font-size: 10.5px;
  font-weight: 600;
  position: relative;
  padding: 6px 2px;
  cursor: pointer;
  border: none;
  background: transparent;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
.g913-bnav-item .g913-bnav-ico {
  font-size: 18px;
  line-height: 1;
  transition: transform 0.18s ease, color 0.18s ease;
}
.g913-bnav-item:hover { color: var(--g913-cream); text-decoration: none; }
.g913-bnav-item:hover .g913-bnav-ico { transform: translateY(-2px); color: var(--g913-sand); }
.g913-bnav-active {
  color: var(--g913-lime) !important;
}
.g913-bnav-active::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 22px;
  height: 3px;
  background: var(--g913-lime);
  border-radius: 2px;
  box-shadow: 0 0 6px rgba(127, 255, 0, 0.7);
}
.g913-bnav-item.g913-bnav-promo {
  color: var(--g913-sand);
}
.g913-bnav-item.g913-bnav-promo .g913-bnav-ico {
  color: var(--g913-lime);
}

/* Helper utility */
.g913-hide { display: none !important; }
.g913-text-cream { color: var(--g913-cream); }
.g913-mt-0 { margin-top: 0; }
