/* ============================================================
   hb 999 - Base Stylesheet (css/style-39d3.css)
   Language: Bengali (bn-BD) | Mobile-first HTML5 casino design
   Prefix: v334- | Palette: #FFB3FF #2C2C2C #FA8072 #FF1493
   ============================================================ */

/* ---------- CSS Variables ---------- */
:root {
  --v334-primary: #FF1493;
  --v334-secondary: #FA8072;
  --v334-soft: #FFB3FF;
  --v334-bg: #2C2C2C;
  --v334-bg-deep: #1f1f1f;
  --v334-bg-card: #3a3a3a;
  --v334-text: #ffffff;
  --v334-text-dim: #FFB3FF;
  --v334-border: rgba(255, 179, 255, 0.18);
  --v334-gradient: linear-gradient(135deg, #FF1493 0%, #FA8072 100%);
  --v334-gradient-soft: linear-gradient(135deg, #FFB3FF 0%, #FF1493 100%);
  --v334-shadow: 0 8px 24px rgba(255, 20, 147, 0.25);
  --v334-radius: 14px;
  --v334-header-h: 60px;
  --v334-bottomnav-h: 62px;
  --v334-max-w: 430px;
}

/* ---------- Reset ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { font-size: 62.5%; scroll-behavior: smooth; }
body {
  font-family: "Hind Siliguri", "Noto Sans Bengali", "Segoe UI", sans-serif;
  background: var(--v334-bg);
  color: var(--v334-text);
  line-height: 1.5;
  font-size: 1.5rem;
  overflow-x: hidden;
  max-width: var(--v334-max-w);
  margin: 0 auto;
  position: relative;
  min-height: 100vh;
}
img { max-width: 100%; display: block; }
a { color: var(--v334-soft); text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }

/* ---------- Layout helpers ---------- */
.v334-container { width: 100%; max-width: var(--v334-max-w); margin: 0 auto; padding: 0 1.2rem; }
.v334-wrapper { padding: 1.6rem 1.2rem; }
.v334-section { padding: 2.4rem 0; border-bottom: 1px solid var(--v334-border); }
.v334-section:last-child { border-bottom: none; }
.v334-text-center { text-align: center; }

/* ---------- Header ---------- */
.v334-header {
  position: fixed;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--v334-max-w);
  height: var(--v334-header-h);
  background: rgba(31, 31, 31, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--v334-border);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
}
.v334-logo { display: flex; align-items: center; gap: 0.6rem; }
.v334-logo img { width: 32px; height: 32px; border-radius: 8px; }
.v334-logo .v334-brand {
  font-size: 1.7rem; font-weight: 800; color: var(--v334-soft);
  letter-spacing: 0.5px; line-height: 1.1;
}
.v334-logo .v334-brand span { color: var(--v334-primary); }
.v334-header-actions { display: flex; align-items: center; gap: 0.5rem; }
.v334-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  padding: 0.7rem 1.3rem; border-radius: 30px; font-size: 1.3rem; font-weight: 700;
  min-height: 38px; transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.v334-btn:active { transform: scale(0.95); }
.v334-btn-login {
  background: transparent; border: 1.5px solid var(--v334-soft); color: var(--v334-soft);
}
.v334-btn-register {
  background: var(--v334-gradient); color: #fff; box-shadow: var(--v334-shadow);
}
.v334-menu-toggle {
  width: 38px; height: 38px; display: flex; align-items: center; justify-content: center;
  color: var(--v334-soft); font-size: 2rem; border-radius: 8px;
}

/* ---------- Mobile dropdown menu ---------- */
.v334-mobile-menu {
  position: fixed; top: var(--v334-header-h); left: 50%; transform: translateX(-50%);
  width: 100%; max-width: var(--v334-max-w);
  background: var(--v334-bg-deep);
  border-bottom: 1px solid var(--v334-border);
  padding: 1rem 1.2rem 1.4rem;
  z-index: 9999;
  transform-origin: top;
  max-height: 0; overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}
.v334-mobile-menu.v334-open { max-height: 420px; padding: 1rem 1.2rem 1.4rem; }
.v334-mobile-menu a {
  display: flex; align-items: center; gap: 0.8rem;
  padding: 1rem 0.6rem; border-bottom: 1px solid rgba(255, 179, 255, 0.08);
  font-size: 1.4rem; color: var(--v334-text);
}
.v334-mobile-menu a i { color: var(--v334-primary); font-size: 1.7rem; width: 22px; }
.v334-mobile-menu a:active { background: rgba(255, 20, 147, 0.08); }

/* ---------- Main content spacing ---------- */
.v334-main { padding-top: var(--v334-header-h); padding-bottom: calc(var(--v334-bottomnav-h) + 24px); }

/* ---------- Hero carousel ---------- */
.v334-hero { position: relative; padding: 1rem 0 0.4rem; }
.v334-carousel {
  position: relative; border-radius: var(--v334-radius); overflow: hidden;
  box-shadow: var(--v334-shadow); background: var(--v334-bg-deep);
}
.v334-carousel-track { display: flex; transition: transform 0.5s ease; }
.v334-slide {
  flex: 0 0 100%; position: relative; cursor: pointer;
}
.v334-slide img { width: 100%; height: 200px; object-fit: cover; }
.v334-slide-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1rem 1.2rem; background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
  font-size: 1.3rem; color: #fff;
}
.v334-slide-caption strong { color: var(--v334-soft); font-size: 1.6rem; display: block; }
.v334-carousel-dots {
  position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 6px;
}
.v334-dot {
  width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,0.4);
  transition: all 0.2s ease;
}
.v334-dot.v334-active { background: var(--v334-primary); width: 18px; border-radius: 4px; }

/* ---------- Headings ---------- */
.v334-h1 {
  font-size: 2.2rem; font-weight: 800; line-height: 1.3;
  padding: 1.4rem 1.2rem 0.6rem; color: var(--v334-text);
}
.v334-h1 span { color: var(--v334-primary); }
.v334-section-title {
  display: flex; align-items: center; gap: 0.7rem;
  font-size: 1.8rem; font-weight: 800; margin-bottom: 1.2rem; color: var(--v334-text);
}
.v334-section-title::before {
  content: ""; width: 5px; height: 22px; border-radius: 3px;
  background: var(--v334-gradient);
}
.v334-section-title em { font-style: normal; color: var(--v334-primary); }

/* ---------- Category label ---------- */
.v334-cat-label {
  display: inline-flex; align-items: center; gap: 0.5rem;
  margin: 1.6rem 0 1rem; padding: 0.5rem 1.2rem;
  background: var(--v334-gradient); color: #fff;
  border-radius: 20px; font-size: 1.3rem; font-weight: 700;
  box-shadow: var(--v334-shadow);
}
.v334-cat-count { color: var(--v334-soft); font-size: 1.1rem; }

/* ---------- Game grid ---------- */
.v334-game-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.8rem;
}
.v334-game-card {
  background: var(--v334-bg-card); border-radius: 12px; overflow: hidden;
  border: 1px solid var(--v334-border); cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.v334-game-card:active { transform: scale(0.96); box-shadow: 0 0 0 2px var(--v334-primary); }
.v334-game-thumb { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; background: #222; }
.v334-game-name {
  padding: 0.5rem 0.4rem; font-size: 1.1rem; text-align: center;
  color: var(--v334-text-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  font-weight: 600;
}

/* ---------- CTA / Promo blocks ---------- */
.v334-cta {
  background: var(--v334-gradient); border-radius: var(--v334-radius);
  padding: 1.6rem 1.4rem; margin: 1.4rem 0; text-align: center;
  box-shadow: var(--v334-shadow); cursor: pointer;
}
.v334-cta h3 { color: #fff; font-size: 1.7rem; margin-bottom: 0.4rem; }
.v334-cta p { color: rgba(255,255,255,0.92); font-size: 1.25rem; margin-bottom: 1rem; }
.v334-cta-btn {
  display: inline-block; padding: 0.9rem 2rem; background: #fff;
  color: var(--v334-primary); border-radius: 30px; font-weight: 800; font-size: 1.35rem;
}
.v334-link-text {
  color: var(--v334-primary); font-weight: 700; cursor: pointer;
  border-bottom: 1px dashed var(--v334-primary);
}

/* ---------- Info / content blocks ---------- */
.v334-card {
  background: var(--v334-bg-card); border-radius: var(--v334-radius);
  padding: 1.4rem; margin-bottom: 1rem; border: 1px solid var(--v334-border);
}
.v334-card h3 { color: var(--v334-soft); font-size: 1.5rem; margin-bottom: 0.6rem; font-weight: 700; }
.v334-card p { color: var(--v334-text); font-size: 1.3rem; line-height: 1.6; margin-bottom: 0.6rem; }
.v334-card ul { padding-left: 1.2rem; }
.v334-card li {
  list-style: disc; color: var(--v334-text); font-size: 1.3rem;
  line-height: 1.7; margin-bottom: 0.3rem;
}
.v334-card li::marker { color: var(--v334-primary); }

/* ---------- Feature grid ---------- */
.v334-feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.8rem; }
.v334-feature {
  background: var(--v334-bg-card); padding: 1.2rem; border-radius: 12px;
  text-align: center; border: 1px solid var(--v334-border);
}
.v334-feature i { font-size: 2.4rem; color: var(--v334-primary); margin-bottom: 0.5rem; }
.v334-feature h4 { color: var(--v334-soft); font-size: 1.3rem; margin-bottom: 0.3rem; }
.v334-feature p { color: var(--v334-text); font-size: 1.15rem; line-height: 1.4; }

/* ---------- Payment / winners / testimonials ---------- */
.v334-chips { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.v334-chip {
  background: var(--v334-bg-card); padding: 0.7rem 1rem; border-radius: 30px;
  font-size: 1.15rem; color: var(--v334-soft); border: 1px solid var(--v334-border);
  display: inline-flex; align-items: center; gap: 0.4rem;
}
.v334-chip i { color: var(--v334-primary); }

.v334-winners { display: grid; gap: 0.6rem; }
.v334-winner {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--v334-bg-card); padding: 0.8rem 1rem; border-radius: 10px;
  border-left: 3px solid var(--v334-primary); font-size: 1.2rem;
}
.v334-winner span:first-child { color: var(--v334-soft); font-weight: 600; }
.v334-winner span:last-child { color: var(--v334-primary); font-weight: 800; }

.v334-testimonial {
  background: var(--v334-bg-card); padding: 1.1rem; border-radius: 12px;
  margin-bottom: 0.8rem; border: 1px solid var(--v334-border);
}
.v334-testimonial-stars { color: #FFD700; font-size: 1.2rem; margin-bottom: 0.3rem; }
.v334-testimonial p { color: var(--v334-text); font-size: 1.25rem; line-height: 1.5; margin-bottom: 0.4rem; }
.v334-testimonial cite { color: var(--v334-soft); font-style: normal; font-size: 1.1rem; font-weight: 600; }

/* ---------- FAQ ---------- */
.v334-faq-item {
  background: var(--v334-bg-card); border-radius: 10px; margin-bottom: 0.7rem;
  border: 1px solid var(--v334-border); overflow: hidden;
}
.v334-faq-q {
  padding: 1rem 1.2rem; font-size: 1.3rem; font-weight: 700; color: var(--v334-soft);
  display: flex; justify-content: space-between; align-items: center; cursor: pointer;
}
.v334-faq-q .v334-icon { color: var(--v334-primary); transition: transform 0.2s; }
.v334-faq-a { padding: 0 1.2rem 1rem; font-size: 1.2rem; color: var(--v334-text); line-height: 1.5; }

/* ---------- Footer ---------- */
.v334-footer {
  background: var(--v334-bg-deep); padding: 2rem 1.2rem 1.4rem;
  border-top: 1px solid var(--v334-border);
}
.v334-footer h4 { color: var(--v334-soft); font-size: 1.4rem; margin-bottom: 0.6rem; }
.v334-footer p { color: var(--v334-text); font-size: 1.2rem; line-height: 1.6; margin-bottom: 1rem; }
.v334-footer-links {
  display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; margin-bottom: 1rem;
}
.v334-footer-links a {
  color: var(--v334-soft); font-size: 1.15rem; cursor: pointer;
}
.v334-footer-links a:active { color: var(--v334-primary); }
.v334-footer-promos {
  display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 0.8rem 0;
}
.v334-footer-promos button {
  flex: 1 1 45%; padding: 0.8rem; border-radius: 8px; font-size: 1.15rem; font-weight: 700;
  background: var(--v334-gradient); color: #fff; min-height: 44px;
}
.v334-copyright {
  text-align: center; color: var(--v334-text-dim); font-size: 1.1rem;
  padding-top: 1rem; border-top: 1px solid var(--v334-border);
}

/* ---------- Mobile bottom navigation ---------- */
.v334-bottom-nav {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: var(--v334-max-w); height: var(--v334-bottomnav-h);
  background: linear-gradient(180deg, #2C2C2C 0%, #1f1f1f 100%);
  border-top: 1px solid var(--v334-border);
  display: flex; justify-content: space-around; align-items: center;
  z-index: 1000; padding: 4px 0;
}
.v334-nav-btn {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 60px; min-height: 54px; gap: 2px; color: var(--v334-text-dim);
  transition: color 0.2s ease, transform 0.18s ease; position: relative;
}
.v334-nav-btn:active { transform: scale(0.9); }
.v334-nav-btn i { font-size: 2.2rem; }
.v334-nav-btn .material-icons-two-tone,
.v334-nav-btn .material-icons { font-size: 2.2rem; }
.v334-nav-btn span { font-size: 1rem; font-weight: 600; }
.v334-nav-btn.v334-active { color: var(--v334-primary); }
.v334-nav-btn.v334-active::before {
  content: ""; position: absolute; top: 0; width: 32px; height: 3px;
  background: var(--v334-primary); border-radius: 0 0 4px 4px;
}
.v334-nav-btn.v334-promo {
  color: #fff;
}
.v334-nav-btn.v334-promo i {
  background: var(--v334-gradient); color: #fff; width: 38px; height: 38px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 1.9rem; box-shadow: var(--v334-shadow); margin-top: -14px;
}

/* ---------- Desktop: hide bottom nav ---------- */
@media (min-width: 769px) {
  .v334-bottom-nav { display: none; }
  .v334-main { padding-bottom: 24px; }
}

/* ---------- Small screens tuning ---------- */
@media (max-width: 360px) {
  .v334-game-grid { grid-template-columns: repeat(2, 1fr); }
  .v334-h1 { font-size: 1.9rem; }
  .v334-feature-grid { grid-template-columns: 1fr; }
}
