/* ============================================================
   ku9 apk mobile-first base stylesheet
   Canvas: 320-430px phone layout, centered on wide screens
   Prefix contract: every class uses view69b64-
   ============================================================ */

:root {
  --view69b64-bg: #0F0F23;
  --view69b64-accent: #2E8B57;
  --view69b64-accentlift: #3BA76B;
  --view69b64-ink: #DEE2E6;
  --view69b64-deep: #2F2F2F;
  --view69b64-veil: rgba(15, 15, 35, 0.94);
  --view69b64-hair: rgba(46, 139, 87, 0.35);
  --view69b64-mute: rgba(222, 226, 230, 0.6);
  --view69b64-faint: rgba(222, 226, 230, 0.38);
  --view69b64-display: "Anek Bangla", "Noto Sans Bengali", "Hind Siliguri", "SolaimanLipi", system-ui, sans-serif;
  --view69b64-body: "Noto Sans Bengali", "Hind Siliguri", "SolaimanLipi", system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

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

body {
  background: #0F0F23;
  color: #DEE2E6;
  font-family: var(--view69b64-body);
  font-size: 15px;
  line-height: 1.7;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }

ul, ol { list-style: none; }

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

:focus-visible {
  outline: 2px solid #3BA76B;
  outline-offset: 2px;
  border-radius: 6px;
}

/* ---------- centered phone canvas ---------- */

.view69b64-page {
  position: relative;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  background: var(--view69b64-bg);
  box-shadow: 0 0 0 1px rgba(222, 226, 230, 0.05);
  overflow-x: hidden;
}

.view69b64-main {
  padding: 74px 14px 116px;
}

/* ---------- fixed functional header (edge aligned) ---------- */

.view69b64-topbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  height: 60px;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 12px;
  background: var(--view69b64-veil);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--view69b64-hair);
}

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

.view69b64-brandimg {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid var(--view69b64-hair);
  flex: 0 0 auto;
}

.view69b64-brandname {
  font-family: var(--view69b64-display);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: 0.2px;
  color: var(--view69b64-ink);
  white-space: nowrap;
}

.view69b64-topacts {
  display: flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
}

.view69b64-register,
.view69b64-login {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 7px 12px;
  border-radius: 9px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.2px;
  white-space: nowrap;
}

.view69b64-register {
  background: var(--view69b64-accent);
  color: #F4F7F5;
}

.view69b64-login {
  color: var(--view69b64-ink);
  border: 1px solid var(--view69b64-hair);
}

/* widen tap areas to ~44px without growing the 320px header */
.view69b64-register::after,
.view69b64-login::after {
  content: "";
  position: absolute;
  inset: -4px;
}

.view69b64-menubtn {
  position: relative;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid var(--view69b64-hair);
}

.view69b64-menubtn svg { width: 20px; height: 20px; fill: var(--view69b64-ink); }

/* ---------- slide-up route panel ---------- */

.view69b64-mask {
  position: fixed;
  inset: 0;
  z-index: 85;
  background: rgba(15, 15, 35, 0.66);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.view69b64-mask-on { opacity: 1; visibility: visible; }

.view69b64-panel {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translate(-50%, 105%);
  width: 100%;
  max-width: 480px;
  z-index: 90;
  background: #171731;
  border-top: 1px solid var(--view69b64-hair);
  border-radius: 16px 16px 0 0;
  padding: 16px 14px calc(84px + env(safe-area-inset-bottom, 0px));
  transition: transform 0.26s ease;
}

.view69b64-panel-on { transform: translate(-50%, 0); }

.view69b64-paneltitle {
  font-family: var(--view69b64-display);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.4px;
  color: var(--view69b64-mute);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.view69b64-panelgrid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
}

@media (min-width: 360px) {
  .view69b64-panelgrid { grid-template-columns: 1fr 1fr; }
}

.view69b64-panellink {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(47, 47, 47, 0.55);
  border: 1px solid rgba(222, 226, 230, 0.08);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--view69b64-ink);
}

.view69b64-panellink svg {
  width: 17px;
  height: 17px;
  fill: var(--view69b64-accentlift);
  flex: 0 0 auto;
}

.view69b64-panellink-now {
  border-color: var(--view69b64-accent);
  background: rgba(46, 139, 87, 0.16);
}

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

.view69b64-hero { padding-top: 6px; }

.view69b64-herokicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--view69b64-accentlift);
  background: rgba(46, 139, 87, 0.14);
  border: 1px solid var(--view69b64-hair);
  border-radius: 999px;
  padding: 4px 10px;
  margin-bottom: 10px;
}

.view69b64-hero h1 {
  font-family: var(--view69b64-display);
  font-size: 25px;
  line-height: 1.32;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: 0.2px;
  margin-bottom: 10px;
}

.view69b64-herosub {
  font-size: 14.5px;
  color: var(--view69b64-mute);
  margin-bottom: 14px;
}

.view69b64-ctarow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.view69b64-ctabtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 18px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 800;
  background: var(--view69b64-accent);
  color: #F4F7F5;
  transition: transform 0.12s ease;
}

.view69b64-ctabtn:active { transform: scale(0.95); }

.view69b64-ctaghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 16px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  color: var(--view69b64-ink);
  border: 1px solid var(--view69b64-hair);
}

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

.view69b64-carousel {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--view69b64-hair);
  background: var(--view69b64-deep);
}

.view69b64-track {
  display: flex;
  transition: transform 0.45s ease;
}

.view69b64-slide {
  position: relative;
  flex: 0 0 100%;
  display: block;
}

.view69b64-slideimg {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.view69b64-slidecap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 26px 14px 12px;
  background: linear-gradient(180deg, rgba(15, 15, 35, 0) 0%, rgba(15, 15, 35, 0.9) 78%);
}

.view69b64-slidetitle {
  font-family: var(--view69b64-display);
  font-size: 16px;
  font-weight: 800;
  color: #FFFFFF;
}

.view69b64-slidenote { font-size: 12px; color: var(--view69b64-mute); }

.view69b64-dots {
  position: absolute;
  right: 12px;
  bottom: 10px;
  display: flex;
  gap: 6px;
}

.view69b64-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(222, 226, 230, 0.35);
  padding: 0;
}

.view69b64-dot-on { background: var(--view69b64-accentlift); }

/* ---------- category + game grid ---------- */

.view69b64-cathead {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin: 26px 0 6px;
}

.view69b64-cathead h2 {
  font-family: var(--view69b64-display);
  font-size: 18.5px;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.35;
}

.view69b64-catcount {
  flex: 0 0 auto;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--view69b64-accentlift);
  background: rgba(46, 139, 87, 0.14);
  border: 1px solid var(--view69b64-hair);
  border-radius: 999px;
  padding: 2px 9px;
}

.view69b64-catlead {
  font-size: 13px;
  color: var(--view69b64-mute);
  margin-bottom: 10px;
}

.view69b64-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 9px 7px;
}

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

.view69b64-tile {
  display: flex;
  flex-direction: column;
  gap: 5px;
  text-align: center;
}

.view69b64-tileimg {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 11px;
  border: 1px solid rgba(222, 226, 230, 0.12);
  background: var(--view69b64-deep);
}

.view69b64-tilename {
  font-size: 11px;
  line-height: 1.35;
  color: rgba(222, 226, 230, 0.85);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.7em;
  word-break: break-word;
}

/* ---------- content modules (varied presentation) ---------- */

.view69b64-module { margin-top: 28px; }

.view69b64-module > h2 {
  font-family: var(--view69b64-display);
  font-size: 18px;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.4;
  margin-bottom: 8px;
}

.view69b64-module p {
  font-size: 14px;
  color: var(--view69b64-mute);
  margin-bottom: 10px;
}

.view69b64-module p strong { color: var(--view69b64-ink); font-weight: 700; }

.view69b64-inlink {
  color: var(--view69b64-accentlift);
  font-weight: 700;
  border-bottom: 1px dashed rgba(59, 167, 107, 0.55);
}

/* milestone rail */
.view69b64-rail {
  border-left: 2px solid rgba(46, 139, 87, 0.45);
  padding-left: 14px;
  display: grid;
  gap: 12px;
}

.view69b64-railitem { position: relative; }

.view69b64-railitem::before {
  content: "";
  position: absolute;
  left: -19.5px;
  top: 6px;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--view69b64-accentlift);
}

.view69b64-railitem h3 {
  font-size: 14px;
  font-weight: 800;
  color: var(--view69b64-ink);
  margin-bottom: 3px;
}

.view69b64-railitem p { margin-bottom: 0; font-size: 13.5px; }

/* winners strip */
.view69b64-strip {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 2px 2px 8px;
  -webkit-overflow-scrolling: touch;
}

.view69b64-stripcard {
  flex: 0 0 82%;
  scroll-snap-align: start;
  background: rgba(47, 47, 47, 0.5);
  border: 1px solid rgba(222, 226, 230, 0.09);
  border-radius: 12px;
  padding: 12px;
}

@media (min-width: 400px) {
  .view69b64-stripcard { flex: 0 0 62%; }
}

.view69b64-stripcard h3 {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--view69b64-ink);
  margin-bottom: 4px;
}

.view69b64-stripcard p { font-size: 12.5px; margin-bottom: 6px; }

.view69b64-striptag {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--view69b64-accentlift);
  background: rgba(46, 139, 87, 0.14);
  border-radius: 999px;
  padding: 2px 8px;
}

/* numbered steps */
.view69b64-steps { counter-reset: view69b64step; display: grid; gap: 10px; }

.view69b64-step {
  counter-increment: view69b64step;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: rgba(47, 47, 47, 0.4);
  border: 1px solid rgba(222, 226, 230, 0.07);
  border-radius: 11px;
  padding: 11px 12px;
}

.view69b64-step::before {
  content: counter(view69b64step);
  flex: 0 0 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--view69b64-accent);
  color: #F4F7F5;
  font-size: 13px;
  font-weight: 800;
}

.view69b64-step p { margin: 0; font-size: 13.5px; }

/* scenario table */
.view69b64-scenes { display: grid; gap: 9px; }

.view69b64-scene {
  border: 1px solid var(--view69b64-hair);
  border-radius: 11px;
  padding: 11px 12px;
  background: linear-gradient(160deg, rgba(46, 139, 87, 0.1), rgba(15, 15, 35, 0.2));
}

.view69b64-scene h3 {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--view69b64-ink);
  margin-bottom: 3px;
}

.view69b64-scene p { margin: 0; font-size: 13px; }

/* q&a */
.view69b64-qa { display: grid; gap: 8px; }

.view69b64-qa details {
  border: 1px solid rgba(222, 226, 230, 0.1);
  border-radius: 11px;
  background: rgba(47, 47, 47, 0.4);
  overflow: hidden;
}

.view69b64-qa summary {
  list-style: none;
  cursor: pointer;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 12px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--view69b64-ink);
}

.view69b64-qa summary::-webkit-details-marker { display: none; }

.view69b64-qa summary::after {
  content: "+";
  font-size: 17px;
  font-weight: 800;
  color: var(--view69b64-accentlift);
}

.view69b64-qa details[open] summary::after { content: "−"; }

.view69b64-qa details p {
  padding: 0 12px 12px;
  margin: 0;
  font-size: 13px;
}

/* ---------- extended footer (sectioned list) ---------- */

.view69b64-extfoot {
  margin-top: 30px;
  padding: 20px 2px 6px;
  border-top: 1px solid var(--view69b64-hair);
  display: grid;
  gap: 20px;
}

.view69b64-extbrand {
  display: flex;
  gap: 11px;
  align-items: flex-start;
}

.view69b64-extbrand img {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  border: 1px solid var(--view69b64-hair);
  object-fit: cover;
  flex: 0 0 auto;
}

.view69b64-extbrand p { font-size: 12.5px; margin: 0; }

.view69b64-extsect {
  font-family: var(--view69b64-display);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.6px;
  color: var(--view69b64-faint);
  margin-bottom: 9px;
}

.view69b64-promorow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.view69b64-promoact {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 10px 11px;
  border-radius: 10px;
  background: rgba(46, 139, 87, 0.13);
  border: 1px solid var(--view69b64-hair);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--view69b64-ink);
  text-align: left;
}

.view69b64-promoact svg {
  width: 16px;
  height: 16px;
  fill: var(--view69b64-accentlift);
  flex: 0 0 auto;
}

.view69b64-promoact-wide { grid-column: 1 / -1; }

.view69b64-dirgrid { display: grid; grid-template-columns: 1fr; gap: 4px; }

@media (min-width: 360px) {
  .view69b64-dirgrid { grid-template-columns: 1fr 1fr; }
}

.view69b64-dirlink {
  display: block;
  padding: 9px 2px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(222, 226, 230, 0.82);
  border-bottom: 1px dashed rgba(222, 226, 230, 0.12);
}

.view69b64-disclaimer {
  font-size: 11.5px;
  line-height: 1.65;
  color: var(--view69b64-faint);
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(47, 47, 47, 0.35);
}

/* ---------- common footer ---------- */

.view69b64-footer {
  padding: 16px 14px 8px;
  text-align: center;
  font-size: 12px;
  color: var(--view69b64-faint);
}

.view69b64-footer strong { color: var(--view69b64-mute); }

/* ---------- center-raised bottom nav ---------- */

.view69b64-bottomnav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  z-index: 95;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: end;
  height: calc(66px + env(safe-area-inset-bottom, 0px));
  padding: 0 4px env(safe-area-inset-bottom, 0px);
  background: var(--view69b64-veil);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--view69b64-hair);
}

.view69b64-bnavitem {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 48px;
  padding: 4px 2px;
  color: rgba(222, 226, 230, 0.52);
}

.view69b64-bnavitem svg { width: 21px; height: 21px; fill: currentColor; }

.view69b64-bnavlabel { font-size: 10px; font-weight: 700; letter-spacing: 0.2px; }

.view69b64-bnavitem-on { color: var(--view69b64-accentlift); }

.view69b64-bnavraise {
  margin-bottom: 8px;
}

.view69b64-bnavraise .view69b64-bnavdisc {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--view69b64-accent);
  border: 3px solid #0F0F23;
  box-shadow: 0 6px 16px rgba(46, 139, 87, 0.4);
  color: #FFFFFF;
}

.view69b64-bnavraise .view69b64-bnavdisc svg { width: 24px; height: 24px; fill: #FFFFFF; }

.view69b64-bnavraise:active { transform: scale(0.94); }

.view69b64-bnavitem:active { transform: scale(0.94); }

.view69b64-bnavitem,
.view69b64-bnavraise { transition: transform 0.12s ease, color 0.12s ease; }

/* ---------- helpers ---------- */

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