/* ac365 status - BD mobile-first basefiles CSS. All custom classes use v24e- prefix. */
/* Palette: deep onyx #0A0A0A base, mint #80CBC4 + cyan #00E5FF/#00FFFF accents, warm sand #F5DEB3 */

:root {
  --v24e-bg: #0A0A0A;
  --v24e-bg-2: #121214;
  --v24e-card: #16181c;
  --v24e-mint: #80CBC4;
  --v24e-cyan: #00E5FF;
  --v24e-cyan-2: #00FFFF;
  --v24e-sand: #F5DEB3;
  --v24e-text: #F5F6F8;
  --v24e-muted: #A9B0B8;
  --v24e-border: rgba(128, 203, 196, 0.18);
  --v24e-radius: 14px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: radial-gradient(120% 60% at 50% -10%, #15302d 0%, var(--v24e-bg) 60%);
  color: var(--v24e-text);
  font-family: "Hind Siliguri", "Noto Sans Bengali", "Segoe UI", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
}

a { color: var(--v24e-mint); text-decoration: none; }
a:hover { color: var(--v24e-cyan-2); }
img { max-width: 100%; display: block; }

.v24e-wrap {
  max-width: 430px;
  margin: 0 auto;
  position: relative;
  min-height: 100vh;
}

/* ===== Header ===== */
.v24e-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(180deg, rgba(10,10,10,.95), rgba(10,10,10,.78));
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--v24e-border);
}
.v24e-header-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  max-width: 430px;
  margin: 0 auto;
}
.v24e-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 18px;
  color: var(--v24e-text);
  letter-spacing: .3px;
}
.v24e-logo img { width: 30px; height: 30px; border-radius: 8px; }
.v24e-logo span { color: var(--v24e-cyan); }
.v24e-spacer { flex: 1; }

.v24e-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 0;
  border-radius: 999px;
  padding: 9px 16px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, opacity .2s;
  font-family: inherit;
  line-height: 1;
}
.v24e-btn:hover { transform: translateY(-1px); }
.v24e-btn-login {
  background: transparent;
  color: var(--v24e-mint);
  border: 1.5px solid var(--v24e-mint);
  padding: 8px 14px;
}
.v24e-btn-register {
  background: linear-gradient(135deg, var(--v24e-cyan) 0%, var(--v24e-mint) 100%);
  color: #04201d;
  box-shadow: 0 6px 18px rgba(0,229,255,.25);
}
.v24e-icon-btn {
  width: 38px; height: 38px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 10px;
  background: rgba(128,203,196,.10);
  color: var(--v24e-text);
  border: 1px solid var(--v24e-border);
  cursor: pointer;
}
.v24e-icon-btn:hover { color: var(--v24e-cyan-2); }

/* ===== Mobile slide-down menu ===== */
.v24e-mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 9999;
  background: var(--v24e-bg-2);
  border-bottom: 1px solid var(--v24e-border);
  transform: translateY(-100%);
  transition: transform .28s ease;
  max-width: 430px;
  margin: 0 auto;
  padding: 56px 16px 18px;
  max-height: 85vh;
  overflow-y: auto;
}
.v24e-mobile-menu.v24e-open { transform: translateY(0); }
.v24e-mobile-menu a {
  display: block;
  padding: 12px 12px;
  border-radius: 10px;
  color: var(--v24e-text);
  font-size: 15px;
  border-bottom: 1px dashed var(--v24e-border);
}
.v24e-mobile-menu a:hover { background: rgba(128,203,196,.08); color: var(--v24e-cyan-2); }
.v24e-menu-title {
  font-size: 12px; color: var(--v24e-muted); text-transform: uppercase;
  letter-spacing: 1px; margin: 10px 4px 6px;
}
body.v24e-lock { overflow: hidden; }

/* ===== Hero carousel ===== */
.v24e-hero {
  position: relative;
  margin: 14px;
  border-radius: var(--v24e-radius);
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0,0,0,.45);
}
.v24e-hero-track { position: relative; }
.v24e-hero-slide {
  display: none;
  position: relative;
  padding: 26px 18px;
  background: linear-gradient(135deg, #0d2a27 0%, #122b3a 60%, #1a1230 100%);
}
.v24e-hero-slide.v24e-active { display: block; animation: v24eFade .55s ease; }
@keyframes v24eFade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.v24e-hero-slide h2 {
  margin: 0 0 6px;
  font-size: 22px;
  color: var(--v24e-sand);
  line-height: 1.25;
}
.v24e-hero-slide p { margin: 0 0 14px; color: var(--v24e-muted); font-size: 14px; }
.v24e-hero-cta {
  display: inline-flex; gap: 6px; align-items: center;
  background: linear-gradient(135deg, var(--v24e-cyan), var(--v24e-cyan-2));
  color: #04201d; font-weight: 800; padding: 10px 18px; border-radius: 999px;
}
.v24e-hero-dots {
  position: absolute; bottom: 10px; right: 14px; display: flex; gap: 6px;
}
.v24e-hero-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,.3); cursor: pointer;
}
.v24e-hero-dot.v24e-active { background: var(--v24e-cyan); width: 20px; border-radius: 5px; }

/* ===== Marquee strip ===== */
.v24e-strip {
  margin: 0 14px 14px;
  padding: 8px 12px;
  background: rgba(245,222,179,.08);
  border: 1px solid var(--v24e-border);
  border-radius: 10px;
  font-size: 13px;
  color: var(--v24e-sand);
  display: flex; align-items: center; gap: 8px;
  overflow: hidden;
}

/* ===== Section titles ===== */
.v24e-section { margin: 18px 14px; }
.v24e-section-title {
  display: flex; align-items: center; gap: 8px;
  font-size: 18px; font-weight: 800; margin: 0 0 12px;
  color: var(--v24e-text);
}
.v24e-section-title::before {
  content: ""; width: 4px; height: 18px; border-radius: 3px;
  background: linear-gradient(180deg, var(--v24e-cyan), var(--v24e-mint));
}

/* ===== Category tabs ===== */
.v24e-tabs {
  display: flex; gap: 8px; overflow-x: auto; padding: 2px 0 10px;
  scrollbar-width: none;
}
.v24e-tabs::-webkit-scrollbar { display: none; }
.v24e-tab {
  flex: 0 0 auto;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--v24e-card);
  border: 1px solid var(--v24e-border);
  color: var(--v24e-muted);
  font-size: 13px; font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all .2s;
}
.v24e-tab.v24e-active {
  background: linear-gradient(135deg, var(--v24e-cyan), var(--v24e-mint));
  color: #04201d; border-color: transparent;
}

/* ===== Game grid ===== */
.v24e-game-panel { display: none; }
.v24e-game-panel.v24e-active { display: block; }
.v24e-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.v24e-card {
  background: var(--v24e-card);
  border: 1px solid var(--v24e-border);
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  transition: transform .18s ease, box-shadow .2s;
}
.v24e-card:hover { transform: translateY(-3px); box-shadow: 0 8px 22px rgba(0,229,255,.15); }
.v24e-card-img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover; background: #0e1414;
}
.v24e-card-name {
  font-size: 12px; line-height: 1.3; padding: 6px 8px 8px;
  color: var(--v24e-text); font-weight: 600;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.v24e-card-badge {
  position: absolute; top: 6px; left: 6px;
  background: rgba(0,229,255,.92); color: #04201d;
  font-size: 9px; font-weight: 800; padding: 2px 6px; border-radius: 5px;
}

/* ===== Promo / feature blocks ===== */
.v24e-features {
  display: grid; grid-template-columns: repeat(2,1fr); gap: 10px;
}
.v24e-feature {
  background: linear-gradient(135deg, #131a1d, #1a2126);
  border: 1px solid var(--v24e-border);
  border-radius: 12px; padding: 14px;
}
.v24e-feature .v24e-fic { font-size: 24px; color: var(--v24e-cyan); margin-bottom: 8px; }
.v24e-feature h3 { margin: 0 0 4px; font-size: 15px; color: var(--v24e-sand); }
.v24e-feature p { margin: 0; font-size: 12.5px; color: var(--v24e-muted); }

.v24e-cta-box {
  margin: 18px 14px;
  padding: 18px;
  border-radius: 16px;
  text-align: center;
  background: linear-gradient(135deg, rgba(0,229,255,.12), rgba(128,203,196,.10));
  border: 1px solid var(--v24e-border);
}
.v24e-cta-box h3 { margin: 0 0 6px; color: var(--v24e-sand); font-size: 18px; }
.v24e-cta-box p { margin: 0 0 14px; color: var(--v24e-muted); font-size: 13.5px; }

/* ===== SEO article ===== */
.v24e-article { margin: 18px 14px; }
.v24e-article h2 { color: var(--v24e-sand); font-size: 18px; margin: 18px 0 8px; }
.v24e-article p { color: var(--v24e-muted); font-size: 14px; margin: 0 0 12px; }
.v24e-article a { color: var(--v24e-cyan); border-bottom: 1px dashed rgba(0,229,255,.4); }

/* ===== Footer ===== */
.v24e-footer {
  margin-top: 24px;
  padding: 22px 14px 30px;
  background: #050606;
  border-top: 1px solid var(--v24e-border);
}
.v24e-foot-grid {
  display: grid; grid-template-columns: repeat(2,1fr); gap: 10px 14px;
  font-size: 13px;
}
.v24e-foot-grid a { color: var(--v24e-muted); }
.v24e-foot-grid a:hover { color: var(--v24e-cyan-2); }
.v24e-foot-title { color: var(--v24e-sand); font-weight: 700; margin: 0 0 8px; font-size: 13px; }
.v24e-foot-copy {
  margin-top: 18px; padding-top: 14px; border-top: 1px dashed var(--v24e-border);
  font-size: 12px; color: #6b737a; text-align: center; line-height: 1.7;
}

/* ===== Mobile bottom nav ===== */
.v24e-bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 1000;
  height: 62px;
  background: linear-gradient(180deg, rgba(15,17,20,.96), rgba(5,6,6,.99));
  border-top: 1px solid var(--v24e-border);
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  max-width: 430px;
  margin: 0 auto;
}
.v24e-bottom-nav a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: var(--v24e-muted);
  font-size: 10.5px;
  font-weight: 600;
  position: relative;
  min-width: 60px;
  min-height: 60px;
  padding: 4px 2px;
}
.v24e-bottom-nav a i,
.v24e-bottom-nav a span.material-icons-outlined {
  font-size: 22px;
}
.v24e-bottom-nav a:hover { color: var(--v24e-cyan-2); }
.v24e-bottom-nav a.v24e-active { color: var(--v24e-cyan); }
.v24e-bottom-nav a.v24e-active::before {
  content: ""; position: absolute; top: 0; width: 30px; height: 3px; border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, var(--v24e-cyan), var(--v24e-mint));
}
.v24e-bnav-promo {
  color: var(--v24e-sand) !important;
}
.v24e-bnav-promo i { filter: drop-shadow(0 0 6px rgba(0,229,255,.6)); }

/* ===== Back to top ===== */
.v24e-to-top {
  position: fixed; right: 14px; bottom: 76px; z-index: 1001;
  width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(135deg, var(--v24e-cyan), var(--v24e-mint));
  color: #04201d; border: 0; cursor: pointer;
  display: none; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px rgba(0,229,255,.35);
}
.v24e-to-top.v24e-show { display: flex; }

/* ===== Responsive ===== */
@media (max-width: 768px) {
  main.v24e-main { padding-bottom: 80px; }
}
@media (min-width: 769px) {
  .v24e-bottom-nav { display: none; }
  .v24e-to-top { bottom: 24px; }
}
