/* f111 bet - layout stylesheet (basefiles)
   All custom classes use the vbd1- prefix.
   Palette: #DA70D6 / #FFB347 / #FFF176 / #0E1621 / #FF7F50
   Mobile-first. Comments in English. */

:root {
  --vbd1-primary: #DA70D6;
  --vbd1-accent: #FF7F50;
  --vbd1-gold: #FFB347;
  --vbd1-yellow: #FFF176;
  --vbd1-bg: #0E1621;
  --vbd1-bg-2: #16223a;
  --vbd1-card: #1b2a45;
  --vbd1-text: #f4f6fb;
  --vbd1-muted: #aab6cc;
  --vbd1-border: rgba(255, 255, 255, 0.08);
  --vbd1-radius: 14px;
  --vbd1-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: radial-gradient(1200px 600px at 50% -10%, #1d2c4a 0%, var(--vbd1-bg) 60%);
  color: var(--vbd1-text);
  font-family: "Hind Siliguri", "Noto Sans Bengali", "Segoe UI", system-ui, sans-serif;
  font-size: 1.5rem;
  line-height: 1.55;
  overflow-x: hidden;
}

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

h1, h2, h3, h4 { line-height: 1.3; margin: 0 0 0.6em; font-weight: 700; }
h1 { font-size: 2.2rem; }
h2 { font-size: 1.9rem; color: var(--vbd1-gold); }
h3 { font-size: 1.65rem; color: var(--vbd1-primary); }
p { margin: 0 0 1em; }

.vbd1-container { width: 100%; max-width: 430px; margin: 0 auto; padding: 0 14px; }
.vbd1-wrapper { width: 100%; }

/* ---------- Header ---------- */
.vbd1-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: linear-gradient(90deg, #0b1322 0%, #1b1230 60%, #2a0f2e 100%);
  border-bottom: 1px solid var(--vbd1-border);
  box-shadow: var(--vbd1-shadow);
}
.vbd1-header-inner {
  max-width: 430px; margin: 0 auto; padding: 8px 14px;
  display: flex; align-items: center; gap: 10px;
}
.vbd1-logo { display: flex; align-items: center; gap: 8px; flex: 1; min-width: 0; }
.vbd1-logo img { width: 30px; height: 30px; border-radius: 8px; }
.vbd1-logo .vbd1-brand { font-weight: 800; font-size: 1.5rem; letter-spacing: 0.4px; color: #fff; }
.vbd1-logo .vbd1-brand span { color: var(--vbd1-gold); }

.vbd1-header-actions { display: flex; gap: 8px; }
.vbd1-btn {
  border: 0; cursor: pointer; border-radius: 999px;
  font-weight: 700; font-size: 1.3rem; padding: 8px 16px;
  font-family: inherit; line-height: 1; min-height: 34px;
}
.vbd1-btn-login { background: rgba(255,255,255,0.08); color: #fff; border: 1px solid rgba(255,255,255,0.18); }
.vbd1-btn-register { background: linear-gradient(90deg, var(--vbd1-accent), var(--vbd1-gold)); color: #1a0f00; }

#vbd1-menu-btn {
  background: transparent; border: 0; color: #fff; font-size: 2rem; cursor: pointer; padding: 4px 8px;
}

/* ---------- Expandable nav menu ---------- */
#vbd1-nav-menu {
  position: fixed; top: 56px; left: 0; right: 0; z-index: 9999;
  background: #0b1322; max-height: 0; overflow: hidden;
  transition: max-height 0.32s ease;
  border-bottom: 1px solid var(--vbd1-border);
}
#vbd1-nav-menu.vbd1-nav-open { max-height: 520px; }
.vbd1-nav-grid {
  max-width: 430px; margin: 0 auto; padding: 12px 14px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px;
}
.vbd1-nav-grid a {
  display: block; padding: 10px 12px; border-radius: 10px;
  background: rgba(255,255,255,0.04); color: var(--vbd1-text);
  border: 1px solid var(--vbd1-border); font-size: 1.35rem;
}
.vbd1-nav-grid a:hover { background: rgba(218,112,214,0.15); color: #fff; }

/* ---------- Hero / Carousel ---------- */
.vbd1-main { padding-top: 64px; }
.vbd1-hero { margin: 12px 0 4px; }
.vbd1-carousel { position: relative; overflow: hidden; border-radius: var(--vbd1-radius); box-shadow: var(--vbd1-shadow); }
#vbd1-carousel-track { display: flex; transition: transform 0.5s ease; }
.vbd1-slide { min-width: 100%; position: relative; }
.vbd1-slide img { width: 100%; height: 200px; object-fit: cover; }
.vbd1-slide .vbd1-slide-cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.75));
  padding: 22px 14px 10px; font-weight: 700; color: #fff; font-size: 1.4rem;
}
.vbd1-carousel-dots { display: flex; justify-content: center; gap: 6px; padding: 8px 0; }
.vbd1-carousel-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.3); cursor: pointer; }
.vbd1-carousel-dot.vbd1-dot-active { background: var(--vbd1-gold); width: 18px; border-radius: 5px; }

/* ---------- Section ---------- */
.vbd1-section { padding: 18px 0; }
.vbd1-section-title {
  display: flex; align-items: center; gap: 8px; margin-bottom: 12px;
}
.vbd1-section-title h2 { margin: 0; }
.vbd1-section-title .vbd1-bar { width: 6px; height: 22px; border-radius: 4px; background: linear-gradient(var(--vbd1-accent), var(--vbd1-primary)); }

.vbd1-card {
  background: var(--vbd1-card); border: 1px solid var(--vbd1-border);
  border-radius: var(--vbd1-radius); padding: 14px; box-shadow: var(--vbd1-shadow);
}
.vbd1-grid { display: grid; gap: 10px; }

/* ---------- Game grid ---------- */
.vbd1-game-block { margin-bottom: 8px; }
.vbd1-game-head { display: flex; align-items: center; justify-content: space-between; margin: 14px 0 10px; }
.vbd1-game-head h3 { margin: 0; display: flex; align-items: center; gap: 8px; }
.vbd1-cat-tag { font-size: 1.15rem; color: var(--vbd1-muted); font-weight: 600; }

.vbd1-game-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
}
.vbd1-game {
  background: var(--vbd1-card); border: 1px solid var(--vbd1-border);
  border-radius: 12px; overflow: hidden; cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.vbd1-game:hover { transform: translateY(-3px); border-color: var(--vbd1-primary); box-shadow: 0 10px 22px rgba(218,112,214,0.25); }
.vbd1-game img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; background: #0b1322; }
.vbd1-game .vbd1-game-name {
  padding: 6px 6px 8px; font-size: 1.15rem; text-align: center; color: #fff;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 600;
}

/* ---------- Promo / feature blocks ---------- */
.vbd1-promo-banner {
  display: flex; gap: 12px; align-items: center; padding: 14px;
  background: linear-gradient(100deg, rgba(218,112,214,0.22), rgba(255,127,80,0.18));
  border: 1px solid var(--vbd1-border); border-radius: var(--vbd1-radius);
}
.vbd1-promo-banner .vbd1-ico { font-size: 2.6rem; color: var(--vbd1-yellow); }
.vbd1-promo-banner strong { color: var(--vbd1-gold); }

.vbd1-feature-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.vbd1-feature {
  background: var(--vbd1-card); border: 1px solid var(--vbd1-border); border-radius: 12px;
  padding: 12px; text-align: center;
}
.vbd1-feature .vbd1-ico { font-size: 2.2rem; color: var(--vbd1-primary); }
.vbd1-feature h4 { margin: 6px 0 4px; font-size: 1.3rem; color: #fff; }
.vbd1-feature p { margin: 0; font-size: 1.2rem; color: var(--vbd1-muted); }

.vbd1-cta {
  display: inline-block; padding: 10px 20px; border-radius: 999px; font-weight: 700;
  background: linear-gradient(90deg, var(--vbd1-accent), var(--vbd1-gold)); color: #1a0f00;
}
.vbd1-cta-alt { background: rgba(255,255,255,0.08); color: #fff; border: 1px solid rgba(255,255,255,0.2); }

.vbd1-testimonial { background: var(--vbd1-card); border-left: 4px solid var(--vbd1-gold); border-radius: 10px; padding: 12px; margin-bottom: 10px; }
.vbd1-testimonial .vbd1-who { font-weight: 700; color: var(--vbd1-primary); font-size: 1.3rem; }
.vbd1-testimonial .vbd1-stars { color: var(--vbd1-yellow); font-size: 1.2rem; }

.vbd1-faq-item { border-bottom: 1px solid var(--vbd1-border); padding: 8px 0; }
.vbd1-faq-item h4 { margin: 0 0 4px; color: var(--vbd1-gold); font-size: 1.35rem; }

.vbd1-winners { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; }
.vbd1-winner { flex: 0 0 160px; background: var(--vbd1-card); border: 1px solid var(--vbd1-border); border-radius: 10px; padding: 10px; }
.vbd1-winner .vbd1-amt { color: var(--vbd1-yellow); font-weight: 800; font-size: 1.5rem; }

.vbd1-pay-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.vbd1-pay {
  background: var(--vbd1-card); border: 1px solid var(--vbd1-border); border-radius: 8px;
  padding: 10px 4px; text-align: center; font-size: 1.1rem; color: var(--vbd1-muted);
}
.vbd1-pay .vbd1-ico { font-size: 1.8rem; color: var(--vbd1-gold); display: block; margin-bottom: 4px; }

.vbd1-seo-text { color: var(--vbd1-muted); font-size: 1.35rem; }
.vbd1-seo-text a { color: var(--vbd1-primary); }

/* Reveal animation */
.vbd1-reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.5s ease, transform 0.5s ease; }
.vbd1-reveal.vbd1-revealed { opacity: 1; transform: none; }

/* ---------- Footer ---------- */
.vbd1-footer {
  background: #0b1322; border-top: 1px solid var(--vbd1-border); margin-top: 18px; padding: 18px 0 96px;
}
.vbd1-footer h3 { color: var(--vbd1-gold); font-size: 1.5rem; margin-bottom: 8px; }
.vbd1-footer p { color: var(--vbd1-muted); font-size: 1.25rem; }
.vbd1-footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px; margin: 10px 0; }
.vbd1-footer-links a { color: var(--vbd1-text); font-size: 1.25rem; }
.vbd1-footer-btns { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; }
.vbd1-footer-copy { color: var(--vbd1-muted); font-size: 1.15rem; margin-top: 12px; border-top: 1px solid var(--vbd1-border); padding-top: 10px; }

/* ---------- Mobile bottom nav ---------- */
.vbd1-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
  background: linear-gradient(180deg, #161f33 0%, #0b1322 100%);
  border-top: 1px solid var(--vbd1-border);
  display: flex; justify-content: space-around; align-items: stretch;
  height: 62px;
}
.vbd1-bottom-nav-link {
  flex: 1; min-width: 60px; min-height: 60px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: var(--vbd1-muted); background: transparent; border: 0; cursor: pointer;
  font-family: inherit; font-size: 1.05rem; gap: 2px; padding: 4px;
  transition: color 0.2s ease, transform 0.2s ease;
}
.vbd1-bottom-nav-link .vbd1-ico { font-size: 24px; line-height: 1; }
.vbd1-bottom-nav-link:hover { color: var(--vbd1-gold); transform: translateY(-2px); }
.vbd1-bottom-nav-link.vbd1-nav-current { color: var(--vbd1-accent); }
.vbd1-bottom-nav-link.vbd1-nav-current .vbd1-ico { transform: scale(1.1); }
.vbd1-bottom-nav-link.vbd1-promo-center .vbd1-ico {
  background: linear-gradient(135deg, var(--vbd1-accent), var(--vbd1-gold));
  color: #1a0f00; width: 38px; height: 38px; border-radius: 50%; align-items: center; justify-content: center;
  display: flex; box-shadow: 0 4px 12px rgba(255,127,80,0.5);
}

#vbd1-top-btn {
  position: fixed; right: 12px; bottom: 76px; z-index: 999;
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--vbd1-border);
  background: rgba(0,0,0,0.6); color: var(--vbd1-gold); font-size: 1.6rem; cursor: pointer;
  display: none;
}

/* Hide bottom nav on desktop, add mobile bottom padding */
@media (min-width: 769px) {
  .vbd1-bottom-nav { display: none; }
  .vbd1-footer { padding-bottom: 24px; }
  #vbd1-top-btn { display: none !important; }
}
@media (max-width: 768px) {
  .vbd1-main { padding-bottom: 80px; }
  #vbd1-top-btn { display: block; }
}

/* Ensure viewport anchor matches mobile-first constraint */
@media (max-width: 430px) {
  .vbd1-container { padding: 0 10px; }
}
