/* ==========================================================================
   kx8 apk - canvas-responsive stylesheet (kx8apk.click)
   Mobile-first canvas: 320-430px, centered on wide screens.
   Class / property prefix: c35c52-
   Palette: #B2DFDB | #1E1E1E | #495057 | #26A69A | #E8F5E8
   Direction: geometric headings + neutral body, small-radius high density,
   light floating image cards, restrained fade feedback, compact icon CTAs.
   ========================================================================== */

:root {
  --c35c52-ink: #1E1E1E;
  --c35c52-slate: #495057;
  --c35c52-teal: #26A69A;
  --c35c52-mint: #B2DFDB;
  --c35c52-paper: #E8F5E8;
  --c35c52-panel: #232625;
  --c35c52-panel-2: #242827;
  --c35c52-canvas: 430px;
  --c35c52-bar-h: 56px;
  --c35c52-font-head: "Century Gothic", "Futura", "Trebuchet MS", "Nirmala UI", "Noto Sans Bengali", "Segoe UI", sans-serif;
  --c35c52-font-body: "Segoe UI", "Nirmala UI", "Noto Sans Bengali", Roboto, "Helvetica Neue", Arial, sans-serif;
  --c35c52-r-s: 4px;
  --c35c52-r-m: 7px;
  --c35c52-r-l: 10px;
  --c35c52-ease: cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; }

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

html, body { overflow-x: clip; }

body {
  margin: 0;
  background: #141615;
  color: var(--c35c52-paper);
  font-family: var(--c35c52-font-body);
  font-size: 14px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: rgba(38, 166, 154, .4); color: #FFFFFF; }

a { color: var(--c35c52-teal); }

button { font-family: var(--c35c52-font-body); }

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--c35c52-teal);
  outline-offset: 2px;
  border-radius: var(--c35c52-r-s);
}

img { max-width: 100%; }

/* --------------------------------------------------------------------------
   Phone canvas shell - stays a mobile canvas even on desktop viewports
   -------------------------------------------------------------------------- */

.c35c52-shell {
  position: relative;
  max-width: var(--c35c52-canvas);
  margin: 0 auto;
  min-height: 100vh;
  background: var(--c35c52-ink);
  box-shadow: 0 0 0 1px rgba(73, 80, 87, .35), 0 0 60px rgba(0, 0, 0, .55);
}

/* --------------------------------------------------------------------------
   Shared inline icon (sprite driven, stroke line icons)
   -------------------------------------------------------------------------- */

.c35c52-ic {
  display: inline-block;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

/* --------------------------------------------------------------------------
   Top compact brand bar + route panel
   -------------------------------------------------------------------------- */

.c35c52-topbar {
  position: sticky;
  top: 0;
  z-index: 70;
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: var(--c35c52-bar-h);
  padding: 8px 10px;
  background: rgba(30, 30, 30, .93);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(73, 80, 87, .7);
  transition: box-shadow .25s var(--c35c52-ease);
}

.c35c52-topbar.c35c52-scrolled {
  box-shadow: 0 8px 18px rgba(0, 0, 0, .45);
}

.c35c52-brand {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-right: auto;
  min-width: 0;
}

.c35c52-brand-logo {
  display: block;
  width: 30px;
  height: 30px;
  border-radius: var(--c35c52-r-m);
  border: 1px solid rgba(38, 166, 154, .6);
  background: #151716;
  object-fit: cover;
}

.c35c52-brand-name {
  font-family: var(--c35c52-font-head);
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  color: var(--c35c52-paper);
  letter-spacing: .02em;
  white-space: nowrap;
}

.c35c52-brand-name::after {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-left: 6px;
  border-radius: 1px;
  background: var(--c35c52-teal);
  vertical-align: 2px;
}

.c35c52-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.c35c52-btn {
  font-family: var(--c35c52-font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1;
  min-height: 38px;
  padding: 0 13px;
  border-radius: 6px;
  cursor: pointer;
  transition: transform .15s var(--c35c52-ease), box-shadow .15s var(--c35c52-ease), background .15s;
}

.c35c52-btn:active { transform: translateY(1px); }

.c35c52-btn-register {
  background: var(--c35c52-teal);
  color: #0E1F1B;
  border: 1px solid var(--c35c52-teal);
  box-shadow: 0 2px 12px rgba(38, 166, 154, .35);
}

.c35c52-btn-login {
  background: transparent;
  color: var(--c35c52-mint);
  border: 1px solid rgba(38, 166, 154, .75);
}

.c35c52-menu-btn {
  width: 40px;
  height: 38px;
  display: grid;
  place-items: center;
  background: transparent;
  border: 1px solid rgba(73, 80, 87, .7);
  border-radius: 6px;
  color: var(--c35c52-mint);
  cursor: pointer;
}

.c35c52-menu-btn .c35c52-ic { width: 20px; height: 20px; }

.c35c52-menu-btn .c35c52-ic-close { display: none; }

.c35c52-menu-btn.c35c52-open .c35c52-ic-menu { display: none; }

.c35c52-menu-btn.c35c52-open .c35c52-ic-close { display: inline-block; }

/* compact route panel that drops under the brand bar */
.c35c52-route {
  position: absolute;
  top: 100%;
  left: 10px;
  right: 10px;
  z-index: 65;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 8px;
  background: #222524;
  border: 1px solid var(--c35c52-slate);
  border-radius: var(--c35c52-r-l);
  box-shadow: 0 16px 34px rgba(0, 0, 0, .55);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .22s var(--c35c52-ease), transform .22s var(--c35c52-ease), visibility .22s;
}

.c35c52-route.c35c52-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.c35c52-route-link {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 10px;
  background: #1E2221;
  border: 1px solid rgba(73, 80, 87, .55);
  border-radius: 6px;
  color: var(--c35c52-mint);
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.35;
}

.c35c52-route-link .c35c52-ic {
  width: 17px;
  height: 17px;
  stroke: var(--c35c52-teal);
}

.c35c52-route-link.c35c52-current {
  border-color: rgba(38, 166, 154, .7);
  background: rgba(38, 166, 154, .12);
  color: var(--c35c52-paper);
}

/* --------------------------------------------------------------------------
   Hero carousel with real local banners
   -------------------------------------------------------------------------- */

.c35c52-hero { padding: 10px 10px 0; }

.c35c52-carousel {
  position: relative;
  aspect-ratio: 2.35 / 1;
  min-height: 136px;
  border-radius: var(--c35c52-r-l);
  overflow: hidden;
  border: 1px solid rgba(73, 80, 87, .6);
  background: var(--c35c52-panel);
}

.c35c52-slide {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity .55s var(--c35c52-ease), visibility .55s;
}

.c35c52-slide.c35c52-on {
  opacity: 1;
  visibility: visible;
}

.c35c52-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.c35c52-dots {
  position: absolute;
  bottom: 7px;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 6px;
}

.c35c52-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 99px;
  background: rgba(232, 245, 232, .45);
  cursor: pointer;
  transition: width .25s var(--c35c52-ease), background .25s;
}

.c35c52-dot.c35c52-on {
  width: 18px;
  background: var(--c35c52-teal);
}

/* --------------------------------------------------------------------------
   Category chip bar (scrolls horizontally, jumps to game sections)
   -------------------------------------------------------------------------- */

.c35c52-chipbar {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  padding: 12px 10px 2px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.c35c52-chipbar::-webkit-scrollbar { display: none; }

.c35c52-chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  padding: 0 12px;
  border-radius: 99px;
  background: var(--c35c52-panel);
  border: 1px solid rgba(73, 80, 87, .6);
  color: var(--c35c52-mint);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color .2s, background .2s;
}

.c35c52-chip .c35c52-ic {
  width: 15px;
  height: 15px;
  stroke: var(--c35c52-teal);
}

.c35c52-chip.c35c52-on {
  background: rgba(38, 166, 154, .14);
  border-color: rgba(38, 166, 154, .6);
}

/* --------------------------------------------------------------------------
   Main column, lead block and stat tiles
   -------------------------------------------------------------------------- */

.c35c52-main { padding: 2px 12px 0; }

.c35c52-lead {
  padding: 14px 2px 6px;
}

.c35c52-lead-p {
  margin: 0 0 10px;
  font-size: 13.5px;
  line-height: 1.9;
  color: rgba(232, 245, 232, .88);
}

.c35c52-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  margin: 4px 0 6px;
}

.c35c52-stat {
  padding: 9px 6px 8px;
  background: var(--c35c52-panel);
  border: 1px solid rgba(73, 80, 87, .45);
  border-radius: var(--c35c52-r-m);
  text-align: center;
}

.c35c52-stat b {
  display: block;
  font-family: var(--c35c52-font-head);
  font-size: 15px;
  line-height: 1.2;
  color: var(--c35c52-teal);
}

.c35c52-stat span {
  display: block;
  margin-top: 2px;
  font-size: 10.5px;
  line-height: 1.45;
  color: rgba(178, 223, 219, .72);
}

/* --------------------------------------------------------------------------
   Generic content section rhythm
   -------------------------------------------------------------------------- */

.c35c52-sec {
  padding: 18px 0 4px;
  scroll-margin-top: 68px;
}

.c35c52-h1 {
  margin: 12px 0 10px;
  font-family: var(--c35c52-font-head);
  font-size: 19px;
  line-height: 1.55;
  font-weight: 700;
  color: var(--c35c52-paper);
}

.c35c52-h2 {
  position: relative;
  margin: 0 0 8px;
  padding-left: 11px;
  font-family: var(--c35c52-font-head);
  font-size: 17px;
  line-height: 1.5;
  font-weight: 700;
  color: var(--c35c52-paper);
}

.c35c52-h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  bottom: 5px;
  width: 4px;
  border-radius: 2px;
  background: var(--c35c52-teal);
}

.c35c52-sec-p {
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 1.9;
  color: rgba(232, 245, 232, .82);
}

.c35c52-inline-link {
  color: var(--c35c52-teal);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
  font-size: inherit;
  line-height: inherit;
}

/* --------------------------------------------------------------------------
   Game library: category blocks + light floating image cards
   -------------------------------------------------------------------------- */

.c35c52-cat {
  margin: 0 0 16px;
  scroll-margin-top: 68px;
}

.c35c52-cat-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 12px 0 8px;
}

.c35c52-cat-title {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  font-family: var(--c35c52-font-head);
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--c35c52-mint);
}

.c35c52-cat-title .c35c52-ic {
  width: 17px;
  height: 17px;
  stroke: var(--c35c52-teal);
}

.c35c52-cat-count {
  margin-left: auto;
  flex: 0 0 auto;
  padding: 3px 9px;
  background: var(--c35c52-panel);
  border: 1px solid rgba(73, 80, 87, .6);
  border-radius: 99px;
  font-size: 10.5px;
  font-weight: 700;
  color: rgba(178, 223, 219, .68);
}

.c35c52-games {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.c35c52-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 5px 5px 6px;
  background: var(--c35c52-panel-2);
  border: 1px solid rgba(73, 80, 87, .5);
  border-radius: var(--c35c52-r-m);
  cursor: pointer;
  text-align: center;
  transition: border-color .2s, transform .2s var(--c35c52-ease), box-shadow .2s;
}

.c35c52-card:hover {
  border-color: rgba(38, 166, 154, .7);
}

.c35c52-card:active {
  transform: scale(.96);
  border-color: var(--c35c52-teal);
}

.c35c52-card-img {
  display: block;
  border-radius: 5px;
  overflow: hidden;
  background: #1A1D1C;
  box-shadow: 0 3px 9px rgba(0, 0, 0, .38);
}

.c35c52-card-img img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.c35c52-card-name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 29px;
  font-size: 10.5px;
  line-height: 1.4;
  font-weight: 600;
  color: var(--c35c52-mint);
  overflow-wrap: break-word;
}

/* --------------------------------------------------------------------------
   Payment conditions module (rows with teal spine)
   -------------------------------------------------------------------------- */

.c35c52-conds {
  display: grid;
  gap: 8px;
  margin: 4px 0 10px;
}

.c35c52-cond {
  padding: 10px 12px;
  background: var(--c35c52-panel);
  border: 1px solid rgba(73, 80, 87, .45);
  border-left: 3px solid var(--c35c52-teal);
  border-radius: var(--c35c52-r-m);
}

.c35c52-cond-t {
  margin: 0 0 3px;
  font-family: var(--c35c52-font-head);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--c35c52-paper);
}

.c35c52-cond-d {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.75;
  color: rgba(232, 245, 232, .75);
}

/* --------------------------------------------------------------------------
   App download steps (numbered, bengali counters)
   -------------------------------------------------------------------------- */

.c35c52-steps {
  margin: 4px 0 10px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
  counter-reset: c35c52step;
}

.c35c52-step {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  background: var(--c35c52-panel);
  border: 1px solid rgba(73, 80, 87, .45);
  border-radius: var(--c35c52-r-m);
}

.c35c52-step::before {
  counter-increment: c35c52step;
  content: counter(c35c52step, bengali);
  flex: 0 0 24px;
  height: 24px;
  display: grid;
  place-items: center;
  margin-top: 2px;
  border-radius: 50%;
  background: rgba(38, 166, 154, .16);
  border: 1px solid rgba(38, 166, 154, .6);
  color: var(--c35c52-teal);
  font-family: var(--c35c52-font-head);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.c35c52-step-t {
  margin: 0 0 3px;
  font-family: var(--c35c52-font-head);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--c35c52-paper);
}

.c35c52-step-d {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.75;
  color: rgba(232, 245, 232, .75);
}

/* --------------------------------------------------------------------------
   Player review cards (horizontal snap row)
   -------------------------------------------------------------------------- */

.c35c52-quotes {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 2px 2px 8px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.c35c52-quotes::-webkit-scrollbar { display: none; }

.c35c52-quote {
  flex: 0 0 82%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
  scroll-snap-align: start;
  background: var(--c35c52-panel);
  border: 1px solid rgba(73, 80, 87, .5);
  border-radius: 8px;
}

.c35c52-quote-p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.85;
  color: rgba(232, 245, 232, .85);
}

.c35c52-quote-w {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  color: rgba(178, 223, 219, .75);
}

.c35c52-quote-w::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--c35c52-teal);
}

/* --------------------------------------------------------------------------
   Tricks module (dashed teal rows)
   -------------------------------------------------------------------------- */

.c35c52-tricks {
  display: grid;
  gap: 8px;
  margin: 4px 0 10px;
}

.c35c52-trick {
  padding: 10px 12px;
  background: rgba(38, 166, 154, .05);
  border: 1px dashed rgba(38, 166, 154, .45);
  border-radius: var(--c35c52-r-m);
}

.c35c52-trick b {
  display: block;
  margin-bottom: 3px;
  font-family: var(--c35c52-font-head);
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--c35c52-paper);
}

.c35c52-trick span {
  font-size: 12px;
  line-height: 1.75;
  color: rgba(232, 245, 232, .75);
}

/* --------------------------------------------------------------------------
   Term explanation (two column definition rows, single column on 320px)
   -------------------------------------------------------------------------- */

.c35c52-terms {
  margin: 4px 0 10px;
  border: 1px solid rgba(73, 80, 87, .5);
  border-radius: 8px;
  overflow: hidden;
}

.c35c52-term {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 10px;
  padding: 10px 12px;
  background: var(--c35c52-panel);
  border-bottom: 1px solid rgba(73, 80, 87, .35);
}

.c35c52-term:last-child { border-bottom: 0; }

.c35c52-term dt {
  margin: 0;
  font-family: var(--c35c52-font-head);
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--c35c52-teal);
}

.c35c52-term dd {
  margin: 0;
  font-size: 12px;
  line-height: 1.75;
  color: rgba(232, 245, 232, .75);
}

@media (max-width: 339px) {
  .c35c52-term { grid-template-columns: 1fr; gap: 2px; }
}

/* --------------------------------------------------------------------------
   Extended footer: brand > promotions > directory > disclaimer
   -------------------------------------------------------------------------- */

.c35c52-xf {
  margin-top: 22px;
  padding: 16px 12px 4px;
  background: #1B1E1D;
  border-top: 1px solid rgba(73, 80, 87, .55);
}

.c35c52-xf-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.c35c52-xf-brand img {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  border: 1px solid rgba(38, 166, 154, .5);
  object-fit: cover;
}

.c35c52-xf-brand strong {
  font-family: var(--c35c52-font-head);
  font-size: 15px;
  line-height: 1;
  color: var(--c35c52-paper);
}

.c35c52-xf-p {
  margin: 0 0 14px;
  font-size: 12px;
  line-height: 1.8;
  color: rgba(232, 245, 232, .7);
}

.c35c52-xf-label {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 8px;
  font-family: var(--c35c52-font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  line-height: 1;
  color: rgba(178, 223, 219, .62);
}

.c35c52-xf-label::before {
  content: "";
  width: 3px;
  height: 12px;
  border-radius: 2px;
  background: var(--c35c52-teal);
}

.c35c52-promos {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 16px;
}

.c35c52-promo {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 0 11px;
  background: rgba(38, 166, 154, .09);
  border: 1px solid rgba(38, 166, 154, .55);
  border-radius: var(--c35c52-r-m);
  color: var(--c35c52-mint);
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .15s var(--c35c52-ease), background .15s;
}

.c35c52-promo .c35c52-ic {
  width: 15px;
  height: 15px;
  stroke: var(--c35c52-teal);
}

.c35c52-promo:active {
  transform: scale(.95);
  background: rgba(38, 166, 154, .2);
}

.c35c52-dir {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 10px;
  margin-bottom: 16px;
}

.c35c52-dir a {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 6px 9px;
  background: #222524;
  border: 1px solid rgba(73, 80, 87, .4);
  border-radius: 6px;
  color: rgba(232, 245, 232, .8);
  text-decoration: none;
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.4;
}

.c35c52-dir a::after {
  content: "\203A";
  margin-left: auto;
  color: var(--c35c52-teal);
  font-weight: 700;
}

.c35c52-disc {
  margin: 0;
  padding-top: 10px;
  border-top: 1px solid rgba(73, 80, 87, .4);
  font-size: 10.5px;
  line-height: 1.75;
  color: rgba(178, 223, 219, .55);
}

/* --------------------------------------------------------------------------
   Common footer (copyright) + floating outlined bottom function bar
   -------------------------------------------------------------------------- */

.c35c52-footer {
  padding: 14px 12px calc(96px + env(safe-area-inset-bottom, 0px));
  text-align: center;
  font-size: 11px;
  line-height: 1.7;
  color: rgba(178, 223, 219, .55);
}

.c35c52-bottom-nav {
  position: fixed;
  bottom: calc(8px + env(safe-area-inset-bottom, 0px));
  left: 50%;
  transform: translateX(-50%);
  width: min(calc(100% - 20px), 410px);
  z-index: 60;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;
  padding: 5px 6px;
  background: rgba(24, 27, 26, .95);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid var(--c35c52-slate);
  border-radius: 12px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .5);
}

.c35c52-bn-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 50px;
  padding: 4px 2px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: rgba(178, 223, 219, .7);
  font-family: var(--c35c52-font-body);
  font-size: 9.5px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background .25s var(--c35c52-ease), color .25s;
}

.c35c52-bn-item .c35c52-ic {
  width: 21px;
  height: 21px;
}

/* active role: contrast inversion + sliding indicator line */
.c35c52-bn-item::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 50%;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: var(--c35c52-teal);
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  transition: transform .3s var(--c35c52-ease);
}

.c35c52-bn-item.c35c52-active {
  background: var(--c35c52-teal);
  color: #0D1B18;
}

.c35c52-bn-item.c35c52-active::before {
  transform: translateX(-50%) scaleX(1);
  background: #0D1B18;
}

.c35c52-bn-item.c35c52-active .c35c52-ic { stroke: #0D1B18; }

/* --------------------------------------------------------------------------
   Restrained reveal feedback
   -------------------------------------------------------------------------- */

.c35c52-reveal {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .5s var(--c35c52-ease), transform .5s var(--c35c52-ease);
}

.c35c52-reveal.c35c52-in {
  opacity: 1;
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   Width adaptations inside the 320-430px canvas
   -------------------------------------------------------------------------- */

@media (min-width: 375px) {
  .c35c52-lead-p { font-size: 14px; }
  .c35c52-h2 { font-size: 18px; }
  .c35c52-card-name { font-size: 11px; }
}

@media (min-width: 400px) {
  .c35c52-games { grid-template-columns: repeat(5, 1fr); }
  .c35c52-quote { flex-basis: 68%; }
}

/* wide screens: keep the same mobile canvas, add breathing room outside */
@media (min-width: 431px) {
  body { background: #101211; }
  .c35c52-shell { margin: 0 auto; }
}

/* Part1 compatibility: touch targets, readable guidance and distinct help layouts. */
.c35c52-btn, .c35c52-menu-btn, .c35c52-chip, .c35c52-promo, .c35c52-dir a { min-height: 44px; }
.c35c52-menu-btn { width: 44px; height: 44px; }
.c35c52-brand-name::after { display: none; }
.c35c52-brand { flex-shrink: 0; }
.c35c52-topbar { flex-wrap: wrap; }
.c35c52-actions { margin-left: auto; }
.c35c52-btn { padding: 0 10px; }
.c35c52-route { max-height: calc(100dvh - 150px); overflow-y: auto; }
.c35c52-route-link { min-width: 0; overflow-wrap: anywhere; }
.c35c52-route-link.c35c52-current { background: var(--c35c52-mint); color: var(--c35c52-ink); }
.c35c52-route-link.c35c52-current .c35c52-ic { stroke: var(--c35c52-ink); fill: rgba(30,30,30,.12); }
.c35c52-games { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.c35c52-card { min-width: 0; }
.c35c52-card-name { min-height: 32px; font-size: 11px; }
.c35c52-carousel { aspect-ratio: 1915 / 450; min-height: 0; }
.c35c52-slide img { object-fit: contain; }
.c35c52-dots { position: relative; bottom: auto; min-height: 44px; align-items: center; gap: 0; }
.c35c52-dot { width: 44px; height: 44px; background: transparent; position: relative; }
.c35c52-dot::after { content: ''; position: absolute; top: 20px; left: 17px; width: 10px; height: 4px; border-radius: 3px; background: var(--c35c52-slate); transition: width .25s, left .25s; }
.c35c52-dot.c35c52-on { width: 44px; background: transparent; }
.c35c52-dot.c35c52-on::after { left: 12px; width: 20px; background: var(--c35c52-teal); }
.c35c52-carousel-tools { display: flex; align-items: center; justify-content: center; }
.c35c52-pause { min-height: 44px; padding: 0 12px; background: transparent; border: 0; color: var(--c35c52-mint); cursor: pointer; }
.c35c52-inline-link { display: inline-flex; align-items: center; min-height: 44px; }
.c35c52-sec a, .c35c52-lead a { color: var(--c35c52-mint); text-underline-offset: 3px; display: inline-flex; align-items: center; min-height: 44px; }
.c35c52-reveal { opacity: 1; transform: none; }
.c35c52-reveal.c35c52-in { animation: c35c52-arrive .35s ease-out; }
@keyframes c35c52-arrive { from { transform: translateY(5px); } to { transform: translateY(0); } }
.c35c52-main { overflow-wrap: anywhere; }
.c35c52-help-lead { padding: 12px 2px; border-bottom: 1px solid var(--c35c52-slate); }
.c35c52-help-lead p, .c35c52-help p, .c35c52-help li, .c35c52-help dd { margin: 0 0 12px; font-size: 13px; line-height: 1.9; color: var(--c35c52-paper); }
.c35c52-help { padding: 18px 0 4px; scroll-margin-top: 76px; }
.c35c52-help h3 { margin: 8px 0 6px; font-size: 14px; color: var(--c35c52-mint); }
.c35c52-help a { color: var(--c35c52-mint); display: inline-flex; align-items: center; min-height: 44px; text-underline-offset: 3px; }
.c35c52-help ul { padding-left: 20px; }
.c35c52-journey { list-style: none; margin: 12px 0; padding: 0; counter-reset: c35c52-route-step; }
.c35c52-journey > li { position: relative; padding: 8px 10px 10px 35px; border-left: 1px solid var(--c35c52-teal); margin-left: 12px; }
.c35c52-journey > li::before { counter-increment: c35c52-route-step; content: counter(c35c52-route-step, bengali); position: absolute; left: -13px; top: 8px; width: 25px; height: 25px; display: grid; place-items: center; background: var(--c35c52-mint); color: var(--c35c52-ink); border-radius: 4px; }
.c35c52-branch { margin: 10px 0; padding: 12px; background: var(--c35c52-panel); border: 1px solid var(--c35c52-slate); border-left: 3px solid var(--c35c52-teal); border-radius: 4px; }
.c35c52-compare { margin: 12px 0; }
.c35c52-compare > div { padding: 10px 0; border-bottom: 1px solid var(--c35c52-slate); }
.c35c52-compare dt { font-weight: 700; color: var(--c35c52-mint); margin-bottom: 4px; }
.c35c52-compare dd { margin-left: 0; }
.c35c52-faq { margin: 12px 0; padding-top: 10px; border-top: 1px solid var(--c35c52-slate); }
.c35c52-faq dt { font-weight: 700; margin: 12px 0 5px; }
.c35c52-faq dd { margin-left: 0; }
.c35c52-ledger { display: grid; gap: 0; border: 1px solid var(--c35c52-slate); border-radius: 5px; margin: 12px 0; }
.c35c52-ledger > div { padding: 12px; border-bottom: 1px solid var(--c35c52-slate); }
.c35c52-ledger > div:last-child { border-bottom: 0; }
.c35c52-ledger dt { color: var(--c35c52-mint); font-weight: 700; }
.c35c52-ledger dd { margin: 4px 0 0; }
.c35c52-paper-note { padding: 12px; background: var(--c35c52-paper); color: var(--c35c52-ink); border-radius: 4px; margin: 12px 0; }
.c35c52-paper-note p, .c35c52-paper-note h3 { color: var(--c35c52-ink); }
.c35c52-help-cta { display: inline-flex; gap: 7px; align-items: center; min-height: 44px; padding: 8px 12px; margin: 4px 0 10px; border: 1px solid var(--c35c52-teal); background: rgba(38,166,154,.12); color: var(--c35c52-mint); border-radius: 4px; font-weight: 600; cursor: pointer; }
.c35c52-disc, .c35c52-footer, .c35c52-xf-label, .c35c52-cat-count { color: var(--c35c52-mint); }
.c35c52-bn-item { color: var(--c35c52-mint); }
.c35c52-bn-item.c35c52-active .c35c52-ic { fill: rgba(13,27,24,.16); }
.c35c52-bottom-nav::after { content: ''; position: absolute; top: 3px; left: calc(6px + var(--c35c52-nav-index, 0) * (100% - 12px) / 5); width: calc((100% - 12px) / 5); height: 2px; background: var(--c35c52-mint); border-radius: 3px; transition: left .25s ease; }
.c35c52-bottom-nav:has(.c35c52-bn-item:nth-child(5).c35c52-active) { --c35c52-nav-index: 4; }
.c35c52-footer { padding-bottom: calc(104px + env(safe-area-inset-bottom, 0px)); }
@media (min-width: 400px) { .c35c52-games { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (max-width: 339px) { .c35c52-topbar { gap: 5px; padding: 6px 8px; } .c35c52-actions { gap: 4px; } .c35c52-btn { font-size: 11px; padding: 0 7px; } .c35c52-brand-name { font-size: 15px; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .c35c52-reveal, .c35c52-reveal.c35c52-in { opacity: 1; transform: none; transition: none; animation: none; }
  .c35c52-slide, .c35c52-route, .c35c52-bn-item, .c35c52-dot { transition: none; }
}
