/* ==========================================================================
   babajee.cfd — adaptive palette stylesheet
   namespace  : frame42643-            canvas: 320-430px mobile-first
   palette    : #FFB3BA blush accent / #2C3E50 slate ground / #FFFFFF paper
   character  : near-square tool edges, grouped cover tiles, question-led
                rhythm, motion budget spent only on key CTAs
   ========================================================================== */

:root {
  --frame42643-slate: #2c3e50;
  --frame42643-slate-deep: #243544;
  --frame42643-slate-raise: #33475c;
  --frame42643-slate-ink: #1b2836;
  --frame42643-blush: #ffb3ba;
  --frame42643-blush-strong: #ffd6da;
  --frame42643-blush-deep: #d98f97;
  --frame42643-paper: #ffffff;
  --frame42643-mist: #d5dfe8;
  --frame42643-muted: #97aab9;
  --frame42643-edge: rgba(255, 179, 186, 0.26);
  --frame42643-edge-soft: rgba(255, 179, 186, 0.12);
  --frame42643-radius: 3px;
  --frame42643-top-h: 58px;
  --frame42643-rail-h: 62px;
  --frame42643-font: "Hind Siliguri", "Noto Sans Bengali", "SolaimanLipi", "Kalpurush", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
}

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

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

body {
  font-family: var(--frame42643-font);
  background: #141d27;
  color: var(--frame42643-mist);
  font-weight: 400;
  line-height: 1.72;
  overflow-x: hidden;
}

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

button { font-family: inherit; }

a { color: var(--frame42643-blush); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* phone canvas stays centred on wide viewports ---------------------------- */

.frame42643-canvas {
  position: relative;
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  background: var(--frame42643-slate);
  min-height: 100vh;
  box-shadow: 0 0 46px rgba(0, 0, 0, 0.5);
}

/* top bar: asymmetric brand block + action cluster ------------------------ */

.frame42643-topbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 70;
  display: flex;
  align-items: center;
  gap: 6px;
  height: var(--frame42643-top-h);
  padding: 0 10px;
  background: rgba(27, 40, 54, 0.97);
  border-bottom: 1px solid var(--frame42643-edge);
}

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

/* the blush slab gives the brand block its asymmetric weight */
.frame42643-brand::before {
  content: "";
  flex: none;
  width: 5px;
  height: 32px;
  background: var(--frame42643-blush);
  border-radius: 1px;
}

.frame42643-logo {
  flex: none;
  width: 33px;
  height: 33px;
  border-radius: var(--frame42643-radius);
  border: 1px solid var(--frame42643-edge-soft);
  background: var(--frame42643-slate-deep);
}

.frame42643-name {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.2px;
  color: var(--frame42643-paper);
  white-space: nowrap;
}

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

/* CTA pair: solid lead button + outlined support button */
.frame42643-btn-solid,
.frame42643-btn-line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 11px;
  border-radius: var(--frame42643-radius);
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  border: 1px solid var(--frame42643-blush);
  background: var(--frame42643-blush);
  color: #232f3d;
  transition: transform 0.12s ease, background 0.12s ease, color 0.12s ease;
}

.frame42643-btn-line {
  background: transparent;
  color: var(--frame42643-blush);
  border-color: var(--frame42643-edge);
}

.frame42643-btn-solid:active { transform: scale(0.93); }
.frame42643-btn-line:active { transform: scale(0.93); }

.frame42643-burger {
  flex: none;
  width: 38px;
  height: 38px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: var(--frame42643-slate-deep);
  border: 1px solid var(--frame42643-edge-soft);
  border-radius: var(--frame42643-radius);
  cursor: pointer;
  transition: transform 0.12s ease;
}

.frame42643-burger:active { transform: scale(0.92); }

.frame42643-burger i {
  display: block;
  width: 17px;
  height: 2px;
  background: var(--frame42643-blush);
}

/* sectioned menu page ------------------------------------------------------ */

.frame42643-menu {
  position: fixed;
  top: var(--frame42643-top-h);
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  width: 100%;
  max-width: 430px;
  z-index: 65;
  max-height: calc(100vh - var(--frame42643-top-h));
  overflow-y: auto;
  background: var(--frame42643-slate-ink);
  border-bottom: 2px solid var(--frame42643-blush);
  padding: 12px 14px 18px;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}

.frame42643-menu.frame42643-menuOn {
  visibility: visible;
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.frame42643-menuTag {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--frame42643-blush-deep);
  margin: 12px 2px 5px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.frame42643-menuTag::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--frame42643-edge-soft);
}

.frame42643-menuList { list-style: none; }

.frame42643-menuList a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 6px 8px;
  color: var(--frame42643-paper);
  font-size: 14.5px;
  font-weight: 600;
  border-radius: var(--frame42643-radius);
  border-left: 3px solid transparent;
}

.frame42643-menuList a::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  background: var(--frame42643-blush-deep);
}

.frame42643-menuList a:active { background: var(--frame42643-slate-raise); }
.frame42643-menuList a:hover { text-decoration: none; border-left-color: var(--frame42643-blush); }

/* main flow ---------------------------------------------------------------- */

.frame42643-main {
  padding: calc(var(--frame42643-top-h) + 12px) 0 calc(var(--frame42643-rail-h) + 44px);
}

.frame42643-sec { padding: 2px 14px 0; }

.frame42643-h2 {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.4;
  color: var(--frame42643-paper);
  letter-spacing: -0.1px;
  margin: 24px 0 8px;
}

.frame42643-h2::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  margin-top: 8px;
  background: var(--frame42643-blush);
}

.frame42643-lead { font-size: 13.5px; color: var(--frame42643-mist); }
.frame42643-lead b, .frame42643-p b { color: var(--frame42643-paper); font-weight: 700; }
.frame42643-p { font-size: 13px; margin: 0 0 6px; }

/* hero ---------------------------------------------------------------------- */

.frame42643-hero { padding: 14px 14px 0; }

.frame42643-hero h1 {
  font-size: 23px;
  line-height: 1.3;
  font-weight: 800;
  color: var(--frame42643-paper);
  letter-spacing: -0.2px;
  margin: 6px 0 8px;
  padding-left: 12px;
  border-left: 4px solid var(--frame42643-blush);
}

.frame42643-ctaRow { display: flex; gap: 8px; margin: 12px 0 4px; }

.frame42643-ctaRow .frame42643-btn-solid { flex: 1; min-height: 46px; font-size: 14px; }
.frame42643-ctaRow .frame42643-btn-line { flex: 1; min-height: 46px; font-size: 14px; }

/* banner carousel ------------------------------------------------------------ */

.frame42643-carousel {
  position: relative;
  margin: 12px 14px 0;
  border: 1px solid var(--frame42643-edge-soft);
  border-radius: 4px;
  overflow: hidden;
  background: var(--frame42643-slate-ink);
}

.frame42643-track { display: flex; transition: transform 0.42s ease; }

.frame42643-slide {
  flex: 0 0 100%;
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: var(--frame42643-slate-ink);
  cursor: pointer;
  text-align: left;
}

.frame42643-slide img {
  width: 100%;
  aspect-ratio: 5 / 2;
  object-fit: cover;
}

.frame42643-slideTxt {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 18px 12px 9px;
  background: linear-gradient(180deg, rgba(27, 40, 54, 0) 0%, rgba(27, 40, 54, 0.94) 78%);
  color: var(--frame42643-paper);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.45;
}

.frame42643-dots {
  position: absolute;
  right: 9px;
  bottom: 7px;
  display: flex;
  gap: 5px;
}

.frame42643-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border-radius: 2px;
  border: 0;
  background: rgba(255, 255, 255, 0.38);
  cursor: pointer;
  transition: width 0.16s ease, background 0.16s ease;
}

.frame42643-dot.frame42643-dotOn { width: 16px; background: var(--frame42643-blush); }

/* question block ------------------------------------------------------------- */

.frame42643-qa { border: 1px solid var(--frame42643-edge-soft); border-radius: 4px; background: var(--frame42643-slate-deep); padding: 4px 12px 10px; }

.frame42643-q {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--frame42643-blush-strong);
  margin: 10px 0 2px;
}

.frame42643-a { font-size: 12.8px; margin: 0 0 4px; }

/* grouped cover-card game sections ------------------------------------------- */

.frame42643-group {
  margin: 18px 14px 0;
  border: 1px solid var(--frame42643-edge-soft);
  border-radius: 4px;
  background: var(--frame42643-slate-deep);
  overflow: hidden;
}

.frame42643-groupHead {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  background: var(--frame42643-slate-ink);
  border-bottom: 1px solid var(--frame42643-edge-soft);
}

.frame42643-groupHead h2 {
  flex: 1;
  min-width: 0;
  font-size: 15.5px;
  font-weight: 800;
  line-height: 1.35;
  color: var(--frame42643-paper);
}

.frame42643-count {
  flex: none;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--frame42643-blush);
  border: 1px solid var(--frame42643-edge);
  padding: 2px 7px;
  border-radius: 2px;
  white-space: nowrap;
}

.frame42643-groupIntro { padding: 10px 12px 2px; font-size: 12.8px; }

.frame42643-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  padding: 10px 12px 12px;
}

.frame42643-tile {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--frame42643-slate);
  border: 1px solid var(--frame42643-edge-soft);
  border-radius: var(--frame42643-radius);
  overflow: hidden;
  padding: 0;
  cursor: pointer;
  transition: transform 0.12s ease, border-color 0.12s ease;
}

.frame42643-tile img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: var(--frame42643-slate-ink);
}

.frame42643-tile span {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 34px;
  padding: 4px 5px 5px;
  font-size: 10.5px;
  line-height: 1.3;
  font-weight: 600;
  color: #e9f0f5;
  text-align: center;
}

.frame42643-tile:active { transform: scale(0.94); border-color: var(--frame42643-blush); }

/* play-style comparison rows --------------------------------------------------- */

.frame42643-styleRow {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 10px;
  padding: 10px 2px;
  border-bottom: 1px dashed var(--frame42643-edge-soft);
}

.frame42643-styleRow:last-child { border-bottom: 0; }

.frame42643-styleTag {
  align-self: start;
  font-size: 11.5px;
  font-weight: 800;
  color: #232f3d;
  background: var(--frame42643-blush);
  padding: 3px 8px;
  border-radius: 2px;
  text-align: center;
  line-height: 1.4;
}

.frame42643-styleTxt { font-size: 12.6px; }

/* winners ledger --------------------------------------------------------------- */

.frame42643-ledger {
  border: 1px solid var(--frame42643-edge-soft);
  border-radius: 4px;
  background: var(--frame42643-slate-deep);
  overflow: hidden;
}

.frame42643-winRow {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-bottom: 1px solid var(--frame42643-edge-soft);
  font-size: 12.4px;
}

.frame42643-winRow:last-of-type { border-bottom: 0; }

.frame42643-winWho { flex: 1; min-width: 0; color: var(--frame42643-paper); font-weight: 600; }
.frame42643-winGame { font-size: 11.4px; color: var(--frame42643-muted); }
.frame42643-winAmt { flex: none; font-weight: 800; color: var(--frame42643-blush); white-space: nowrap; }

/* pros / limitations split ------------------------------------------------------ */

.frame42643-split { display: grid; grid-template-columns: 1fr; gap: 10px; }

.frame42643-splitCol {
  border: 1px solid var(--frame42643-edge-soft);
  border-radius: 4px;
  padding: 10px 12px;
  background: var(--frame42643-slate-deep);
}

.frame42643-splitCol h3 {
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 6px;
  color: var(--frame42643-paper);
  display: flex;
  align-items: center;
  gap: 7px;
}

.frame42643-splitCol h3::before { content: ""; width: 10px; height: 3px; background: var(--frame42643-blush); }

.frame42643-splitCol ul { list-style: none; }
.frame42643-splitCol li { position: relative; padding: 2px 0 2px 15px; font-size: 12.4px; }
.frame42643-splitCol li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 11px;
  width: 5px;
  height: 5px;
  border: 1px solid var(--frame42643-blush-deep);
}

/* scenario list ------------------------------------------------------------------ */

.frame42643-cases { list-style: none; counter-reset: frame42643case; }

.frame42643-cases li {
  counter-increment: frame42643case;
  position: relative;
  padding: 8px 2px 8px 34px;
  border-bottom: 1px dashed var(--frame42643-edge-soft);
  font-size: 12.7px;
}

.frame42643-cases li:last-child { border-bottom: 0; }

.frame42643-cases li::before {
  content: counter(frame42643case);
  position: absolute;
  left: 2px;
  top: 10px;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  color: var(--frame42643-blush);
  border: 1px solid var(--frame42643-edge);
  border-radius: 2px;
}

/* safety checklist ------------------------------------------------------------------ */

.frame42643-checks { list-style: none; }

.frame42643-checks li {
  position: relative;
  padding: 6px 2px 6px 26px;
  font-size: 12.6px;
}

.frame42643-checks li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 13px;
  width: 9px;
  height: 5px;
  border-left: 2px solid var(--frame42643-blush);
  border-bottom: 2px solid var(--frame42643-blush);
  transform: rotate(-45deg);
}

/* FAQ ------------------------------------------------------------------------------- */

.frame42643-faqItem { border-top: 1px solid var(--frame42643-edge-soft); padding: 8px 0; }
.frame42643-faqItem:last-child { border-bottom: 1px solid var(--frame42643-edge-soft); }
.frame42643-faqQ { font-size: 13.2px; font-weight: 700; color: var(--frame42643-paper); margin-bottom: 2px; }
.frame42643-faqA { font-size: 12.6px; }

/* extended footer -------------------------------------------------------------------- */

.frame42643-extend { margin: 26px 14px 0; border-top: 2px solid var(--frame42643-blush); padding-top: 4px; }

.frame42643-extend h2 {
  font-size: 16px;
  font-weight: 800;
  color: var(--frame42643-paper);
  margin: 10px 0 8px;
}

.frame42643-dir {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 10px;
  list-style: none;
}

.frame42643-dir a {
  display: block;
  min-height: 40px;
  padding: 8px 9px;
  font-size: 12px;
  font-weight: 600;
  color: var(--frame42643-mist);
  background: var(--frame42643-slate-deep);
  border: 1px solid var(--frame42643-edge-soft);
  border-left: 3px solid var(--frame42643-blush-deep);
  border-radius: var(--frame42643-radius);
  line-height: 1.4;
}

.frame42643-dir a:hover { text-decoration: none; color: var(--frame42643-paper); border-left-color: var(--frame42643-blush); }
.frame42643-dir a:active { transform: scale(0.97); }

.frame42643-brandNote { font-size: 12.4px; margin: 10px 0; }

.frame42643-promoList { list-style: none; display: grid; gap: 7px; }

.frame42643-promoList button {
  width: 100%;
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 11px;
  text-align: left;
  font-size: 12.4px;
  font-weight: 600;
  color: var(--frame42643-paper);
  background: var(--frame42643-slate-raise);
  border: 1px solid var(--frame42643-edge);
  border-radius: var(--frame42643-radius);
  cursor: pointer;
  transition: transform 0.12s ease;
}

.frame42643-promoList button::before {
  content: "";
  flex: none;
  width: 7px;
  height: 7px;
  background: var(--frame42643-blush);
  transform: rotate(45deg);
}

.frame42643-promoList button:active { transform: scale(0.97); }

.frame42643-note {
  margin: 12px 0 0;
  padding: 10px 12px;
  font-size: 11.8px;
  line-height: 1.65;
  color: var(--frame42643-muted);
  background: var(--frame42643-slate-ink);
  border: 1px dashed var(--frame42643-edge);
  border-radius: 4px;
}

/* copyright strip ----------------------------------------------------------------------- */

.frame42643-copy {
  margin-top: 22px;
  padding: 12px 14px 8px;
  text-align: center;
  font-size: 11px;
  color: var(--frame42643-muted);
  border-top: 1px solid var(--frame42643-edge-soft);
}

/* full-width bottom rail ------------------------------------------------------------------- */

.frame42643-rail {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 70;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  background: rgba(23, 34, 46, 0.98);
  border-top: 1px solid var(--frame42643-edge);
  padding: 5px 4px calc(5px + env(safe-area-inset-bottom, 0px));
}

.frame42643-railItem {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 48px;
  padding: 2px 1px;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--frame42643-muted);
  background: none;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  transition: color 0.14s ease, transform 0.12s ease;
}

.frame42643-railItem svg { width: 21px; height: 21px; flex: none; }
.frame42643-railItem:active { transform: scale(0.9); }
.frame42643-railItem:hover { text-decoration: none; color: var(--frame42643-paper); }

.frame42643-railItem.frame42643-railOn { color: var(--frame42643-blush); }

.frame42643-railItem.frame42643-railOn::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 30%;
  right: 30%;
  height: 3px;
  background: var(--frame42643-blush);
  border-radius: 0 0 2px 2px;
}

/* wide-screen dressing ------------------------------------------------------------------------ */

@media (min-width: 431px) {
  body { background: #101822; }
  .frame42643-canvas { border-left: 1px solid rgba(255, 179, 186, 0.14); border-right: 1px solid rgba(255, 179, 186, 0.14); }
}

/* denser tile columns on roomier phones ---------------------------------------------------------- */

@media (min-width: 390px) {
  .frame42643-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

@media (min-width: 375px) {
  .frame42643-hero h1 { font-size: 24.5px; }
  .frame42643-split { grid-template-columns: 1fr 1fr; }
}

/* motion discipline: only the CTA feedback survives reduced-motion ---------------------------------- */

@media (prefers-reduced-motion: reduce) {
  .frame42643-track { transition: none; }
  .frame42643-menu { transition: none; }
  .frame42643-tile,
  .frame42643-btn-solid,
  .frame42643-btn-line,
  .frame42643-burger,
  .frame42643-railItem,
  .frame42643-promoList button { transition: none; }
}

/* small-screen guard: keep the register/login pair usable at 320px ---------------------------------- */

@media (max-width: 339px) {
  .frame42643-name { font-size: 16px; }
  .frame42643-btn-solid, .frame42643-btn-line { padding: 0 8px; font-size: 11.5px; }
  .frame42643-grid { gap: 6px; }
}
