/**
 * winbd29.homes - layout stylesheet
 * All custom classes use the dynamic prefix "vde3-".
 * Comments are in English per project convention.
 * Color palette: #BDC3C7 | #1A1A2E | #F8F8FF | #800080 | #8A2BE2
 */

:root {
  --vde3-primary: #800080;
  --vde3-primary-2: #8A2BE2;
  --vde3-bg: #1A1A2E;
  --vde3-bg-2: #16162a;
  --vde3-bg-3: #202038;
  --vde3-text: #F8F8FF;
  --vde3-muted: #BDC3C7;
  --vde3-card: #232342;
  --vde3-border: rgba(189, 195, 199, 0.18);
  --vde3-accent: #FFD700;
  --vde3-success: #28a745;
  --vde3-radius: 12px;
  --vde3-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  --vde3-header-h: 56px;
  --vde3-bnav-h: 62px;
}

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

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

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

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

/* Container & wrapper */
.vde3-container { width: 100%; max-width: 430px; margin: 0 auto; padding: 0 1.2rem; }
.vde3-wrapper { padding-top: var(--vde3-header-h); padding-bottom: calc(var(--vde3-bnav-h) + 1.2rem); min-height: 100vh; }
main.vde3-main { padding-bottom: calc(var(--vde3-bnav-h) + 2rem); }

/* Header */
.vde3-header {
  position: fixed; top: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 430px; height: var(--vde3-header-h);
  background: linear-gradient(90deg, var(--vde3-bg-2), var(--vde3-bg-3));
  border-bottom: 1px solid var(--vde3-border);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 1rem; z-index: 1000; box-shadow: var(--vde3-shadow);
}
.vde3-logo { display: flex; align-items: center; gap: 0.6rem; color: var(--vde3-text); }
.vde3-logo img { width: 28px; height: 28px; border-radius: 6px; }
.vde3-logo .vde3-logo-name { font-size: 1.7rem; font-weight: 700; color: var(--vde3-accent); letter-spacing: 0.5px; }

.vde3-header-actions { display: flex; align-items: center; gap: 0.5rem; }
.vde3-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  min-height: 36px; padding: 0 1.2rem; border: none; border-radius: 20px;
  font-size: 1.3rem; font-weight: 700; cursor: pointer; transition: transform 0.15s, filter 0.15s;
  font-family: inherit;
}
.vde3-btn:hover { transform: scale(1.05); filter: brightness(1.08); }
.vde3-btn-primary { background: linear-gradient(90deg, var(--vde3-primary), var(--vde3-primary-2)); color: var(--vde3-text); }
.vde3-btn-outline { background: transparent; color: var(--vde3-text); border: 1px solid var(--vde3-primary-2); }
.vde3-btn-login { background: var(--vde3-bg-3); color: var(--vde3-text); border: 1px solid var(--vde3-border); }

.vde3-menu-toggle {
  background: transparent; border: none; color: var(--vde3-text);
  font-size: 2rem; cursor: pointer; padding: 0 0.4rem; display: inline-flex; align-items: center;
}

/* Mobile expandable menu */
.vde3-mobile-menu {
  position: fixed; top: var(--vde3-header-h); left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 430px; background: var(--vde3-bg-2);
  border-bottom: 1px solid var(--vde3-border);
  max-height: 0; overflow: hidden; transition: max-height 0.3s ease; z-index: 9999;
}
.vde3-mobile-menu.vde3-menu-open { max-height: 480px; box-shadow: var(--vde3-shadow); }
.vde3-mobile-menu ul { list-style: none; padding: 0.6rem 1rem; }
.vde3-mobile-menu li { border-bottom: 1px solid var(--vde3-border); }
.vde3-mobile-menu li:last-child { border-bottom: none; }
.vde3-mobile-menu a {
  display: flex; align-items: center; gap: 0.8rem; padding: 1rem 0.4rem;
  color: var(--vde3-text); font-size: 1.4rem; font-weight: 600;
}
.vde3-mobile-menu a i { color: var(--vde3-primary-2); font-size: 1.6rem; width: 22px; text-align: center; }

/* Desktop nav (hidden on mobile) */
.vde3-desktop-nav { display: none; }
@media (min-width: 769px) {
  .vde3-desktop-nav { display: flex; gap: 1.2rem; }
  .vde3-desktop-nav a { color: var(--vde3-muted); font-size: 1.3rem; font-weight: 600; }
  .vde3-desktop-nav a:hover { color: var(--vde3-accent); }
  .vde3-menu-toggle { display: none; }
}

/* Hero / Carousel */
.vde3-carousel { position: relative; width: 100%; margin: 1.2rem 0; border-radius: var(--vde3-radius); overflow: hidden; box-shadow: var(--vde3-shadow); }
.vde3-slide { display: none; position: relative; cursor: pointer; }
.vde3-slide.vde3-slide-active { display: block; }
.vde3-slide img { width: 100%; height: 180px; object-fit: cover; }
.vde3-slide .vde3-slide-caption {
  position: absolute; left: 0; bottom: 0; width: 100%;
  background: linear-gradient(transparent, rgba(26,26,46,0.92));
  padding: 1.6rem 1rem 1rem; color: var(--vde3-text);
}
.vde3-slide .vde3-slide-caption h2 { font-size: 1.7rem; font-weight: 700; color: var(--vde3-accent); margin-bottom: 0.3rem; }
.vde3-slide .vde3-slide-caption p { font-size: 1.2rem; color: var(--vde3-muted); }
.vde3-dots { position: absolute; bottom: 8px; left: 0; width: 100%; text-align: center; }
.vde3-dot { display: inline-block; width: 8px; height: 8px; margin: 0 3px; border-radius: 50%; background: rgba(248,248,255,0.4); cursor: pointer; }
.vde3-dot.vde3-dot-active { background: var(--vde3-accent); }

/* Section titles */
.vde3-section { margin: 1.6rem 0; }
.vde3-section-title {
  display: flex; align-items: center; gap: 0.6rem; font-size: 1.8rem; font-weight: 700;
  color: var(--vde3-text); margin-bottom: 1rem; padding-left: 0.8rem;
  border-left: 4px solid var(--vde3-primary-2);
}
.vde3-section-title i { color: var(--vde3-primary-2); }
.vde3-section-title .vde3-more { margin-left: auto; font-size: 1.2rem; color: var(--vde3-muted); font-weight: 500; }

/* Category grid */
.vde3-cat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.6rem; margin-bottom: 1rem; }
.vde3-cat-item {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: var(--vde3-card); border-radius: 10px; padding: 0.8rem 0.2rem;
  border: 1px solid var(--vde3-border); cursor: pointer; transition: transform 0.15s;
  min-height: 64px;
}
.vde3-cat-item:active { transform: scale(0.94); }
.vde3-cat-item i { font-size: 2rem; color: var(--vde3-primary-2); margin-bottom: 0.3rem; }
.vde3-cat-item span { font-size: 1.05rem; color: var(--vde3-muted); text-align: center; }

/* Game grid */
.vde3-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.8rem; }
.vde3-card {
  background: var(--vde3-card); border-radius: 10px; overflow: hidden; cursor: pointer;
  border: 1px solid var(--vde3-border); transition: transform 0.15s, box-shadow 0.15s;
  text-align: center;
}
.vde3-card:active { transform: scale(0.96); box-shadow: var(--vde3-shadow); }
.vde3-card img { width: 100%; height: 84px; object-fit: cover; }
.vde3-card .vde3-card-name {
  font-size: 1.15rem; color: var(--vde3-text); padding: 0.5rem 0.3rem; font-weight: 600;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.vde3-card .vde3-card-tag {
  display: inline-block; font-size: 0.95rem; color: var(--vde3-accent);
  background: rgba(255,215,0,0.12); padding: 0.1rem 0.5rem; border-radius: 6px; margin-bottom: 0.4rem;
}

/* Promo CTA */
.vde3-cta {
  background: linear-gradient(90deg, var(--vde3-primary), var(--vde3-primary-2));
  border-radius: var(--vde3-radius); padding: 1.4rem; text-align: center; margin: 1.4rem 0;
  box-shadow: var(--vde3-shadow);
}
.vde3-cta h3 { color: var(--vde3-accent); font-size: 1.8rem; margin-bottom: 0.4rem; }
.vde3-cta p { color: var(--vde3-text); font-size: 1.25rem; margin-bottom: 1rem; }
.vde3-cta .vde3-btn { background: var(--vde3-accent); color: var(--vde3-bg); font-size: 1.4rem; }

/* Content blocks */
.vde3-block { background: var(--vde3-card); border-radius: var(--vde3-radius); padding: 1.2rem; margin: 1rem 0; border: 1px solid var(--vde3-border); }
.vde3-block h2 { font-size: 1.7rem; color: var(--vde3-accent); margin-bottom: 0.8rem; }
.vde3-block h3 { font-size: 1.4rem; color: var(--vde3-primary-2); margin: 0.8rem 0 0.4rem; }
.vde3-block p { font-size: 1.3rem; color: var(--vde3-muted); margin-bottom: 0.6rem; }
.vde3-block ul { padding-left: 1.6rem; color: var(--vde3-muted); font-size: 1.3rem; }
.vde3-block li { margin-bottom: 0.4rem; }
.vde3-block a { color: var(--vde3-primary-2); font-weight: 600; }

/* Feature list */
.vde3-feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.8rem; }
.vde3-feature {
  background: var(--vde3-bg-3); border-radius: 10px; padding: 1rem; text-align: center;
  border: 1px solid var(--vde3-border);
}
.vde3-feature i { font-size: 2.4rem; color: var(--vde3-primary-2); margin-bottom: 0.5rem; }
.vde3-feature h4 { font-size: 1.25rem; color: var(--vde3-text); margin-bottom: 0.3rem; }
.vde3-feature p { font-size: 1.1rem; color: var(--vde3-muted); }

/* Testimonials */
.vde3-testimonial { background: var(--vde3-bg-3); border-radius: 10px; padding: 1rem; margin-bottom: 0.8rem; border-left: 3px solid var(--vde3-primary-2); }
.vde3-testimonial .vde3-stars { color: var(--vde3-accent); font-size: 1.2rem; margin-bottom: 0.3rem; }
.vde3-testimonial p { font-size: 1.25rem; color: var(--vde3-muted); font-style: italic; margin-bottom: 0.4rem; }
.vde3-testimonial .vde3-author { font-size: 1.1rem; color: var(--vde3-text); font-weight: 600; }

/* Winners */
.vde3-winner { display: flex; align-items: center; gap: 0.8rem; background: var(--vde3-bg-3); padding: 0.8rem; border-radius: 10px; margin-bottom: 0.6rem; }
.vde3-winner img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.vde3-winner .vde3-winner-info { flex: 1; }
.vde3-winner .vde3-winner-name { font-size: 1.2rem; color: var(--vde3-text); font-weight: 600; }
.vde3-winner .vde3-winner-game { font-size: 1.05rem; color: var(--vde3-muted); }
.vde3-winner .vde3-winner-amount { font-size: 1.3rem; color: var(--vde3-accent); font-weight: 700; }

/* Payment */
.vde3-pay-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.6rem; }
.vde3-pay-item { background: var(--vde3-bg-3); border-radius: 8px; padding: 0.8rem 0.3rem; text-align: center; border: 1px solid var(--vde3-border); }
.vde3-pay-item i { font-size: 2rem; color: var(--vde3-primary-2); }
.vde3-pay-item span { display: block; font-size: 1rem; color: var(--vde3-muted); margin-top: 0.3rem; }

/* FAQ */
.vde3-faq-item { background: var(--vde3-bg-3); border-radius: 10px; margin-bottom: 0.6rem; overflow: hidden; border: 1px solid var(--vde3-border); }
.vde3-faq-q { padding: 0.9rem 1rem; font-size: 1.3rem; font-weight: 600; color: var(--vde3-text); cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.vde3-faq-q i { color: var(--vde3-primary-2); }
.vde3-faq-a { padding: 0 1rem 0.9rem; font-size: 1.25rem; color: var(--vde3-muted); }

/* Footer */
.vde3-footer { background: var(--vde3-bg-2); border-top: 1px solid var(--vde3-border); padding: 1.6rem 1.2rem 2rem; margin-top: 1.6rem; }
.vde3-footer .vde3-footer-brand { font-size: 1.3rem; color: var(--vde3-muted); margin-bottom: 1rem; line-height: 1.6; }
.vde3-footer .vde3-footer-links { display: flex; flex-wrap: wrap; gap: 0.6rem 1.2rem; margin-bottom: 1rem; }
.vde3-footer .vde3-footer-links a { font-size: 1.2rem; color: var(--vde3-muted); }
.vde3-footer .vde3-footer-promo { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1rem; }
.vde3-footer .vde3-footer-promo .vde3-btn { font-size: 1.15rem; padding: 0 0.9rem; min-height: 32px; }
.vde3-footer .vde3-footer-copy { font-size: 1.1rem; color: var(--vde3-muted); border-top: 1px solid var(--vde3-border); padding-top: 1rem; text-align: center; }

/* Mobile bottom navigation */
.vde3-bnav {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 430px; height: var(--vde3-bnav-h);
  background: linear-gradient(180deg, var(--vde3-bg-3), var(--vde3-bg-2));
  border-top: 1px solid var(--vde3-border);
  display: flex; justify-content: space-around; align-items: center;
  z-index: 1000; box-shadow: 0 -4px 14px rgba(0,0,0,0.4);
}
.vde3-bnav-btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 60px; min-height: 60px; background: transparent; border: none;
  color: var(--vde3-muted); cursor: pointer; transition: transform 0.15s, color 0.15s;
  font-family: inherit; gap: 0.2rem;
}
.vde3-bnav-btn i { font-size: 22px; }
.vde3-bnav-btn span { font-size: 10px; font-weight: 600; }
.vde3-bnav-btn:active { transform: scale(0.9); }
.vde3-bnav-btn:hover { color: var(--vde3-accent); }
.vde3-bnav-active { color: var(--vde3-accent); }
.vde3-bnav-active i { filter: drop-shadow(0 0 6px rgba(255,215,0,0.6)); }
.vde3-bnav-promo { color: var(--vde3-primary-2); }

@media (min-width: 769px) {
  .vde3-bnav { display: none; }
  main.vde3-main { padding-bottom: 2rem; }
}

/* Utility */
.vde3-text-link { color: var(--vde3-primary-2); font-weight: 700; }
.vde3-text-link:hover { color: var(--vde3-accent); text-decoration: underline; }
.vde3-row { display: flex; gap: 0.8rem; flex-wrap: wrap; }
.vde3-badge { display: inline-block; background: var(--vde3-primary); color: var(--vde3-text); font-size: 1rem; padding: 0.1rem 0.5rem; border-radius: 6px; }
.vde3-divider { height: 1px; background: var(--vde3-border); margin: 1.2rem 0; }
