/* 299bad - Core CSS - prefix: v9ce- */
:root {
  --v9ce-primary: #FFCC33;
  --v9ce-secondary: #F4A460;
  --v9ce-bg: #0C0C0C;
  --v9ce-bg-2: #1a1410;
  --v9ce-bg-3: #2a2018;
  --v9ce-text: #FFF8DC;
  --v9ce-muted: #999999;
  --v9ce-gold: #FFCC33;
  --v9ce-gold-dark: #d4a017;
  --v9ce-shadow: 0 4px 18px rgba(255, 204, 51, 0.18);
  --v9ce-radius: 12px;
  --v9ce-header-h: 56px;
  --v9ce-bottomnav-h: 60px;
}

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

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

body {
  font-family: 'Segoe UI', 'Noto Sans Bengali', 'SolaimanLipi', system-ui, sans-serif;
  background: var(--v9ce-bg);
  color: var(--v9ce-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: var(--v9ce-primary); text-decoration: none; }

.v9ce-container { width: 100%; max-width: 430px; margin: 0 auto; position: relative; }

.v9ce-wrapper { padding: 0 1.2rem; }

/* ===== Header ===== */
.v9ce-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--v9ce-header-h);
  background: linear-gradient(180deg, #1a1410, #0C0C0C);
  border-bottom: 1px solid rgba(255, 204, 51, 0.25);
  display: flex; align-items: center;
  max-width: 430px; margin: 0 auto;
}
.v9ce-header-inner {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 0 1.0rem; height: 100%;
}
.v9ce-logo {
  display: flex; align-items: center; gap: 0.6rem; flex: 1; min-width: 0;
}
.v9ce-logo img { width: 30px; height: 30px; border-radius: 6px; }
.v9ce-logo-text {
  font-size: 1.7rem; font-weight: 800; color: var(--v9ce-primary);
  letter-spacing: 0.5px; white-space: nowrap;
}
.v9ce-header-btns { display: flex; align-items: center; gap: 0.5rem; }
.v9ce-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  font-size: 1.3rem; font-weight: 700; border: none; border-radius: 8px;
  padding: 0.6rem 1.1rem; cursor: pointer; min-height: 36px; min-width: 44px;
  transition: transform .15s ease, opacity .15s ease;
  font-family: inherit;
}
.v9ce-btn:active { transform: scale(0.94); }
.v9ce-btn-register {
  background: linear-gradient(135deg, var(--v9ce-primary), var(--v9ce-secondary));
  color: #1a1410;
}
.v9ce-btn-login {
  background: transparent; color: var(--v9ce-primary);
  border: 1px solid var(--v9ce-primary);
}
.v9ce-menu-btn {
  background: transparent; border: none; color: var(--v9ce-primary);
  font-size: 2.2rem; cursor: pointer; padding: 0.4rem 0.6rem; min-width: 44px;
  display: inline-flex; align-items: center; justify-content: center;
}

/* ===== Mobile Menu (slide down) ===== */
.v9ce-mobile-menu {
  position: fixed; top: var(--v9ce-header-h); left: 0; right: 0; z-index: 9999;
  background: #14100c; border-bottom: 1px solid rgba(255,204,51,0.3);
  max-height: 0; overflow: hidden; transition: max-height .28s ease;
  max-width: 430px; margin: 0 auto;
}
.v9ce-menu-open { max-height: 420px; }
.v9ce-mobile-menu ul { list-style: none; padding: 0.6rem 1.2rem 1.0rem; }
.v9ce-mobile-menu li a {
  display: block; padding: 1.0rem 0.6rem; color: var(--v9ce-text);
  border-bottom: 1px solid rgba(255,255,255,0.06); font-size: 1.4rem; font-weight: 600;
}
.v9ce-mobile-menu li a:active { background: rgba(255,204,51,0.08); }

/* ===== Main ===== */
.v9ce-main {
  padding-top: calc(var(--v9ce-header-h) + 0.6rem);
  padding-bottom: calc(var(--v9ce-bottomnav-h) + 1.2rem);
  min-height: 100vh;
}

/* ===== Carousel ===== */
.v9ce-carousel {
  position: relative; width: 100%; border-radius: var(--v9ce-radius);
  overflow: hidden; margin: 0.6rem 0 1.2rem; box-shadow: var(--v9ce-shadow);
}
.v9ce-slide { display: none; cursor: pointer; position: relative; }
.v9ce-slide img { width: 100%; height: 180px; object-fit: cover; }
.v9ce-slide-cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.85));
  color: var(--v9ce-primary); font-weight: 700; font-size: 1.3rem;
  padding: 1.6rem 1.0rem 0.8rem;
}
.v9ce-dots {
  position: absolute; bottom: 8px; left: 0; right: 0;
  display: flex; justify-content: center; gap: 6px; z-index: 2;
}
.v9ce-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,248,220,0.5); cursor: pointer; border: none; padding: 0;
}
.v9ce-dot-active { background: var(--v9ce-primary); width: 22px; border-radius: 4px; }

/* ===== Sections ===== */
.v9ce-section { margin: 1.6rem 0; padding: 0 1.2rem; }
.v9ce-section-title {
  font-size: 1.7rem; font-weight: 800; color: var(--v9ce-primary);
  margin-bottom: 0.8rem; padding-left: 0.8rem;
  border-left: 4px solid var(--v9ce-secondary);
  display: flex; align-items: center; gap: 0.6rem;
}
.v9ce-section-title i, .v9ce-section-title .material-icons-outlined { font-size: 2.0rem; }

.v9ce-h1 {
  font-size: 2.0rem; font-weight: 800; color: var(--v9ce-primary);
  text-align: center; margin: 1.2rem 1.0rem; line-height: 1.35;
}

.v9ce-intro {
  background: var(--v9ce-bg-2); border-radius: var(--v9ce-radius);
  padding: 1.2rem; margin: 1.0rem 1.2rem; color: var(--v9ce-text);
  font-size: 1.35rem; line-height: 1.6;
  border: 1px solid rgba(255,204,51,0.15);
}

/* ===== Game Grid ===== */
.v9ce-cat-block { margin: 1.4rem 0; padding: 0 1.2rem; }
.v9ce-cat-title {
  font-size: 1.5rem; font-weight: 700; color: var(--v9ce-secondary);
  margin-bottom: 0.7rem; display: flex; align-items: center; gap: 0.5rem;
}
.v9ce-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.7rem;
}
.v9ce-card {
  background: var(--v9ce-bg-2); border-radius: 10px; overflow: hidden;
  border: 1px solid rgba(255,204,51,0.12); cursor: pointer;
  transition: transform .15s ease, border-color .15s ease;
}
.v9ce-card:active { transform: scale(0.96); border-color: var(--v9ce-primary); }
.v9ce-card img { width: 100%; height: 84px; object-fit: cover; background: #111; }
.v9ce-card-name {
  font-size: 1.1rem; color: var(--v9ce-text); text-align: center;
  padding: 0.4rem 0.3rem 0.5rem; white-space: nowrap; overflow: hidden;
  text-overflow: ellipsis; font-weight: 600;
}

/* ===== Modules (info / faq / features etc.) ===== */
.v9ce-module {
  background: var(--v9ce-bg-2); border-radius: var(--v9ce-radius);
  padding: 1.2rem; margin: 1.0rem 1.2rem;
  border: 1px solid rgba(255,204,51,0.12);
}
.v9ce-module h2 { font-size: 1.55rem; color: var(--v9ce-primary); margin-bottom: 0.6rem; }
.v9ce-module h3 { font-size: 1.35rem; color: var(--v9ce-secondary); margin: 0.8rem 0 0.4rem; }
.v9ce-module p { font-size: 1.3rem; line-height: 1.6; color: var(--v9ce-text); margin-bottom: 0.6rem; }
.v9ce-module ul { padding-left: 1.6rem; margin: 0.4rem 0; }
.v9ce-module li { font-size: 1.3rem; line-height: 1.55; margin-bottom: 0.3rem; color: var(--v9ce-text); }

.v9ce-faq-item {
  border-bottom: 1px solid rgba(255,255,255,0.08); padding: 0.8rem 0;
}
.v9ce-faq-item:last-child { border-bottom: none; }
.v9ce-faq-q { font-weight: 700; color: var(--v9ce-primary); font-size: 1.35rem; margin-bottom: 0.3rem; }
.v9ce-faq-a { font-size: 1.25rem; color: var(--v9ce-text); line-height: 1.55; }

/* Promo link (inline bold) */
.v9ce-promo-link {
  color: var(--v9ce-primary); font-weight: 800; cursor: pointer;
  border-bottom: 1px dashed var(--v9ce-primary);
}
.v9ce-promo-link:active { opacity: 0.7; }

/* CTA banner */
.v9ce-cta {
  background: linear-gradient(135deg, var(--v9ce-primary), var(--v9ce-secondary));
  color: #1a1410; border-radius: var(--v9ce-radius); padding: 1.2rem;
  text-align: center; margin: 1.2rem; font-weight: 800; font-size: 1.5rem;
  cursor: pointer; box-shadow: var(--v9ce-shadow);
}
.v9ce-cta:active { transform: scale(0.98); }

/* Feature list compact */
.v9ce-feature-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.7rem; margin-top: 0.6rem;
}
.v9ce-feature {
  background: var(--v9ce-bg-3); border-radius: 8px; padding: 0.8rem;
  text-align: center; font-size: 1.15rem; color: var(--v9ce-text);
}
.v9ce-feature i, .v9ce-feature .material-icons { font-size: 2.2rem; color: var(--v9ce-primary); display: block; margin-bottom: 0.3rem; }

/* Testimonial */
.v9ce-testi {
  background: var(--v9ce-bg-3); border-radius: 8px; padding: 0.9rem;
  margin-bottom: 0.7rem; font-size: 1.2rem; color: var(--v9ce-text);
}
.v9ce-testi-name { color: var(--v9ce-primary); font-weight: 700; font-size: 1.2rem; margin-bottom: 0.2rem; }

/* Payment / winners */
.v9ce-pay-row, .v9ce-winner-row {
  display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.5rem;
}
.v9ce-pay, .v9ce-winner {
  background: var(--v9ce-bg-3); border-radius: 8px; padding: 0.5rem 0.8rem;
  font-size: 1.15rem; color: var(--v9ce-text); border: 1px solid rgba(255,204,51,0.15);
}

/* ===== Footer ===== */
.v9ce-footer {
  background: #100c08; border-top: 1px solid rgba(255,204,51,0.2);
  padding: 1.4rem 1.2rem 1.6rem; margin-top: 1.2rem;
}
.v9ce-footer-brand { font-size: 1.25rem; color: var(--v9ce-text); line-height: 1.55; margin-bottom: 0.9rem; }
.v9ce-footer-links {
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.0rem; margin: 0.8rem 0;
}
.v9ce-footer-links a { color: var(--v9ce-secondary); font-size: 1.2rem; font-weight: 600; }
.v9ce-footer-promos { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0.8rem 0; }
.v9ce-footer-promos button {
  background: linear-gradient(135deg, var(--v9ce-primary), var(--v9ce-secondary));
  color: #1a1410; border: none; border-radius: 6px; padding: 0.5rem 0.9rem;
  font-size: 1.15rem; font-weight: 700; cursor: pointer; font-family: inherit;
}
.v9ce-footer-promos button:active { transform: scale(0.95); }
.v9ce-copy { font-size: 1.1rem; color: var(--v9ce-muted); text-align: center; margin-top: 0.8rem; border-top: 1px solid rgba(255,255,255,0.06); padding-top: 0.8rem; }

/* ===== Mobile Bottom Nav ===== */
.v9ce-bottomnav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
  height: var(--v9ce-bottomnav-h);
  background: linear-gradient(180deg, #1a1410, #0C0C0C);
  border-top: 1px solid rgba(255,204,51,0.3);
  display: flex; justify-content: space-around; align-items: center;
  max-width: 430px; margin: 0 auto;
}
.v9ce-bottomnav-btn {
  flex: 1; min-width: 60px; min-height: 60px;
  background: transparent; border: none; color: var(--v9ce-muted);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px; cursor: pointer; font-family: inherit;
  transition: color .15s ease, transform .15s ease;
}
.v9ce-bottomnav-btn i, .v9ce-bottomnav-btn .material-icons, .v9ce-bottomnav-btn .material-icons-outlined {
  font-size: 24px;
}
.v9ce-bottomnav-btn span { font-size: 1.05rem; font-weight: 600; }
.v9ce-bottomnav-btn:active { transform: scale(0.92); color: var(--v9ce-primary); }
.v9ce-bottomnav-active { color: var(--v9ce-primary); }
.v9ce-bottomnav-active i, .v9ce-bottomnav-active .material-icons { color: var(--v9ce-primary); }
.v9ce-bottomnav-badge {
  position: absolute; top: 4px; right: 18px; background: #e53935; color: #fff;
  font-size: 0.9rem; font-weight: 700; border-radius: 8px; padding: 0 4px; min-width: 14px; text-align: center;
}
.v9ce-bottomnav-btn { position: relative; }

/* ===== Desktop: hide bottom nav ===== */
@media (min-width: 769px) {
  .v9ce-bottomnav { display: none; }
  .v9ce-main { padding-bottom: 1.2rem; }
  .v9ce-container { max-width: 430px; }
}

/* ===== Mobile small fine-tuning ===== */
@media (max-width: 360px) {
  .v9ce-grid { grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
  .v9ce-card img { height: 72px; }
  .v9ce-logo-text { font-size: 1.5rem; }
  .v9ce-btn { padding: 0.5rem 0.8rem; font-size: 1.2rem; }
}

/* Utility */
.v9ce-clear { clear: both; }
.v9ce-text-center { text-align: center; }
.v9ce-mt-1 { margin-top: 1.0rem; }
.v9ce-mb-1 { margin-bottom: 1.0rem; }
