/* ============================================================
   456db.homes - Core stylesheet (mobile-first, max-width 430px)
   Class prefix: v811-
   Palette: #A9A9A9 | #DEB887 | #BC8F8F | #CD853F | #141414 | #1f1a14
   ============================================================ */

:root {
  --v811-primary: #CD853F;
  --v811-secondary: #DEB887;
  --v811-muted: #BC8F8F;
  --v811-gray: #A9A9A9;
  --v811-bg: #141414;
  --v811-bg-soft: #1f1a14;
  --v811-card: #2a221b;
  --v811-text: #f4ece2;
  --v811-text-soft: #d8c8b3;
  --v811-border: #3a2e23;
  --v811-accent: #e8b76b;
  --v811-danger: #c8533a;
  --v811-radius: 12px;
  --v811-shadow: 0 4px 18px rgba(0,0,0,0.45);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 62.5%; -webkit-text-size-adjust: 100%; }
body {
  font-family: "SolaimanLipi","Noto Sans Bengali","Hind Siliguri",Arial,sans-serif;
  background: var(--v811-bg);
  color: var(--v811-text);
  line-height: 1.5rem;
  font-size: 1.5rem;
  max-width: 430px;
  margin: 0 auto;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--v811-accent); text-decoration: none; }

/* ---------- Layout helpers ---------- */
.v811-container { width: 100%; padding: 0 1.2rem; }
.v811-wrapper { padding-top: 7rem; padding-bottom: 2rem; }
.v811-grid { display: grid; gap: 1rem; }
.v811-section { padding: 2rem 1.2rem; border-bottom: 1px solid var(--v811-border); }

/* ---------- Header ---------- */
.v811-header {
  position: fixed; top: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 430px; height: 64px; z-index: 1000;
  background: linear-gradient(90deg, #1c160f, #2a221b);
  border-bottom: 1px solid var(--v811-border);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 1rem;
}
.v811-brand { display: flex; align-items: center; gap: .6rem; }
.v811-brand img { width: 30px; height: 30px; border-radius: 6px; }
.v811-brand .v811-brand-name {
  font-size: 1.7rem; font-weight: 700; color: var(--v811-accent);
  letter-spacing: .5px;
}
.v811-header-actions { display: flex; align-items: center; gap: .5rem; }
.v811-menu-btn {
  background: transparent; border: 0; color: var(--v811-text);
  font-size: 2.2rem; width: 40px; height: 40px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}

/* ---------- Buttons ---------- */
.v811-btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .4rem; min-height: 40px; padding: 0 1.4rem;
  border-radius: 999px; font-size: 1.3rem; font-weight: 700;
  cursor: pointer; border: 0; transition: transform .15s, filter .15s;
  text-decoration: none;
}
.v811-btn:active { transform: scale(.96); }
.v811-btn-register {
  background: linear-gradient(90deg, var(--v811-primary), var(--v811-secondary));
  color: #2a1a08;
}
.v811-btn-login {
  background: transparent; color: var(--v811-text);
  border: 1px solid var(--v811-secondary);
}
.v811-btn-promo {
  background: linear-gradient(90deg, #c8533a, #e8b76b);
  color: #1a1208;
}
.v811-btn-block { width: 100%; padding: 1.2rem; font-size: 1.5rem; }

/* ---------- Mobile expandable menu ---------- */
.v811-mobile-menu {
  position: fixed; top: 64px; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 430px; z-index: 9999;
  background: #1a140e; border-bottom: 1px solid var(--v811-border);
  max-height: 0; overflow: hidden; transition: max-height .3s ease;
}
.v811-mobile-menu.v811-menu-open { max-height: 480px; }
.v811-mobile-menu ul { list-style: none; padding: .6rem 1.2rem 1rem; }
.v811-mobile-menu li a {
  display: block; padding: 1rem .4rem; color: var(--v811-text-soft);
  border-bottom: 1px dashed var(--v811-border); font-size: 1.4rem;
}
.v811-mobile-menu li a:active { color: var(--v811-accent); }

/* ---------- Carousel ---------- */
.v811-carousel {
  position: relative; width: 100%; height: 200px; overflow: hidden;
  border-radius: var(--v811-radius); margin: 1rem 0; background: #000;
}
.v811-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease;
  cursor: pointer;
}
.v811-slide.v811-slide-active { opacity: 1; }
.v811-slide img { width: 100%; height: 100%; object-fit: cover; }
.v811-slide .v811-slide-cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: .8rem 1rem; font-size: 1.3rem; font-weight: 600;
  background: linear-gradient(transparent, rgba(0,0,0,.75)); color: #fff;
}
.v811-dots {
  position: absolute; bottom: .6rem; right: 1rem; display: flex; gap: .4rem;
}
.v811-dot {
  width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.4);
  cursor: pointer; transition: background .2s;
}
.v811-dot.v811-dot-active { background: var(--v811-accent); }

/* ---------- Hero / H1 ---------- */
.v811-hero { padding: 1rem 1.2rem; }
.v811-hero h1 {
  font-size: 2.2rem; line-height: 2.6rem; color: var(--v811-accent);
  margin-bottom: .6rem; font-weight: 800;
}
.v811-hero p { color: var(--v811-text-soft); font-size: 1.4rem; }

/* ---------- Section headings ---------- */
.v811-section h2 {
  font-size: 1.9rem; color: var(--v811-secondary); margin-bottom: 1rem;
  border-left: 4px solid var(--v811-primary); padding-left: .8rem;
}
.v811-section h3 {
  font-size: 1.6rem; color: var(--v811-accent); margin: 1.2rem 0 .6rem;
}

/* ---------- Game grid ---------- */
.v811-cat-title {
  font-size: 1.6rem; color: var(--v811-accent); margin: 1.4rem 0 .8rem;
  display: flex; align-items: center; gap: .5rem;
}
.v811-game-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem;
}
.v811-game-card {
  background: var(--v811-card); border: 1px solid var(--v811-border);
  border-radius: 10px; overflow: hidden; cursor: pointer;
  transition: transform .15s, box-shadow .15s;
}
.v811-game-card:active { transform: scale(.97); box-shadow: var(--v811-shadow); }
.v811-game-card img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.v811-game-card .v811-game-name {
  font-size: 1.1rem; padding: .4rem .3rem; text-align: center;
  color: var(--v811-text); white-space: nowrap; overflow: hidden;
  text-overflow: ellipsis;
}

/* ---------- Feature / info cards ---------- */
.v811-card {
  background: var(--v811-card); border: 1px solid var(--v811-border);
  border-radius: var(--v811-radius); padding: 1.2rem; margin-bottom: 1rem;
}
.v811-card-row { display: flex; gap: 1rem; align-items: center; margin-bottom: .8rem; }
.v811-card-row .v811-icon {
  width: 44px; height: 44px; border-radius: 10px; flex: none;
  background: linear-gradient(135deg, var(--v811-primary), var(--v811-secondary));
  display: flex; align-items: center; justify-content: center; color: #1a1208;
}
.v811-stat-row {
  display: flex; justify-content: space-between; padding: .6rem 0;
  border-bottom: 1px dashed var(--v811-border); font-size: 1.3rem;
}
.v811-stat-row span:last-child { color: var(--v811-accent); font-weight: 700; }

/* ---------- Testimonials ---------- */
.v811-testi {
  background: var(--v811-card); border-radius: var(--v811-radius);
  padding: 1.1rem; margin-bottom: .9rem; border-left: 3px solid var(--v811-primary);
}
.v811-testi .v811-testi-name { color: var(--v811-accent); font-weight: 700; font-size: 1.3rem; }
.v811-testi p { color: var(--v811-text-soft); font-size: 1.3rem; margin-top: .3rem; }

/* ---------- Winners ---------- */
.v811-winner {
  display: flex; justify-content: space-between; align-items: center;
  padding: .7rem .9rem; background: var(--v811-card); border-radius: 8px;
  margin-bottom: .5rem; font-size: 1.3rem;
}
.v811-winner .v811-winner-amt { color: #6bd08b; font-weight: 700; }

/* ---------- Payment methods ---------- */
.v811-pay-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .6rem; }
.v811-pay-item {
  background: var(--v811-card); border: 1px solid var(--v811-border);
  border-radius: 8px; padding: .8rem .3rem; text-align: center; font-size: 1rem;
  color: var(--v811-text-soft);
}
.v811-pay-item i, .v811-pay-item .material-icons-outlined { font-size: 2rem; color: var(--v811-accent); }

/* ---------- App download CTA ---------- */
.v811-app-cta {
  background: linear-gradient(135deg, #2a221b, #1a140e);
  border: 1px solid var(--v811-primary); border-radius: var(--v811-radius);
  padding: 1.4rem; text-align: center;
}
.v811-app-cta h3 { color: var(--v811-accent); margin-top: 0; }
.v811-app-cta .v811-btn { margin: .6rem .3rem; }

/* ---------- Inline SEO link list ---------- */
.v811-seo-links { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0; }
.v811-seo-links a {
  background: var(--v811-card); border: 1px solid var(--v811-border);
  padding: .4rem .9rem; border-radius: 999px; font-size: 1.2rem;
  color: var(--v811-text-soft);
}

/* ---------- Promo banner ---------- */
.v811-promo-banner {
  background: linear-gradient(90deg, var(--v811-primary), var(--v811-danger));
  border-radius: var(--v811-radius); padding: 1.2rem; color: #fff;
  text-align: center; margin: 1rem 0;
}
.v811-promo-banner h3 { color: #fff; margin: 0 0 .4rem; }
.v811-promo-banner .v811-btn { background: #fff; color: var(--v811-danger); }

/* ---------- Footer ---------- */
.v811-footer {
  background: #100c08; border-top: 1px solid var(--v811-border);
  padding: 2rem 1.2rem 9rem; color: var(--v811-text-soft);
}
.v811-footer h3 { color: var(--v811-secondary); margin-bottom: .8rem; font-size: 1.5rem; }
.v811-footer p { font-size: 1.3rem; margin-bottom: 1rem; }
.v811-footer-links {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: .6rem; margin-bottom: 1.2rem;
}
.v811-footer-links a { color: var(--v811-text-soft); font-size: 1.2rem; }
.v811-footer-promo { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0; }
.v811-footer-promo .v811-btn { flex: 1; min-width: 45%; }
.v811-copy { font-size: 1.1rem; color: var(--v811-gray); text-align: center; margin-top: 1rem; }

/* ---------- Bottom navigation ---------- */
.v811-bottom-nav {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 430px; height: 62px; z-index: 1000;
  background: linear-gradient(180deg, #2a221b, #100c08);
  border-top: 1px solid var(--v811-border);
  display: flex; justify-content: space-around; align-items: center;
}
.v811-nav-btn {
  flex: 1; min-width: 60px; min-height: 60px; background: transparent; border: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px; color: var(--v811-text-soft); cursor: pointer; transition: color .2s, transform .15s;
  text-decoration: none; padding: 0; font-family: inherit;
}
.v811-nav-btn i, .v811-nav-btn .material-icons-outlined,
.v811-nav-btn .material-icons, .v811-nav-btn ion-icon { font-size: 24px; }
.v811-nav-btn span { font-size: 11px; line-height: 1.2; }
.v811-nav-btn:active { transform: scale(.9); color: var(--v811-accent); }
.v811-nav-active { color: var(--v811-accent); }
.v811-nav-active i, .v811-nav-active .material-icons-outlined,
.v811-nav-active ion-icon { color: var(--v811-primary); }
.v811-nav-badge {
  position: absolute; top: 6px; right: 22%; background: var(--v811-danger);
  color: #fff; font-size: 9px; border-radius: 999px; padding: 0 4px; min-width: 14px;
  text-align: center; line-height: 14px;
}
.v811-nav-btn { position: relative; }

/* ---------- Desktop rules ---------- */
@media (min-width: 769px) {
  .v811-bottom-nav { display: none; }
  .v811-menu-btn { display: none; }
}
@media (max-width: 768px) {
  main, .v811-wrapper { padding-bottom: 80px; }
}

/* ---------- Utility ---------- */
.v811-text-center { text-align: center; }
.v811-mt-1 { margin-top: 1rem; }
.v811-mb-1 { margin-bottom: 1rem; }
.v811-hidden { display: none; }
