/* ============================================================
   bd111 cure - frame-adaptive-c80974.css
   Mobile-first shell for a 320-430px phone canvas.
   Palette: #C0C0C0 #808080 #3C3C3C #D3D3D3 #2D2D2D
   Direction: geometric headings / near-square corners /
   image-only game cards / short-list rhythm / menu slide +
   card lift / full-width primary CTA.
   ============================================================ */

:root {
  --view974b6-deep: #2D2D2D;
  --view974b6-panel: #3C3C3C;
  --view974b6-line: #808080;
  --view974b6-text: #D3D3D3;
  --view974b6-bright: #C0C0C0;
  --view974b6-mute: #808080;
  --view974b6-head-font: "Trebuchet MS", "Noto Sans Bengali", "Hind Siliguri", "Segoe UI", system-ui, sans-serif;
  --view974b6-body-font: system-ui, -apple-system, "Segoe UI", "Noto Sans Bengali", "Hind Siliguri", sans-serif;
  --view974b6-canvas: 430px;
  --view974b6-header-h: 108px;
  --view974b6-tabbar-h: 62px;
  --view974b6-gap: 12px;
  --view974b6-radius: 2px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--view974b6-deep);
  color: var(--view974b6-text);
  font-family: var(--view974b6-body-font);
  font-size: 15px;
  line-height: 1.65;
  overflow-x: hidden;
}

/* Phone canvas keeps center on wide screens */
.view974b6-page {
  position: relative;
  width: 100%;
  max-width: var(--view974b6-canvas);
  margin: 0 auto;
  min-height: 100vh;
  background: var(--view974b6-deep);
}

img { max-width: 100%; display: block; }

a { color: var(--view974b6-bright); text-decoration: none; }
a:hover { text-decoration: underline; }

:focus-visible {
  outline: 2px solid var(--view974b6-text);
  outline-offset: 2px;
  border-radius: var(--view974b6-radius);
}

.view974b6-sr {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.view974b6-container { padding: 0 14px; }

/* ------------------------------------------------------------
   Top header - asymmetric double strip
   ------------------------------------------------------------ */
.view974b6-header {
  position: fixed;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--view974b6-canvas);
  z-index: 60;
  background: rgba(45, 45, 45, 0.97);
  border-bottom: 1px solid var(--view974b6-line);
}

/* Strip 1: brand area only - logo + name + menu trigger */
.view974b6-headbrand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 14px 6px;
  border-bottom: 1px solid rgba(128, 128, 128, 0.35);
}

.view974b6-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.view974b6-logo {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--view974b6-line);
  object-fit: cover;
  flex: 0 0 auto;
  background: #000;
}

.view974b6-brandname {
  font-family: var(--view974b6-head-font);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: var(--view974b6-text);
  white-space: nowrap;
}

.view974b6-burger {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  background: var(--view974b6-panel);
  border: 1px solid var(--view974b6-line);
  border-radius: var(--view974b6-radius);
  color: var(--view974b6-text);
  cursor: pointer;
  transition: transform 0.12s ease;
}
.view974b6-burger:active { transform: scale(0.92); }

/* Strip 2: action area - register + login */
.view974b6-headacts {
  display: flex;
  gap: 10px;
  padding: 7px 14px;
}

.view974b6-btnreg,
.view974b6-btnlog {
  flex: 1 1 0;
  min-height: 44px;
  font-family: var(--view974b6-head-font);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.3px;
  border-radius: var(--view974b6-radius);
  cursor: pointer;
  transition: transform 0.12s ease, background 0.15s ease;
}
.view974b6-btnreg {
  background: var(--view974b6-bright);
  color: var(--view974b6-deep);
  border: 1px solid var(--view974b6-bright);
}
.view974b6-btnreg:active { transform: scale(0.97); }
.view974b6-btnlog {
  background: transparent;
  color: var(--view974b6-text);
  border: 1px solid var(--view974b6-line);
}
.view974b6-btnlog:active { transform: scale(0.97); }

/* ------------------------------------------------------------
   Full-height menu layer (slides from the right)
   ------------------------------------------------------------ */
.view974b6-backdrop {
  position: fixed; inset: 0;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0; visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  z-index: 70;
}
.view974b6-backdrop.view974b6-on { opacity: 1; visibility: visible; }

.view974b6-menu {
  position: fixed;
  top: 0; bottom: 0;
  right: max(0px, calc(50vw - 215px));
  width: min(84vw, 336px);
  background: var(--view974b6-panel);
  border-left: 1px solid var(--view974b6-line);
  z-index: 80;
  transform: translateX(102%);
  transition: transform 0.28s ease;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.view974b6-menu.view974b6-on { transform: translateX(0); }

.view974b6-menuhead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid var(--view974b6-line);
  position: sticky; top: 0;
  background: var(--view974b6-panel);
}
.view974b6-menuhead b {
  font-family: var(--view974b6-head-font);
  font-size: 16px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--view974b6-bright);
}
.view974b6-menuclose {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--view974b6-deep);
  border: 1px solid var(--view974b6-line);
  border-radius: var(--view974b6-radius);
  color: var(--view974b6-text);
  cursor: pointer;
  transition: transform 0.12s ease;
}
.view974b6-menuclose:active { transform: scale(0.9); }

.view974b6-menugroup { padding: 12px 16px 4px; }
.view974b6-menulabel {
  font-size: 11px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--view974b6-mute);
  margin: 0 0 6px;
}
.view974b6-menulinks {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  gap: 2px;
}
.view974b6-menulinks a {
  display: block;
  min-height: 44px;
  padding: 10px 10px 10px 12px;
  border-left: 2px solid transparent;
  color: var(--view974b6-text);
  font-size: 15px;
}
.view974b6-menulinks a:hover,
.view974b6-menulinks a:focus-visible {
  text-decoration: none;
  background: var(--view974b6-deep);
  border-left-color: var(--view974b6-bright);
}

.view974b6-menucta {
  margin: 14px 16px 22px;
  min-height: 48px;
  background: var(--view974b6-bright);
  color: var(--view974b6-deep);
  border: 1px solid var(--view974b6-bright);
  border-radius: var(--view974b6-radius);
  font-family: var(--view974b6-head-font);
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: transform 0.12s ease;
}
.view974b6-menucta:active { transform: scale(0.97); }

/* ------------------------------------------------------------
   Main canvas flow
   ------------------------------------------------------------ */
.view974b6-main {
  padding-top: calc(var(--view974b6-header-h) + 6px);
  padding-bottom: calc(var(--view974b6-tabbar-h) + 46px + env(safe-area-inset-bottom, 0px));
}

/* Hero */
.view974b6-hero {
  padding: 18px 14px 4px;
}
.view974b6-kicker {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--view974b6-mute);
  border: 1px solid var(--view974b6-line);
  padding: 3px 8px;
  border-radius: var(--view974b6-radius);
  margin-bottom: 10px;
}
.view974b6-title {
  font-family: var(--view974b6-head-font);
  font-size: 25px;
  line-height: 1.3;
  font-weight: 700;
  color: var(--view974b6-text);
  margin: 0 0 10px;
  overflow-wrap: anywhere;
}
.view974b6-lede {
  margin: 0 0 14px;
  color: var(--view974b6-text);
}
.view974b6-lede b, .view974b6-note b { color: var(--view974b6-bright); }

.view974b6-ctarow { display: grid; gap: 10px; }
.view974b6-ctamain {
  width: 100%;
  min-height: 50px;
  background: var(--view974b6-bright);
  color: var(--view974b6-deep);
  border: 1px solid var(--view974b6-bright);
  border-radius: var(--view974b6-radius);
  font-family: var(--view974b6-head-font);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.4px;
  cursor: pointer;
  transition: transform 0.12s ease;
}
.view974b6-ctamain:active { transform: scale(0.98); }
.view974b6-ctasub {
  width: 100%;
  min-height: 46px;
  background: transparent;
  color: var(--view974b6-text);
  border: 1px solid var(--view974b6-line);
  border-radius: var(--view974b6-radius);
  font-family: var(--view974b6-head-font);
  font-size: 15px;
  cursor: pointer;
  transition: transform 0.12s ease;
}
.view974b6-ctasub:active { transform: scale(0.98); }

/* Compact fact strip */
.view974b6-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 16px 14px 4px;
}
.view974b6-fact {
  background: var(--view974b6-panel);
  border: 1px solid rgba(128, 128, 128, 0.5);
  border-radius: var(--view974b6-radius);
  padding: 9px 8px;
  text-align: center;
}
.view974b6-fact b {
  display: block;
  font-family: var(--view974b6-head-font);
  font-size: 17px;
  color: var(--view974b6-bright);
}
.view974b6-fact span { font-size: 12px; color: var(--view974b6-mute); }

/* ------------------------------------------------------------
   Carousel
   ------------------------------------------------------------ */
.view974b6-carousel {
  margin: 16px 14px 6px;
  position: relative;
}
.view974b6-cviewport {
  overflow: hidden;
  border: 1px solid var(--view974b6-line);
  border-radius: var(--view974b6-radius);
  background: var(--view974b6-panel);
}
.view974b6-ctrack {
  display: flex;
  transition: transform 0.4s ease;
  touch-action: pan-y;
}
.view974b6-cslide {
  flex: 0 0 100%;
  list-style: none;
}
.view974b6-cbtn {
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
  -webkit-tap-highlight-color: rgba(192, 192, 192, 0.25);
}
.view974b6-cbtn img {
  width: 100%;
  aspect-ratio: 750 / 280;
  object-fit: cover;
}
.view974b6-ccap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  background: var(--view974b6-deep);
  border-top: 1px solid rgba(128, 128, 128, 0.35);
  font-size: 13px;
  color: var(--view974b6-text);
}
.view974b6-ccap b { color: var(--view974b6-bright); white-space: nowrap; }
.view974b6-cdots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 8px;
}
.view974b6-cdot {
  width: 30px; height: 22px;
  padding: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: none; border: 0; cursor: pointer;
}
.view974b6-cdot::before {
  content: "";
  width: 18px; height: 3px;
  background: var(--view974b6-mute);
  transition: background 0.2s ease, width 0.2s ease;
}
.view974b6-cdot.view974b6-on::before {
  background: var(--view974b6-bright);
  width: 26px;
}

/* ------------------------------------------------------------
   Sections and headings
   ------------------------------------------------------------ */
.view974b6-section { padding: 22px 14px 2px; }

.view974b6-h2 {
  font-family: var(--view974b6-head-font);
  font-size: 19px;
  line-height: 1.45;
  font-weight: 700;
  color: var(--view974b6-text);
  margin: 0 0 8px;
  padding-left: 10px;
  border-left: 3px solid var(--view974b6-bright);
  overflow-wrap: anywhere;
}
.view974b6-h3 {
  font-family: var(--view974b6-head-font);
  font-size: 16px;
  font-weight: 700;
  color: var(--view974b6-bright);
  margin: 20px 0 6px;
  letter-spacing: 0.2px;
}
.view974b6-note { margin: 0 0 10px; }

.view974b6-more {
  font-size: 14px;
  margin: 0 0 8px;
}

/* ------------------------------------------------------------
   Game grid - pure image card + short name below
   ------------------------------------------------------------ */
.view974b6-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px 8px;
  margin: 12px 0 6px;
}
.view974b6-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: center;
  -webkit-tap-highlight-color: rgba(192, 192, 192, 0.2);
  transition: transform 0.16s ease;
}
.view974b6-card:hover, .view974b6-card:focus-visible { transform: translateY(-3px); }
.view974b6-card:active { transform: translateY(-1px) scale(0.97); }
.view974b6-cardimg {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--view974b6-radius);
  border: 1px solid rgba(128, 128, 128, 0.55);
  background: var(--view974b6-panel);
}
.view974b6-cardname {
  font-size: 12px;
  line-height: 1.35;
  color: var(--view974b6-text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Wide featured link cards */
.view974b6-featured {
  display: grid;
  gap: 8px;
  margin: 4px 0 8px;
}
.view974b6-featlink {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 8px 12px;
  background: var(--view974b6-panel);
  border: 1px solid var(--view974b6-line);
  border-left: 3px solid var(--view974b6-bright);
  border-radius: var(--view974b6-radius);
  color: var(--view974b6-text);
  font-size: 14px;
  transition: transform 0.16s ease;
}
.view974b6-featlink:hover, .view974b6-featlink:focus-visible {
  text-decoration: none;
  transform: translateY(-2px);
}
.view974b6-featlink b { color: var(--view974b6-bright); }

/* ------------------------------------------------------------
   Short-list modules (payment conditions, tricks, guides)
   ------------------------------------------------------------ */
.view974b6-list {
  list-style: none;
  margin: 10px 0 12px;
  padding: 0;
  display: grid;
  gap: 8px;
}
.view974b6-list li {
  position: relative;
  padding: 9px 10px 9px 30px;
  background: var(--view974b6-panel);
  border: 1px solid rgba(128, 128, 128, 0.45);
  border-radius: var(--view974b6-radius);
  font-size: 14px;
}
.view974b6-list li::before {
  content: "";
  position: absolute;
  left: 11px; top: 16px;
  width: 7px; height: 7px;
  background: var(--view974b6-bright);
}
.view974b6-list b { color: var(--view974b6-bright); }

/* Winners feed rows */
.view974b6-feed {
  margin: 12px 0;
  border: 1px solid rgba(128, 128, 128, 0.45);
  border-radius: var(--view974b6-radius);
  overflow: hidden;
}
.view974b6-feedrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 12px;
  font-size: 13px;
  border-bottom: 1px solid rgba(128, 128, 128, 0.3);
}
.view974b6-feedrow:last-child { border-bottom: 0; }
.view974b6-feedrow:nth-child(even) { background: var(--view974b6-panel); }
.view974b6-feedrow b { color: var(--view974b6-bright); font-weight: 700; }
.view974b6-feedrow time { color: var(--view974b6-mute); font-size: 12px; white-space: nowrap; }
.view974b6-feednote {
  font-size: 12px;
  color: var(--view974b6-mute);
  margin: -6px 0 12px;
}

/* ------------------------------------------------------------
   Extended footer: brand > promotions > directory > disclaimer
   ------------------------------------------------------------ */
.view974b6-ext {
  margin-top: 26px;
  border-top: 2px solid var(--view974b6-line);
  background: var(--view974b6-panel);
  padding: 18px 14px 8px;
}
.view974b6-extbrand {
  font-family: var(--view974b6-head-font);
  font-size: 15px;
  color: var(--view974b6-bright);
  margin: 0 0 6px;
}
.view974b6-extblurb { font-size: 13px; color: var(--view974b6-text); margin: 0 0 14px; }

.view974b6-extlabel {
  font-size: 11px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--view974b6-mute);
  margin: 0 0 8px;
}
.view974b6-promos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 16px;
}
.view974b6-promo {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 54px;
  padding: 8px 10px;
  background: var(--view974b6-deep);
  border: 1px solid var(--view974b6-line);
  border-radius: var(--view974b6-radius);
  color: var(--view974b6-text);
  font-family: var(--view974b6-head-font);
  font-size: 13px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  transition: transform 0.14s ease, border-color 0.14s ease;
}
.view974b6-promo span {
  display: block;
  font-weight: 400;
  font-size: 11px;
  color: var(--view974b6-mute);
  font-family: var(--view974b6-body-font);
  margin-top: 2px;
}
.view974b6-promo:hover, .view974b6-promo:focus-visible {
  border-color: var(--view974b6-bright);
  transform: translateY(-2px);
}
.view974b6-promo:active { transform: scale(0.97); }

.view974b6-dirgroup { margin-bottom: 12px; }
.view974b6-dirlinks {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.view974b6-dirlinks a {
  display: inline-block;
  padding: 7px 10px;
  background: var(--view974b6-deep);
  border: 1px solid rgba(128, 128, 128, 0.5);
  border-radius: var(--view974b6-radius);
  font-size: 12px;
  color: var(--view974b6-text);
}
.view974b6-dirlinks a:hover {
  text-decoration: none;
  border-color: var(--view974b6-bright);
  color: var(--view974b6-bright);
}

.view974b6-disclaimer {
  font-size: 12px;
  line-height: 1.6;
  color: var(--view974b6-mute);
  border-top: 1px solid rgba(128, 128, 128, 0.4);
  padding: 12px 0 6px;
  margin-top: 4px;
}

.view974b6-foot {
  padding: 12px 14px 10px;
  text-align: center;
  font-size: 12px;
  color: var(--view974b6-mute);
  background: var(--view974b6-deep);
  border-top: 1px solid rgba(128, 128, 128, 0.35);
}

/* ------------------------------------------------------------
   Bottom tab bar - center raised, top indicator line
   ------------------------------------------------------------ */
.view974b6-tabbar {
  position: fixed;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--view974b6-canvas);
  height: calc(var(--view974b6-tabbar-h) + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: stretch;
  background: rgba(60, 60, 60, 0.98);
  border-top: 1px solid var(--view974b6-line);
  z-index: 65;
}
.view974b6-tab {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 44px;
  background: none;
  border: 0;
  color: var(--view974b6-mute);
  font-family: var(--view974b6-body-font);
  font-size: 10.5px;
  letter-spacing: 0.2px;
  cursor: pointer;
  text-decoration: none;
  transition: color 0.18s ease, transform 0.12s ease;
}
.view974b6-tab svg { width: 22px; height: 22px; fill: currentColor; }
.view974b6-tab:active { transform: scale(0.92); }
.view974b6-tab:hover { color: var(--view974b6-text); text-decoration: none; }
/* Active state: top indicator line + bright fill icon */
.view974b6-tab.view974b6-on { color: var(--view974b6-bright); }
.view974b6-tab.view974b6-on::before {
  content: "";
  position: absolute;
  top: 0; left: 22%; right: 22%;
  height: 3px;
  background: var(--view974b6-bright);
}
/* Center raised action */
.view974b6-tabcenter { position: relative; }
.view974b6-tabcenter .view974b6-tabdot {
  position: absolute;
  top: -20px; left: 50%;
  transform: translateX(-50%);
  width: 54px; height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--view974b6-bright);
  border: 3px solid var(--view974b6-deep);
  border-radius: 50%;
  color: var(--view974b6-deep);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.45);
  transition: transform 0.12s ease;
}
.view974b6-tabcenter .view974b6-tabdot svg {
  width: 26px; height: 26px;
  fill: currentColor;
}
.view974b6-tabcenter:active .view974b6-tabdot { transform: translateX(-50%) scale(0.9); }
.view974b6-tabcenter .view974b6-tablabel { margin-top: 26px; }

/* ------------------------------------------------------------
   Wide-screen: keep the phone canvas centered
   ------------------------------------------------------------ */
@media (min-width: 480px) {
  .view974b6-page {
    border-left: 1px solid var(--view974b6-line);
    border-right: 1px solid var(--view974b6-line);
    box-shadow: 0 0 26px rgba(0, 0, 0, 0.55);
  }
}

@media (min-width: 400px) {
  .view974b6-grid { grid-template-columns: repeat(5, 1fr); }
  .view974b6-promos { grid-template-columns: repeat(3, 1fr); }
  .view974b6-promo:last-child { grid-column: 1 / -1; }
}

@media (min-width: 375px) {
  .view974b6-title { font-size: 27px; }
  .view974b6-h2 { font-size: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .view974b6-menu, .view974b6-backdrop, .view974b6-ctrack,
  .view974b6-card, .view974b6-promo, .view974b6-featlink,
  .view974b6-tab, .view974b6-tabdot, .view974b6-burger {
    transition: none !important;
  }
}
