/* baji11 mobile frame stylesheet - prefix c279ed- - phone canvas 430px */
:root {
  --c279ed-bg: #0E1621;
  --c279ed-bg-2: #142130;
  --c279ed-bg-3: #1b2c40;
  --c279ed-ink: #F0F8FF;
  --c279ed-mute: #999999;
  --c279ed-lav: #C9C9FF;
  --c279ed-sand: #F4A460;
  --c279ed-sky: #ADD8E6;
  --c279ed-line: rgba(173, 216, 230, 0.18);
  --c279ed-canvas: 430px;
  --c279ed-top: 96px;
  --c279ed-dock: 84px;
  --c279ed-r: 10px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  background: #070c13;
}

body {
  margin: 0 auto;
  width: 100%;
  max-width: var(--c279ed-canvas);
  min-width: 320px;
  min-height: 100vh;
  background: var(--c279ed-bg);
  color: var(--c279ed-ink);
  font-family: "Noto Sans Bengali", "Hind Siliguri", "Segoe UI", "Nirmala UI", Roboto, Arial, sans-serif;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
  padding-top: var(--c279ed-top);
  padding-bottom: calc(var(--c279ed-dock) + 24px + env(safe-area-inset-bottom, 0px));
  position: relative;
  box-shadow: 0 0 0 1px rgba(173, 216, 230, 0.08), 0 0 60px rgba(0, 0, 0, 0.6);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--c279ed-sky); text-decoration: underline; text-decoration-color: rgba(173, 216, 230, 0.45); text-underline-offset: 3px; }
a:hover { color: var(--c279ed-sand); }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--c279ed-sand); outline-offset: 2px; }

h1, h2, h3 { font-weight: 800; line-height: 1.35; margin: 0; letter-spacing: 0; }
p { margin: 0 0 12px; }

.c279ed-skip {
  position: absolute; left: 8px; top: -60px; z-index: 200;
  background: var(--c279ed-sand); color: #1a1008; padding: 10px 14px; border-radius: 8px; font-weight: 700;
}
.c279ed-skip:focus { top: 8px; }

/* ---------- header: brand layer + action layer ---------- */
.c279ed-head {
  position: fixed; top: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: var(--c279ed-canvas); z-index: 100;
  background: linear-gradient(180deg, #0a121c 0%, #0E1621 100%);
  border-bottom: 1px solid var(--c279ed-line);
}
.c279ed-brandrow {
  display: flex; align-items: center; gap: 10px;
  height: 48px; padding: 0 12px;
}
.c279ed-brand { display: flex; align-items: center; gap: 9px; text-decoration: none; color: var(--c279ed-ink); min-height: 44px; }
.c279ed-brand img { width: 34px; height: 34px; border-radius: 9px; background: #1a1008; padding: 2px; flex: 0 0 auto; }
.c279ed-brand b { font-size: 19px; font-weight: 800; letter-spacing: 0.4px; color: var(--c279ed-ink); }
.c279ed-brand b i { font-style: normal; color: var(--c279ed-sand); }
.c279ed-actrow {
  display: flex; align-items: center; gap: 8px;
  height: 48px; padding: 0 12px 4px;
}
.c279ed-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 44px; padding: 0 14px; border-radius: 8px; border: 1px solid transparent;
  font-size: 14px; font-weight: 700; line-height: 1; text-decoration: none; white-space: nowrap;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.c279ed-btn svg { width: 18px; height: 18px; fill: currentColor; flex: 0 0 auto; }
.c279ed-btn:active { transform: scale(0.95); }
.c279ed-btn-pri { background: var(--c279ed-sand); color: #1f1206; box-shadow: 0 2px 0 #b9733a; }
.c279ed-btn-pri:active { box-shadow: 0 0 0 #b9733a; }
.c279ed-btn-line { background: transparent; color: var(--c279ed-lav); border-color: var(--c279ed-lav); }
.c279ed-btn-soft { background: var(--c279ed-bg-3); color: var(--c279ed-sky); border-color: var(--c279ed-line); }
.c279ed-act-grow { flex: 1 1 0; min-width: 0; }
.c279ed-menu-btn { margin-left: auto; flex: 0 0 auto; min-width: 96px; }
.c279ed-menu-btn[aria-expanded="true"] { background: var(--c279ed-lav); color: #12122a; }

/* route panel */
.c279ed-panel {
  position: absolute; left: 0; right: 0; top: 100%;
  background: #0b131d; border-bottom: 2px solid var(--c279ed-sand);
  max-height: calc(100vh - var(--c279ed-top) - 20px); overflow-y: auto;
  padding: 10px 12px 14px;
  display: none;
}
.c279ed-panel.c279ed-open { display: block; }
.c279ed-panel p { margin: 0 0 8px; font-size: 12px; color: var(--c279ed-mute); }
.c279ed-routes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.c279ed-routes a {
  display: flex; align-items: center; min-height: 44px; padding: 6px 10px;
  background: var(--c279ed-bg-2); border: 1px solid var(--c279ed-line); border-radius: 8px;
  color: var(--c279ed-ink); text-decoration: none; font-size: 13px; font-weight: 600; line-height: 1.3;
}
.c279ed-routes a:active { transform: scale(0.97); }
.c279ed-routes .c279ed-now a { border-color: var(--c279ed-sand); color: var(--c279ed-sand); }

/* ---------- main flow: step rail ---------- */
.c279ed-main { counter-reset: c279ed-step; }
.c279ed-wrap { padding: 0 14px; }

.c279ed-lead { padding: 18px 14px 6px; background: radial-gradient(120% 80% at 100% 0%, rgba(244,164,96,0.14), transparent 60%), var(--c279ed-bg); }
.c279ed-lead h1 { font-size: 24px; color: var(--c279ed-ink); margin-bottom: 10px; }
.c279ed-lead h1 em { font-style: normal; color: var(--c279ed-sand); }
.c279ed-def { font-size: 15px; color: #dbe9f5; margin-bottom: 12px; }
.c279ed-cta-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 14px; }
.c279ed-cta-row .c279ed-btn { flex: 1 1 140px; }

/* carousel */
.c279ed-show { margin: 8px 0 4px; padding: 0 14px; }
.c279ed-track {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
  gap: 8px; scrollbar-width: none; border-radius: 12px;
}
.c279ed-track::-webkit-scrollbar { display: none; }
.c279ed-slide {
  flex: 0 0 100%; scroll-snap-align: center; padding: 0; border: 0; background: var(--c279ed-bg-2);
  border-radius: 12px; overflow: hidden; display: block; min-height: 44px;
}
.c279ed-slide img { width: 100%; aspect-ratio: 1915 / 450; object-fit: cover; }
.c279ed-dots { display: flex; justify-content: center; gap: 4px; margin-top: 4px; }
.c279ed-dot {
  width: 44px; height: 44px; background: transparent; border: 0; padding: 0; position: relative;
}
.c279ed-dot::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 22px; height: 5px; margin: -2.5px 0 0 -11px;
  border-radius: 3px; background: #35485d; transition: background 0.2s;
}
.c279ed-dot[aria-current="true"]::after { background: var(--c279ed-sand); }

/* sections */
.c279ed-sec { position: relative; isolation: isolate; padding: 22px 14px 8px 14px; margin-top: 10px; }
.c279ed-sec::before {
  counter-increment: c279ed-step;
  content: counter(c279ed-step, bengali);
  position: absolute; left: 14px; top: 22px;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--c279ed-sand); color: #1f1206; font-weight: 800; font-size: 14px;
  display: flex; align-items: center; justify-content: center;
}
.c279ed-sec > h2, .c279ed-sec > .c279ed-answer { margin-left: 40px; }
.c279ed-sec::after {
  content: ""; position: absolute; z-index: -1; pointer-events: none; left: 28px; top: 56px; bottom: -6px; width: 2px;
  background: linear-gradient(180deg, rgba(244,164,96,0.55), rgba(244,164,96,0));
}
.c279ed-sec h2 { font-size: 19px; color: var(--c279ed-ink); margin-bottom: 8px; padding-top: 2px; }
.c279ed-sec h3 { font-size: 15px; color: var(--c279ed-lav); margin: 14px 0 6px; font-weight: 700; }
.c279ed-answer { font-size: 15px; color: #e4f0fb; border-left: 3px solid var(--c279ed-lav); padding: 2px 0 2px 10px; margin-bottom: 12px; margin-right: 0; }
.c279ed-stamp {
  display: inline-block; margin: 0 0 10px 40px; padding: 2px 10px; font-size: 12px; font-weight: 600;
  color: var(--c279ed-sky); border: 1px solid var(--c279ed-line); border-radius: 20px; background: var(--c279ed-bg-2);
}
.c279ed-full { margin-left: 0 !important; }

/* tables */
.c279ed-tablewrap { overflow-x: auto; margin: 8px 0 14px; border-radius: var(--c279ed-r); border: 1px solid var(--c279ed-line); }
.c279ed-table { width: 100%; border-collapse: collapse; font-size: 13.5px; min-width: 0; }
.c279ed-table caption { text-align: left; padding: 8px 10px; font-weight: 700; color: var(--c279ed-sand); font-size: 13px; background: var(--c279ed-bg-2); }
.c279ed-table th, .c279ed-table td { padding: 9px 10px; text-align: left; vertical-align: top; border-top: 1px solid var(--c279ed-line); overflow-wrap: anywhere; }
.c279ed-table th { color: var(--c279ed-lav); font-weight: 700; width: 34%; background: rgba(201,201,255,0.05); }
.c279ed-table thead th { width: auto; background: var(--c279ed-bg-3); color: var(--c279ed-ink); }

/* ordered flow */
.c279ed-flow { list-style: none; counter-reset: c279ed-fl; margin: 8px 0 12px; padding: 0; }
.c279ed-flow li {
  counter-increment: c279ed-fl; position: relative; padding: 8px 10px 8px 44px; margin-bottom: 8px;
  background: var(--c279ed-bg-2); border: 1px solid var(--c279ed-line); border-radius: var(--c279ed-r);
}
.c279ed-flow li::before {
  content: counter(c279ed-fl); position: absolute; left: 10px; top: 9px;
  width: 24px; height: 24px; border-radius: 6px; background: var(--c279ed-lav); color: #12122a;
  font-weight: 800; font-size: 13px; display: flex; align-items: center; justify-content: center;
}
.c279ed-flow b { color: var(--c279ed-sand); font-weight: 700; }

/* game grid: light overlay image cards */
.c279ed-games {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px;
  list-style: none; margin: 10px 0 12px; padding: 0;
}
.c279ed-gc {
  position: relative; display: block; width: 100%; padding: 0; border: 1px solid var(--c279ed-line);
  background: var(--c279ed-bg-2); border-radius: 9px; overflow: hidden; aspect-ratio: 1 / 1; text-align: center;
  transition: transform 0.12s ease;
}
.c279ed-gc:active { transform: scale(0.94); }
.c279ed-gc img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.c279ed-gc span {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 3px 3px;
  background: linear-gradient(180deg, rgba(14,22,33,0), rgba(14,22,33,0.92) 60%);
  font-size: 10.5px; line-height: 1.2; font-weight: 600; color: var(--c279ed-ink);
  display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere;
}
.c279ed-seealso { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 8px; padding: 0; list-style: none; }
.c279ed-seealso a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 4px 12px; border-radius: 22px;
  border: 1px solid var(--c279ed-lav); color: var(--c279ed-lav); text-decoration: none; font-size: 13px; font-weight: 600;
}

/* inline promo text */
.c279ed-inl {
  background: none; border: 0; padding: 0; color: var(--c279ed-sand); text-decoration: underline;
  text-underline-offset: 3px; font-weight: 700; min-height: 0;
}

/* compare / use case cards - horizontal rail */
.c279ed-cases { display: grid; gap: 8px; margin: 8px 0 12px; padding: 0; list-style: none; }
.c279ed-cases li { background: var(--c279ed-bg-2); border-radius: var(--c279ed-r); border: 1px solid var(--c279ed-line); padding: 10px 12px; }
.c279ed-cases li b { display: block; color: var(--c279ed-sky); margin-bottom: 2px; }

/* faq */
.c279ed-faq { margin: 8px 0 12px; }
.c279ed-faq details { background: var(--c279ed-bg-2); border: 1px solid var(--c279ed-line); border-radius: var(--c279ed-r); margin-bottom: 6px; }
.c279ed-faq summary { list-style: none; cursor: pointer; padding: 10px 36px 10px 12px; font-weight: 700; font-size: 14.5px; line-height: 1.45; position: relative; min-height: 44px; }
.c279ed-faq summary::-webkit-details-marker { display: none; }
.c279ed-faq summary::after { content: "+"; position: absolute; right: 12px; top: 8px; font-size: 20px; color: var(--c279ed-sand); }
.c279ed-faq details[open] summary::after { content: "\2212"; }
.c279ed-faq details > div { padding: 0 12px 10px; color: #dbe9f5; font-size: 14.5px; }
.c279ed-faq h3 { margin: 0; font-size: inherit; color: inherit; display: inline; font-weight: 700; }
.c279ed-note { font-size: 12.5px; color: var(--c279ed-mute); }

/* extended footer */
.c279ed-foot { margin: 24px 14px 0; padding: 18px 14px; background: linear-gradient(180deg, #101d2b, #0b131d); border-radius: 14px; border: 1px solid var(--c279ed-line); }
.c279ed-foot h2 { font-size: 16px; color: var(--c279ed-sand); margin: 18px 0 8px; }
.c279ed-foot h2:first-child { margin-top: 0; }
.c279ed-foot p { font-size: 13.5px; color: #cfe0ee; }
.c279ed-dir { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.c279ed-dir a {
  display: flex; align-items: center; min-height: 44px; padding: 6px 10px; border-radius: 8px;
  background: var(--c279ed-bg-2); text-decoration: none; color: var(--c279ed-ink); font-size: 13.5px; font-weight: 600;
  border-left: 3px solid var(--c279ed-lav);
}
.c279ed-pro { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.c279ed-pro li { min-width: 0; }
.c279ed-pro .c279ed-btn { width: 100%; font-size: 12.5px; padding: 0 8px; white-space: normal; text-align: center; line-height: 1.25; }
.c279ed-close { margin-top: 16px; padding-top: 12px; border-top: 1px dashed var(--c279ed-line); font-size: 13px; color: var(--c279ed-sky); }
.c279ed-copy { text-align: center; font-size: 12px; color: var(--c279ed-mute); margin: 16px 14px 0; }

/* floating dock */
.c279ed-dock {
  position: fixed; bottom: calc(8px + env(safe-area-inset-bottom, 0px)); left: 50%; transform: translateX(-50%);
  width: calc(100% - 16px); max-width: calc(var(--c279ed-canvas) - 16px); z-index: 110;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 2px;
  background: rgba(11, 19, 29, 0.96); border: 1px solid var(--c279ed-line); border-radius: 18px;
  padding: 5px 4px; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.55);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.c279ed-dk {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  min-height: 56px; min-width: 44px; padding: 4px 2px; border: 0; border-radius: 13px; background: transparent;
  color: var(--c279ed-mute); text-decoration: none; font-size: 11px; font-weight: 500; line-height: 1.1;
  transition: transform 0.1s ease;
}
.c279ed-dk svg { width: 22px; height: 22px; fill: currentColor; }
.c279ed-dk:active { transform: scale(0.9); }
.c279ed-dk[aria-current="page"] { color: var(--c279ed-sand); font-weight: 800; background: rgba(244, 164, 96, 0.12); }
.c279ed-dk-hot { color: var(--c279ed-lav); }

@media (min-width: 400px) {
  .c279ed-games { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .c279ed-lead h1 { font-size: 26px; }
}
@media (max-width: 340px) {
  body { font-size: 14.5px; }
  .c279ed-lead h1 { font-size: 21px; }
  .c279ed-btn { padding: 0 10px; font-size: 13px; }
  .c279ed-brand b { font-size: 17px; }
  .c279ed-dk { font-size: 10px; }
  .c279ed-pro { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* question and answer blocks */
.c279ed-qa { margin: 6px 0 12px; }
.c279ed-qa h3 { margin: 12px 0 4px; padding: 8px 10px; background: var(--c279ed-bg-2); border-left: 3px solid var(--c279ed-sand); border-radius: 0 var(--c279ed-r) var(--c279ed-r) 0; font-size: 14.5px; line-height: 1.5; color: var(--c279ed-ink); }
.c279ed-qa p { margin: 0 0 6px; padding: 0 4px 0 13px; color: #dbe9f5; font-size: 14.5px; }

/* inner help pages: key figure strip, term list, checklist, footer wrapper */
.c279ed-fbar { margin: 0; padding: 0; }
.c279ed-facts { list-style: none; margin: 4px 0 12px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.c279ed-facts li { background: var(--c279ed-bg-2); border: 1px solid var(--c279ed-line); border-radius: var(--c279ed-r); padding: 8px 6px; text-align: center; min-width: 0; }
.c279ed-facts b { display: block; font-size: 17px; font-weight: 800; color: var(--c279ed-sand); line-height: 1.3; }
.c279ed-facts span { display: block; font-size: 12px; color: var(--c279ed-sky); line-height: 1.4; overflow-wrap: anywhere; }
.c279ed-terms { margin: 8px 0 12px; }
.c279ed-terms dt { margin: 10px 0 2px; font-weight: 800; color: var(--c279ed-lav); font-size: 14.5px; }
.c279ed-terms dd { margin: 0 0 4px; padding: 0 0 8px; border-bottom: 1px dashed var(--c279ed-line); color: #dbe9f5; font-size: 14.5px; }
.c279ed-check { list-style: none; margin: 8px 0 12px; padding: 0; display: grid; gap: 6px; }
.c279ed-check li { position: relative; padding: 9px 10px 9px 38px; background: var(--c279ed-bg-2); border: 1px solid var(--c279ed-line); border-radius: var(--c279ed-r); }
.c279ed-check li::before { content: "\2713"; position: absolute; left: 10px; top: 8px; width: 22px; height: 22px; border-radius: 50%; background: var(--c279ed-sky); color: #0E1621; font-weight: 800; font-size: 13px; display: flex; align-items: center; justify-content: center; }
.c279ed-check b { color: var(--c279ed-sand); }
.c279ed-band { margin: 6px 0 14px; padding: 12px; border-radius: var(--c279ed-r); background: linear-gradient(135deg, rgba(201,201,255,0.12), rgba(244,164,96,0.12)); border: 1px solid var(--c279ed-line); }
.c279ed-band p { margin: 0 0 8px; }
.c279ed-band .c279ed-btn { width: 100%; }

/* game detail core block and related-games rail */
.c279ed-core { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 4px 12px; align-items: start; padding: 18px 14px 6px; background: radial-gradient(120% 80% at 100% 0%, rgba(244,164,96,0.14), transparent 60%), var(--c279ed-bg); }
.c279ed-core-ico { grid-row: 1 / span 2; position: relative; width: 92px; height: 92px; padding: 0; border: 2px solid var(--c279ed-sand); border-radius: 16px; overflow: hidden; background: var(--c279ed-bg-2); }
.c279ed-core-ico img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.c279ed-core h1 { grid-column: 2; font-size: 21px; color: var(--c279ed-ink); margin: 0 0 4px; line-height: 1.3; }
.c279ed-core-name { grid-column: 2; margin: 0; font-size: 13px; color: var(--c279ed-sky); font-weight: 700; }
.c279ed-core .c279ed-def, .c279ed-core .c279ed-facts, .c279ed-core .c279ed-cta-row { grid-column: 1 / -1; }
.c279ed-core .c279ed-def { margin: 8px 0 4px; }
.c279ed-rail { display: flex; gap: 8px; margin: 8px 0 12px; padding: 0 0 4px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; list-style: none; }
.c279ed-rail::-webkit-scrollbar { display: none; }
.c279ed-rail figure { flex: 0 0 82%; margin: 0; scroll-snap-align: center; background: var(--c279ed-bg-2); border: 1px solid var(--c279ed-line); border-radius: 12px; overflow: hidden; }
.c279ed-rail button { display: block; width: 100%; padding: 0; border: 0; background: transparent; }
.c279ed-rail img { width: 100%; aspect-ratio: 1915 / 450; object-fit: cover; }
.c279ed-rail figure.c279ed-sq { flex-basis: 38%; }
.c279ed-rail figure.c279ed-sq img { aspect-ratio: 1 / 1; }
.c279ed-rail figcaption { padding: 6px 10px 8px; font-size: 12.5px; color: var(--c279ed-sky); line-height: 1.4; }
.c279ed-vs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 8px 0 12px; }
.c279ed-vs > div { background: var(--c279ed-bg-2); border: 1px solid var(--c279ed-line); border-radius: var(--c279ed-r); padding: 10px; min-width: 0; }
.c279ed-vs h3 { margin: 0 0 4px; font-size: 14.5px; color: var(--c279ed-sand); }
.c279ed-vs p { margin: 0; font-size: 13.5px; color: #dbe9f5; }
.c279ed-rel { padding: 14px 14px 4px; margin-top: 10px; }
.c279ed-rel h3 { font-size: 15px; color: var(--c279ed-lav); margin: 0 0 4px; }
.c279ed-rel > p { font-size: 13.5px; color: var(--c279ed-mute); margin: 0; }
.c279ed-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 12px; padding: 0; list-style: none; }
.c279ed-chips li { padding: 4px 12px; border-radius: 20px; border: 1px solid var(--c279ed-line); background: var(--c279ed-bg-2); color: var(--c279ed-sky); font-size: 13px; font-weight: 600; }