/* ============================================================
   bd1111.homes - style.css
   All custom classes use prefix: v2c3-
   Palette: #DC143C | #0C0C0C | #CCCCCC | #CD853F | #2E8B57 | #E9967A
   Mobile-first, max-width 430px
   ============================================================ */

:root {
  --v2c3-primary: #DC143C;
  --v2c3-bg: #0C0C0C;
  --v2c3-text: #CCCCCC;
  --v2c3-accent: #CD853F;
  --v2c3-green: #2E8B57;
  --v2c3-salmon: #E9967A;
  --v2c3-card: #161616;
  --v2c3-card2: #1f1f1f;
  --v2c3-border: #2a2a2a;
  --v2c3-radius: 10px;
  --v2c3-header-h: 56px;
  --v2c3-bottomnav-h: 60px;
}

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

html { font-size: 62.5%; }

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

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

.v2c3-container { width: 100%; max-width: 430px; margin: 0 auto; padding: 0 1.2rem; }
.v2c3-wrapper { padding-top: var(--v2c3-header-h); padding-bottom: calc(var(--v2c3-bottomnav-h) + 1rem); }

/* ===================== Header ===================== */
.v2c3-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--v2c3-header-h);
  background: linear-gradient(90deg, #0C0C0C, #1a0508);
  border-bottom: 2px solid var(--v2c3-primary);
  display: flex; align-items: center;
  max-width: 430px; margin: 0 auto;
}
.v2c3-header-inner {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 0 1rem;
}
.v2c3-logo { display: flex; align-items: center; gap: .6rem; }
.v2c3-logo img { width: 28px; height: 28px; border-radius: 6px; }
.v2c3-logo .v2c3-logo-text { color: #fff; font-weight: 700; font-size: 1.7rem; letter-spacing: .5px; }
.v2c3-logo .v2c3-logo-text span { color: var(--v2c3-primary); }

.v2c3-header-actions { display: flex; align-items: center; gap: .5rem; }
.v2c3-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .3rem;
  font-size: 1.25rem; font-weight: 600; min-height: 34px; padding: 0 1rem;
  border-radius: 8px; border: none; cursor: pointer; transition: transform .15s, background .2s;
  text-decoration: none;
}
.v2c3-btn:active { transform: scale(.96); }
.v2c3-btn-register { background: var(--v2c3-primary); color: #fff; }
.v2c3-btn-register:hover { background: #b91134; color: #fff; }
.v2c3-btn-login { background: transparent; color: #fff; border: 1px solid var(--v2c3-accent); }
.v2c3-btn-login:hover { background: var(--v2c3-accent); color: #1a0a00; }

.v2c3-menu-toggle {
  background: transparent; border: none; color: #fff; font-size: 2rem;
  cursor: pointer; padding: 0 .3rem; line-height: 1;
}

/* ===================== Mobile menu ===================== */
.v2c3-mobile-menu {
  position: fixed; top: var(--v2c3-header-h); left: 0; right: 0; z-index: 9999;
  background: #111; border-bottom: 2px solid var(--v2c3-primary);
  max-width: 430px; margin: 0 auto;
  max-height: 0; overflow: hidden; transition: max-height .3s ease;
}
.v2c3-mobile-menu.v2c3-menu-open { max-height: 480px; }
.v2c3-mobile-menu a {
  display: block; padding: 1.1rem 1.4rem; color: var(--v2c3-text);
  border-bottom: 1px solid var(--v2c3-border); font-size: 1.4rem;
}
.v2c3-mobile-menu a:hover { background: #1c1c1c; color: var(--v2c3-salmon); padding-left: 1.8rem; }

/* ===================== Carousel ===================== */
.v2c3-carousel { position: relative; margin: 1rem 0; border-radius: var(--v2c3-radius); overflow: hidden; }
.v2c3-slides { position: relative; }
.v2c3-slide {
  display: none; width: 100%; cursor: pointer; position: relative;
}
.v2c3-slide.v2c3-slide-active { display: block; }
.v2c3-slide img { width: 100%; height: 180px; object-fit: cover; border-radius: var(--v2c3-radius); }
.v2c3-slide-cap {
  position: absolute; left: 1rem; bottom: 1rem; right: 1rem;
  color: #fff; font-size: 1.3rem; font-weight: 600; text-shadow: 0 1px 4px rgba(0,0,0,.8);
}
.v2c3-dots { display: flex; justify-content: center; gap: .5rem; margin-top: .5rem; }
.v2c3-dot { width: 8px; height: 8px; border-radius: 50%; background: #555; cursor: pointer; border: none; }
.v2c3-dot.v2c3-dot-active { background: var(--v2c3-primary); }

/* ===================== Section titles ===================== */
.v2c3-section { margin: 1.6rem 0; }
.v2c3-section-title {
  font-size: 1.7rem; font-weight: 700; color: #fff; margin-bottom: .8rem;
  padding-left: .8rem; border-left: 4px solid var(--v2c3-primary);
}
.v2c3-section-title em { color: var(--v2c3-accent); font-style: normal; }

/* ===================== Game grid ===================== */
.v2c3-cat-tabs { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: .8rem; }
.v2c3-cat-tabs button {
  background: #1a1a1a; color: var(--v2c3-text); border: 1px solid var(--v2c3-border);
  padding: .4rem .8rem; border-radius: 20px; font-size: 1.2rem; cursor: pointer;
}
.v2c3-cat-tabs button:hover { background: var(--v2c3-primary); color: #fff; }

.v2c3-game-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
.v2c3-game-card {
  background: var(--v2c3-card); border: 1px solid var(--v2c3-border); border-radius: var(--v2c3-radius);
  overflow: hidden; cursor: pointer; transition: transform .15s, border-color .2s; text-align: center;
}
.v2c3-game-card:hover { transform: translateY(-3px); border-color: var(--v2c3-primary); }
.v2c3-game-card img { width: 100%; height: 80px; object-fit: cover; }
.v2c3-game-card .v2c3-game-name {
  font-size: 1.1rem; color: #fff; padding: .4rem .2rem; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis;
}

/* ===================== Info / feature cards ===================== */
.v2c3-card {
  background: var(--v2c3-card); border: 1px solid var(--v2c3-border); border-radius: var(--v2c3-radius);
  padding: 1.1rem; margin-bottom: .8rem;
}
.v2c3-card h3 { color: #fff; font-size: 1.5rem; margin-bottom: .5rem; }
.v2c3-card p { color: var(--v2c3-text); font-size: 1.3rem; }
.v2c3-card .v2c3-icon { color: var(--v2c3-accent); font-size: 2rem; margin-bottom: .4rem; display: inline-block; }

.v2c3-feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.v2c3-feature-item {
  background: var(--v2c3-card2); border-radius: 8px; padding: .9rem; text-align: center;
  border: 1px solid var(--v2c3-border);
}
.v2c3-feature-item .v2c3-fa-ic { font-size: 2rem; color: var(--v2c3-primary); margin-bottom: .3rem; }
.v2c3-feature-item h4 { color: #fff; font-size: 1.3rem; margin-bottom: .2rem; }
.v2c3-feature-item p { font-size: 1.15rem; color: var(--v2c3-text); }

/* ===================== Promo CTA ===================== */
.v2c3-cta {
  background: linear-gradient(135deg, var(--v2c3-primary), #8b0a25);
  border-radius: var(--v2c3-radius); padding: 1.2rem; text-align: center; margin: 1rem 0;
  color: #fff; cursor: pointer;
}
.v2c3-cta h3 { color: #fff; font-size: 1.6rem; margin-bottom: .3rem; }
.v2c3-cta p { color: #ffe; font-size: 1.2rem; margin-bottom: .7rem; }
.v2c3-cta .v2c3-btn { background: #fff; color: var(--v2c3-primary); font-size: 1.3rem; padding: .6rem 1.4rem; }

/* ===================== FAQ ===================== */
.v2c3-faq-item { background: var(--v2c3-card); border-radius: 8px; margin-bottom: .5rem; border: 1px solid var(--v2c3-border); }
.v2c3-faq-item summary { padding: .9rem 1rem; color: #fff; font-weight: 600; font-size: 1.3rem; cursor: pointer; list-style: none; }
.v2c3-faq-item summary::-webkit-details-marker { display: none; }
.v2c3-faq-item p { padding: 0 1rem .9rem; color: var(--v2c3-text); font-size: 1.25rem; }

/* ===================== Testimonials / winners ===================== */
.v2c3-list { list-style: none; }
.v2c3-list li {
  background: var(--v2c3-card); border-left: 3px solid var(--v2c3-accent);
  padding: .7rem 1rem; margin-bottom: .5rem; border-radius: 6px; font-size: 1.25rem;
}
.v2c3-list .v2c3-amt { color: var(--v2c3-green); font-weight: 700; }

.v2c3-pay { display: flex; flex-wrap: wrap; gap: .5rem; }
.v2c3-pay span {
  background: var(--v2c3-card2); border: 1px solid var(--v2c3-border); border-radius: 6px;
  padding: .5rem .8rem; font-size: 1.2rem; color: #fff; display: inline-flex; align-items: center; gap: .3rem;
}

/* ===================== SEO text ===================== */
.v2c3-seo { font-size: 1.25rem; color: var(--v2c3-text); }
.v2c3-seo h2 { color: #fff; font-size: 1.6rem; margin: 1rem 0 .5rem; }
.v2c3-seo p { margin-bottom: .6rem; }
.v2c3-seo a { color: var(--v2c3-salmon); font-weight: 600; }

/* ===================== Footer ===================== */
.v2c3-footer {
  background: #050505; border-top: 2px solid var(--v2c3-primary);
  padding: 1.4rem 1.2rem 2rem; margin-top: 1.5rem;
}
.v2c3-footer p { font-size: 1.2rem; color: var(--v2c3-text); margin-bottom: .6rem; }
.v2c3-footer-links { display: flex; flex-wrap: wrap; gap: .4rem .8rem; margin: .6rem 0; }
.v2c3-footer-links a { font-size: 1.15rem; color: var(--v2c3-text); }
.v2c3-footer-links a:hover { color: var(--v2c3-salmon); }
.v2c3-footer-promo { display: flex; flex-wrap: wrap; gap: .5rem; margin: .8rem 0; }
.v2c3-footer-promo .v2c3-btn { font-size: 1.15rem; padding: .4rem .8rem; min-height: 30px; }
.v2c3-copy { font-size: 1.1rem; color: #777; margin-top: .6rem; border-top: 1px solid var(--v2c3-border); padding-top: .6rem; }

/* ===================== Bottom nav ===================== */
.v2c3-bottomnav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
  height: var(--v2c3-bottomnav-h);
  background: linear-gradient(180deg, #141414, #050505);
  border-top: 2px solid var(--v2c3-primary);
  display: flex; justify-content: space-around; align-items: center;
  max-width: 430px; margin: 0 auto;
}
.v2c3-bottomnav-btn {
  flex: 1; min-width: 60px; min-height: 60px; background: transparent; border: none;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  color: var(--v2c3-text); cursor: pointer; text-decoration: none; transition: color .2s, transform .15s;
  font-size: 1.1rem;
}
.v2c3-bottomnav-btn .v2c3-bn-ic { font-size: 22px; line-height: 1; }
.v2c3-bottomnav-btn .v2c3-bn-lb { font-size: 1rem; }
.v2c3-bottomnav-btn:active { transform: scale(.9); }
.v2c3-bottomnav-btn:hover { color: var(--v2c3-salmon); }
.v2c3-bottomnav-active { color: var(--v2c3-primary) !important; }
.v2c3-bottomnav-active .v2c3-bn-ic { color: var(--v2c3-primary); }
.v2c3-bn-badge {
  position: absolute; top: 6px; right: 18px; background: var(--v2c3-primary); color: #fff;
  font-size: .9rem; min-width: 16px; height: 16px; border-radius: 8px; display: flex;
  align-items: center; justify-content: center; padding: 0 4px;
}
.v2c3-bottomnav-btn { position: relative; }

/* ===================== Desktop ===================== */
@media (min-width: 769px) {
  .v2c3-bottomnav { display: none; }
  body { background: #111; }
  .v2c3-header, .v2c3-mobile-menu { max-width: 430px; }
}
@media (max-width: 768px) {
  main { padding-bottom: calc(var(--v2c3-bottomnav-h) + 1rem); }
}

/* ===================== Utility ===================== */
.v2c3-text-primary { color: var(--v2c3-primary); }
.v2c3-text-accent { color: var(--v2c3-accent); }
.v2c3-mt { margin-top: 1rem; }
.v2c3-center { text-align: center; }
.v2c3-hidden { display: none; }
