/* coldbet.homes - common CSS (prefix: wd81a-) */
/* Palette: #1A1A1A bg | #FFFACD light text | #CD853F gold accent | #FAFAD2 soft gold */

:root {
  --wd81a-bg: #1A1A1A;
  --wd81a-bg-2: #241f17;
  --wd81a-bg-3: #2e2618;
  --wd81a-text: #FFFACD;
  --wd81a-text-soft: #FAFAD2;
  --wd81a-muted: #cbb78a;
  --wd81a-primary: #CD853F;
  --wd81a-primary-2: #e0a35a;
  --wd81a-danger: #e2433b;
  --wd81a-success: #4caf50;
  --wd81a-border: rgba(205,133,63,0.28);
  --wd81a-shadow: 0 6px 22px rgba(0,0,0,0.45);
  --wd81a-radius: 12px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Hind Siliguri", "Noto Sans Bengali", "Segoe UI", Roboto, system-ui, sans-serif;
  background: var(--wd81a-bg);
  color: var(--wd81a-text);
  line-height: 1.55;
  font-size: 15px;
}
img { max-width: 100%; display: block; }
a { color: var(--wd81a-primary-2); text-decoration: none; }
a:hover { color: var(--wd81a-text); }

.wd81a-wrapper { max-width: 430px; margin: 0 auto; padding: 0 12px; position: relative; }

/* ===================== Header ===================== */
.wd81a-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: linear-gradient(180deg, #1f1a12, #1A1A1A);
  border-bottom: 1px solid var(--wd81a-border);
  box-shadow: var(--wd81a-shadow);
}
.wd81a-header-inner {
  max-width: 430px; margin: 0 auto; padding: 8px 12px;
  display: flex; align-items: center; gap: 8px;
}
.wd81a-logo { display: flex; align-items: center; gap: 8px; flex: 1; min-width: 0; }
.wd81a-logo img { width: 30px; height: 30px; border-radius: 6px; }
.wd81a-logo-text { font-weight: 800; font-size: 19px; color: var(--wd81a-primary); letter-spacing: .5px; }
.wd81a-logo-text span { color: var(--wd81a-text); }

.wd81a-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 5px;
  padding: 8px 14px; border-radius: 999px; border: 0; cursor: pointer;
  font-weight: 700; font-size: 13px; min-height: 36px; font-family: inherit;
  transition: transform .15s ease, box-shadow .15s ease;
}
.wd81a-btn:active { transform: scale(.96); }
.wd81a-btn-register { background: linear-gradient(135deg, #CD853F, #e0a35a); color: #1A1A1A; }
.wd81a-btn-login { background: transparent; color: var(--wd81a-text); border: 1px solid var(--wd81a-primary); }
.wd81a-menu-btn {
  background: transparent; border: 0; color: var(--wd81a-text); cursor: pointer;
  width: 38px; height: 38px; border-radius: 8px; font-size: 22px; display: flex; align-items: center; justify-content: center;
}
.wd81a-menu-btn.wd81a-active { background: rgba(205,133,63,0.15); }

/* Expandable menu */
.wd81a-mobile-menu {
  max-height: 0; overflow: hidden;
  background: #1f1a12; border-bottom: 1px solid var(--wd81a-border);
  transition: max-height .28s ease;
}
.wd81a-mobile-menu.wd81a-menu-open { max-height: 460px; }
.wd81a-menu-list { max-width: 430px; margin: 0 auto; padding: 6px 12px 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.wd81a-menu-list a {
  padding: 9px 10px; border-radius: 8px; background: rgba(205,133,63,0.08);
  color: var(--wd81a-text); font-size: 13px; border: 1px solid var(--wd81a-border);
  display: flex; align-items: center; gap: 6px;
}

/* ===================== Layout ===================== */
main { padding-top: 64px; padding-bottom: 24px; }
.wd81a-section { margin: 22px 0; }
.wd81a-section-title {
  display: flex; align-items: center; gap: 8px; margin: 0 0 12px;
  font-size: 18px; color: var(--wd81a-text); font-weight: 800;
}
.wd81a-section-title i { color: var(--wd81a-primary); }
.wd81a-section-title small { margin-left: auto; font-size: 11px; color: var(--wd81a-muted); font-weight: 500; }

.wd81a-h1 { font-size: 22px; font-weight: 900; line-height: 1.3; color: var(--wd81a-text); margin: 16px 0 8px; }
.wd81a-h1 b { color: var(--wd81a-primary); }
.wd81a-sub { color: var(--wd81a-muted); font-size: 13px; margin: 0 0 12px; }

/* ===================== Carousel ===================== */
.wd81a-carousel { position: relative; border-radius: var(--wd81a-radius); overflow: hidden; box-shadow: var(--wd81a-shadow); }
.wd81a-carousel-track { position: relative; }
.wd81a-carousel-slide {
  display: none; position: relative; cursor: pointer;
}
.wd81a-carousel-slide.wd81a-slide-active { display: block; }
.wd81a-carousel-slide img { width: 100%; height: 170px; object-fit: cover; }
.wd81a-carousel-cap {
  position: absolute; left: 12px; right: 12px; bottom: 12px;
  background: rgba(0,0,0,0.55); padding: 8px 10px; border-radius: 8px; backdrop-filter: blur(2px);
}
.wd81a-carousel-cap b { color: var(--wd81a-primary-2); }
.wd81a-carousel-dots { position: absolute; bottom: 6px; left: 0; right: 0; display: flex; justify-content: center; gap: 5px; }
.wd81a-carousel-dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,250,205,0.45); border: 0; cursor: pointer; padding: 0; }
.wd81a-carousel-dot.wd81a-dot-active { background: var(--wd81a-primary); width: 18px; border-radius: 4px; }

/* ===================== Game grid ===================== */
.wd81a-cat-head {
  display: flex; align-items: center; gap: 8px; margin: 18px 0 10px;
  font-size: 16px; font-weight: 800; color: var(--wd81a-text);
  border-left: 4px solid var(--wd81a-primary); padding-left: 8px;
}
.wd81a-cat-head .wd81a-cat-badge {
  margin-left: auto; background: rgba(205,133,63,0.18); color: var(--wd81a-primary-2);
  font-size: 11px; padding: 2px 8px; border-radius: 999px; font-weight: 700;
}
.wd81a-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.wd81a-card {
  background: var(--wd81a-bg-2); border: 1px solid var(--wd81a-border); border-radius: 10px;
  overflow: hidden; cursor: pointer; transition: transform .15s ease, border-color .15s ease;
}
.wd81a-card:active { transform: scale(.96); border-color: var(--wd81a-primary); }
.wd81a-card img { width: 100%; height: 88px; object-fit: cover; background: #15120c; }
.wd81a-card-name { padding: 5px 6px 6px; font-size: 11px; color: var(--wd81a-text-soft); text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 600; }

/* ===================== Info / features ===================== */
.wd81a-panel { background: var(--wd81a-bg-2); border: 1px solid var(--wd81a-border); border-radius: var(--wd81a-radius); padding: 14px; }
.wd81a-panel h2 { font-size: 17px; margin: 0 0 8px; color: var(--wd81a-text); }
.wd81a-panel h3 { font-size: 14px; margin: 12px 0 6px; color: var(--wd81a-primary-2); }
.wd81a-panel p { color: var(--wd81a-muted); font-size: 13px; margin: 0 0 8px; }
.wd81a-panel ul { margin: 0; padding-left: 18px; color: var(--wd81a-muted); font-size: 13px; }
.wd81a-panel li { margin-bottom: 5px; }

.wd81a-cta {
  display: block; text-align: center; padding: 13px; border-radius: 10px;
  background: linear-gradient(135deg, #CD853F, #e0a35a); color: #1A1A1A;
  font-weight: 900; font-size: 15px; margin: 14px 0; box-shadow: var(--wd81a-shadow);
}
.wd81a-inline-link { color: var(--wd81a-primary-2); font-weight: 700; }

/* Feature pills */
.wd81a-features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px; }
.wd81a-feature { background: var(--wd81a-bg-2); border: 1px solid var(--wd81a-border); border-radius: 10px; padding: 11px; }
.wd81a-feature i { color: var(--wd81a-primary); font-size: 20px; }
.wd81a-feature b { display: block; font-size: 13px; color: var(--wd81a-text); margin: 5px 0 2px; }
.wd81a-feature span { font-size: 11px; color: var(--wd81a-muted); }

/* Winners */
.wd81a-winners { background: var(--wd81a-bg-2); border: 1px solid var(--wd81a-border); border-radius: 10px; overflow: hidden; }
.wd81a-winner { display: flex; align-items: center; gap: 9px; padding: 8px 10px; border-bottom: 1px solid var(--wd81a-border); font-size: 12px; }
.wd81a-winner:last-child { border-bottom: 0; }
.wd81a-winner .wd81a-wname { flex: 1; color: var(--wd81a-text-soft); }
.wd81a-winner .wd81a-wamt { color: #ffd166; font-weight: 800; }

/* Payment */
.wd81a-pay { display: flex; flex-wrap: wrap; gap: 8px; }
.wd81a-pay span { background: var(--wd81a-bg-3); border: 1px solid var(--wd81a-border); color: var(--wd81a-text-soft); font-size: 12px; padding: 6px 10px; border-radius: 8px; }

/* Testimonials */
.wd81a-quote { background: var(--wd81a-bg-2); border-left: 3px solid var(--wd81a-primary); padding: 10px 12px; border-radius: 8px; margin-bottom: 9px; font-size: 13px; color: var(--wd81a-text-soft); }
.wd81a-quote b { display: block; color: var(--wd81a-primary-2); font-size: 12px; margin-top: 4px; }

/* RTP table */
.wd81a-table { width: 100%; border-collapse: collapse; font-size: 12px; background: var(--wd81a-bg-2); border-radius: 10px; overflow: hidden; }
.wd81a-table th, .wd81a-table td { padding: 7px 9px; text-align: left; border-bottom: 1px solid var(--wd81a-border); }
.wd81a-table th { background: var(--wd81a-bg-3); color: var(--wd81a-primary-2); font-weight: 700; }
.wd81a-table td { color: var(--wd81a-text-soft); }

/* Reveal animation */
.wd81a-reveal { opacity: 0; transform: translateY(12px); transition: opacity .45s ease, transform .45s ease; }
.wd81a-reveal.wd81a-revealed { opacity: 1; transform: none; }

/* ===================== Footer ===================== */
.wd81a-footer { background: #14110b; border-top: 1px solid var(--wd81a-border); margin-top: 22px; padding: 18px 0 8px; }
.wd81a-footer-inner { max-width: 430px; margin: 0 auto; padding: 0 12px; }
.wd81a-footer-brand { color: var(--wd81a-muted); font-size: 12px; line-height: 1.6; margin-bottom: 12px; }
.wd81a-footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px; margin-bottom: 12px; }
.wd81a-footer-links a { color: var(--wd81a-text-soft); font-size: 12px; }
.wd81a-footer-copy { color: #8a7a52; font-size: 11px; padding-top: 8px; border-top: 1px solid var(--wd81a-border); }

/* ===================== Bottom nav ===================== */
.wd81a-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
  background: linear-gradient(180deg, #1f1a12, #100d08);
  border-top: 1px solid var(--wd81a-border);
  display: flex; justify-content: space-around; align-items: stretch;
  height: 62px;
}
.wd81a-bottom-nav-btn {
  flex: 1; min-width: 60px; min-height: 60px;
  background: transparent; border: 0; color: var(--wd81a-muted);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  font-size: 10px; font-family: inherit; cursor: pointer; padding: 4px 2px;
  transition: color .15s ease, transform .15s ease;
}
.wd81a-bottom-nav-btn i, .wd81a-bottom-nav-btn .material-icons-outlined,
.wd81a-bottom-nav-btn ion-icon { font-size: 22px; }
.wd81a-bottom-nav-btn:active { transform: scale(.92); }
.wd81a-bottom-nav-btn.wd81a-nav-current { color: var(--wd81a-primary); }
.wd81a-bottom-nav-btn.wd81a-nav-promo { color: var(--wd81a-primary-2); }
.wd81a-bottom-nav-btn.wd81a-nav-promo ion-icon, .wd81a-bottom-nav-btn.wd81a-nav-promo i { color: var(--wd81a-primary-2); }

/* Mobile bottom padding so content isn't hidden */
@media (max-width: 768px) {
  main { padding-bottom: 84px; }
}

/* Desktop: hide bottom nav, widen shell */
@media (min-width: 769px) {
  .wd81a-bottom-nav { display: none; }
  .wd81a-wrapper { max-width: 430px; }
}
