/* 4999 bdt - mobile-first base styles, class prefix frame6413f- */
/* Palette: #1B263B base / #FFF8DC text / #00FF7F accent / #BDB76B khaki / #F4A460 sand */

:root {
  --frame6413f-bg: #1B263B;
  --frame6413f-bg-2: #16203a;
  --frame6413f-bg-3: #0f1729;
  --frame6413f-bg-4: #1d2c4d;
  --frame6413f-cream: #FFF8DC;
  --frame6413f-cream-dim: rgba(255, 248, 220, 0.78);
  --frame6413f-cream-low: rgba(255, 248, 220, 0.55);
  --frame6413f-green: #00FF7F;
  --frame6413f-green-deep: #06210f;
  --frame6413f-khaki: #BDB76B;
  --frame6413f-sand: #F4A460;
  --frame6413f-line: rgba(255, 248, 220, 0.14);
  --frame6413f-line-strong: rgba(255, 248, 220, 0.28);
  --frame6413f-shadow: 0 6px 18px rgba(0, 0, 0, 0.38);
  --frame6413f-r: 4px;
  --frame6413f-r-lg: 6px;
}

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

html, body {
  margin: 0;
  padding: 0;
  background: var(--frame6413f-bg);
  color: var(--frame6413f-cream);
  font-family: "Hind Siliguri", "Noto Sans Bengali", "SolaimanLipi", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.65;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--frame6413f-green); text-decoration: none; }
a:hover, a:focus-visible { text-decoration: underline; }
button { font-family: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--frame6413f-green); outline-offset: 2px; }

/* === Top bar === */
.frame6413f-topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(180deg, #18243d 0%, #15203a 100%);
  border-bottom: 1px solid var(--frame6413f-line);
  box-shadow: 0 1px 0 rgba(0, 255, 127, 0.04);
}

.frame6413f-toprow {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  max-width: 480px;
  margin: 0 auto;
}

.frame6413f-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  flex: 1;
  min-width: 0;
  color: var(--frame6413f-cream);
}

.frame6413f-brand:hover, .frame6413f-brand:focus-visible { text-decoration: none; }

.frame6413f-logo {
  width: 36px;
  height: 36px;
  border-radius: var(--frame6413f-r);
  background: var(--frame6413f-bg-3);
  border: 1px solid var(--frame6413f-line-strong);
  object-fit: contain;
  padding: 3px;
  flex-shrink: 0;
}

.frame6413f-brand-name {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.4px;
  line-height: 1.05;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.frame6413f-brand-name b { color: var(--frame6413f-green); font-weight: 800; }

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

.frame6413f-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 800;
  border-radius: var(--frame6413f-r);
  border: 1px solid transparent;
  background: var(--frame6413f-green);
  color: var(--frame6413f-green-deep);
  letter-spacing: 0.2px;
  transition: transform 0.08s ease, background 0.15s ease, color 0.15s ease;
}
.frame6413f-btn:active { transform: scale(0.95); }
.frame6413f-btn--ghost { background: transparent; color: var(--frame6413f-cream); border-color: var(--frame6413f-line-strong); }
.frame6413f-btn--ghost:active { background: rgba(255, 248, 220, 0.06); }
.frame6413f-btn--sand { background: var(--frame6413f-sand); color: #2a1606; }
.frame6413f-btn--block { width: 100%; }

.frame6413f-burger {
  width: 36px;
  height: 36px;
  border-radius: var(--frame6413f-r);
  background: transparent;
  color: var(--frame6413f-cream);
  border: 1px solid var(--frame6413f-line-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.frame6413f-burger span,
.frame6413f-burger span::before,
.frame6413f-burger span::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  background: var(--frame6413f-cream);
  position: relative;
  transition: transform 0.18s ease;
}
.frame6413f-burger span::before { position: absolute; top: -6px; left: 0; }
.frame6413f-burger span::after { position: absolute; top: 6px; left: 0; }

/* === Compact route panel === */
.frame6413f-menu {
  max-height: 0;
  overflow: hidden;
  background: var(--frame6413f-bg-3);
  border-top: 1px solid transparent;
  transition: max-height 0.24s ease;
}
.frame6413f-menu[data-open="true"] {
  max-height: 560px;
  border-top-color: var(--frame6413f-line);
}
.frame6413f-menu-inner {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--frame6413f-line);
  padding: 1px;
  max-width: 480px;
  margin: 0 auto;
}
.frame6413f-menu-cell {
  background: var(--frame6413f-bg-3);
  padding: 12px 10px;
  color: var(--frame6413f-cream);
  font-size: 13.5px;
  font-weight: 700;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
}
.frame6413f-menu-cell:hover, .frame6413f-menu-cell:focus-visible {
  background: #1b2949;
  color: var(--frame6413f-green);
  text-decoration: none;
}
.frame6413f-menu-cell::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--frame6413f-green);
  display: inline-block;
  opacity: 0.7;
}

/* === Shell === */
.frame6413f-shell {
  max-width: 480px;
  margin: 0 auto;
  padding: 12px 12px 100px;
}

/* === Hero carousel === */
.frame6413f-hero {
  position: relative;
  margin-bottom: 14px;
  border-radius: var(--frame6413f-r-lg);
  overflow: hidden;
  box-shadow: var(--frame6413f-shadow);
  border: 1px solid var(--frame6413f-line);
  background: #0c1426;
}
.frame6413f-slides {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.frame6413f-slides::-webkit-scrollbar { display: none; }
.frame6413f-slide {
  flex: 0 0 100%;
  scroll-snap-align: center;
  position: relative;
  display: block;
}
.frame6413f-slide img {
  width: 100%;
  height: 168px;
  object-fit: cover;
}
.frame6413f-slide-cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 26px 12px 12px;
  background: linear-gradient(0deg, rgba(15,23,41,0.94) 0%, rgba(15,23,41,0) 100%);
  color: var(--frame6413f-cream);
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 0.2px;
}
.frame6413f-slide-cap small {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--frame6413f-green);
  margin-bottom: 2px;
  letter-spacing: 0.4px;
}
.frame6413f-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}
.frame6413f-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(255, 248, 220, 0.4);
  transition: background 0.18s ease, width 0.18s ease;
}
.frame6413f-dot.frame6413f-on { background: var(--frame6413f-green); width: 14px; border-radius: 4px; }

/* === Headings === */
h1.frame6413f-h1 {
  font-size: 22px;
  line-height: 1.25;
  font-weight: 800;
  margin: 16px 0 8px;
  color: var(--frame6413f-cream);
  letter-spacing: -0.1px;
}
.frame6413f-lead {
  color: var(--frame6413f-cream-dim);
  font-size: 14px;
  margin: 0 0 12px;
}
.frame6413f-lead strong { color: var(--frame6413f-green); font-weight: 700; }

h2.frame6413f-h2 {
  font-size: 17px;
  font-weight: 800;
  color: var(--frame6413f-cream);
  margin: 24px 0 10px;
  padding-bottom: 7px;
  border-bottom: 2px solid var(--frame6413f-green);
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.3;
}
h2.frame6413f-h2::before {
  content: "";
  width: 4px;
  height: 18px;
  background: var(--frame6413f-green);
  display: inline-block;
  flex-shrink: 0;
}
h3.frame6413f-h3 {
  font-size: 15px;
  font-weight: 700;
  margin: 14px 0 6px;
  color: var(--frame6413f-khaki);
}

.frame6413f-section { margin-bottom: 18px; }

.frame6413f-cat-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 10px;
  gap: 8px;
}
.frame6413f-cat-head h2.frame6413f-h2 {
  margin: 0;
  border-bottom: 0;
  padding-bottom: 0;
  flex: 1;
}
.frame6413f-cat-tag {
  display: inline-block;
  padding: 3px 9px;
  font-size: 11px;
  font-weight: 800;
  border-radius: 2px;
  background: rgba(0, 255, 127, 0.14);
  color: var(--frame6413f-green);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  white-space: nowrap;
}

/* === Game grid === */
.frame6413f-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.frame6413f-card {
  position: relative;
  display: block;
  background: var(--frame6413f-bg-2);
  border: 1px solid var(--frame6413f-line);
  border-radius: var(--frame6413f-r);
  overflow: hidden;
  text-align: center;
  padding: 4px 4px 5px;
  transition: transform 0.08s ease, border-color 0.15s ease, background 0.15s ease;
  color: var(--frame6413f-cream);
}
.frame6413f-card:active {
  transform: scale(0.96);
  border-color: var(--frame6413f-green);
  background: #1c294b;
}
.frame6413f-card:hover, .frame6413f-card:focus-visible {
  text-decoration: none;
  border-color: var(--frame6413f-line-strong);
  color: var(--frame6413f-cream);
}
.frame6413f-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 3px;
  background: #0c1426;
}
.frame6413f-card-name {
  display: block;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.22;
  color: var(--frame6413f-cream);
  margin-top: 4px;
  min-height: 26px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  word-break: break-word;
}
.frame6413f-card--lg {
  grid-column: span 2;
  padding: 6px;
}
.frame6413f-card--lg img { aspect-ratio: 16 / 10; }
.frame6413f-card--lg .frame6413f-card-name {
  font-size: 13px;
  font-weight: 700;
  min-height: 0;
  margin-top: 6px;
  -webkit-line-clamp: 1;
  line-clamp: 1;
}

/* === Category chips === */
.frame6413f-cat-foot {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-top: 11px;
}
.frame6413f-chip {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 2px;
  background: rgba(244, 164, 96, 0.13);
  color: var(--frame6413f-sand);
  border: 1px solid rgba(244, 164, 96, 0.35);
  min-height: 32px;
}
.frame6413f-chip:hover, .frame6413f-chip:focus-visible {
  background: rgba(244, 164, 96, 0.22);
  color: var(--frame6413f-sand);
  text-decoration: none;
}
.frame6413f-chip::before { content: "›"; color: var(--frame6413f-sand); font-weight: 800; }

/* === Article blocks === */
.frame6413f-block {
  background: var(--frame6413f-bg-2);
  border: 1px solid var(--frame6413f-line);
  border-left: 3px solid var(--frame6413f-khaki);
  padding: 12px 13px;
  border-radius: var(--frame6413f-r);
  margin-bottom: 12px;
}
.frame6413f-block--green { border-left-color: var(--frame6413f-green); }
.frame6413f-block--sand { border-left-color: var(--frame6413f-sand); }
.frame6413f-block p {
  margin: 0 0 9px;
  color: var(--frame6413f-cream-dim);
  font-size: 14px;
}
.frame6413f-block p:last-child { margin-bottom: 0; }
.frame6413f-block p strong { color: var(--frame6413f-cream); font-weight: 700; }
.frame6413f-list {
  margin: 6px 0 0;
  padding-left: 20px;
  color: var(--frame6413f-cream-dim);
  font-size: 14px;
}
.frame6413f-list li { margin-bottom: 5px; line-height: 1.55; }
.frame6413f-list li::marker { color: var(--frame6413f-green); }

.frame6413f-promo {
  color: var(--frame6413f-green);
  font-weight: 700;
  border-bottom: 1px dashed rgba(0, 255, 127, 0.55);
  padding-bottom: 1px;
}
.frame6413f-promo:hover, .frame6413f-promo:focus-visible {
  text-decoration: none;
  background: rgba(0, 255, 127, 0.08);
}

.frame6413f-cta-row {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-top: 12px;
}

/* === Fact strip (fact-first summary) === */
.frame6413f-strip {
  display: flex;
  gap: 10px;
  align-items: stretch;
  background: linear-gradient(135deg, var(--frame6413f-bg-4) 0%, var(--frame6413f-bg) 100%);
  border: 1px solid var(--frame6413f-line);
  padding: 11px;
  border-radius: var(--frame6413f-r);
  margin: 12px 0;
}
.frame6413f-strip-tx { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.frame6413f-strip-tx b { font-size: 14px; color: var(--frame6413f-cream); display: block; font-weight: 800; }
.frame6413f-strip-tx span { font-size: 12px; color: var(--frame6413f-cream-dim); }
.frame6413f-strip-cta {
  align-self: center;
  padding: 9px 14px;
  background: var(--frame6413f-green);
  color: var(--frame6413f-green-deep);
  font-weight: 800;
  font-size: 13px;
  border-radius: 2px;
  border: 0;
  white-space: nowrap;
}
.frame6413f-strip-cta:active { transform: scale(0.95); }

/* === Meta pills === */
.frame6413f-meta-row {
  display: flex; flex-wrap: wrap; gap: 6px;
  font-size: 12px;
  color: var(--frame6413f-cream-dim);
  margin-bottom: 10px;
}
.frame6413f-meta-row span {
  padding: 3px 8px;
  border: 1px solid var(--frame6413f-line);
  border-radius: 2px;
  background: var(--frame6413f-bg-2);
}

/* === Two-col compact info === */
.frame6413f-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.frame6413f-pair-cell {
  background: var(--frame6413f-bg-2);
  border: 1px solid var(--frame6413f-line);
  padding: 10px;
  border-radius: var(--frame6413f-r);
}
.frame6413f-pair-cell b {
  display: block;
  color: var(--frame6413f-green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.4px;
  margin-bottom: 4px;
  text-transform: uppercase;
}
.frame6413f-pair-cell span {
  font-size: 13px;
  color: var(--frame6413f-cream-dim);
}

/* === Extended footer (home only) === */
.frame6413f-ext {
  margin-top: 20px;
  padding: 14px;
  background: var(--frame6413f-bg-3);
  border: 1px solid var(--frame6413f-line);
  border-radius: var(--frame6413f-r-lg);
}
.frame6413f-ext h3 {
  font-size: 13.5px;
  color: var(--frame6413f-green);
  font-weight: 800;
  margin: 14px 0 8px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.frame6413f-ext h3:first-child { margin-top: 0; }
.frame6413f-ext p {
  font-size: 13px;
  color: var(--frame6413f-cream-dim);
  margin: 0 0 8px;
}
.frame6413f-ext ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}
.frame6413f-ext li a {
  display: block;
  padding: 8px 6px;
  font-size: 12.5px;
  color: var(--frame6413f-cream);
  border-bottom: 1px solid var(--frame6413f-line);
  font-weight: 600;
}
.frame6413f-ext li a:hover, .frame6413f-ext li a:focus-visible {
  color: var(--frame6413f-green);
  text-decoration: none;
  padding-left: 10px;
}
.frame6413f-ext-disclaimer {
  margin-top: 14px;
  padding-top: 11px;
  border-top: 1px dashed var(--frame6413f-line);
  font-size: 11.5px;
  color: var(--frame6413f-cream-low);
  line-height: 1.55;
}

/* === Mobile bottom nav === */
.frame6413f-bottom {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 60;
  background: linear-gradient(180deg, #182441 0%, #0c1426 100%);
  border-top: 1px solid var(--frame6413f-line-strong);
  display: flex;
  max-width: 480px;
  margin: 0 auto;
  padding-bottom: env(safe-area-inset-bottom, 0);
}
.frame6413f-bottom-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 6px 2px 8px;
  color: var(--frame6413f-cream-dim);
  font-size: 10.5px;
  font-weight: 700;
  position: relative;
  background: transparent;
  border: 0;
  min-height: 58px;
  letter-spacing: 0.2px;
}
.frame6413f-bottom-item:hover, .frame6413f-bottom-item:focus-visible {
  text-decoration: none;
  color: var(--frame6413f-cream);
}
.frame6413f-bottom-item.frame6413f-active { color: var(--frame6413f-green); }
.frame6413f-bottom-item.frame6413f-active::before {
  content: "";
  position: absolute;
  top: 0; left: 28%; right: 28%;
  height: 3px;
  background: var(--frame6413f-green);
  border-radius: 0 0 2px 2px;
}
.frame6413f-ic {
  width: 24px; height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.frame6413f-ic svg { width: 22px; height: 22px; display: block; }
.frame6413f-bottom-promo { color: var(--frame6413f-sand); }
.frame6413f-bottom-promo .frame6413f-ic {
  background: rgba(0, 255, 127, 0.16);
  border-radius: 50%;
  width: 32px; height: 32px;
  color: var(--frame6413f-green);
  margin-top: -2px;
}
.frame6413f-bottom-promo .frame6413f-ic svg { width: 18px; height: 18px; }

/* === Responsive breakpoints === */
@media (min-width: 360px) {
  .frame6413f-grid { gap: 9px; }
  .frame6413f-card-name { font-size: 11.5px; }
}

/* 430px breakpoint: widen canvas and add a fifth game column on wider phones */
@media (min-width: 430px) {
  .frame6413f-shell { padding-left: 16px; padding-right: 16px; }
  .frame6413f-toprow { padding-left: 16px; padding-right: 16px; }
  .frame6413f-grid { grid-template-columns: repeat(5, 1fr); gap: 10px; }
  .frame6413f-card-name { font-size: 12px; }
  h1.frame6413f-h1 { font-size: 24px; }
  .frame6413f-slide img { height: 188px; }
  .frame6413f-ext ul { grid-template-columns: repeat(3, 1fr); }
  .frame6413f-pair { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}

@media (min-width: 480px) {
  .frame6413f-menu-inner { grid-template-columns: repeat(3, 1fr); }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
