/* kkbd.homes base CSS - prefix w1f67- - English comments */
:root {
  --w1f67-primary: #FF91A4;
  --w1f67-secondary: #FFCCCB;
  --w1f67-bg: #0F0F23;
  --w1f67-bg-2: #1a1a35;
  --w1f67-text: #FFFFFF;
  --w1f67-text-muted: #c8c8e0;
  --w1f67-accent: #FFD700;
  --w1f67-card: #20203f;
  --w1f67-border: #2e2e55;
  --w1f67-success: #4ade80;
  --w1f67-danger: #f87171;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 62.5%; -webkit-text-size-adjust: 100%; }
body {
  font-family: "Segoe UI", "Noto Sans Bengali", "SolaimanLipi", system-ui, sans-serif;
  background: var(--w1f67-bg);
  color: var(--w1f67-text);
  line-height: 1.5rem;
  font-size: 1.5rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--w1f67-primary); text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* Container / Wrapper */
.w1f67-container { width: 100%; max-width: 430px; margin: 0 auto; padding: 0 1.2rem; }
.w1f67-wrapper { width: 100%; max-width: 430px; margin: 0 auto; }

/* Header */
.w1f67-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: linear-gradient(180deg, #0F0F23 0%, #1a1a35 100%);
  border-bottom: 1px solid var(--w1f67-border);
  box-shadow: 0 2px 12px rgba(0,0,0,0.4);
}
.w1f67-header-inner {
  max-width: 430px; margin: 0 auto; height: 5.6rem;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 1.2rem;
}
.w1f67-logo { display: flex; align-items: center; gap: 0.8rem; }
.w1f67-logo img { width: 2.8rem; height: 2.8rem; border-radius: 0.6rem; }
.w1f67-logo-text { font-size: 1.8rem; font-weight: 800; color: var(--w1f67-primary); letter-spacing: 0.5px; }
.w1f67-header-actions { display: flex; align-items: center; gap: 0.6rem; }
.w1f67-menu-btn { font-size: 2.2rem; color: var(--w1f67-text); padding: 0.4rem 0.8rem; }

/* Buttons */
.w1f67-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.8rem 1.4rem; border-radius: 0.8rem; font-weight: 700; font-size: 1.4rem;
  transition: transform 0.15s, opacity 0.15s; min-height: 44px;
}
.w1f67-btn:active { transform: scale(0.96); }
.w1f67-btn-primary { background: var(--w1f67-primary); color: #0F0F23; }
.w1f67-btn-secondary { background: var(--w1f67-secondary); color: #0F0F23; }
.w1f67-btn-outline { background: transparent; border: 1px solid var(--w1f67-primary); color: var(--w1f67-primary); }
.w1f67-btn-block { width: 100%; }
.w1f67-btn-lg { padding: 1.2rem 2rem; font-size: 1.6rem; }
.w1f67-link-text { color: var(--w1f67-primary); font-weight: 700; text-decoration: underline; }

/* Mobile menu */
.w1f67-mobile-menu {
  position: fixed; top: 5.6rem; left: 0; right: 0; z-index: 9999;
  background: #14142b; border-bottom: 1px solid var(--w1f67-border);
  max-height: 0; overflow: hidden; transition: max-height 0.3s ease;
}
.w1f67-mobile-menu.w1f67-menu-open { max-height: 480px; }
.w1f67-mobile-menu-inner { max-width: 430px; margin: 0 auto; padding: 1rem 1.2rem; }
.w1f67-mobile-menu a {
  display: block; padding: 1rem 0; border-bottom: 1px solid var(--w1f67-border);
  color: var(--w1f67-text); font-size: 1.5rem;
}
.w1f67-mobile-menu a:active { color: var(--w1f67-primary); }

/* Main */
.w1f67-main { padding-top: 5.6rem; }
.w1f67-section { padding: 2rem 0; }
.w1f67-section-title {
  font-size: 2rem; font-weight: 800; margin-bottom: 1rem;
  color: var(--w1f67-text); display: flex; align-items: center; gap: 0.6rem;
}
.w1f67-section-title .w1f67-icon { color: var(--w1f67-primary); }
.w1f67-subtitle { font-size: 1.6rem; font-weight: 700; color: var(--w1f67-primary); margin: 1.2rem 0 0.6rem; }
.w1f67-text-muted { color: var(--w1f67-text-muted); }
.w1f67-p { margin-bottom: 1rem; }

/* Hero / Carousel */
.w1f67-hero { margin: 1.5rem 0; }
.w1f67-carousel { position: relative; border-radius: 1.2rem; overflow: hidden; aspect-ratio: 16/9; }
.w1f67-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity 0.6s ease;
  display: flex; align-items: flex-end;
}
.w1f67-slide.w1f67-slide-active { opacity: 1; }
.w1f67-slide img { width: 100%; height: 100%; object-fit: cover; }
.w1f67-slide-overlay {
  position: absolute; inset: 0; background: linear-gradient(0deg, rgba(15,15,35,0.85) 0%, transparent 60%);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 1.2rem;
}
.w1f67-slide-title { font-size: 1.8rem; font-weight: 800; color: #fff; margin-bottom: 0.4rem; }
.w1f67-slide-desc { font-size: 1.3rem; color: var(--w1f67-secondary); margin-bottom: 0.8rem; }
.w1f67-dots { display: flex; gap: 0.5rem; justify-content: center; margin-top: 0.8rem; }
.w1f67-dot { width: 0.8rem; height: 0.8rem; border-radius: 50%; background: rgba(255,255,255,0.3); }
.w1f67-dot.w1f67-dot-active { background: var(--w1f67-primary); }

/* Chips / Filters */
.w1f67-chips { display: flex; gap: 0.6rem; overflow-x: auto; padding: 0.8rem 0; flex-wrap: nowrap; }
.w1f67-chip {
  white-space: nowrap; padding: 0.6rem 1.2rem; border-radius: 1.6rem;
  background: var(--w1f67-card); border: 1px solid var(--w1f67-border); color: var(--w1f67-text-muted);
  font-size: 1.3rem; min-height: 36px;
}
.w1f67-chip.w1f67-chip-active { background: var(--w1f67-primary); color: #0F0F23; border-color: var(--w1f67-primary); }

/* Game grid */
.w1f67-game-section { margin-bottom: 2rem; }
.w1f67-game-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.8rem;
}
.w1f67-game-card {
  background: var(--w1f67-card); border: 1px solid var(--w1f67-border);
  border-radius: 0.8rem; overflow: hidden; transition: transform 0.15s;
  display: flex; flex-direction: column;
}
.w1f67-game-card:active { transform: scale(0.97); }
.w1f67-game-card img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.w1f67-game-name {
  font-size: 1.1rem; padding: 0.5rem 0.4rem; text-align: center;
  color: var(--w1f67-text); line-height: 1.3rem; min-height: 2.6rem;
  display: flex; align-items: center; justify-content: center;
}

/* Cards */
.w1f67-card {
  background: var(--w1f67-card); border: 1px solid var(--w1f67-border);
  border-radius: 1rem; padding: 1.4rem; margin-bottom: 1.2rem;
}
.w1f67-card-title { font-size: 1.7rem; font-weight: 800; color: var(--w1f67-primary); margin-bottom: 0.6rem; }
.w1f67-card-row { display: flex; align-items: center; justify-content: space-between; padding: 0.6rem 0; border-bottom: 1px solid var(--w1f67-border); }
.w1f67-card-row:last-child { border-bottom: none; }

/* Feature list */
.w1f67-feature-list { list-style: none; }
.w1f67-feature-list li { display: flex; align-items: flex-start; gap: 0.8rem; padding: 0.8rem 0; border-bottom: 1px solid var(--w1f67-border); }
.w1f67-feature-list li:last-child { border-bottom: none; }
.w1f67-feature-list .w1f67-icon { color: var(--w1f67-primary); font-size: 1.8rem; flex-shrink: 0; margin-top: 0.2rem; }

/* Stats grid */
.w1f67-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.8rem; }
.w1f67-stat { background: var(--w1f67-bg-2); border-radius: 0.8rem; padding: 1rem; text-align: center; border: 1px solid var(--w1f67-border); }
.w1f67-stat-num { font-size: 2rem; font-weight: 800; color: var(--w1f67-accent); }
.w1f67-stat-label { font-size: 1.2rem; color: var(--w1f67-text-muted); }

/* Testimonials */
.w1f67-testimonial { background: var(--w1f67-bg-2); border-radius: 0.8rem; padding: 1.2rem; margin-bottom: 1rem; border-left: 3px solid var(--w1f67-primary); }
.w1f67-testimonial-name { font-weight: 700; color: var(--w1f67-primary); font-size: 1.4rem; }
.w1f67-testimonial-text { color: var(--w1f67-text-muted); font-size: 1.3rem; margin-top: 0.4rem; }

/* Payment */
.w1f67-pay-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; }
.w1f67-pay-item { background: var(--w1f67-bg-2); border: 1px solid var(--w1f67-border); border-radius: 0.6rem; padding: 1rem 0.4rem; text-align: center; font-size: 1.2rem; color: var(--w1f67-text-muted); }
.w1f67-pay-item .w1f67-icon { font-size: 2rem; color: var(--w1f67-primary); display: block; margin-bottom: 0.3rem; }

/* Winners */
.w1f67-winner { display: flex; align-items: center; justify-content: space-between; padding: 0.7rem 0; border-bottom: 1px solid var(--w1f67-border); }
.w1f67-winner:last-child { border-bottom: none; }
.w1f67-winner-name { font-size: 1.3rem; color: var(--w1f67-text); }
.w1f67-winner-amount { font-size: 1.4rem; font-weight: 800; color: var(--w1f67-accent); }

/* FAQ */
.w1f67-faq-item { border-bottom: 1px solid var(--w1f67-border); padding: 1rem 0; }
.w1f67-faq-q { font-weight: 700; color: var(--w1f67-primary); font-size: 1.4rem; margin-bottom: 0.4rem; }
.w1f67-faq-a { color: var(--w1f67-text-muted); font-size: 1.3rem; }

/* CTA banner */
.w1f67-cta {
  background: linear-gradient(135deg, #FF91A4 0%, #FFCCCB 100%);
  color: #0F0F23; border-radius: 1rem; padding: 1.6rem; text-align: center; margin: 1.5rem 0;
}
.w1f67-cta h3 { font-size: 1.8rem; font-weight: 800; margin-bottom: 0.4rem; }
.w1f67-cta p { font-size: 1.3rem; margin-bottom: 1rem; }
.w1f67-cta .w1f67-btn { background: #0F0F23; color: #FFCCCB; }

/* Footer */
.w1f67-footer {
  background: #0a0a1c; border-top: 1px solid var(--w1f67-border);
  padding: 2rem 1.2rem; margin-top: 2rem;
}
.w1f67-footer-inner { max-width: 430px; margin: 0 auto; }
.w1f67-footer-brand { font-size: 1.6rem; font-weight: 800; color: var(--w1f67-primary); margin-bottom: 0.6rem; }
.w1f67-footer-desc { font-size: 1.3rem; color: var(--w1f67-text-muted); margin-bottom: 1.2rem; line-height: 1.6rem; }
.w1f67-footer-links { display: flex; flex-wrap: wrap; gap: 0.6rem 1rem; margin-bottom: 1.2rem; }
.w1f67-footer-links a { color: var(--w1f67-secondary); font-size: 1.3rem; }
.w1f67-footer-promo { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1.2rem; }
.w1f67-footer-promo .w1f67-btn { padding: 0.6rem 1rem; font-size: 1.3rem; }
.w1f67-footer-copy { font-size: 1.2rem; color: var(--w1f67-text-muted); border-top: 1px solid var(--w1f67-border); padding-top: 1rem; text-align: center; }

/* Bottom nav */
.w1f67-bnav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
  background: #14142b; border-top: 1px solid var(--w1f67-border);
  height: 6rem; display: flex; justify-content: space-around; align-items: center;
}
.w1f67-bnav-btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 60px; min-height: 60px; gap: 0.2rem; color: var(--w1f67-text-muted);
  font-size: 1.1rem; transition: color 0.15s, transform 0.15s;
}
.w1f67-bnav-btn .w1f67-icon { font-size: 2.4rem; }
.w1f67-bnav-btn:active { transform: scale(0.92); }
.w1f67-bnav-btn.w1f67-bnav-active { color: var(--w1f67-primary); }
.w1f67-bnav-badge {
  position: absolute; top: 0.4rem; right: 1rem; background: var(--w1f67-danger);
  color: #fff; font-size: 0.9rem; border-radius: 50%; width: 1.6rem; height: 1.6rem;
  display: flex; align-items: center; justify-content: center; font-weight: 700;
}

/* Desktop: hide bottom nav, show desktop nav */
@media (min-width: 769px) {
  .w1f67-bnav { display: none; }
  .w1f67-main, .w1f67-footer { padding-bottom: 0; }
  .w1f67-wrapper, .w1f67-container, .w1f67-header-inner, .w1f67-mobile-menu-inner, .w1f67-footer-inner { max-width: 900px; }
}
/* Mobile: bottom padding for nav clearance */
@media (max-width: 768px) {
  .w1f67-main { padding-bottom: 7rem; }
  .w1f67-footer { padding-bottom: 7rem; }
}
