/* ============================================================
   fgc66.click — base surface stylesheet
   Site palette: #4A4A4A / #333333 / #D3D3D3 / #808080
   Design: bold titles + light body, round buttons / square cards,
   horizontal icon-name game bars, compact metric rhythm,
   square high-contrast CTA, contrast-inversion active states.
   All classes and variables use the shell2675b- prefix.
   ============================================================ */

:root {
  --shell2675b-ink: #333333;
  --shell2675b-surface: #4A4A4A;
  --shell2675b-paper: #D3D3D3;
  --shell2675b-muted: #808080;
  --shell2675b-line: rgba(211, 211, 211, 0.16);
  --shell2675b-line-strong: rgba(211, 211, 211, 0.34);
  --shell2675b-text: #D3D3D3;
  --shell2675b-text-soft: rgba(211, 211, 211, 0.86);
  --shell2675b-canvas: 430px;
  --shell2675b-gutter: 12px;
  --shell2675b-topbar: 100px;
  --shell2675b-tabbar: 58px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  background: #333333;
  color: var(--shell2675b-text);
  font-family: "Noto Sans Bengali", "Hind Siliguri", "Kalpurush", Vrinda, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 400;
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: var(--shell2675b-text); }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }

a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid #D3D3D3;
  outline-offset: 2px;
}

/* ---------- centered phone canvas ---------- */
.shell2675b-canvas {
  max-width: var(--shell2675b-canvas);
  margin: 0 auto;
  background: #333333;
  min-height: 100vh;
  position: relative;
}

/* ============================================================
   Fixed header — two layers: brand row + action row
   ============================================================ */
.shell2675b-topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 40;
  background: #333333;
  border-bottom: 1px solid var(--shell2675b-line-strong);
}

.shell2675b-brandrow {
  max-width: var(--shell2675b-canvas);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px var(--shell2675b-gutter) 4px;
}

.shell2675b-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  min-height: 44px;
}

.shell2675b-brand img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid #808080;
}

.shell2675b-brand b {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.4px;
  color: #D3D3D3;
}

.shell2675b-menu-btn {
  width: 44px;
  height: 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4.5px;
  border-radius: 8px;
}

.shell2675b-menu-btn i {
  display: block;
  width: 19px;
  height: 2px;
  background: #D3D3D3;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.shell2675b-menu-btn[aria-expanded="true"] i:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.shell2675b-menu-btn[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
.shell2675b-menu-btn[aria-expanded="true"] i:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.shell2675b-actionrow {
  max-width: var(--shell2675b-canvas);
  margin: 0 auto;
  display: flex;
  gap: 8px;
  padding: 2px var(--shell2675b-gutter) 9px;
}

.shell2675b-register {
  flex: 1.2;
  min-height: 42px;
  border-radius: 21px;
  background: #D3D3D3;
  color: #333333;
  font-weight: 800;
  font-size: 15px;
  transition: transform 0.12s ease;
}

.shell2675b-register:active { transform: scale(0.97); }

.shell2675b-login {
  flex: 1;
  min-height: 42px;
  border-radius: 21px;
  border: 1.5px solid #808080;
  background: rgba(74, 74, 74, 0.4);
  color: #D3D3D3;
  font-weight: 700;
  font-size: 15px;
}

/* ============================================================
   Slide-up route panel
   ============================================================ */
.shell2675b-routes {
  position: fixed;
  inset: 0;
  z-index: 60;
  visibility: hidden;
  pointer-events: none;
}

.shell2675b-routes-open { visibility: visible; pointer-events: auto; }

.shell2675b-routes-veil {
  position: absolute;
  inset: 0;
  background: rgba(51, 51, 51, 0.62);
}

.shell2675b-routes-panel {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  max-width: var(--shell2675b-canvas);
  margin: 0 auto;
  background: #4A4A4A;
  border-top: 3px solid #D3D3D3;
  padding: 14px var(--shell2675b-gutter) 18px;
  transform: translateY(102%);
  transition: transform 0.24s ease;
}

.shell2675b-routes-open .shell2675b-routes-panel { transform: translateY(0); }

.shell2675b-routes-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.shell2675b-routes-head strong { font-size: 15px; font-weight: 800; color: #D3D3D3; }

.shell2675b-routes-close {
  min-height: 44px;
  min-width: 44px;
  font-size: 20px;
  font-weight: 700;
  color: #808080;
  line-height: 1;
}

.shell2675b-routes-list { display: grid; grid-template-columns: 1fr; gap: 6px; }

.shell2675b-routes-list a {
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 8px 12px;
  background: #333333;
  border: 1px solid var(--shell2675b-line);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--shell2675b-text-soft);
}

.shell2675b-routes-list a::before {
  content: "";
  width: 7px; height: 7px;
  margin-right: 10px;
  background: #808080;
  flex: 0 0 7px;
}

.shell2675b-routes-list a:hover, .shell2675b-routes-list a:focus-visible {
  background: #D3D3D3;
  color: #333333;
}

.shell2675b-routes-list a:hover::before, .shell2675b-routes-list a:focus-visible::before { background: #333333; }

/* ============================================================
   Main flow
   ============================================================ */
.shell2675b-main {
  padding-top: calc(var(--shell2675b-topbar) + 6px);
  padding-bottom: calc(var(--shell2675b-tabbar) + 26px);
}

.shell2675b-hero {
  padding: 4px var(--shell2675b-gutter) 12px;
}

.shell2675b-hero h1 {
  font-size: 24px;
  line-height: 1.3;
  font-weight: 800;
  color: #D3D3D3;
  margin-bottom: 8px;
}

.shell2675b-hero-lead {
  font-size: 13.5px;
  color: var(--shell2675b-text-soft);
  margin-bottom: 12px;
}

.shell2675b-hero-lead a { text-decoration: underline; text-underline-offset: 3px; }

/* promo carousel — native horizontal scroll, enhanced by JS */
.shell2675b-carousel {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  border: 1px solid var(--shell2675b-line-strong);
  background: #4A4A4A;
  scrollbar-width: none;
}

.shell2675b-carousel::-webkit-scrollbar { display: none; }

.shell2675b-slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  display: block;
  width: 100%;
}

.shell2675b-slide img {
  width: 100%;
  aspect-ratio: 2.2 / 1;
  object-fit: cover;
}

.shell2675b-dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  padding: 9px 0 2px;
}

.shell2675b-dot {
  width: 22px;
  height: 6px;
  background: #4A4A4A;
  border: 1px solid #808080;
  transition: background 0.15s ease;
}

.shell2675b-dot-on { background: #D3D3D3; border-color: #D3D3D3; }

/* square, high-contrast hero CTA */
.shell2675b-cta {
  display: block;
  width: 100%;
  margin-top: 10px;
  min-height: 48px;
  background: #D3D3D3;
  color: #333333;
  font-size: 15.5px;
  font-weight: 800;
  letter-spacing: 0.2px;
  transition: transform 0.12s ease;
}

.shell2675b-cta:active { transform: scale(0.98); }

/* ============================================================
   Sections and headings
   ============================================================ */
.shell2675b-section { padding: 20px var(--shell2675b-gutter) 4px; }

.shell2675b-h2 {
  font-size: 18px;
  line-height: 1.4;
  font-weight: 800;
  color: #D3D3D3;
  border-left: 4px solid #D3D3D3;
  padding-left: 9px;
  margin-bottom: 9px;
}

.shell2675b-note {
  font-size: 13px;
  color: var(--shell2675b-text-soft);
  margin-bottom: 10px;
}

.shell2675b-note a { text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }

/* ============================================================
   Game presentations — hot strip uses horizontal icon-name bars
   ============================================================ */
.shell2675b-strip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  padding: 2px 0 10px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.shell2675b-strip::-webkit-scrollbar { display: none; }

.shell2675b-bar {
  flex: 0 0 152px;
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 58px;
  padding: 7px 8px;
  background: #4A4A4A;
  border: 1px solid var(--shell2675b-line);
  scroll-snap-align: start;
  text-align: left;
}

.shell2675b-bar img {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  object-fit: cover;
  border: 1px solid var(--shell2675b-line);
}

.shell2675b-bar span {
  font-size: 11.5px;
  line-height: 1.3;
  font-weight: 700;
  color: var(--shell2675b-text-soft);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* compact game grid — 4 columns at 320px, 5 from 375px */
.shell2675b-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.shell2675b-tile {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 5px;
  background: #4A4A4A;
  border: 1px solid var(--shell2675b-line);
  text-align: center;
  min-height: 44px;
}

.shell2675b-tile img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 1px solid var(--shell2675b-line);
}

.shell2675b-tile span {
  font-size: 10.5px;
  line-height: 1.3;
  font-weight: 600;
  color: var(--shell2675b-text-soft);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 27px;
}

.shell2675b-tile:hover span, .shell2675b-bar:hover span { color: #D3D3D3; }

/* ============================================================
   Content modules — square cards, compact metric rows
   ============================================================ */
.shell2675b-module {
  margin: 12px var(--shell2675b-gutter);
  padding: 14px 12px;
  background: #4A4A4A;
  border: 1px solid var(--shell2675b-line);
}

.shell2675b-module > h2 {
  font-size: 17px;
  font-weight: 800;
  color: #D3D3D3;
  line-height: 1.4;
  margin-bottom: 10px;
}

.shell2675b-module p {
  font-size: 13px;
  color: var(--shell2675b-text-soft);
  margin-bottom: 9px;
}

.shell2675b-module p:last-child { margin-bottom: 0; }

.shell2675b-module a { text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }

.shell2675b-rows { display: grid; gap: 8px; }

.shell2675b-row {
  display: flex;
  gap: 10px;
  align-items: stretch;
  border: 1px solid var(--shell2675b-line);
  background: #333333;
}

.shell2675b-row-tag {
  flex: 0 0 74px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 4px;
  background: #D3D3D3;
  color: #333333;
  font-size: 11.5px;
  font-weight: 800;
  text-align: center;
  line-height: 1.25;
}

.shell2675b-row p {
  flex: 1;
  font-size: 12.5px;
  color: var(--shell2675b-text-soft);
  padding: 8px 9px;
  margin: 0;
}

/* compact stat cards */
.shell2675b-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.shell2675b-stat {
  padding: 9px 8px;
  background: #333333;
  border: 1px solid var(--shell2675b-line);
}

.shell2675b-stat b {
  display: block;
  font-size: 17px;
  font-weight: 800;
  color: #D3D3D3;
  line-height: 1.2;
}

.shell2675b-stat span {
  font-size: 11px;
  color: #808080;
  line-height: 1.35;
  display: block;
  margin-top: 3px;
}

/* ordered steps */
.shell2675b-steps { counter-reset: shell2675b-step; display: grid; gap: 7px; }

.shell2675b-step {
  counter-increment: shell2675b-step;
  position: relative;
  padding: 8px 10px 8px 38px;
  background: #333333;
  border: 1px solid var(--shell2675b-line);
  font-size: 12.5px;
  color: var(--shell2675b-text-soft);
}

.shell2675b-step::before {
  content: counter(shell2675b-step);
  position: absolute;
  left: 10px;
  top: 9px;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #D3D3D3;
  color: #333333;
  font-size: 11.5px;
  font-weight: 800;
}

/* compact term index */
.shell2675b-indexlist {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
}

.shell2675b-indexlist div {
  background: #333333;
  border: 1px solid var(--shell2675b-line);
  padding: 8px 9px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.shell2675b-indexlist b {
  font-size: 12.5px;
  font-weight: 800;
  color: #D3D3D3;
  line-height: 1.35;
}

.shell2675b-indexlist span {
  font-size: 11px;
  color: #808080;
  line-height: 1.4;
}

/* FAQ — native details/summary */
.shell2675b-faq { display: grid; gap: 8px; }

.shell2675b-faq details {
  background: #333333;
  border: 1px solid var(--shell2675b-line);
}

.shell2675b-faq summary {
  list-style: none;
  cursor: pointer;
  padding: 10px 12px;
  font-size: 13.5px;
  font-weight: 700;
  color: #D3D3D3;
  min-height: 44px;
  display: flex;
  align-items: center;
}

.shell2675b-faq summary::-webkit-details-marker { display: none; }

.shell2675b-faq summary::after {
  content: "+";
  margin-left: auto;
  padding-left: 10px;
  font-size: 17px;
  font-weight: 700;
  color: #808080;
}

.shell2675b-faq details[open] summary::after { content: "–"; color: #D3D3D3; }

.shell2675b-faq details p {
  padding: 0 12px 11px;
  font-size: 12.5px;
  color: var(--shell2675b-text-soft);
}

/* inline text promo link inside prose */
.shell2675b-golink {
  display: inline;
  font-weight: 800;
  color: #D3D3D3;
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 0;
  min-height: 0;
}

/* ============================================================
   Extended footer: brand > promotions > directory > disclaimer
   ============================================================ */
.shell2675b-xfoot {
  margin: 20px var(--shell2675b-gutter) 0;
  border: 1px solid var(--shell2675b-line-strong);
  background: #4A4A4A;
}

.shell2675b-xfoot-brand {
  padding: 13px 12px 11px;
  border-bottom: 1px solid var(--shell2675b-line);
}

.shell2675b-xfoot-brand .shell2675b-brand { min-height: 40px; margin-bottom: 7px; }

.shell2675b-xfoot-brand p {
  font-size: 12.5px;
  color: var(--shell2675b-text-soft);
}

.shell2675b-promos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  padding: 11px 10px;
  border-bottom: 1px solid var(--shell2675b-line);
}

.shell2675b-promo {
  min-height: 58px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  background: #D3D3D3;
  color: #333333;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  padding: 5px 3px;
  transition: transform 0.12s ease;
}

.shell2675b-promo:active { transform: scale(0.96); }

.shell2675b-promo em {
  font-style: normal;
  font-size: 14px;
  font-weight: 800;
}

.shell2675b-dirwrap { padding: 11px 10px 13px; border-bottom: 1px solid var(--shell2675b-line); }

.shell2675b-dirwrap h2 {
  font-size: 13.5px;
  font-weight: 800;
  color: #D3D3D3;
  margin-bottom: 8px;
}

.shell2675b-dir { display: grid; grid-template-columns: 1fr; gap: 6px; }

.shell2675b-dir a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 7px 10px;
  background: #333333;
  border: 1px solid var(--shell2675b-line);
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--shell2675b-text-soft);
}

.shell2675b-dir a:hover, .shell2675b-dir a:focus-visible { background: #D3D3D3; color: #333333; }

.shell2675b-disclaim {
  padding: 11px 12px 13px;
  font-size: 11px;
  line-height: 1.55;
  color: #808080;
}

/* common footer line */
.shell2675b-footline {
  text-align: center;
  font-size: 11.5px;
  color: #808080;
  padding: 14px var(--shell2675b-gutter) 6px;
}

/* ============================================================
   Mobile bottom tab bar — segmented action bar
   ============================================================ */
.shell2675b-tabbar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 50;
  background: #333333;
  border-top: 1px solid var(--shell2675b-line-strong);
}

.shell2675b-tabbar-inner {
  max-width: var(--shell2675b-canvas);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.shell2675b-tab {
  min-height: var(--shell2675b-tabbar);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  text-decoration: none;
  color: #808080;
  padding-bottom: env(safe-area-inset-bottom);
  position: relative;
}

.shell2675b-tab svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.shell2675b-tab span {
  font-size: 9.8px;
  font-weight: 600;
  letter-spacing: 0.2px;
  opacity: 0.8;
  transform: translateY(1px);
  transition: opacity 0.15s ease, transform 0.15s ease;
}

/* active tab: contrast inversion + label reveal */
.shell2675b-tab-on { color: #D3D3D3; }
.shell2675b-tab-on svg { fill: #D3D3D3; stroke: #333333; }
.shell2675b-tab-on span { opacity: 1; transform: translateY(0); }
.shell2675b-tab-on::before {
  content: "";
  position: absolute;
  top: 0; left: 22%; right: 22%;
  height: 3px;
  background: #D3D3D3;
}

.shell2675b-tab:active span { opacity: 1; }

/* ============================================================
   Breakpoints
   ============================================================ */
@media (min-width: 375px) {
  .shell2675b-grid { grid-template-columns: repeat(5, 1fr); }
  .shell2675b-routes-list { grid-template-columns: 1fr 1fr; }
  .shell2675b-dir { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 430px) {
  .shell2675b-hero h1 { font-size: 22.5px; }
  .shell2675b-h2 { font-size: 17px; }
  .shell2675b-bar { flex-basis: 148px; }
  .shell2675b-row-tag { flex-basis: 68px; }
  .shell2675b-promo { min-height: 56px; }
}

@media (min-width: 431px) {
  .shell2675b-canvas {
    box-shadow: 0 0 0 1px rgba(211, 211, 211, 0.1), 0 0 44px rgba(0, 0, 0, 0.5);
  }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
