/* ============================================================
   111bd.homes - layout stylesheet (basefiles)
   CSS class prefix: v062-
   Palette: #BDC3C7 | #0C0C0C | #FF4500 | #FFB6C1 | #1E90FF
   Mobile-first, max-width 430px. Comments in English.
   ============================================================ */

:root {
  --v062-primary: #FF4500;
  --v062-secondary: #1E90FF;
  --v062-accent: #FFB6C1;
  --v062-bg: #0C0C0C;
  --v062-bg-2: #141414;
  --v062-bg-3: #1c1c1c;
  --v062-text: #BDC3C7;
  --v062-text-strong: #ffffff;
  --v062-border: rgba(189, 195, 199, 0.12);
  --v062-radius: 0.9rem;
  --v062-shadow: 0 0.4rem 1.2rem rgba(0, 0, 0, 0.45);
  --v062-header-h: 5.6rem;
  --v062-bottom-h: 6.2rem;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--v062-bg);
  color: var(--v062-text);
  font-family: "Hind Siliguri", "Noto Sans Bengali", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 1.5rem;
  line-height: 1.5rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--v062-secondary); text-decoration: none; }
a:hover { color: var(--v062-primary); }
img { max-width: 100%; display: block; }

/* ---------- Layout helpers ---------- */
.v062-container {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1.2rem;
}
.v062-wrapper { width: 100%; max-width: 430px; margin: 0 auto; }
.v062-section {
  padding: 2rem 0;
  border-top: 0.1rem solid var(--v062-border);
}
.v062-section-title {
  font-size: 2rem;
  color: var(--v062-text-strong);
  margin: 0 0 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.v062-section-title i { color: var(--v062-primary); }
.v062-lead {
  font-size: 1.5rem;
  color: var(--v062-text);
  line-height: 2.4rem;
  margin: 0 0 1.2rem;
}

/* ---------- Header ---------- */
.v062-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--v062-header-h);
  background: linear-gradient(180deg, #0c0c0c 0%, #161616 100%);
  border-bottom: 0.1rem solid var(--v062-border);
  z-index: 1000;
  display: flex;
  align-items: center;
}
.v062-header-inner {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.v062-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex: 1;
  min-width: 0;
}
.v062-logo img { width: 3rem; height: 3rem; border-radius: 0.6rem; }
.v062-logo-text {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--v062-primary);
  letter-spacing: 0.05rem;
  white-space: nowrap;
}
.v062-logo-text span { color: var(--v062-text-strong); }
.v062-header-actions { display: flex; align-items: center; gap: 0.5rem; }
.v062-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 3.6rem;
  padding: 0 1.2rem;
  border-radius: 2rem;
  font-size: 1.4rem;
  font-weight: 700;
  border: 0.1rem solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease;
  text-decoration: none;
  line-height: 1;
}
.v062-btn:active { transform: scale(0.96); }
.v062-btn-register {
  background: linear-gradient(135deg, #FF4500, #ff6a2b);
  color: #fff;
  box-shadow: 0 0.3rem 0.8rem rgba(255, 69, 0, 0.35);
}
.v062-btn-login {
  background: transparent;
  color: var(--v062-text-strong);
  border-color: var(--v062-secondary);
}
.v062-btn-login:hover { background: rgba(30, 144, 255, 0.12); }
.v062-menu-toggle {
  background: transparent;
  border: 0;
  color: var(--v062-text-strong);
  font-size: 2.2rem;
  padding: 0.6rem;
  cursor: pointer;
  border-radius: 0.6rem;
}
.v062-menu-toggle:hover { background: rgba(255, 255, 255, 0.06); }

/* ---------- Mobile expandable menu ---------- */
.v062-mobile-menu {
  position: fixed;
  top: var(--v062-header-h);
  left: 0; right: 0;
  background: #101010;
  border-bottom: 0.1rem solid var(--v062-border);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  z-index: 9999;
}
.v062-mobile-menu.v062-menu-open { max-height: 60rem; }
.v062-mobile-menu-inner {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 0.8rem 1.2rem 1.4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}
.v062-mobile-menu a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1rem;
  border-radius: 0.7rem;
  background: var(--v062-bg-3);
  color: var(--v062-text-strong);
  font-size: 1.35rem;
  font-weight: 600;
  border: 0.1rem solid var(--v062-border);
}
.v062-mobile-menu a i { color: var(--v062-primary); font-size: 1.6rem; }
.v062-mobile-menu a:hover { background: #232323; color: var(--v062-primary); }
.v062-mobile-menu a:hover i { color: var(--v062-text-strong); }

/* ---------- Hero carousel ---------- */
.v062-hero {
  margin-top: var(--v062-header-h);
  position: relative;
  width: 100%;
  max-width: 430px;
  margin-left: auto;
  margin-right: auto;
  overflow: hidden;
}
.v062-hero-track {
  position: relative;
  height: 18rem;
  background: #111;
}
.v062-hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
  cursor: pointer;
}
.v062-hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.v062-hero-slide::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.05) 40%, rgba(0,0,0,0.65) 100%);
}
.v062-hero-slide.v062-hero-active { opacity: 1; }
.v062-hero-caption {
  position: absolute;
  left: 1.2rem; bottom: 1.2rem; right: 1.2rem;
  color: #fff;
  z-index: 2;
}
.v062-hero-caption h2 {
  font-size: 2rem;
  margin: 0 0 0.4rem;
  text-shadow: 0 0.2rem 0.4rem rgba(0,0,0,0.6);
}
.v062-hero-caption p {
  margin: 0;
  font-size: 1.3rem;
  color: var(--v062-accent);
}
.v062-hero-dots {
  position: absolute;
  bottom: 0.6rem; left: 0; right: 0;
  display: flex; justify-content: center; gap: 0.5rem;
  z-index: 3;
}
.v062-hero-dot {
  width: 0.7rem; height: 0.7rem;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: 0; cursor: pointer; padding: 0;
}
.v062-hero-dot.v062-dot-active { background: var(--v062-primary); }

/* ---------- Main content ---------- */
main.v062-main {
  padding-top: 1.6rem;
  padding-bottom: calc(var(--v062-bottom-h) + 1.2rem);
}
.v062-h1 {
  font-size: 2.2rem;
  color: var(--v062-text-strong);
  margin: 0 0 1rem;
  line-height: 2.6rem;
}
.v062-h1 span { color: var(--v062-primary); }

/* ---------- Category tabs ---------- */
.v062-cat-tabs {
  display: flex;
  gap: 0.6rem;
  overflow-x: auto;
  padding: 0.4rem 0 1rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.v062-cat-tabs::-webkit-scrollbar { display: none; }
.v062-cat-tab {
  flex: 0 0 auto;
  padding: 0.7rem 1.2rem;
  border-radius: 2rem;
  background: var(--v062-bg-3);
  color: var(--v062-text);
  font-size: 1.3rem;
  font-weight: 600;
  border: 0.1rem solid var(--v062-border);
  cursor: pointer;
  white-space: nowrap;
}
.v062-cat-tab.v062-cat-active {
  background: var(--v062-primary);
  color: #fff;
  border-color: var(--v062-primary);
}

/* ---------- Game grid ---------- */
.v062-game-section { margin-bottom: 1.6rem; }
.v062-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}
.v062-card {
  background: var(--v062-bg-3);
  border-radius: var(--v062-radius);
  border: 0.1rem solid var(--v062-border);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.2s ease;
  text-align: center;
}
.v062-card:active { transform: scale(0.96); }
.v062-card:hover { border-color: var(--v062-primary); }
.v062-card-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #000;
}
.v062-card-name {
  padding: 0.5rem 0.4rem 0.7rem;
  font-size: 1.15rem;
  color: var(--v062-text-strong);
  font-weight: 600;
  line-height: 1.6rem;
  min-height: 3.2rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.v062-card-badge {
  display: inline-block;
  margin: 0 0 0.4rem 0.4rem;
  padding: 0.1rem 0.5rem;
  font-size: 1rem;
  border-radius: 0.4rem;
  background: var(--v062-primary);
  color: #fff;
}

/* ---------- Info / promo blocks ---------- */
.v062-card-info {
  background: var(--v062-bg-2);
  border-radius: var(--v062-radius);
  border: 0.1rem solid var(--v062-border);
  padding: 1.4rem;
  margin-bottom: 1.4rem;
}
.v062-card-info h3 {
  margin: 0 0 0.6rem;
  font-size: 1.7rem;
  color: var(--v062-text-strong);
}
.v062-card-info p {
  margin: 0 0 0.8rem;
  font-size: 1.4rem;
  line-height: 2.3rem;
  color: var(--v062-text);
}
.v062-feature-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
  margin: 1rem 0;
}
.v062-feature-box {
  background: var(--v062-bg-3);
  border-radius: 0.8rem;
  padding: 1rem;
  border: 0.1rem solid var(--v062-border);
  text-align: center;
}
.v062-feature-box i { font-size: 2.2rem; color: var(--v062-primary); }
.v062-feature-box h4 { margin: 0.5rem 0 0.2rem; font-size: 1.3rem; color: var(--v062-text-strong); }
.v062-feature-box p { margin: 0; font-size: 1.2rem; color: var(--v062-text); line-height: 1.8rem; }

/* ---------- Testimonials ---------- */
.v062-testi {
  background: var(--v062-bg-2);
  border-radius: var(--v062-radius);
  padding: 1.2rem;
  margin-bottom: 1rem;
  border-left: 0.3rem solid var(--v062-primary);
}
.v062-testi p { margin: 0 0 0.6rem; font-size: 1.35rem; line-height: 2.2rem; color: var(--v062-text); }
.v062-testi-meta { font-size: 1.2rem; color: var(--v062-accent); }

/* ---------- Winners ---------- */
.v062-winner-row {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.7rem 0.8rem;
  background: var(--v062-bg-2);
  border-radius: 0.8rem;
  margin-bottom: 0.6rem;
  border: 0.1rem solid var(--v062-border);
}
.v062-winner-row i { color: var(--v062-secondary); font-size: 1.8rem; }
.v062-winner-row .v062-winner-name { flex: 1; color: var(--v062-text-strong); font-size: 1.3rem; }
.v062-winner-row .v062-winner-amount { color: var(--v062-primary); font-weight: 800; font-size: 1.4rem; }

/* ---------- Payment methods ---------- */
.v062-pay-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
}
.v062-pay-box {
  background: var(--v062-bg-3);
  border-radius: 0.7rem;
  padding: 0.8rem 0.4rem;
  text-align: center;
  border: 0.1rem solid var(--v062-border);
  font-size: 1.1rem;
  color: var(--v062-text);
}
.v062-pay-box i { font-size: 1.8rem; color: var(--v062-secondary); display: block; margin-bottom: 0.3rem; }

/* ---------- CTA banner ---------- */
.v062-cta {
  background: linear-gradient(135deg, #FF4500, #ff7a3c);
  border-radius: var(--v062-radius);
  padding: 1.6rem;
  text-align: center;
  color: #fff;
  margin: 1.6rem 0;
  box-shadow: var(--v062-shadow);
}
.v062-cta h3 { margin: 0 0 0.5rem; font-size: 1.9rem; color: #fff; }
.v062-cta p { margin: 0 0 1rem; font-size: 1.35rem; line-height: 2rem; color: #fff; }
.v062-cta .v062-btn { background: #0C0C0C; color: #fff; }
.v062-cta .v062-btn:hover { background: #1c1c1c; }

/* ---------- App download ---------- */
.v062-app-box {
  display: flex;
  gap: 1rem;
  align-items: center;
  background: var(--v062-bg-2);
  border-radius: var(--v062-radius);
  padding: 1.2rem;
  border: 0.1rem solid var(--v062-border);
}
.v062-app-box img { width: 8rem; height: 8rem; border-radius: 1rem; object-fit: cover; flex: 0 0 auto; }
.v062-app-box h3 { margin: 0 0 0.4rem; font-size: 1.6rem; color: var(--v062-text-strong); }
.v062-app-box p { margin: 0 0 0.8rem; font-size: 1.3rem; line-height: 2rem; color: var(--v062-text); }
.v062-app-buttons { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.v062-app-buttons .v062-btn { min-height: 3.2rem; padding: 0 1rem; font-size: 1.3rem; }
.v062-app-buttons .v062-btn-register { flex: 1; }
.v062-app-buttons .v062-btn-login { flex: 1; }

/* ---------- Footer ---------- */
.v062-footer {
  border-top: 0.1rem solid var(--v062-border);
  background: #080808;
  padding: 2rem 0 calc(var(--v062-bottom-h) + 1.4rem);
}
.v062-footer-brand {
  font-size: 1.35rem;
  line-height: 2.2rem;
  color: var(--v062-text);
  margin: 0 0 1.2rem;
}
.v062-footer-promo {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.4rem;
}
.v062-footer-promo .v062-btn { flex: 1 1 calc(50% - 0.3rem); min-height: 3.4rem; font-size: 1.3rem; }
.v062-footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem 1rem;
  margin-bottom: 1.2rem;
}
.v062-footer-links a {
  font-size: 1.25rem;
  color: var(--v062-text);
  padding: 0.3rem 0;
}
.v062-footer-links a:hover { color: var(--v062-primary); }
.v062-footer-copy {
  font-size: 1.15rem;
  color: #555;
  text-align: center;
  border-top: 0.1rem solid var(--v062-border);
  padding-top: 1rem;
}

/* ---------- Bottom navigation ---------- */
.v062-bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: var(--v062-bottom-h);
  background: #0a0a0a;
  border-top: 0.15rem solid var(--v062-primary);
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  z-index: 1000;
  box-shadow: 0 -0.4rem 1rem rgba(0,0,0,0.5);
}
.v062-bottom-nav button {
  flex: 1;
  background: transparent;
  border: 0;
  color: var(--v062-text);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  min-width: 60px;
  min-height: 60px;
  padding: 0.4rem 0;
  cursor: pointer;
  transition: color 0.2s ease, transform 0.15s ease;
}
.v062-bottom-nav button i,
.v062-bottom-nav button .material-icons-outlined,
.v062-bottom-nav button ion-icon { font-size: 2.4rem; }
.v062-bottom-nav button ion-icon { line-height: 1; }
.v062-bottom-nav button span { font-size: 1.1rem; font-weight: 600; }
.v062-bottom-nav button:active { transform: scale(0.92); }
.v062-bottom-nav button:hover { color: var(--v062-secondary); }
.v062-bottom-nav .v062-nav-current { color: var(--v062-primary); }
.v062-bottom-nav .v062-nav-current span { color: var(--v062-primary); }
.v062-nav-badge {
  position: absolute;
  top: 0.4rem; right: 1.4rem;
  background: var(--v062-primary);
  color: #fff;
  font-size: 0.9rem;
  border-radius: 0.8rem;
  padding: 0 0.35rem;
  min-width: 1.4rem;
  line-height: 1.4rem;
}

/* ---------- Desktop: hide bottom nav, expand layout ---------- */
@media (min-width: 769px) {
  .v062-bottom-nav { display: none; }
  body { background: #0C0C0C; }
  .v062-container, .v062-wrapper, .v062-header-inner, .v062-mobile-menu-inner, .v062-hero { max-width: 430px; }
  main.v062-main { padding-bottom: 2rem; }
  .v062-footer { padding-bottom: 2rem; }
}

/* ---------- Small phone tweaks ---------- */
@media (max-width: 360px) {
  .v062-grid { grid-template-columns: repeat(2, 1fr); }
  .v062-logo-text { font-size: 1.6rem; }
  .v062-btn { padding: 0 0.8rem; font-size: 1.25rem; }
}
