/* tk971.homes - Core base stylesheet
   All custom classes use the "gb2a-" prefix.
   Mobile-first; root font-size 62.5% (1rem = 10px). */

:root {
  --gb2a-primary: #778899;
  --gb2a-light: #F8F8FF;
  --gb2a-secondary: #708090;
  --gb2a-gold: #BDB76B;
  --gb2a-soft: #F5F5F5;
  --gb2a-dark: #2D2D2D;
  --gb2a-bg: #2D2D2D;
  --gb2a-text: #F8F8FF;
  --gb2a-muted: #B0B5BD;
  --gb2a-accent: #BDB76B;
  --gb2a-radius: 10px;
  --gb2a-shadow: 0 2px 10px rgba(0,0,0,.35);
  --gb2a-header-h: 56px;
  --gb2a-bottomnav-h: 62px;
}

* { 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(--gb2a-bg);
  color: var(--gb2a-text);
  line-height: 1.5rem;
  font-size: 1.5rem;
  max-width: 430px;
  margin: 0 auto;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}

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

.gb2a-container { width: 100%; padding: 0 14px; }
.gb2a-wrapper { max-width: 430px; margin: 0 auto; padding: 0 14px; }

/* ---------- Header ---------- */
.gb2a-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  max-width: 430px; margin: 0 auto;
  height: var(--gb2a-header-h);
  background: linear-gradient(90deg,#2D2D2D,#3a3a3a);
  border-bottom: 2px solid var(--gb2a-gold);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 12px;
}
.gb2a-logo { display: flex; align-items: center; gap: 8px; color: var(--gb2a-light); font-weight: 700; font-size: 1.8rem; }
.gb2a-logo img { width: 28px; height: 28px; border-radius: 6px; }
.gb2a-logo .gb2a-logo-text { color: var(--gb2a-gold); }

.gb2a-header-actions { display: flex; align-items: center; gap: 8px; }
.gb2a-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px; border-radius: 20px; font-size: 1.3rem; font-weight: 600;
  border: none; cursor: pointer; min-height: 36px; line-height: 1;
  transition: transform .15s ease, filter .15s ease;
}
.gb2a-btn:active { transform: scale(.94); }
.gb2a-btn-register { background: linear-gradient(90deg,var(--gb2a-gold),#d9d28a); color: var(--gb2a-dark); }
.gb2a-btn-login { background: transparent; color: var(--gb2a-light); border: 1.5px solid var(--gb2a-gold); }

.gb2a-menu-btn {
  background: transparent; border: none; color: var(--gb2a-light);
  font-size: 2.2rem; cursor: pointer; padding: 4px 6px; min-width: 40px; min-height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
}

/* ---------- Nav menu (expandable) ---------- */
.gb2a-nav-menu {
  position: fixed; top: var(--gb2a-header-h); left: 0; right: 0; z-index: 9999;
  max-width: 430px; margin: 0 auto;
  background: #232323; border-bottom: 2px solid var(--gb2a-gold);
  max-height: 0; overflow: hidden; transition: max-height .28s ease;
}
.gb2a-nav-open { max-height: 420px; }
.gb2a-nav-menu ul { list-style: none; padding: 8px 14px; }
.gb2a-nav-menu li { border-bottom: 1px solid #3a3a3a; }
.gb2a-nav-menu li:last-child { border-bottom: none; }
.gb2a-nav-menu a {
  display: block; padding: 12px 4px; color: var(--gb2a-light); font-size: 1.5rem;
}
.gb2a-nav-menu a:active { color: var(--gb2a-gold); }

/* ---------- Main / hero ---------- */
main { padding-top: calc(var(--gb2a-header-h) + 10px); }
.gb2a-section { padding: 18px 0; }
.gb2a-section-title {
  font-size: 2rem; font-weight: 700; margin-bottom: 12px; color: var(--gb2a-gold);
  display: flex; align-items: center; gap: 8px;
}

/* Carousel */
.gb2a-carousel {
  position: relative; border-radius: var(--gb2a-radius); overflow: hidden;
  box-shadow: var(--gb2a-shadow); aspect-ratio: 16/9; background: #111;
}
.gb2a-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease;
  cursor: pointer;
}
.gb2a-slide-active { opacity: 1; }
.gb2a-slide img { width: 100%; height: 100%; object-fit: cover; }
.gb2a-slide-cap {
  position: absolute; left: 12px; bottom: 12px; right: 12px;
  background: rgba(0,0,0,.45); padding: 8px 10px; border-radius: 6px;
  font-size: 1.3rem; color: var(--gb2a-light);
}
.gb2a-dots { position: absolute; bottom: 6px; left: 0; right: 0; display: flex; justify-content: center; gap: 6px; }
.gb2a-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(248,248,255,.4); border: none; cursor: pointer; }
.gb2a-dot-active { background: var(--gb2a-gold); }

/* Filter chips */
.gb2a-chips { display: flex; gap: 8px; overflow-x: auto; padding: 8px 0 12px; }
.gb2a-chip {
  flex: 0 0 auto; padding: 6px 14px; border-radius: 16px; font-size: 1.3rem;
  background: #3a3a3a; color: var(--gb2a-light); border: 1px solid #4a4a4a; cursor: pointer;
  white-space: nowrap;
}
.gb2a-chip-active { background: var(--gb2a-gold); color: var(--gb2a-dark); border-color: var(--gb2a-gold); }

/* Game grid (compact small-icon layout) */
.gb2a-cat-head { font-size: 1.7rem; font-weight: 700; color: var(--gb2a-light); margin: 14px 0 8px; border-left: 4px solid var(--gb2a-gold); padding-left: 8px; }
.gb2a-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; }
.gb2a-card {
  background: #343434; border-radius: 8px; padding: 6px; text-align: center;
  transition: transform .15s ease; cursor: pointer; border: 1px solid #3f3f3f;
}
.gb2a-card:active { transform: scale(.95); }
.gb2a-card img { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: 6px; background: #222; }
.gb2a-card-name { font-size: 1.1rem; color: var(--gb2a-light); margin-top: 4px; line-height: 1.3; height: 2.6em; overflow: hidden; }

/* Info / feature blocks */
.gb2a-card-block {
  background: #333; border-radius: var(--gb2a-radius); padding: 14px; margin-bottom: 12px;
  border-left: 3px solid var(--gb2a-gold);
}
.gb2a-card-block h2 { font-size: 1.8rem; color: var(--gb2a-gold); margin-bottom: 8px; }
.gb2a-card-block h3 { font-size: 1.5rem; color: var(--gb2a-light); margin: 10px 0 6px; }
.gb2a-card-block p { font-size: 1.35rem; color: var(--gb2a-muted); margin-bottom: 8px; }
.gb2a-card-block ul { padding-left: 18px; color: var(--gb2a-muted); font-size: 1.3rem; }
.gb2a-card-block li { margin-bottom: 4px; }

/* Promo inline link */
.gb2a-promo-link {
  color: var(--gb2a-gold); font-weight: 700; cursor: pointer; text-decoration: underline;
}

/* CTA banner */
.gb2a-cta {
  background: linear-gradient(90deg,#3a3a3a,#2D2D2D);
  border: 1px solid var(--gb2a-gold); border-radius: var(--gb2a-radius);
  padding: 16px; text-align: center; margin: 14px 0;
}
.gb2a-cta h2 { color: var(--gb2a-gold); font-size: 2rem; margin-bottom: 8px; }
.gb2a-cta p { color: var(--gb2a-light); font-size: 1.35rem; margin-bottom: 12px; }
.gb2a-cta .gb2a-btn { font-size: 1.6rem; padding: 10px 22px; }

/* Testimonials / winners */
.gb2a-mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.gb2a-mini-item { background: #333; border-radius: 8px; padding: 10px; font-size: 1.25rem; color: var(--gb2a-light); }
.gb2a-mini-item span { color: var(--gb2a-gold); font-weight: 700; }

/* Payment row */
.gb2a-payrow { display: flex; flex-wrap: wrap; gap: 8px; }
.gb2a-payrow .gb2a-pay {
  background: #333; border-radius: 6px; padding: 6px 10px; font-size: 1.2rem; color: var(--gb2a-light);
  display: inline-flex; align-items: center; gap: 6px;
}

/* ---------- Footer ---------- */
.gb2a-footer {
  background: #1f1f1f; border-top: 2px solid var(--gb2a-gold);
  padding: 18px 14px 90px; color: var(--gb2a-muted); font-size: 1.25rem;
}
.gb2a-footer h3 { color: var(--gb2a-gold); font-size: 1.5rem; margin: 12px 0 6px; }
.gb2a-footer-links { display: flex; flex-wrap: wrap; gap: 8px 14px; }
.gb2a-footer-links a { color: var(--gb2a-light); font-size: 1.25rem; }
.gb2a-footer-promo { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; }
.gb2a-footer-copy { margin-top: 14px; color: #777; font-size: 1.15rem; text-align: center; }

/* ---------- Mobile bottom nav ---------- */
.gb2a-bottomnav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
  max-width: 430px; margin: 0 auto;
  height: var(--gb2a-bottomnav-h);
  background: #1c1c1c; border-top: 2px solid var(--gb2a-gold);
  display: flex; justify-content: space-around; align-items: stretch;
}
.gb2a-bottomnav-btn {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: transparent; border: none; color: var(--gb2a-muted); cursor: pointer;
  min-width: 60px; min-height: 60px; gap: 2px; text-decoration: none;
  transition: color .15s ease, transform .15s ease;
}
.gb2a-bottomnav-btn .gb2a-bn-icon { font-size: 22px; line-height: 1; }
.gb2a-bottomnav-btn .gb2a-bn-label { font-size: 1.05rem; line-height: 1.2; }
.gb2a-bottomnav-btn:active { transform: scale(.92); color: var(--gb2a-gold); }
.gb2a-bottomnav-active { color: var(--gb2a-gold); }

/* Hide bottom nav on desktop */
@media (min-width: 769px) {
  .gb2a-bottomnav { display: none; }
  body { max-width: 430px; }
}
/* Mobile bottom clearance */
@media (max-width: 768px) {
  main { padding-bottom: 80px; }
  .gb2a-footer { padding-bottom: 90px; }
}

/* Desktop header: keep within 430 max */
.gb2a-desktop-nav { display: none; }
@media (min-width: 769px) {
  .gb2a-desktop-nav { display: flex; gap: 14px; }
  .gb2a-desktop-nav a { color: var(--gb2a-light); font-size: 1.3rem; }
}

/* Utility */
.gb2a-text-gold { color: var(--gb2a-gold); }
.gb2a-mt { margin-top: 10px; }
.gb2a-hidden { display: none; }
