/* ============================================================
 * 3333betappapk.click - mobile-first stylesheet
 * Class prefix ....... layerf7345-
 * Variable prefix .... --layerf7345-
 * Palette ............ #DEB887 / #0D1117 / #FFDEAD / #F4A460 / #5D5D5D
 * Feel ............... mono accents over regular Bengali body,
 *                      small-medium radii, horizontal icon-name
 *                      game bars, full-width primary button.
 * ============================================================ */

:root {
  --layerf7345-ink: #0D1117;
  --layerf7345-paper: #FFDEAD;
  --layerf7345-sand: #DEB887;
  --layerf7345-amber: #F4A460;
  --layerf7345-slate: #5D5D5D;
  --layerf7345-line: rgba(93, 93, 93, 0.42);
  --layerf7345-wash: rgba(222, 184, 135, 0.07);
  --layerf7345-wash-strong: rgba(222, 184, 135, 0.13);
  --layerf7345-shade: rgba(13, 17, 23, 0.92);
  --layerf7345-radius: 12px;
  --layerf7345-radius-sm: 9px;
  --layerf7345-mono: ui-monospace, "Cascadia Mono", "Roboto Mono", "Segoe UI Mono", Consolas, monospace;
  --layerf7345-body: "Noto Sans Bengali", "Hind Siliguri", "SolaimanLipi", -apple-system, "Segoe UI", Roboto, sans-serif;
  --layerf7345-topbar-h: 58px;
  --layerf7345-tabbar-h: 64px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: #0D1117;
  color: #FFDEAD;
  font-family: var(--layerf7345-body);
  font-size: 15px;
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
}

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

a { color: var(--layerf7345-amber); text-decoration: none; }
a:hover { text-decoration: underline; }

button { font-family: inherit; cursor: pointer; }

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid #F4A460;
  outline-offset: 2px;
  border-radius: 6px;
}

/* Phone canvas: content column stays 320-430px wide. */
.layerf7345-shell {
  width: 100%;
  max-width:430px;
  margin: 0 auto;
  min-height: 100vh;
  position: relative;
  background: #0D1117;
}

.layerf7345-main {
  padding: calc(var(--layerf7345-topbar-h) + 14px) 14px calc(var(--layerf7345-tabbar-h) + 34px);
}

/* ---------------- Top action band ---------------- */

.layerf7345-topbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 60;
  background: var(--layerf7345-shade);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--layerf7345-line);
}

.layerf7345-toprow {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: var(--layerf7345-topbar-h);
  padding: 8px 10px;
}

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

.layerf7345-brand img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid var(--layerf7345-line);
  object-fit: cover;
  flex: 0 0 auto;
}

.layerf7345-brand b {
  font-family: var(--layerf7345-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #FFDEAD;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.layerf7345-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
}

.layerf7345-btn-signup {
  min-height: 36px;
  padding: 6px 12px;
  border: 0;
  border-radius: var(--layerf7345-radius-sm);
  background: #F4A460;
  color: #0D1117;
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
  transition: transform 0.12s ease;
}

.layerf7345-btn-login {
  min-height: 36px;
  padding: 6px 11px;
  border: 1px solid #DEB887;
  border-radius: var(--layerf7345-radius-sm);
  background: transparent;
  color: #DEB887;
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
  transition: transform 0.12s ease;
}

.layerf7345-btn-signup:active,
.layerf7345-btn-login:active { transform: scale(0.94); }

.layerf7345-knob {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--layerf7345-line);
  border-radius: var(--layerf7345-radius-sm);
  background: transparent;
  color: #DEB887;
  flex: 0 0 auto;
  transition: transform 0.12s ease;
}

.layerf7345-knob:active { transform: scale(0.92); }

/* ---------------- Expandable route panel ---------------- */

.layerf7345-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.32s ease;
  border-top: 0 solid transparent;
}

.layerf7345-menu-open {
  max-height: 520px;
  border-top: 1px solid var(--layerf7345-line);
}

.layerf7345-menu-inner { padding: 10px 12px 16px; }

.layerf7345-menu-kicker {
  font-family: var(--layerf7345-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #F4A460;
  margin: 10px 0 6px;
}

.layerf7345-menu-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.layerf7345-menu-grid a {
  display: block;
  min-height: 44px;
  padding: 9px 10px;
  border: 1px solid var(--layerf7345-line);
  border-radius: var(--layerf7345-radius-sm);
  background: var(--layerf7345-wash);
  color: #FFDEAD;
  font-size: 13px;
  line-height: 1.4;
  position: relative;
}

.layerf7345-menu-grid a:hover { background: var(--layerf7345-wash-strong); text-decoration: none; }

.layerf7345-here {
  border-color: #F4A460;
  color: #FFDEAD;
}

.layerf7345-here::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 4px;
  height: 2px;
  border-radius: 2px;
  background: #F4A460;
}

/* ---------------- Hero ---------------- */

.layerf7345-hero { padding: 6px 0 4px; }

.layerf7345-kicker {
  display: inline-block;
  font-family: var(--layerf7345-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #F4A460;
  border: 1px solid rgba(244, 164, 96, 0.5);
  border-radius: 999px;
  padding: 3px 10px;
  margin-bottom: 10px;
}

.layerf7345-hero h1 {
  font-size: 21px;
  line-height: 1.5;
  font-weight: 700;
  color: #FFDEAD;
  margin: 0 0 10px;
}

.layerf7345-hero p { margin: 0 0 10px; color: #DEB887; }

.layerf7345-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin: 12px 0 14px;
  padding: 0;
  list-style: none;
}

.layerf7345-facts li {
  border: 1px solid var(--layerf7345-line);
  border-radius: var(--layerf7345-radius-sm);
  background: var(--layerf7345-wash);
  padding: 8px 6px;
  text-align: center;
}

.layerf7345-facts b {
  display: block;
  font-family: var(--layerf7345-mono);
  font-size: 15px;
  color: #FFDEAD;
  line-height: 1.2;
}

.layerf7345-facts span { font-size: 10.5px; color: #DEB887; }

/* Full-width primary CTA */
.layerf7345-cta {
  display: block;
  width: 100%;
  min-height: 50px;
  margin: 12px 0 6px;
  border: 0;
  border-radius: var(--layerf7345-radius);
  background: linear-gradient(180deg, #F4A460, #DEB887);
  color: #0D1117;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.01em;
  transition: transform 0.12s ease, filter 0.12s ease;
}

.layerf7345-cta:active { transform: scale(0.98); }

.layerf7345-cta-note {
  font-size: 11.5px;
  color: #5D5D5D;
  text-align: center;
  margin: 2px 0 0;
}

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

.layerf7345-carousel {
  position: relative;
  margin: 16px 0 6px;
  border: 1px solid var(--layerf7345-line);
  border-radius: 14px;
  overflow: hidden;
  background: #0D1117;
}

.layerf7345-window { overflow: hidden; }

.layerf7345-track {
  display: flex;
  transition: transform 0.45s ease;
  touch-action: pan-y;
}

.layerf7345-slide {
  position: relative;
  display: block;
  width: 100%;
  flex: 0 0 100%;
  padding: 0;
  border: 0;
  background: #0D1117;
  text-align: left;
}

.layerf7345-slide img {
  width: 100%;
  height: 172px;
  object-fit: cover;
}

.layerf7345-slide-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px 12px 10px;
  background: linear-gradient(180deg, rgba(13, 17, 23, 0), rgba(13, 17, 23, 0.92));
  color: #FFDEAD;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
}

.layerf7345-slide-cap small {
  display: block;
  font-family: var(--layerf7345-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #F4A460;
  margin-bottom: 2px;
}

.layerf7345-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  display: flex;
  justify-content: center;
  gap: 6px;
}

.layerf7345-dot {
  width: 22px;
  height: 10px;
  border: 0;
  border-radius: 999px;
  background: rgba(93, 93, 93, 0.65);
  padding: 0;
}

.layerf7345-dot-live { background: #F4A460; }

/* ---------------- Scenario branch cards ---------------- */

.layerf7345-scenes {
  display: grid;
  gap: 8px;
  margin: 14px 0 4px;
  padding: 0;
  list-style: none;
}

.layerf7345-scene {
  border: 1px solid var(--layerf7345-line);
  border-left: 3px solid #F4A460;
  border-radius: var(--layerf7345-radius);
  background: var(--layerf7345-wash);
  padding: 10px 12px;
}

.layerf7345-scene-tag {
  font-family: var(--layerf7345-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: #F4A460;
  display: block;
  margin-bottom: 3px;
}

.layerf7345-scene h3 {
  margin: 0 0 4px;
  font-size: 14.5px;
  color: #FFDEAD;
  line-height: 1.45;
}

.layerf7345-scene p { margin: 0 0 8px; font-size: 13px; color: #DEB887; }

.layerf7345-scene-go {
  font-size: 13px;
  font-weight: 700;
  color: #F4A460;
}

/* ---------------- Prose blocks ---------------- */

.layerf7345-block { margin: 18px 0; }

.layerf7345-block h2 {
  font-size: 17px;
  line-height: 1.55;
  color: #FFDEAD;
  margin: 0 0 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--layerf7345-line);
}

.layerf7345-block h3 {
  font-size: 14.5px;
  color: #DEB887;
  margin: 14px 0 6px;
}

.layerf7345-block p { margin: 0 0 10px; color: #DEB887; }

.layerf7345-block p strong { color: #FFDEAD; }

.layerf7345-lead-answer { color: #FFDEAD; }

/* ---------------- Game bands + horizontal bars ---------------- */

.layerf7345-band {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 20px 0 6px;
}

.layerf7345-band h2 {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 16px;
  line-height: 1.5;
  color: #FFDEAD;
  margin: 0;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--layerf7345-line);
}

.layerf7345-count {
  flex: 0 0 auto;
  font-family: var(--layerf7345-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: #F4A460;
  border: 1px solid rgba(244, 164, 96, 0.5);
  border-radius: 999px;
  padding: 2px 8px;
  white-space: nowrap;
}

.layerf7345-band-note {
  margin: 0 0 10px;
  font-size: 13px;
  color: #DEB887;
}

.layerf7345-games {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0 0 6px;
  list-style: none;
}

.layerf7345-game-bar {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  min-height: 58px;
  padding: 6px 8px;
  border: 1px solid var(--layerf7345-line);
  border-radius: 10px;
  background: var(--layerf7345-wash);
  text-align: left;
  transition: transform 0.12s ease, border-color 0.12s ease;
}

.layerf7345-game-bar:active {
  transform: scale(0.97);
  border-color: #F4A460;
}

.layerf7345-game-bar img {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  object-fit: cover;
  background: #0D1117;
  border: 1px solid var(--layerf7345-line);
  flex: 0 0 auto;
}

.layerf7345-game-name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.4;
  color: #FFDEAD;
}

/* ---------------- Steps / checklist ---------------- */

.layerf7345-steps {
  margin: 0 0 10px;
  padding: 0;
  list-style: none;
  counter-reset: layerf7345-step;
}

.layerf7345-steps li {
  position: relative;
  counter-increment: layerf7345-step;
  padding: 0 0 10px 40px;
  color: #DEB887;
  font-size: 13.5px;
}

.layerf7345-steps li::before {
  content: counter(layerf7345-step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 1px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(244, 164, 96, 0.55);
  border-radius: 8px;
  font-family: var(--layerf7345-mono);
  font-size: 11px;
  color: #F4A460;
}

.layerf7345-checklist {
  margin: 0 0 10px;
  padding: 0;
  list-style: none;
}

.layerf7345-checklist li {
  position: relative;
  padding: 0 0 8px 24px;
  color: #DEB887;
  font-size: 13.5px;
}

.layerf7345-checklist li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 8px;
  width: 9px;
  height: 9px;
  border: 2px solid #F4A460;
  border-radius: 3px;
}

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

.layerf7345-faq { border: 1px solid var(--layerf7345-line); border-radius: var(--layerf7345-radius); overflow: hidden; }

.layerf7345-faq details { border-bottom: 1px solid var(--layerf7345-line); }
.layerf7345-faq details:last-child { border-bottom: 0; }

.layerf7345-faq summary {
  list-style: none;
  cursor: pointer;
  padding: 12px 40px 12px 12px;
  font-size: 13.5px;
  font-weight: 600;
  color: #FFDEAD;
  position: relative;
  min-height: 44px;
  display: flex;
  align-items: center;
  background: var(--layerf7345-wash);
}

.layerf7345-faq summary::-webkit-details-marker { display: none; }

.layerf7345-faq summary::after {
  content: "+";
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--layerf7345-mono);
  font-size: 16px;
  color: #F4A460;
}

.layerf7345-faq details[open] summary::after { content: "\2212"; }

.layerf7345-faq-body {
  padding: 10px 12px 14px;
  font-size: 13px;
  color: #DEB887;
}

.layerf7345-faq-body p { margin: 0; }

/* ---------------- Extended footer ---------------- */

.layerf7345-xfoot {
  margin-top: 22px;
  border: 1px solid var(--layerf7345-line);
  border-radius: 14px;
  background: var(--layerf7345-wash);
  padding: 14px 12px;
}

.layerf7345-xfoot-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 8px;
}

.layerf7345-xfoot-brand img {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  border: 1px solid var(--layerf7345-line);
}

.layerf7345-xfoot-brand b {
  font-family: var(--layerf7345-mono);
  font-size: 12.5px;
  color: #FFDEAD;
}

.layerf7345-xfoot > p { margin: 0 0 12px; font-size: 12.5px; color: #DEB887; }

.layerf7345-xfoot-label {
  font-family: var(--layerf7345-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #F4A460;
  margin: 14px 0 8px;
}

/* Horizontal shortcut rail */
.layerf7345-rail {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
}

.layerf7345-rail::-webkit-scrollbar { display: none; }

.layerf7345-chip {
  flex: 0 0 auto;
  scroll-snap-align: start;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 8px 13px;
  border: 1px solid rgba(244, 164, 96, 0.55);
  border-radius: 999px;
  background: rgba(244, 164, 96, 0.1);
  color: #FFDEAD;
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
  transition: transform 0.12s ease;
}

.layerf7345-chip:active { transform: scale(0.94); }

.layerf7345-chip svg { color: #F4A460; }

/* Page directory */
.layerf7345-dir {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.layerf7345-dir a {
  display: block;
  min-height: 44px;
  padding: 8px 9px;
  border: 1px solid var(--layerf7345-line);
  border-radius: var(--layerf7345-radius-sm);
  color: #FFDEAD;
  font-size: 12px;
  line-height: 1.45;
  background: rgba(13, 17, 23, 0.45);
}

.layerf7345-dir a:hover { border-color: #DEB887; text-decoration: none; }

.layerf7345-dir small { display: block; color: #5D5D5D; font-size: 10.5px; }

.layerf7345-note {
  margin: 14px 0 0;
  padding-top: 10px;
  border-top: 1px dashed var(--layerf7345-line);
  font-size: 11.5px;
  line-height: 1.65;
  color: #DEB887;
}

/* ---------------- Generic footer ---------------- */

.layerf7345-foot {
  text-align: center;
  padding: 16px 0 4px;
  font-family: var(--layerf7345-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: #5D5D5D;
}

/* ---------------- Bottom tab rack ---------------- */

.layerf7345-tabbar {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 60;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  background: var(--layerf7345-shade);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--layerf7345-line);
  padding: 4px 2px calc(4px + env(safe-area-inset-bottom, 0px));
}

.layerf7345-tab {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 56px;
  padding: 6px 2px 10px;
  border: 0;
  background: transparent;
  color: rgba(222, 184, 135, 0.72);
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
}

.layerf7345-tab svg { transition: transform 0.12s ease; color: rgba(222, 184, 135, 0.72); }

.layerf7345-tab:active svg { transform: scale(0.86); }

.layerf7345-tab:hover { text-decoration: none; }

.layerf7345-here { color: #FFDEAD; }
.layerf7345-here svg { color: #F4A460; }

.layerf7345-here::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 3px;
  border-radius: 3px;
  background: #F4A460;
}

.layerf7345-tab-hot { color: #FFDEAD; }
.layerf7345-tab-hot svg { color: #F4A460; }

/* ---------------- Section reveal motion ---------------- */

.layerf7345-await {
  opacity: 0;
  transform: translateY(10px);
}

.layerf7345-shown {
  opacity: 1;
  transform: none;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

@media (prefers-reduced-motion: reduce) {
  .layerf7345-track,
  .layerf7345-menu,
  .layerf7345-tab svg,
  .layerf7345-game-bar,
  .layerf7345-cta,
  .layerf7345-chip { transition: none; }
  .layerf7345-await { opacity: 1; transform: none; }
}

/* ---------------- Width tuning ---------------- */

@media (max-width: 359px) {
  .layerf7345-brand b { font-size: 11.5px; }
  .layerf7345-hero h1 { font-size: 19px; }
  .layerf7345-games { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .layerf7345-game-bar { gap: 7px; padding: 5px 6px; }
  .layerf7345-game-bar img { width: 40px; height: 40px; }
  .layerf7345-facts b { font-size: 13px; }
}

@media (min-width: 375px) {
  .layerf7345-hero h1 { font-size: 22px; }
  .layerf7345-block h2 { font-size: 17.5px; }
  .layerf7345-game-name { font-size: 13px; }
}

/* Wide screens keep the same centred phone canvas. */
@media (min-width: 431px) {
  body { background: #0D1117; }
  .layerf7345-shell {
    border-left: 1px solid var(--layerf7345-line);
    border-right: 1px solid var(--layerf7345-line);
    box-shadow: 0 0 42px rgba(222, 184, 135, 0.08);
  }
}

@media (min-width: 768px) {
  .layerf7345-slide img { height: 200px; }
}
