/*!
 * cv99.homes core stylesheet (basefiles)
 * All custom classes use the wf6c8- prefix for namespace isolation.
 * Palette: #FF9500 primary | #3A3A3A dark bg | #FFFACD light accent
 * Mobile-first, max-width 430px, root font 62.5% (1rem = 10px).
 */
:root {
  --wf6c8-primary: #FF9500;
  --wf6c8-primary-dark: #E6840A;
  --wf6c8-bg: #3A3A3A;
  --wf6c8-bg-dark: #2A2A2A;
  --wf6c8-bg-deep: #1E1E1E;
  --wf6c8-light: #FFFACD;
  --wf6c8-text: #F5F5F5;
  --wf6c8-text-muted: #B8B8B8;
  --wf6c8-white: #FFFFFF;
  --wf6c8-gold: #FFD700;
  --wf6c8-red: #FF4D4D;
  --wf6c8-green: #34C759;
  --wf6c8-border: rgba(255, 149, 0, 0.25);
  --wf6c8-radius: 1.2rem;
  --wf6c8-radius-sm: 0.8rem;
  --wf6c8-shadow: 0 0.4rem 1.2rem rgba(0, 0, 0, 0.35);
  --wf6c8-shadow-lg: 0 0.8rem 2.4rem rgba(0, 0, 0, 0.5);
  --wf6c8-header-h: 6rem;
  --wf6c8-bottom-nav-h: 6.2rem;
}

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

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

body {
  font-family: 'Noto Sans Bengali', 'SolaimanLipi', 'Segoe UI', Arial, sans-serif;
  background: var(--wf6c8-bg-deep);
  color: var(--wf6c8-text);
  font-size: 1.5rem;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--wf6c8-primary); text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.wf6c8-wrapper {
  max-width: 430px;
  margin: 0 auto;
  background: var(--wf6c8-bg);
  min-height: 100vh;
  position: relative;
}

/* Header */
.wf6c8-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  max-width: 430px;
  margin: 0 auto;
  height: var(--wf6c8-header-h);
  background: linear-gradient(135deg, #2A2A2A 0%, #3A3A3A 100%);
  border-bottom: 0.2rem solid var(--wf6c8-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.2rem;
  z-index: 1000;
  box-shadow: var(--wf6c8-shadow);
}

.wf6c8-logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--wf6c8-white);
  font-weight: 800;
  font-size: 1.8rem;
}
.wf6c8-logo img { width: 3.2rem; height: 3.2rem; border-radius: 0.6rem; }
.wf6c8-logo span { background: linear-gradient(90deg, var(--wf6c8-primary), var(--wf6c8-gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }

.wf6c8-header-actions { display: flex; align-items: center; gap: 0.6rem; }

.wf6c8-menu-btn {
  width: 4rem; height: 4rem;
  display: flex; align-items: center; justify-content: center;
  color: var(--wf6c8-white);
  font-size: 2rem;
  border-radius: 0.8rem;
  background: rgba(255, 149, 0, 0.12);
  transition: background 0.2s;
}
.wf6c8-menu-btn:hover, .wf6c8-btn-active { background: var(--wf6c8-primary); color: var(--wf6c8-bg-deep); }

.wf6c8-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.4rem;
  border-radius: 2rem;
  font-weight: 700;
  font-size: 1.3rem;
  min-height: 3.6rem;
  transition: transform 0.15s, box-shadow 0.2s;
}
.wf6c8-btn:active { transform: scale(0.96); }
.wf6c8-btn-primary { background: linear-gradient(135deg, var(--wf6c8-primary), var(--wf6c8-primary-dark)); color: var(--wf6c8-bg-deep); box-shadow: 0 0.3rem 0.8rem rgba(255, 149, 0, 0.4); }
.wf6c8-btn-primary:hover { box-shadow: 0 0.5rem 1.2rem rgba(255, 149, 0, 0.55); }
.wf6c8-btn-outline { background: transparent; color: var(--wf6c8-primary); border: 0.15rem solid var(--wf6c8-primary); }
.wf6c8-btn-light { background: var(--wf6c8-light); color: var(--wf6c8-bg-deep); }
.wf6c8-btn-block { width: 100%; padding: 1.1rem; font-size: 1.5rem; }
.wf6c8-btn-lg { padding: 1.2rem 2rem; font-size: 1.5rem; }

/* Main content with bottom padding for nav */
.wf6c8-main { padding-top: var(--wf6c8-header-h); padding-bottom: var(--wf6c8-bottom-nav-h); }

.wf6c8-section { padding: 2.2rem 1.2rem 1.5rem; }
.wf6c8-section-title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1.2rem;
  padding-left: 1rem;
  border-left: 0.4rem solid var(--wf6c8-primary);
  color: var(--wf6c8-light);
}
.wf6c8-section-title small { display: block; font-size: 1.2rem; color: var(--wf6c8-text-muted); font-weight: 400; margin-top: 0.2rem; }

/* Carousel */
.wf6c8-carousel { position: relative; overflow: hidden; border-radius: var(--wf6c8-radius); margin: 1.2rem 0; box-shadow: var(--wf6c8-shadow); }
.wf6c8-slides { position: relative; height: 19rem; }
.wf6c8-slide {
  position: absolute; inset: 0;
  opacity: 0; transition: opacity 0.6s ease;
  display: flex; align-items: flex-end; padding: 1.2rem;
}
.wf6c8-slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: var(--wf6c8-radius); }
.wf6c8-slide-caption { position: relative; z-index: 2; color: var(--wf6c8-white); font-weight: 700; font-size: 1.5rem; text-shadow: 0 0.2rem 0.4rem rgba(0,0,0,0.7); }
.wf6c8-slide-active { opacity: 1; }
.wf6c8-slide::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 50%, rgba(0,0,0,0.6)); border-radius: var(--wf6c8-radius); }

.wf6c8-slide-prev, .wf6c8-slide-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 3.2rem; height: 3.2rem; border-radius: 50%;
  background: rgba(0,0,0,0.45); color: var(--wf6c8-white);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; z-index: 3;
}
.wf6c8-slide-prev { left: 0.6rem; }
.wf6c8-slide-next { right: 0.6rem; }

.wf6c8-dots { position: absolute; bottom: 0.8rem; left: 50%; transform: translateX(-50%); display: flex; gap: 0.5rem; z-index: 4; }
.wf6c8-dot { width: 0.8rem; height: 0.8rem; border-radius: 50%; background: rgba(255,255,255,0.5); transition: background 0.2s; }
.wf6c8-dot-active { background: var(--wf6c8-primary); width: 2rem; border-radius: 0.4rem; }

/* Category tabs (static, not switching) */
.wf6c8-cat-label {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 1.7rem; font-weight: 800; color: var(--wf6c8-light);
  margin: 1.8rem 0 1rem;
}
.wf6c8-cat-label .wf6c8-cat-icon { color: var(--wf6c8-primary); font-size: 2rem; }
.wf6c8-cat-label::after { content: ''; flex: 1; height: 0.1rem; background: var(--wf6c8-border); margin-left: 0.6rem; }

/* Game grid */
.wf6c8-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.8rem; }
.wf6c8-game-card {
  background: linear-gradient(160deg, #3F3F3F, #2E2E2E);
  border-radius: var(--wf6c8-radius-sm);
  padding: 0.6rem;
  text-align: center;
  border: 0.1rem solid rgba(255, 149, 0, 0.15);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  cursor: pointer;
}
.wf6c8-game-card:hover { transform: translateY(-0.3rem); border-color: var(--wf6c8-primary); box-shadow: var(--wf6c8-shadow-lg); }
.wf6c8-game-card:active { transform: scale(0.97); }
.wf6c8-game-img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 0.6rem; margin-bottom: 0.4rem; }
.wf6c8-game-name { font-size: 1.1rem; color: var(--wf6c8-text); line-height: 1.25; min-height: 2.8rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.wf6c8-game-badge { position: relative; }
.wf6c8-game-badge::before { content: 'HOT'; position: absolute; top: 0.3rem; left: 0.3rem; background: var(--wf6c8-red); color: var(--wf6c8-white); font-size: 0.9rem; font-weight: 700; padding: 0.1rem 0.4rem; border-radius: 0.4rem; z-index: 2; }

/* Promo CTA banner */
.wf6c8-cta {
  background: linear-gradient(135deg, var(--wf6c8-primary), var(--wf6c8-gold));
  border-radius: var(--wf6c8-radius);
  padding: 1.6rem 1.2rem;
  text-align: center;
  margin: 1.6rem 0;
  color: var(--wf6c8-bg-deep);
  box-shadow: var(--wf6c8-shadow-lg);
}
.wf6c8-cta h3 { font-size: 1.8rem; margin-bottom: 0.4rem; }
.wf6c8-cta p { font-size: 1.3rem; margin-bottom: 1rem; }
.wf6c8-cta .wf6c8-btn { background: var(--wf6c8-bg-deep); color: var(--wf6c8-primary); }

/* Info / feature cards */
.wf6c8-card {
  background: var(--wf6c8-bg-dark);
  border-radius: var(--wf6c8-radius-sm);
  padding: 1.4rem;
  margin-bottom: 1rem;
  border: 0.1rem solid var(--wf6c8-border);
}
.wf6c8-card h3 { color: var(--wf6c8-primary); font-size: 1.5rem; margin-bottom: 0.6rem; display: flex; align-items: center; gap: 0.5rem; }
.wf6c8-card p { color: var(--wf6c8-text-muted); font-size: 1.3rem; line-height: 1.6; }
.wf6c8-card ul { list-style: none; }
.wf6c8-card ul li { padding: 0.5rem 0 0.5rem 1.6rem; position: relative; font-size: 1.3rem; color: var(--wf6c8-text); }
.wf6c8-card ul li::before { content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900; position: absolute; left: 0; color: var(--wf6c8-primary); font-size: 1.1rem; }

.wf6c8-feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.8rem; }
.wf6c8-feature-item { background: var(--wf6c8-bg-dark); border-radius: var(--wf6c8-radius-sm); padding: 1.2rem; text-align: center; border: 0.1rem solid var(--wf6c8-border); }
.wf6c8-feature-item .wf6c8-feature-icon { font-size: 2.4rem; color: var(--wf6c8-primary); margin-bottom: 0.6rem; }
.wf6c8-feature-item h4 { font-size: 1.3rem; color: var(--wf6c8-light); margin-bottom: 0.3rem; }
.wf6c8-feature-item p { font-size: 1.1rem; color: var(--wf6c8-text-muted); line-height: 1.4; }

/* RTP table compact */
.wf6c8-rtp-row { display: flex; justify-content: space-between; padding: 0.7rem 0; border-bottom: 0.1rem dashed rgba(255,255,255,0.08); font-size: 1.3rem; }
.wf6c8-rtp-row:last-child { border-bottom: none; }
.wf6c8-rtp-row .wf6c8-rtp-name { color: var(--wf6c8-text); }
.wf6c8-rtp-row .wf6c8-rtp-value { color: var(--wf6c8-gold); font-weight: 700; }

/* Testimonials */
.wf6c8-testimonial { background: var(--wf6c8-bg-dark); border-radius: var(--wf6c8-radius-sm); padding: 1.2rem; margin-bottom: 0.8rem; border-left: 0.3rem solid var(--wf6c8-primary); }
.wf6c8-testimonial p { font-size: 1.25rem; color: var(--wf6c8-text); margin-bottom: 0.6rem; font-style: italic; }
.wf6c8-testimonial .wf6c8-testi-author { font-size: 1.1rem; color: var(--wf6c8-primary); font-weight: 700; }

/* Payment methods */
.wf6c8-pay-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.6rem; }
.wf6c8-pay-item { background: var(--wf6c8-bg-dark); border-radius: 0.6rem; padding: 0.8rem 0.4rem; text-align: center; border: 0.1rem solid var(--wf6c8-border); }
.wf6c8-pay-item span { font-size: 1rem; color: var(--wf6c8-text-muted); display: block; margin-top: 0.3rem; }

/* Winners */
.wf6c8-winner { display: flex; align-items: center; gap: 0.8rem; background: var(--wf6c8-bg-dark); padding: 0.8rem; border-radius: 0.8rem; margin-bottom: 0.6rem; }
.wf6c8-winner .wf6c8-winner-icon { width: 3.6rem; height: 3.6rem; border-radius: 50%; background: rgba(255, 149, 0, 0.2); display: flex; align-items: center; justify-content: center; color: var(--wf6c8-gold); font-size: 1.6rem; flex-shrink: 0; }
.wf6c8-winner .wf6c8-winner-name { font-size: 1.2rem; color: var(--wf6c8-text); }
.wf6c8-winner .wf6c8-winner-amount { font-size: 1.1rem; color: var(--wf6c8-gold); font-weight: 700; }

/* App download CTA */
.wf6c8-app-cta { background: linear-gradient(135deg, #2A2A2A, #FF9500 220%); border: 0.15rem solid var(--wf6c8-primary); border-radius: var(--wf6c8-radius); padding: 1.6rem; text-align: center; margin: 1.6rem 0; }
.wf6c8-app-cta h3 { color: var(--wf6c8-primary); font-size: 1.8rem; margin-bottom: 0.4rem; }
.wf6c8-app-cta p { color: var(--wf6c8-text-muted); font-size: 1.25rem; margin-bottom: 1rem; }
.wf6c8-app-cta .wf6c8-app-icons { display: flex; justify-content: center; gap: 1rem; margin-top: 0.8rem; }
.wf6c8-app-cta .wf6c8-app-icons span { color: var(--wf6c8-light); font-size: 2.4rem; }

/* FAQ */
.wf6c8-faq-item { background: var(--wf6c8-bg-dark); border-radius: var(--wf6c8-radius-sm); margin-bottom: 0.8rem; overflow: hidden; border: 0.1rem solid var(--wf6c8-border); }
.wf6c8-faq-q { padding: 1rem 1.2rem; font-weight: 700; color: var(--wf6c8-light); display: flex; gap: 0.6rem; font-size: 1.3rem; }
.wf6c8-faq-q::before { content: 'Q'; color: var(--wf6c8-primary); font-weight: 800; }
.wf6c8-faq-a { padding: 0 1.2rem 1rem; color: var(--wf6c8-text-muted); font-size: 1.2rem; line-height: 1.6; }

/* Inline promo text link */
.wf6c8-promo-link { color: var(--wf6c8-primary); font-weight: 700; border-bottom: 0.1rem dashed var(--wf6c8-primary); }
.wf6c8-promo-text { color: var(--wf6c8-gold); font-weight: 700; }

/* Mobile menu */
.wf6c8-menu-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.6);
  opacity: 0; pointer-events: none; transition: opacity 0.3s;
  z-index: 9998; max-width: 430px; margin: 0 auto;
}
.wf6c8-overlay-active { opacity: 1; pointer-events: auto; }

.wf6c8-mobile-menu {
  position: fixed; top: 0; right: -85%; width: 80%; max-width: 320px;
  height: 100vh; background: var(--wf6c8-bg-dark);
  z-index: 9999; transition: right 0.3s ease;
  padding: var(--wf6c8-header-h) 0 2rem;
  overflow-y: auto; box-shadow: var(--wf6c8-shadow-lg);
  border-left: 0.2rem solid var(--wf6c8-primary);
}
.wf6c8-menu-open { right: 0; }
.wf6c8-menu-close {
  position: absolute; top: 1.2rem; right: 1.2rem;
  width: 3.6rem; height: 3.6rem; color: var(--wf6c8-white);
  font-size: 2rem; display: flex; align-items: center; justify-content: center;
  background: rgba(255,149,0,0.15); border-radius: 0.6rem;
}
.wf6c8-menu-list { list-style: none; padding: 0 1rem; }
.wf6c8-menu-list li { margin-bottom: 0.4rem; }
.wf6c8-menu-list a, .wf6c8-menu-list button {
  display: flex; align-items: center; gap: 0.8rem;
  padding: 1.1rem 1rem; color: var(--wf6c8-text);
  font-size: 1.4rem; font-weight: 600; border-radius: 0.8rem;
  width: 100%; text-align: left; transition: background 0.2s;
}
.wf6c8-menu-list a:hover, .wf6c8-menu-list button:hover { background: rgba(255,149,0,0.15); color: var(--wf6c8-primary); }
.wf6c8-menu-list .wf6c8-menu-icon { color: var(--wf6c8-primary); font-size: 1.6rem; width: 2rem; text-align: center; }

/* Footer */
.wf6c8-footer { background: var(--wf6c8-bg-deep); padding: 2.2rem 1.2rem 1.5rem; border-top: 0.2rem solid var(--wf6c8-primary); margin-top: 1.5rem; }
.wf6c8-footer-brand { color: var(--wf6c8-text-muted); font-size: 1.2rem; line-height: 1.6; margin-bottom: 1.2rem; }
.wf6c8-footer-links { display: flex; flex-wrap: wrap; gap: 0.6rem 1rem; margin-bottom: 1.2rem; }
.wf6c8-footer-links a { color: var(--wf6c8-text); font-size: 1.15rem; }
.wf6c8-footer-links a:hover { color: var(--wf6c8-primary); }
.wf6c8-footer-promo { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1.2rem; }
.wf6c8-footer-promo .wf6c8-btn { padding: 0.6rem 1rem; font-size: 1.1rem; min-height: 3rem; }
.wf6c8-footer-copy { color: var(--wf6c8-text-muted); font-size: 1.1rem; border-top: 0.1rem solid rgba(255,255,255,0.08); padding-top: 1rem; text-align: center; }

/* Bottom nav */
.wf6c8-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0;
  max-width: 430px; margin: 0 auto;
  height: var(--wf6c8-bottom-nav-h);
  background: linear-gradient(180deg, #2A2A2A, #1E1E1E);
  border-top: 0.15rem solid var(--wf6c8-primary);
  display: flex; justify-content: space-around; align-items: center;
  z-index: 1000; box-shadow: 0 -0.4rem 1rem rgba(0,0,0,0.4);
}
.wf6c8-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(--wf6c8-text-muted);
  font-size: 1rem; font-weight: 600;
  transition: color 0.2s, transform 0.15s;
  position: relative;
}
.wf6c8-bottom-nav-btn .wf6c8-nav-icon { font-size: 2.2rem; line-height: 1; }
.wf6c8-bottom-nav-btn .wf6c8-nav-label { font-size: 1rem; line-height: 1.2; }
.wf6c8-bottom-nav-btn:hover { color: var(--wf6c8-primary); }
.wf6c8-bottom-nav-btn:active { transform: scale(0.9); }
.wf6c8-nav-active { color: var(--wf6c8-primary); }
.wf6c8-nav-active::before { content: ''; position: absolute; top: 0; width: 2.4rem; height: 0.25rem; background: var(--wf6c8-primary); border-radius: 0 0 0.4rem 0.4rem; }
.wf6c8-nav-badge { position: absolute; top: 0.6rem; right: 1.2rem; min-width: 1.6rem; height: 1.6rem; padding: 0 0.4rem; background: var(--wf6c8-red); color: var(--wf6c8-white); font-size: 0.9rem; font-weight: 700; border-radius: 1rem; display: flex; align-items: center; justify-content: center; }

/* Utility */
.wf6c8-container { width: 100%; padding: 0 1.2rem; }
.wf6c8-text-center { text-align: center; }
.wf6c8-mt-1 { margin-top: 1rem; }
.wf6c8-mt-2 { margin-top: 2rem; }
.wf6c8-mb-1 { margin-bottom: 1rem; }
.wf6c8-hidden { display: none; }
.wf6c8-divider { height: 0.1rem; background: var(--wf6c8-border); margin: 1.5rem 0; border: none; }
.wf6c8-note { font-size: 1.15rem; color: var(--wf6c8-text-muted); line-height: 1.6; }

/* Desktop: hide bottom nav, show wider layout */
@media (min-width: 769px) {
  .wf6c8-bottom-nav { display: none; }
  .wf6c8-main { padding-bottom: 2rem; }
  .wf6c8-wrapper { max-width: 430px; box-shadow: var(--wf6c8-shadow-lg); }
}

/* Small phones */
@media (max-width: 360px) {
  .wf6c8-grid { grid-template-columns: repeat(2, 1fr); }
  .wf6c8-section-title { font-size: 1.7rem; }
}
