/*!
 * 3337.homes theme stylesheet
 * Bengali (bn-BD) mobile-first gaming portal
 * All custom classes use the vbc1- prefix to isolate the namespace.
 * Palette: #212F3D (deep base) | #FFEF94 | #FFF176 | #FFFACD | #FF8C00
 * Comments are in English per project convention.
 */

:root {
  --vbc1-primary: #212F3D;
  --vbc1-primary-2: #2C3E50;
  --vbc1-primary-3: #1A2530;
  --vbc1-accent: #FF8C00;
  --vbc1-accent-2: #FFA940;
  --vbc1-gold: #FFEF94;
  --vbc1-gold-2: #FFF176;
  --vbc1-cream: #FFFACD;
  --vbc1-text: #F5E9C9;
  --vbc1-text-soft: #C9B98A;
  --vbc1-muted: #8C7B5A;
  --vbc1-line: rgba(255, 239, 148, 0.18);
  --vbc1-line-strong: rgba(255, 140, 0, 0.55);
  --vbc1-radius: 12px;
  --vbc1-radius-lg: 18px;
  --vbc1-shadow: 0 6px 22px rgba(0, 0, 0, 0.45);
  --vbc1-shadow-glow: 0 0 18px rgba(255, 140, 0, 0.35);
  --vbc1-transition: 0.25s ease;
  --vbc1-font: "Hind Siliguri", "Noto Sans Bengali", "Segoe UI", system-ui, -apple-system, sans-serif;
}

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

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

body {
  font-family: var(--vbc1-font);
  background: var(--vbc1-primary);
  color: var(--vbc1-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--vbc1-gold); text-decoration: none; transition: color var(--vbc1-transition); }
a:hover { color: var(--vbc1-accent-2); }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }

.vbc1-skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 10001;
  background: var(--vbc1-gold); color: var(--vbc1-primary);
  padding: 8px 14px; border-radius: 0 0 8px 0; font-weight: 700;
}
.vbc1-skip-link:focus { left: 0; }

/* ---------- Layout ---------- */
.vbc1-container { width: 100%; max-width: 430px; margin: 0 auto; padding: 0 1.2rem; }
.vbc1-wrapper { min-height: 100vh; display: flex; flex-direction: column; }
.vbc1-main { flex: 1; padding-top: 6.4rem; }
@media (max-width: 768px) {
  .vbc1-main { padding-bottom: 8rem; }
}

/* ---------- Header ---------- */
.vbc1-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: linear-gradient(180deg, #1A2530 0%, #212F3D 100%);
  border-bottom: 1px solid var(--vbc1-line);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}
.vbc1-header-inner {
  max-width: 430px; margin: 0 auto; height: 6.4rem;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 1.2rem; gap: 1rem;
}
.vbc1-brand { display: flex; align-items: center; gap: 0.8rem; min-width: 0; }
.vbc1-brand-logo {
  width: 3.2rem; height: 3.2rem; border-radius: 8px; object-fit: cover;
  border: 1px solid var(--vbc1-line-strong); flex-shrink: 0;
}
.vbc1-brand-name {
  font-size: 1.7rem; font-weight: 800; color: var(--vbc1-gold);
  letter-spacing: 0.5px; white-space: nowrap;
}
.vbc1-brand-name span { color: var(--vbc1-accent); }
.vbc1-header-actions { display: flex; align-items: center; gap: 0.6rem; }
.vbc1-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  padding: 0.7rem 1.2rem; border-radius: 999px; font-size: 1.25rem; font-weight: 700;
  min-height: 3.6rem; min-width: 4.4rem; transition: transform var(--vbc1-transition), box-shadow var(--vbc1-transition);
  line-height: 1;
}
.vbc1-btn:active { transform: scale(0.96); }
.vbc1-btn--register {
  background: linear-gradient(135deg, #FF8C00, #FFA940);
  color: #1A2530; box-shadow: var(--vbc1-shadow-glow);
}
.vbc1-btn--login {
  background: transparent; color: var(--vbc1-gold);
  border: 1px solid var(--vbc1-line-strong);
}
.vbc1-btn--login:hover { background: rgba(255, 140, 0, 0.12); }
.vbc1-menu-toggle {
  width: 3.6rem; height: 3.6rem; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 8px; border: 1px solid var(--vbc1-line); color: var(--vbc1-gold);
}
.vbc1-menu-toggle--active { background: rgba(255, 140, 0, 0.18); }

/* ---------- Mobile slide menu ---------- */
.vbc1-mobile-menu {
  position: fixed; top: 6.4rem; left: 0; right: 0; z-index: 9999;
  background: #1A2530; border-bottom: 1px solid var(--vbc1-line);
  max-height: 0; overflow: hidden; transition: max-height 0.3s ease;
}
.vbc1-mobile-menu--open { max-height: 60rem; }
.vbc1-mobile-menu-inner { max-width: 430px; margin: 0 auto; padding: 1rem 1.2rem 1.4rem; }
.vbc1-mobile-menu-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
.vbc1-mobile-menu-list a {
  display: flex; align-items: center; gap: 0.6rem; padding: 0.9rem 1rem;
  background: rgba(255, 239, 148, 0.06); border: 1px solid var(--vbc1-line);
  border-radius: 10px; color: var(--vbc1-text); font-size: 1.3rem; font-weight: 600;
}
.vbc1-mobile-menu-list a i { color: var(--vbc1-accent); font-size: 1.6rem; }
.vbc1-mobile-menu-list a:hover { background: rgba(255, 140, 0, 0.16); color: var(--vbc1-gold); }
.vbc1-mobile-menu-cta {
  margin-top: 1rem; display: flex; gap: 0.6rem;
}
.vbc1-mobile-menu-cta .vbc1-btn { flex: 1; }

/* ---------- Hero carousel ---------- */
.vbc1-carousel {
  position: relative; border-radius: var(--vbc1-radius-lg); overflow: hidden;
  box-shadow: var(--vbc1-shadow); margin-bottom: 1.6rem;
}
.vbc1-carousel-viewport { overflow: hidden; }
.vbc1-carousel-track {
  display: flex; transition: transform 0.5s ease; will-change: transform;
}
.vbc1-carousel-slide {
  flex: 0 0 100%; position: relative; min-height: 18rem;
}
.vbc1-carousel-slide img { width: 100%; height: 100%; object-fit: cover; }
.vbc1-carousel-caption {
  position: absolute; left: 1.2rem; bottom: 1.2rem; right: 1.2rem;
  background: linear-gradient(0deg, rgba(26,37,48,0.92), rgba(26,37,48,0));
  padding: 1.4rem 1rem 1rem; border-radius: 10px; color: var(--vbc1-gold);
}
.vbc1-carousel-caption h2 { font-size: 1.6rem; font-weight: 800; margin-bottom: 0.3rem; color: var(--vbc1-gold); }
.vbc1-carousel-caption p { font-size: 1.15rem; color: var(--vbc1-cream); margin-bottom: 0.6rem; }
.vbc1-carousel-dots {
  position: absolute; bottom: 0.8rem; left: 50%; transform: translateX(-50%);
  display: flex; gap: 0.5rem; z-index: 2;
}
.vbc1-carousel-dot {
  width: 0.8rem; height: 0.8rem; border-radius: 50%;
  background: rgba(255, 250, 205, 0.5); transition: background var(--vbc1-transition), transform var(--vbc1-transition);
}
.vbc1-carousel-dot--active { background: var(--vbc1-accent); transform: scale(1.25); }

/* ---------- Section primitives ---------- */
.vbc1-section { margin-bottom: 2.4rem; }
.vbc1-section-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 1rem; gap: 0.8rem;
}
.vbc1-section-title {
  font-size: 1.7rem; font-weight: 800; color: var(--vbc1-gold);
  display: flex; align-items: center; gap: 0.5rem;
}
.vbc1-section-title i { color: var(--vbc1-accent); font-size: 1.9rem; }
.vbc1-section-link { font-size: 1.2rem; color: var(--vbc1-accent-2); font-weight: 600; }

/* ---------- Filter chips ---------- */
.vbc1-filter-bar {
  display: flex; gap: 0.5rem; overflow-x: auto; padding-bottom: 0.4rem;
  margin-bottom: 1rem; -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.vbc1-filter-bar::-webkit-scrollbar { display: none; }
.vbc1-filter-chip {
  flex-shrink: 0; padding: 0.55rem 1.1rem; border-radius: 999px;
  background: rgba(255, 239, 148, 0.08); border: 1px solid var(--vbc1-line);
  color: var(--vbc1-text-soft); font-size: 1.2rem; font-weight: 600;
  transition: all var(--vbc1-transition);
}
.vbc1-filter-chip--active {
  background: linear-gradient(135deg, #FF8C00, #FFA940); color: #1A2530;
  border-color: var(--vbc1-accent); box-shadow: var(--vbc1-shadow-glow);
}

/* ---------- Game grid ---------- */
.vbc1-game-section { margin-bottom: 2rem; }
.vbc1-game-section h3 {
  font-size: 1.45rem; font-weight: 700; color: var(--vbc1-gold-2);
  margin-bottom: 0.8rem; padding-left: 0.8rem;
  border-left: 3px solid var(--vbc1-accent);
}
.vbc1-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.8rem;
}
.vbc1-card {
  background: linear-gradient(180deg, #2C3E50, #1A2530);
  border: 1px solid var(--vbc1-line); border-radius: var(--vbc1-radius);
  overflow: hidden; cursor: pointer; transition: transform var(--vbc1-transition), box-shadow var(--vbc1-transition), border-color var(--vbc1-transition);
  display: flex; flex-direction: column;
}
.vbc1-card:hover, .vbc1-card:focus {
  transform: translateY(-3px); border-color: var(--vbc1-line-strong);
  box-shadow: var(--vbc1-shadow-glow);
}
.vbc1-card-media { aspect-ratio: 1 / 1; overflow: hidden; background: #11181F; }
.vbc1-card-media img { width: 100%; height: 100%; object-fit: cover; }
.vbc1-card-name {
  padding: 0.5rem 0.4rem 0.6rem; font-size: 1.05rem; font-weight: 600;
  color: var(--vbc1-text); text-align: center; line-height: 1.25rem;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.vbc1-card-badge {
  position: absolute; top: 0.4rem; left: 0.4rem; background: var(--vbc1-accent);
  color: #1A2530; font-size: 0.95rem; font-weight: 700; padding: 0.15rem 0.5rem;
  border-radius: 6px; line-height: 1;
}
.vbc1-card { position: relative; }

/* ---------- Info / feature blocks ---------- */
.vbc1-panel {
  background: linear-gradient(180deg, #2C3E50, #212F3D);
  border: 1px solid var(--vbc1-line); border-radius: var(--vbc1-radius-lg);
  padding: 1.4rem; margin-bottom: 1.4rem; box-shadow: var(--vbc1-shadow);
}
.vbc1-panel h2, .vbc1-panel h3 { color: var(--vbc1-gold); margin-bottom: 0.6rem; }
.vbc1-panel h2 { font-size: 1.7rem; }
.vbc1-panel h3 { font-size: 1.4rem; }
.vbc1-panel p { color: var(--vbc1-text); margin-bottom: 0.8rem; font-size: 1.25rem; line-height: 1.6rem; }
.vbc1-panel strong { color: var(--vbc1-accent-2); }
.vbc1-panel ul.vbc1-list { padding-left: 1.2rem; margin: 0.6rem 0; }
.vbc1-panel ul.vbc1-list li {
  list-style: disc; color: var(--vbc1-text); margin-bottom: 0.35rem; font-size: 1.2rem;
}

.vbc1-feature-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.8rem;
}
.vbc1-feature {
  background: rgba(255, 239, 148, 0.06); border: 1px solid var(--vbc1-line);
  border-radius: var(--vbc1-radius); padding: 1rem; text-align: center;
}
.vbc1-feature i { font-size: 2.4rem; color: var(--vbc1-accent); margin-bottom: 0.4rem; }
.vbc1-feature h4 { font-size: 1.25rem; color: var(--vbc1-gold); margin-bottom: 0.3rem; }
.vbc1-feature p { font-size: 1.1rem; color: var(--vbc1-text-soft); line-height: 1.4rem; }

/* ---------- RTP / stats ---------- */
.vbc1-stat-row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; margin: 0.8rem 0;
}
.vbc1-stat {
  background: #1A2530; border: 1px solid var(--vbc1-line); border-radius: 10px;
  padding: 0.8rem 0.4rem; text-align: center;
}
.vbc1-stat-num { font-size: 1.7rem; font-weight: 800; color: var(--vbc1-accent-2); }
.vbc1-stat-label { font-size: 1.05rem; color: var(--vbc1-text-soft); margin-top: 0.2rem; }

/* ---------- Testimonials ---------- */
.vbc1-testimonial {
  background: #1A2530; border: 1px solid var(--vbc1-line); border-radius: var(--vbc1-radius);
  padding: 1rem 1.1rem; margin-bottom: 0.8rem;
}
.vbc1-testimonial-head { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.4rem; }
.vbc1-testimonial-avatar {
  width: 3.2rem; height: 3.2rem; border-radius: 50%; background: var(--vbc1-accent);
  display: flex; align-items: center; justify-content: center; color: #1A2530; font-weight: 800;
}
.vbc1-testimonial-name { font-size: 1.25rem; color: var(--vbc1-gold); font-weight: 700; }
.vbc1-testimonial-stars { color: var(--vbc1-gold-2); font-size: 1.1rem; margin-left: auto; }
.vbc1-testimonial p { font-size: 1.18rem; color: var(--vbc1-text); line-height: 1.5rem; }

/* ---------- Payment ---------- */
.vbc1-payment-row { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.vbc1-payment-pill {
  display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.5rem 0.9rem;
  background: #1A2530; border: 1px solid var(--vbc1-line); border-radius: 999px;
  font-size: 1.15rem; color: var(--vbc1-text);
}
.vbc1-payment-pill i { color: var(--vbc1-accent); }

/* ---------- Winners ---------- */
.vbc1-winner {
  display: flex; align-items: center; gap: 0.7rem; padding: 0.7rem 0.9rem;
  background: #1A2530; border: 1px solid var(--vbc1-line); border-radius: 10px; margin-bottom: 0.6rem;
}
.vbc1-winner-avatar {
  width: 3rem; height: 3rem; border-radius: 50%; background: var(--vbc1-primary-2);
  display: flex; align-items: center; justify-content: center; color: var(--vbc1-gold); font-weight: 700;
}
.vbc1-winner-info { flex: 1; min-width: 0; }
.vbc1-winner-name { font-size: 1.2rem; color: var(--vbc1-gold); font-weight: 700; }
.vbc1-winner-game { font-size: 1.05rem; color: var(--vbc1-text-soft); }
.vbc1-winner-amount { font-size: 1.3rem; font-weight: 800; color: var(--vbc1-accent-2); }

/* ---------- CTA ---------- */
.vbc1-cta {
  display: block; text-align: center; padding: 1.2rem; border-radius: var(--vbc1-radius-lg);
  background: linear-gradient(135deg, #FF8C00, #FFA940); color: #1A2530;
  font-size: 1.5rem; font-weight: 800; box-shadow: var(--vbc1-shadow-glow);
  margin: 1.4rem 0; transition: transform var(--vbc1-transition);
}
.vbc1-cta:active { transform: scale(0.97); }
.vbc1-cta i { margin-right: 0.4rem; }
.vbc1-cta--ghost {
  background: transparent; color: var(--vbc1-gold); border: 1px solid var(--vbc1-line-strong);
  box-shadow: none;
}

/* ---------- Footer ---------- */
.vbc1-footer {
  background: #1A2530; border-top: 1px solid var(--vbc1-line); padding: 2rem 0 1.5rem;
  margin-top: 1.5rem;
}
.vbc1-footer-inner { max-width: 430px; margin: 0 auto; padding: 0 1.2rem; }
.vbc1-footer-brand { font-size: 1.3rem; color: var(--vbc1-text-soft); line-height: 1.6rem; margin-bottom: 1rem; }
.vbc1-footer-links {
  display: flex; flex-wrap: wrap; gap: 0.5rem 0.8rem; margin-bottom: 1rem;
}
.vbc1-footer-links a {
  font-size: 1.15rem; color: var(--vbc1-text); padding: 0.3rem 0.6rem;
  background: rgba(255, 239, 148, 0.06); border-radius: 6px;
}
.vbc1-footer-links a:hover { color: var(--vbc1-gold); background: rgba(255, 140, 0, 0.16); }
.vbc1-footer-copy { font-size: 1.1rem; color: var(--vbc1-muted); border-top: 1px solid var(--vbc1-line); padding-top: 1rem; }

/* ---------- Bottom nav ---------- */
.vbc1-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
  background: linear-gradient(180deg, #212F3D, #1A2530);
  border-top: 1px solid var(--vbc1-line-strong);
  box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.5);
  display: flex; justify-content: space-around; align-items: stretch;
  height: 6rem;
}
.vbc1-bottom-nav-btn {
  flex: 1; min-width: 60px; min-height: 60px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.2rem; color: var(--vbc1-text-soft); position: relative;
  transition: color var(--vbc1-transition), transform var(--vbc1-transition);
  background: transparent; padding: 0.4rem 0;
}
.vbc1-bottom-nav-btn i,
.vbc1-bottom-nav-btn .material-icons,
.vbc1-bottom-nav-btn .bi { font-size: 2.2rem; line-height: 1; }
.vbc1-bottom-nav-btn .vbc1-bottom-nav-label { font-size: 1rem; line-height: 1; }
.vbc1-bottom-nav-btn--active { color: var(--vbc1-accent); }
.vbc1-bottom-nav-btn--active::before {
  content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 2.2rem; height: 0.25rem; background: var(--vbc1-accent); border-radius: 0 0 4px 4px;
}
.vbc1-bottom-nav-btn--promo {
  color: var(--vbc1-gold);
}
.vbc1-bottom-nav-btn--promo i { color: var(--vbc1-accent-2); }
.vbc1-bottom-nav-btn:active { transform: scale(0.92); }
.vbc1-bottom-nav-badge {
  position: absolute; top: 0.3rem; right: 1.2rem; min-width: 1.5rem; height: 1.5rem;
  padding: 0 0.3rem; border-radius: 999px; background: #E53935; color: #fff;
  font-size: 0.95rem; font-weight: 700; display: flex; align-items: center; justify-content: center;
}

/* ---------- Reveal animation ---------- */
.vbc1-reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.5s ease, transform 0.5s ease; }
.vbc1-reveal--in { opacity: 1; transform: translateY(0); }

/* ---------- Desktop ---------- */
@media (min-width: 769px) {
  .vbc1-bottom-nav { display: none; }
  .vbc1-mobile-menu { display: none; }
  .vbc1-menu-toggle { display: none; }
  body { background: #11181F; }
  .vbc1-header-inner, .vbc1-mobile-menu-inner, .vbc1-footer-inner { max-width: 720px; }
  .vbc1-grid { grid-template-columns: repeat(6, 1fr); }
  .vbc1-feature-grid { grid-template-columns: repeat(4, 1fr); }
  .vbc1-main { padding-bottom: 2rem; }
}
