/* =====================================================================
   bajiex.click — native display stylesheet (class prefix: frameac757-)
   Canvas: 320-430px mobile-first; wide screens keep a centered phone frame
   Palette: #273746 base / #ADB5BD text / #FFB74D accent / #FF6347 action
   Direction: geometric headings + neutral body, stroke-dominant corners,
   compact square game catalog, metric-explanation rhythm, square CTAs
   ===================================================================== */

/* ---------- tokens ---------- */
:root {
  --frameac757-ink: #273746;
  --frameac757-ink-deep: #1c2833;
  --frameac757-ink-soft: #2f4152;
  --frameac757-ink-lift: #35485b;
  --frameac757-mist: #adb5bd;
  --frameac757-mist-bright: #dbe0e4;
  --frameac757-gold: #ffb74d;
  --frameac757-flame: #ff6347;
  --frameac757-line: rgba(173, 181, 189, 0.22);
  --frameac757-line-strong: rgba(173, 181, 189, 0.42);
  --frameac757-font-head: 'Anek Bangla', 'Noto Sans Bengali', system-ui, sans-serif;
  --frameac757-font-body: 'Noto Sans Bengali', 'Anek Bangla', system-ui, sans-serif;
}

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

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

body {
  background: #141d26;
  color: var(--frameac757-mist);
  font-family: var(--frameac757-font-body);
  font-size: 14px;
  line-height: 1.75;
  -webkit-tap-highlight-color: transparent;
}

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

a { color: var(--frameac757-gold); text-decoration: none; }

button {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

p, li { overflow-wrap: break-word; }

:focus-visible {
  outline: 2px solid var(--frameac757-gold);
  outline-offset: 2px;
}

/* ---------- phone canvas ---------- */
.frameac757-shell {
  position: relative;
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  background: var(--frameac757-ink);
  box-shadow: 0 0 36px rgba(0, 0, 0, 0.55);
}

/* ---------- fixed top bar (edge-aligned functional header) ---------- */
.frameac757-topbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 12px;
  background: rgba(39, 55, 70, 0.97);
  border-bottom: 1px solid var(--frameac757-line-strong);
  z-index: 130;
}

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

.frameac757-brand img {
  width: 34px;
  height: 34px;
  flex: none;
  border: 1px solid var(--frameac757-line-strong);
  border-radius: 2px;
  object-fit: cover;
  background: var(--frameac757-ink-deep);
}

.frameac757-brand-name {
  font-family: var(--frameac757-font-head);
  font-weight: 700;
  font-size: 20px;
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--frameac757-gold);
  white-space: nowrap;
}

.frameac757-topacts {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
}

/* ---------- buttons: square-corner, high contrast ---------- */
.frameac757-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  padding: 8px 10px;
  font-family: var(--frameac757-font-head);
  font-weight: 600;
  font-size: 13px;
  line-height: 1.2;
  border-radius: 0;
  transition: background-color 0.18s ease, color 0.18s ease,
    border-color 0.18s ease, transform 0.18s ease;
}

.frameac757-btn-flame {
  background: var(--frameac757-flame);
  color: #2a130d;
  font-weight: 700;
}

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

.frameac757-btn-ghost {
  border: 1px solid var(--frameac757-gold);
  color: var(--frameac757-gold);
  background: transparent;
}

.frameac757-btn-ghost:active { background: rgba(255, 183, 77, 0.14); }

.frameac757-menubtn {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--frameac757-line-strong);
  border-radius: 2px;
  color: var(--frameac757-mist);
  transition: color 0.18s ease, border-color 0.18s ease;
}

.frameac757-menubtn:active {
  color: var(--frameac757-gold);
  border-color: var(--frameac757-gold);
}

/* ---------- layered dropdown drawer ---------- */
.frameac757-drawer {
  position: fixed;
  top: 56px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  max-height: 0;
  overflow: hidden;
  background: var(--frameac757-ink-deep);
  border-bottom: 1px solid transparent;
  z-index: 120;
  transition: max-height 0.28s ease, border-color 0.28s ease;
}

.frameac757-drawer.frameac757-open {
  max-height: 72vh;
  overflow-y: auto;
  border-bottom-color: var(--frameac757-line-strong);
}

.frameac757-drawer-in {
  padding: 6px 14px 16px;
}

.frameac757-mhome {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  font-family: var(--frameac757-font-head);
  font-weight: 600;
  font-size: 14px;
  color: var(--frameac757-mist-bright);
  border-bottom: 1px solid var(--frameac757-line);
}

.frameac757-mhome:hover { color: var(--frameac757-gold); }

.frameac757-mgroup {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 46px;
  font-family: var(--frameac757-font-head);
  font-weight: 600;
  font-size: 14px;
  text-align: left;
  color: var(--frameac757-mist-bright);
  border-bottom: 1px solid var(--frameac757-line);
}

.frameac757-mgroup svg {
  flex: none;
  color: var(--frameac757-gold);
  transition: transform 0.2s ease;
}

.frameac757-mgroup[aria-expanded="true"] svg { transform: rotate(180deg); }

.frameac757-mlist {
  display: none;
  padding: 4px 0 10px;
  border-bottom: 1px solid var(--frameac757-line);
}

.frameac757-mlist.frameac757-open { display: block; }

.frameac757-mlist a {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 10px;
  font-size: 13.5px;
  color: var(--frameac757-mist);
  border-left: 2px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.frameac757-mlist a:hover,
.frameac757-mlist a:focus-visible {
  color: var(--frameac757-gold);
  border-left-color: var(--frameac757-gold);
  text-decoration: none;
}

/* ---------- main column ---------- */
.frameac757-main {
  padding: 70px 14px 0;
}

.frameac757-block {
  padding: 24px 0 8px;
  border-top: 1px solid var(--frameac757-line);
  margin-top: 8px;
}

.frameac757-block h2 {
  font-family: var(--frameac757-font-head);
  font-size: 19px;
  line-height: 1.45;
  font-weight: 700;
  color: var(--frameac757-mist-bright);
  padding-left: 10px;
  border-left: 3px solid var(--frameac757-gold);
  margin-bottom: 10px;
}

.frameac757-block p {
  font-size: 13.5px;
  margin-bottom: 10px;
}

/* ---------- hero ---------- */
.frameac757-hero {
  padding: 16px 0 18px;
}

.frameac757-kicker {
  display: inline-block;
  font-family: var(--frameac757-font-head);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--frameac757-gold);
  border: 1px solid var(--frameac757-line-strong);
  border-radius: 2px;
  padding: 2px 8px;
}

.frameac757-hero h1 {
  font-family: var(--frameac757-font-head);
  font-size: 25px;
  line-height: 1.35;
  font-weight: 700;
  color: var(--frameac757-mist-bright);
  margin: 10px 0;
}

.frameac757-hero h1 .frameac757-mark { color: var(--frameac757-gold); }

.frameac757-hero-lead {
  font-size: 13.5px;
  margin-bottom: 14px;
}

.frameac757-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.frameac757-hero-cta .frameac757-btn { min-height: 46px; padding: 10px 18px; font-size: 15px; }

/* ---------- metric tiles (compact figure + explanation) ---------- */
.frameac757-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.frameac757-tile {
  background: var(--frameac757-ink-deep);
  border: 1px solid var(--frameac757-line);
  border-radius: 2px;
  padding: 10px 6px 8px;
  text-align: center;
}

.frameac757-tile b {
  display: block;
  font-family: var(--frameac757-font-head);
  font-size: 17px;
  line-height: 1.25;
  color: var(--frameac757-gold);
}

.frameac757-tile span {
  display: block;
  font-size: 10.5px;
  line-height: 1.45;
  color: var(--frameac757-mist);
  margin-top: 3px;
}

/* ---------- promo carousel ---------- */
.frameac757-caro-wrap { margin-top: 4px; }

.frameac757-caro {
  position: relative;
  overflow: hidden;
  background: var(--frameac757-ink-deep);
  border: 1px solid var(--frameac757-line);
  border-radius: 3px;
}

.frameac757-caro-track {
  display: flex;
  transition: transform 0.5s ease;
}

.frameac757-slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  display: block;
  padding: 0;
  text-align: left;
}

.frameac757-slide img {
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.frameac757-slide:active img { transform: scale(1.03); }

.frameac757-slide-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 30px 12px 10px;
  background: linear-gradient(180deg, rgba(28, 40, 51, 0) 0%, rgba(28, 40, 51, 0.94) 82%);
  color: var(--frameac757-mist-bright);
  font-family: var(--frameac757-font-head);
  font-weight: 600;
  font-size: 14px;
  line-height: 1.4;
}

.frameac757-slide-cap svg { flex: none; color: var(--frameac757-gold); }

.frameac757-caro-dots {
  display: flex;
  justify-content: center;
  gap: 2px;
  padding: 6px 0 0;
}

.frameac757-dot {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.frameac757-dot::before {
  content: "";
  width: 18px;
  height: 3px;
  background: var(--frameac757-line-strong);
  transition: background-color 0.2s ease, width 0.2s ease;
}

.frameac757-dot.frameac757-on::before {
  width: 28px;
  background: var(--frameac757-gold);
}

/* ---------- game catalog ---------- */
.frameac757-gcat { margin-top: 20px; }

.frameac757-gcat-head {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 4px;
}

.frameac757-gcat-head h3 {
  font-family: var(--frameac757-font-head);
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--frameac757-gold);
}

.frameac757-gcat-count {
  flex: none;
  font-family: var(--frameac757-font-head);
  font-size: 10.5px;
  font-weight: 700;
  color: var(--frameac757-ink);
  background: var(--frameac757-gold);
  border-radius: 2px;
  padding: 1px 7px;
}

.frameac757-gcat-intro {
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--frameac757-mist);
  margin-bottom: 10px;
}

.frameac757-gcat-intro a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.frameac757-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}

.frameac757-gcard {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 5px 4px 6px;
  background: var(--frameac757-ink-soft);
  border: 1px solid var(--frameac757-line);
  border-radius: 2px;
  text-align: center;
  transition: transform 0.18s ease, border-color 0.18s ease,
    background-color 0.18s ease;
}

.frameac757-gcard:active {
  transform: translateY(-2px);
  border-color: var(--frameac757-gold);
  background: var(--frameac757-ink-lift);
}

@media (hover: hover) {
  .frameac757-gcard:hover {
    transform: translateY(-2px);
    border-color: var(--frameac757-gold);
    background: var(--frameac757-ink-lift);
  }
}

.frameac757-gthumb {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 2px;
  background: var(--frameac757-ink-deep);
}

.frameac757-gthumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.frameac757-gname {
  font-size: 10.5px;
  line-height: 1.35;
  color: var(--frameac757-mist);
  min-height: 29px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ---------- checklist rows ---------- */
.frameac757-check {
  list-style: none;
  margin: 10px 0;
}

.frameac757-check li {
  display: flex;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--frameac757-line);
  font-size: 13px;
  line-height: 1.7;
}

.frameac757-check li:last-child { border-bottom: none; }

.frameac757-check svg {
  flex: none;
  margin-top: 3px;
  color: var(--frameac757-gold);
}

.frameac757-check b { color: var(--frameac757-mist-bright); font-weight: 600; }

/* ---------- dashed note box ---------- */
.frameac757-note {
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--frameac757-mist);
  border: 1px dashed var(--frameac757-line-strong);
  border-radius: 2px;
  padding: 10px 12px;
  margin: 10px 0;
}

/* ---------- testimonials ---------- */
.frameac757-quotes {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.frameac757-quote {
  background: var(--frameac757-ink-deep);
  border: 1px solid var(--frameac757-line);
  border-left: 3px solid var(--frameac757-flame);
  border-radius: 2px;
  padding: 10px 12px;
}

.frameac757-quote-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
}

.frameac757-quote-head b {
  font-family: var(--frameac757-font-head);
  font-size: 13px;
  font-weight: 700;
  color: var(--frameac757-mist-bright);
}

.frameac757-quote-head span {
  flex: none;
  font-size: 10.5px;
  color: var(--frameac757-ink);
  background: var(--frameac757-mist);
  border-radius: 2px;
  padding: 1px 7px;
}

.frameac757-quote p {
  font-size: 12.5px;
  margin: 0;
}

/* ---------- numbered criteria ---------- */
.frameac757-criteria {
  list-style: none;
  counter-reset: frameac757-crit;
  margin-top: 8px;
}

.frameac757-criteria li {
  counter-increment: frameac757-crit;
  display: flex;
  gap: 10px;
  padding: 9px 0;
  font-size: 13px;
  line-height: 1.7;
  border-bottom: 1px dashed var(--frameac757-line);
}

.frameac757-criteria li:last-child { border-bottom: none; }

.frameac757-criteria li::before {
  content: counter(frameac757-crit, decimal-leading-zero);
  flex: none;
  font-family: var(--frameac757-font-head);
  font-size: 13px;
  font-weight: 700;
  color: var(--frameac757-flame);
  line-height: 1.7;
}

.frameac757-criteria b { color: var(--frameac757-mist-bright); font-weight: 600; }

/* ---------- extended footer ---------- */
.frameac757-ext {
  margin-top: 28px;
  background: var(--frameac757-ink-deep);
  border-top: 1px solid var(--frameac757-line-strong);
  padding: 18px 14px 14px;
}

.frameac757-ext-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--frameac757-line);
}

.frameac757-ext-brand img {
  width: 40px;
  height: 40px;
  flex: none;
  border: 1px solid var(--frameac757-line-strong);
  border-radius: 2px;
  object-fit: cover;
  background: var(--frameac757-ink);
}

.frameac757-ext-brand-name {
  display: block;
  font-family: var(--frameac757-font-head);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--frameac757-gold);
}

.frameac757-ext-brand p {
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--frameac757-mist);
  margin: 0;
}

.frameac757-ext-group { margin-top: 16px; }

.frameac757-ext-group h4 {
  font-family: var(--frameac757-font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--frameac757-gold);
  margin-bottom: 8px;
}

.frameac757-ext-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.frameac757-ext-links a {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 6px 9px;
  font-size: 12.5px;
  color: var(--frameac757-mist);
  background: var(--frameac757-ink);
  border: 1px solid var(--frameac757-line);
  border-radius: 2px;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.frameac757-ext-links a svg { flex: none; color: var(--frameac757-gold); }

.frameac757-ext-links a:hover,
.frameac757-ext-links a:focus-visible {
  color: var(--frameac757-gold);
  border-color: var(--frameac757-gold);
  text-decoration: none;
}

.frameac757-ext-promos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.frameac757-ext-promo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 8px 10px;
  font-family: var(--frameac757-font-head);
  font-weight: 700;
  font-size: 13px;
  line-height: 1.3;
  text-align: center;
  border: 1px solid var(--frameac757-flame);
  border-radius: 0;
  color: var(--frameac757-flame);
  background: rgba(255, 99, 71, 0.08);
  transition: background-color 0.18s ease, transform 0.18s ease;
}

.frameac757-ext-promo svg { flex: none; }

.frameac757-ext-promo:active { transform: translateY(1px); }

.frameac757-ext-promo-solid {
  background: var(--frameac757-flame);
  color: #2a130d;
}

.frameac757-ext-disclaimer {
  margin-top: 16px;
  padding-top: 10px;
  border-top: 1px solid var(--frameac757-line);
  font-size: 11px;
  line-height: 1.65;
  color: rgba(173, 181, 189, 0.78);
}

/* ---------- common credit line ---------- */
.frameac757-credit {
  padding: 14px 14px calc(84px + env(safe-area-inset-bottom));
  text-align: center;
  font-size: 11px;
  color: rgba(173, 181, 189, 0.7);
}

/* ---------- outlined bottom function bar ---------- */
.frameac757-bnav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: rgba(28, 40, 51, 0.98);
  border-top: 1px solid var(--frameac757-line-strong);
  padding: 3px 4px calc(3px + env(safe-area-inset-bottom));
  z-index: 130;
}

.frameac757-bnav a,
.frameac757-bnav button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 54px;
  padding: 6px 2px 4px;
  font-size: 10px;
  line-height: 1.3;
  color: var(--frameac757-mist);
  border-top: 2px solid transparent;
  transition: color 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
}

.frameac757-bnav svg { width: 21px; height: 21px; }

.frameac757-bnav a:hover,
.frameac757-bnav button:hover { text-decoration: none; }

.frameac757-bnav .frameac757-bnav-on {
  color: var(--frameac757-gold);
  border-top-color: var(--frameac757-gold);
  transform: translateY(-2px);
}

.frameac757-bnav .frameac757-bnav-promo { color: var(--frameac757-flame); }

.frameac757-bnav .frameac757-bnav-promo:active { transform: translateY(1px); }

/* ---------- short-distance reveal transitions (JS-gated) ---------- */
html.frameac757-js .frameac757-reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

html.frameac757-js .frameac757-reveal.frameac757-inview {
  opacity: 1;
  transform: none;
}

/* ---------- wider phone widths ---------- */
@media (min-width: 375px) {
  .frameac757-hero h1 { font-size: 26px; }
  .frameac757-gname { font-size: 11px; min-height: 30px; }
  .frameac757-block h2 { font-size: 20px; }
  .frameac757-grid { gap: 7px; }
}

@media (min-width: 400px) {
  .frameac757-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
  }
}

/* ---------- compatible Part1 reading layouts ---------- */
.frameac757-drawer { visibility: hidden; }
.frameac757-drawer.frameac757-open { visibility: visible; }
.frameac757-main { padding-bottom: 12px; }
.frameac757-main p { margin-bottom: 12px; }
.frameac757-main a:not(.frameac757-btn) { text-decoration: underline; text-underline-offset: 3px; }
.frameac757-inline {
  min-height: 44px;
  max-width: 100%;
  padding: 7px 8px;
  margin: 3px 0;
  border: 1px solid var(--frameac757-gold);
  color: var(--frameac757-gold);
  text-align: left;
  line-height: 1.55;
  vertical-align: middle;
}
.frameac757-inline:hover { background: var(--frameac757-ink-deep); }
.frameac757-pause { min-width: 64px; min-height: 44px; border: 1px solid var(--frameac757-line-strong); }
.frameac757-slide img { aspect-ratio: 1915 / 450; object-fit: contain; }
.frameac757-slide-cap { position: static; padding: 10px; min-height: 52px; background: var(--frameac757-ink-deep); }
.frameac757-gcard { min-width: 0; min-height: 44px; }
.frameac757-gname { color: var(--frameac757-mist-bright); }
.frameac757-ext-links a { min-height: 44px; }
.frameac757-ext-group h4:not(:first-child) { margin-top: 14px; }
.frameac757-branch { border: 1px solid var(--frameac757-line-strong); padding: 16px 10px 4px; }
.frameac757-branch p + p { border-top: 1px dashed var(--frameac757-line); padding-top: 12px; }
.frameac757-repair { border-left: 2px solid var(--frameac757-flame); padding-left: 10px; }
.frameac757-ledger .frameac757-criteria { background: var(--frameac757-ink-deep); padding: 8px 10px; }
.frameac757-ledger p { border-bottom: 1px dashed var(--frameac757-line); padding-bottom: 12px; }
.frameac757-mlist a[aria-current="page"] { color: var(--frameac757-gold); border-left-color: var(--frameac757-gold); transform: translateY(-1px); }
.frameac757-main h1, .frameac757-main h2, .frameac757-main h3 { overflow-wrap: anywhere; }
html { scroll-padding-top: 70px; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  * {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

  html.frameac757-js .frameac757-reveal {
    opacity: 1;
    transform: none;
  }
}
