/* =====================================================================
   7000bet apk - design.css
   All custom classes use the "waf30-" prefix.
   Palette: #8B4513 | #2D2D2D | #FDF5E6 | #A0522D
   Mobile-first; viewport capped at max-width: 430px for the app shell.
   ===================================================================== */

:root {
  --waf30-primary: #8B4513;
  --waf30-primary-dark: #6b3410;
  --waf30-bg: #2D2D2D;
  --waf30-bg-soft: #3a3331;
  --waf30-card: #4a3f39;
  --waf30-cream: #FDF5E6;
  --waf30-sienna: #A0522D;
  --waf30-gold: #d4a256;
  --waf30-text: #f7ede0;
  --waf30-muted: #c8b59f;
  --waf30-border: rgba(212, 162, 86, 0.22);
  --waf30-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
  --waf30-radius: 14px;
}

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

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

body {
  font-family: "Hind Siliguri", "Noto Sans Bengali", "Segoe UI", system-ui, sans-serif;
  background: var(--waf30-bg);
  color: var(--waf30-text);
  line-height: 1.6;
  font-size: 15px;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: var(--waf30-gold); text-decoration: none; }
a:hover { text-decoration: underline; }

/* App shell capped at mobile width */
.waf30-shell {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  background: var(--waf30-bg);
  min-height: 100vh;
  position: relative;
  box-shadow: var(--waf30-shadow);
  overflow: hidden;
}

/* ---------- Header ---------- */
.waf30-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  background: linear-gradient(135deg, var(--waf30-primary) 0%, var(--waf30-primary-dark) 100%);
  border-bottom: 2px solid var(--waf30-gold);
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.waf30-brand { display: flex; align-items: center; gap: 8px; min-width: 0; }
.waf30-brand img { width: 30px; height: 30px; border-radius: 6px; }
.waf30-brand-name {
  font-weight: 700; font-size: 16px; color: #fff;
  letter-spacing: 0.3px; white-space: nowrap;
}
.waf30-brand-name span { color: var(--waf30-gold); }

.waf30-header-actions { display: flex; align-items: center; gap: 6px; }

.waf30-btn {
  display: inline-flex; align-items: center; gap: 4px;
  border: none; cursor: pointer;
  font-weight: 700; font-size: 13px;
  padding: 7px 13px; border-radius: 22px;
  transition: transform .15s ease, filter .15s ease;
  font-family: inherit; white-space: nowrap;
}
.waf30-btn:hover { transform: translateY(-1px); filter: brightness(1.08); }
.waf30-btn-login { background: var(--waf30-cream); color: var(--waf30-primary-dark); }
.waf30-btn-register { background: linear-gradient(135deg, var(--waf30-gold), #b8801f); color: #2a1c0c; }
.waf30-btn-menu {
  background: rgba(255, 255, 255, 0.16); color: #fff;
  width: 36px; height: 36px; padding: 0; justify-content: center;
  border-radius: 50%;
}

/* ---------- Mobile menu (slide-down) ---------- */
.waf30-mobile-menu {
  position: fixed; top: 0; left: 0; right: 0;
  background: var(--waf30-bg-soft);
  border-bottom: 2px solid var(--waf30-gold);
  padding: 56px 16px 18px;
  transform: translateY(-100%);
  transition: transform .28s ease;
  z-index: 9999;
}
.waf30-mobile-menu.waf30-open { transform: translateY(0); }
.waf30-mobile-menu a {
  display: block; padding: 11px 8px;
  color: var(--waf30-cream); font-weight: 600;
  border-bottom: 1px solid var(--waf30-border);
}
.waf30-mobile-menu a:hover { color: var(--waf30-gold); text-decoration: none; }

/* ---------- Hero / carousel ---------- */
.waf30-hero {
  position: relative; overflow: hidden;
  border-radius: 0 0 22px 22px;
  background: linear-gradient(160deg, #3a2412 0%, #211511 100%);
  padding-bottom: 10px;
}
.waf30-slides { position: relative; }
.waf30-slide {
  display: none; position: relative; padding: 18px 16px 14px;
}
.waf30-slide.waf30-active { display: block; animation: waf30fade .5s ease; }
@keyframes waf30fade { from { opacity: 0; } to { opacity: 1; } }
.waf30-slide-tag {
  display: inline-block; background: var(--waf30-gold); color: #2a1c0c;
  font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 10px;
  margin-bottom: 8px;
}
.waf30-slide h2 { font-size: 20px; line-height: 1.3; margin-bottom: 6px; color: #fff; }
.waf30-slide p { font-size: 13px; color: var(--waf30-muted); margin-bottom: 12px; }
.waf30-cta {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--waf30-sienna); color: #fff;
  padding: 9px 18px; border-radius: 22px; font-weight: 700; font-size: 14px;
}
.waf30-dots { display: flex; gap: 6px; justify-content: center; padding: 4px 0 10px; }
.waf30-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.25); }
.waf30-dot.waf30-active { background: var(--waf30-gold); width: 20px; border-radius: 4px; }

/* ---------- Layout ---------- */
.waf30-main { padding: 0 12px 92px; }
.waf30-section { margin: 22px 0; }
.waf30-section-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 12px;
}
.waf30-section-head h2 { font-size: 18px; color: var(--waf30-gold); }
.waf30-section-head a { font-size: 12px; }
.waf30-intro { color: var(--waf30-muted); font-size: 14px; }

/* ---------- Category tabs ---------- */
.waf30-cats {
  display: flex; gap: 8px; overflow-x: auto;
  padding: 4px 0 12px; scrollbar-width: none;
}
.waf30-cats::-webkit-scrollbar { display: none; }
.waf30-cat-tab {
  flex: 0 0 auto; padding: 8px 14px;
  background: var(--waf30-card); color: var(--waf30-cream);
  border-radius: 20px; font-size: 13px; font-weight: 600;
  cursor: pointer; white-space: nowrap;
  border: 1px solid transparent; transition: all .18s ease;
}
.waf30-cat-tab.waf30-active {
  background: linear-gradient(135deg, var(--waf30-primary), var(--waf30-sienna));
  color: #fff; border-color: var(--waf30-gold);
}

/* ---------- Game grid ---------- */
.waf30-game-panel { display: none; }
.waf30-game-panel.waf30-active { display: block; }
.waf30-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
}
.waf30-card {
  background: var(--waf30-card); border-radius: 12px; overflow: hidden;
  border: 1px solid var(--waf30-border); position: relative;
  transition: transform .18s ease, box-shadow .18s ease;
}
.waf30-card:hover { transform: translateY(-2px); box-shadow: var(--waf30-shadow); }
.waf30-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.waf30-card-body { padding: 6px 8px 8px; }
.waf30-card-name { font-size: 11px; font-weight: 600; color: var(--waf30-cream); line-height: 1.3; }
.waf30-card-play {
  position: absolute; bottom: 30px; right: 6px;
  background: rgba(139, 69, 19, 0.92); color: #fff;
  font-size: 10px; font-weight: 700; padding: 3px 9px;
  border-radius: 12px; border: none; cursor: pointer;
}

/* ---------- Info / feature blocks ---------- */
.waf30-feature-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.waf30-feature {
  background: var(--waf30-card); border: 1px solid var(--waf30-border);
  border-radius: var(--waf30-radius); padding: 14px;
}
.waf30-feature .material-icons-outlined,
.waf30-feature .bi { font-size: 26px; color: var(--waf30-gold); }
.waf30-feature h3 { font-size: 14px; color: #fff; margin: 6px 0 4px; }
.waf30-feature p { font-size: 12px; color: var(--waf30-muted); }

.waf30-prose { background: var(--waf30-bg-soft); border: 1px solid var(--waf30-border); border-radius: var(--waf30-radius); padding: 16px; }
.waf30-prose h2 { font-size: 17px; color: var(--waf30-gold); margin-bottom: 8px; }
.waf30-prose h3 { font-size: 14px; color: #fff; margin: 12px 0 4px; }
.waf30-prose p { font-size: 13px; color: var(--waf30-muted); margin-bottom: 8px; }

.waf30-faq-item { border-bottom: 1px solid var(--waf30-border); padding: 10px 0; }
.waf30-faq-item h3 { font-size: 13px; color: var(--waf30-cream); margin-bottom: 4px; }
.waf30-faq-item p { font-size: 12px; color: var(--waf30-muted); }

.waf30-testimonial {
  background: var(--waf30-card); border-left: 3px solid var(--waf30-gold);
  border-radius: 10px; padding: 12px; margin-bottom: 10px;
}
.waf30-testimonial p { font-size: 13px; color: var(--waf30-cream); font-style: italic; }
.waf30-testimonial span { font-size: 11px; color: var(--waf30-gold); }

/* ---------- Winners ticker ---------- */
.waf30-ticker {
  background: rgba(212, 162, 86, 0.12); border: 1px solid var(--waf30-border);
  border-radius: 10px; padding: 8px 12px; display: flex; gap: 8px; align-items: center;
  font-size: 12px; color: var(--waf30-muted);
}
.waf30-ticker b { color: var(--waf30-gold); }

/* ---------- Footer ---------- */
.waf30-footer {
  background: var(--waf30-bg-soft); border-top: 2px solid var(--waf30-gold);
  padding: 22px 14px 26px; margin-top: 14px;
}
.waf30-footer h4 { color: var(--waf30-gold); font-size: 14px; margin-bottom: 8px; }
.waf30-footer p, .waf30-footer a { font-size: 12px; color: var(--waf30-muted); }
.waf30-footer-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-bottom: 12px; }
.waf30-footer ul { list-style: none; }
.waf30-footer li { margin-bottom: 6px; }
.waf30-footer-bottom { text-align: center; font-size: 11px; color: #7d6e5c; padding-top: 12px; border-top: 1px solid var(--waf30-border); }

/* ---------- Mobile bottom navigation ---------- */
.waf30-bnav {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 430px;
  background: linear-gradient(180deg, #3a2412, #241410);
  border-top: 2px solid var(--waf30-gold);
  display: flex; justify-content: space-around; align-items: center;
  height: 62px; z-index: 1000;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4);
}
.waf30-bnav-btn {
  flex: 1; min-width: 60px; min-height: 60px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px; background: none; border: none; cursor: pointer;
  color: var(--waf30-muted); font-size: 10px; font-family: inherit;
  transition: color .18s ease, transform .18s ease;
}
.waf30-bnav-btn i, .waf30-bnav-btn .material-icons-outlined,
.waf30-bnav-btn .bi { font-size: 22px; transition: transform .18s ease; }
.waf30-bnav-btn:hover { color: var(--waf30-gold); }
.waf30-bnav-btn:hover i, .waf30-bnav-btn:hover .material-icons-outlined,
.waf30-bnav-btn:hover .bi { transform: scale(1.15); }
.waf30-bnav-btn.waf30-current { color: var(--waf30-gold); }
.waf30-bnav-promo { color: #fff; }
.waf30-bnav-promo .waf30-bnav-icon {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--waf30-gold), var(--waf30-sienna));
  display: flex; align-items: center; justify-content: center;
  margin-top: -14px; box-shadow: 0 3px 10px rgba(0,0,0,.4);
}
.waf30-bnav-promo .waf30-bnav-icon i { font-size: 20px; color: #2a1c0c; }

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

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