/*!
 * v8k.click - style-2c78.css
 * Mobile-first stylesheet for the bn-BD entertainment platform.
 * Palette: #CD853F (Peru) | #CD5C5C (Indian Red) | #2E4057 (deep slate).
 * All custom classes use the `g789-` prefix.
 */

:root {
  --g789-primary: #CD853F;
  --g789-accent: #CD5C5C;
  --g789-bg: #2E4057;
  --g789-bg-deep: #243345;
  --g789-bg-soft: #355068;
  --g789-text: #F5EDDD;
  --g789-text-muted: #C8BFA9;
  --g789-card: #3a5470;
  --g789-border: rgba(205, 133, 63, 0.35);
  --g789-shadow: 0 6px 20px rgba(0, 0, 0, 0.28);
  --g789-radius: 14px;
  --g789-header-h: 56px;
  --g789-nav-h: 60px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--g789-bg);
  color: var(--g789-text);
  font-family: "Hind Siliguri", "Noto Sans Bengali", "SolaimanLipi", system-ui, sans-serif;
  font-size: 1.6rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--g789-primary); text-decoration: none; }
a:hover, a:focus { color: var(--g789-accent); }

/* ============ Layout ============ */
.g789-wrapper {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 14px;
}

.g789-container {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
}

main { padding-bottom: 84px; }

/* ============ Header ============ */
.g789-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--g789-header-h);
  background: linear-gradient(90deg, var(--g789-bg-deep), var(--g789-bg-soft));
  border-bottom: 2px solid var(--g789-primary);
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.g789-header-inner {
  max-width: 430px;
  height: 100%;
  margin: 0 auto;
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.g789-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--g789-text);
  font-weight: 700;
  font-size: 1.8rem;
}

.g789-brand img { width: 28px; height: 28px; border-radius: 6px; }
.g789-brand .g789-brand-name b { color: var(--g789-primary); }

.g789-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.g789-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 36px;
  padding: 0 14px;
  border: none;
  border-radius: 20px;
  font-size: 1.4rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
  font-family: inherit;
}
.g789-btn:active { transform: scale(0.95); }

.g789-btn-primary {
  background: linear-gradient(135deg, var(--g789-primary), #e6a45a);
  color: #2a1d0c;
  box-shadow: 0 3px 8px rgba(205, 133, 63, 0.45);
}
.g789-btn-secondary {
  background: linear-gradient(135deg, var(--g789-accent), #e57b7b);
  color: #fff;
  box-shadow: 0 3px 8px rgba(205, 92, 92, 0.45);
}
.g789-btn-ghost {
  background: transparent;
  border: 1px solid var(--g789-border);
  color: var(--g789-text);
}

.g789-menu-btn {
  background: transparent;
  border: 0;
  color: var(--g789-text);
  font-size: 2.2rem;
  padding: 4px 8px;
  cursor: pointer;
}

/* ============ Nav drawer ============ */
.g789-nav-drawer {
  position: fixed;
  top: var(--g789-header-h);
  left: 0; right: 0;
  max-height: 0;
  overflow: hidden;
  background: var(--g789-bg-deep);
  border-bottom: 1px solid var(--g789-border);
  transition: max-height .3s ease;
  z-index: 999;
}
.g789-nav-drawer.g789-nav-open { max-height: 420px; }

.g789-nav-list {
  list-style: none;
  margin: 0;
  padding: 8px 16px;
  max-width: 430px;
  margin: 0 auto;
}
.g789-nav-list li { border-bottom: 1px solid rgba(205,133,63,0.15); }
.g789-nav-list li:last-child { border-bottom: 0; }
.g789-nav-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 6px;
  color: var(--g789-text);
  font-size: 1.5rem;
  font-weight: 600;
}
.g789-nav-list a i { color: var(--g789-primary); width: 22px; text-align: center; }

/* ============ Hero carousel ============ */
.g789-hero {
  margin-top: var(--g789-header-h);
  position: relative;
  overflow: hidden;
  border-bottom: 2px solid var(--g789-primary);
}
.g789-hero-track {
  display: flex;
  transition: transform .5s ease;
}
.g789-hero-slide {
  min-width: 100%;
  position: relative;
}
.g789-hero-slide img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.g789-hero-cap {
  position: absolute;
  left: 14px; right: 14px; bottom: 14px;
  background: rgba(46,64,87,0.78);
  border-left: 4px solid var(--g789-primary);
  padding: 10px 12px;
  border-radius: 10px;
}
.g789-hero-cap h2 { margin: 0 0 4px; font-size: 1.7rem; color: var(--g789-primary); }
.g789-hero-cap p { margin: 0; font-size: 1.3rem; color: var(--g789-text); }

.g789-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 8px 0;
  background: var(--g789-bg-deep);
}
.g789-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: rgba(245,237,221,0.35);
  border: 0; cursor: pointer;
}
.g789-dot.g789-dot-active { background: var(--g789-primary); }

/* ============ Sections ============ */
.g789-section {
  padding: 20px 0 8px;
}
.g789-section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--g789-text);
}
.g789-section-title i { color: var(--g789-accent); }
.g789-section-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--g789-border);
}

.g789-card {
  background: var(--g789-card);
  border: 1px solid var(--g789-border);
  border-radius: var(--g789-radius);
  padding: 14px;
  box-shadow: var(--g789-shadow);
  margin-bottom: 12px;
}

.g789-card h3 {
  margin: 0 0 8px;
  font-size: 1.6rem;
  color: var(--g789-primary);
}

.g789-card p {
  margin: 0 0 8px;
  font-size: 1.45rem;
  color: var(--g789-text-muted);
  line-height: 1.55;
}

/* ============ Filter chips ============ */
.g789-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}
.g789-filter-chip {
  padding: 6px 12px;
  border-radius: 16px;
  background: var(--g789-bg-soft);
  border: 1px solid var(--g789-border);
  color: var(--g789-text);
  font-size: 1.3rem;
  cursor: pointer;
  font-family: inherit;
}
.g789-filter-chip.g789-filter-active {
  background: var(--g789-primary);
  color: #2a1d0c;
  font-weight: 700;
}

/* ============ Game grid ============ */
.g789-cat-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 18px 0 10px;
  font-size: 1.7rem;
  color: var(--g789-accent);
  font-weight: 700;
}
.g789-cat-head i { color: var(--g789-primary); }

.g789-game-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.g789-game-card {
  display: block;
  background: var(--g789-bg-deep);
  border: 1px solid var(--g789-border);
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  padding: 8px 6px;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}
.g789-game-card:hover, .g789-game-card:active {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(205,92,92,0.35);
  border-color: var(--g789-primary);
}
.g789-game-thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 6px;
}
.g789-game-name {
  font-size: 1.25rem;
  color: var(--g789-text);
  line-height: 1.25;
  min-height: 32px;
  overflow: hidden;
}

/* ============ Info / features list ============ */
.g789-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.g789-feature {
  background: var(--g789-bg-soft);
  border-radius: 12px;
  padding: 12px;
  text-align: center;
  border: 1px solid var(--g789-border);
}
.g789-feature i {
  font-size: 2.4rem;
  color: var(--g789-primary);
  margin-bottom: 6px;
}
.g789-feature h4 { margin: 0 0 4px; font-size: 1.4rem; color: var(--g789-text); }
.g789-feature p { margin: 0; font-size: 1.25rem; color: var(--g789-text-muted); }

/* ============ Promo banner CTA ============ */
.g789-cta {
  background: linear-gradient(135deg, var(--g789-accent), var(--g789-primary));
  border-radius: var(--g789-radius);
  padding: 18px 14px;
  text-align: center;
  color: #fff;
  margin: 14px 0;
  box-shadow: var(--g789-shadow);
}
.g789-cta h3 { margin: 0 0 6px; font-size: 1.8rem; }
.g789-cta p { margin: 0 0 10px; font-size: 1.35rem; opacity: .92; }
.g789-cta .g789-btn {
  background: #fff;
  color: var(--g789-accent);
}

/* ============ Testimonial ============ */
.g789-testimonial {
  background: var(--g789-card);
  border-left: 4px solid var(--g789-accent);
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 10px;
}
.g789-testimonial p { margin: 0 0 6px; font-size: 1.4rem; color: var(--g789-text); }
.g789-testimonial cite { color: var(--g789-primary); font-style: normal; font-size: 1.25rem; font-weight: 700; }

/* ============ Payment chips ============ */
.g789-pay-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.g789-pay-chip {
  background: var(--g789-bg-soft);
  border: 1px solid var(--g789-border);
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 1.3rem;
  color: var(--g789-text);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.g789-pay-chip i { color: var(--g789-primary); }

/* ============ RTP table ============ */
.g789-rtp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.3rem;
}
.g789-rtp-table th, .g789-rtp-table td {
  padding: 8px 6px;
  text-align: left;
  border-bottom: 1px solid var(--g789-border);
}
.g789-rtp-table th { color: var(--g789-primary); }
.g789-rtp-table td:last-child { color: var(--g789-accent); font-weight: 700; }

/* ============ Footer ============ */
.g789-footer {
  background: var(--g789-bg-deep);
  border-top: 2px solid var(--g789-primary);
  padding: 22px 14px 16px;
  margin-top: 18px;
}
.g789-footer-inner { max-width: 430px; margin: 0 auto; }
.g789-footer h4 { color: var(--g789-primary); font-size: 1.5rem; margin: 12px 0 8px; }
.g789-footer p { color: var(--g789-text-muted); font-size: 1.3rem; line-height: 1.55; margin: 0 0 8px; }
.g789-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 12px;
}
.g789-footer-links a {
  background: var(--g789-bg-soft);
  border: 1px solid var(--g789-border);
  border-radius: 14px;
  padding: 6px 12px;
  font-size: 1.25rem;
  color: var(--g789-text);
}
.g789-footer-links a:hover { color: var(--g789-primary); border-color: var(--g789-primary); }
.g789-footer-promos {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 14px;
}
.g789-copy { font-size: 1.2rem; color: var(--g789-text-muted); text-align: center; padding-top: 10px; border-top: 1px solid rgba(205,133,63,0.18); }

/* ============ Back to top ============ */
.g789-top-btn {
  position: fixed;
  right: 14px;
  bottom: calc(var(--g789-nav-h) + 14px);
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--g789-primary);
  color: #2a1d0c;
  border: 0;
  font-size: 1.8rem;
  cursor: pointer;
  opacity: 0;
  transition: opacity .3s ease, transform .15s ease;
  z-index: 998;
}
.g789-top-btn:active { transform: scale(0.9); }

/* ============ Mobile bottom navigation ============ */
.g789-bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: var(--g789-nav-h);
  background: linear-gradient(180deg, var(--g789-bg-soft), var(--g789-bg-deep));
  border-top: 2px solid var(--g789-primary);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.35);
}
.g789-bottom-nav .g789-nav-btn {
  flex: 1;
  min-width: 60px;
  min-height: var(--g789-nav-h);
  background: transparent;
  border: 0;
  color: var(--g789-text-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  cursor: pointer;
  font-family: inherit;
  position: relative;
  font-size: 1.1rem;
}
.g789-bottom-nav .g789-nav-btn i { font-size: 2.2rem; }
.g789-bottom-nav .g789-nav-btn .material-icons,
.g789-bottom-nav .g789-nav-btn .bi { font-size: 2.2rem; }
.g789-bottom-nav .g789-nav-btn.is-active { color: var(--g789-primary); }
.g789-bottom-nav .g789-nav-btn.is-active::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 34px; height: 3px;
  background: var(--g789-primary);
  border-radius: 0 0 4px 4px;
}
.g789-bottom-nav .g789-nav-btn:active { color: var(--g789-accent); transform: scale(0.92); }

/* ============ Desktop rules ============ */
@media (min-width: 769px) {
  .g789-bottom-nav { display: none; }
  main { padding-bottom: 20px; }
}
