/* ============================================================
 * tk6688.sbs - Shared stylesheet (class prefix: w437f-)
 * Mobile-first. Root font 62.5% (1rem = 10px). Container caps at 430px.
 * Palette: #2C3E50 | #BAFFC9 | #F08080 | #2F2F2F | #4A4A4A
 * ============================================================ */

:root {
  --w437f-primary: #2C3E50;
  --w437f-accent: #BAFFC9;
  --w437f-hot: #F08080;
  --w437f-bg: #2F2F2F;
  --w437f-surface: #4A4A4A;
  --w437f-text: #f4f6f8;
  --w437f-muted: #c9d1d8;
  --w437f-gold: #ffd479;
  --w437f-radius: 1.2rem;
  --w437f-shadow: 0 0.4rem 1.6rem rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; }

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

html, body {
  margin: 0;
  padding: 0;
  background: var(--w437f-bg);
  color: var(--w437f-text);
  font-family: "Hind Siliguri", "Noto Sans Bengali", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 1.5rem;
  line-height: 1.5rem;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--w437f-accent); text-decoration: none; }

.w437f-wrapper {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  position: relative;
  background: var(--w437f-bg);
}

.w437f-container {
  width: 100%;
  padding: 0 1.2rem;
}

/* ---------- Header ---------- */
.w437f-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(135deg, #1f2c3a 0%, #2C3E50 60%, #3a5169 100%);
  border-bottom: 0.2rem solid var(--w437f-accent);
  box-shadow: var(--w437f-shadow);
}

.w437f-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 0.6rem 1rem;
  min-height: 5.4rem;
}

.w437f-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 0;
}

.w437f-brand-logo {
  width: 3rem;
  height: 3rem;
  border-radius: 0.8rem;
  background: var(--w437f-accent);
  display: grid;
  place-items: center;
  color: var(--w437f-primary);
  font-weight: 800;
  font-size: 1.4rem;
  flex: 0 0 auto;
}

.w437f-brand-name {
  font-weight: 800;
  font-size: 1.9rem;
  letter-spacing: 0.04rem;
  color: #fff;
  white-space: nowrap;
}

.w437f-brand-name span { color: var(--w437f-hot); }

.w437f-header-actions { display: flex; align-items: center; gap: 0.5rem; }

.w437f-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 0;
  border-radius: 0.9rem;
  padding: 0.7rem 1.1rem;
  font-size: 1.35rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.12s ease, filter 0.12s ease;
  min-height: 3.6rem;
  color: #1d2933;
}

.w437f-btn:active { transform: scale(0.96); }

.w437f-btn-login {
  background: var(--w437f-accent);
  color: var(--w437f-primary);
}

.w437f-btn-register {
  background: var(--w437f-hot);
  color: #fff;
  box-shadow: 0 0.3rem 0.8rem rgba(240, 128, 128, 0.45);
}

.w437f-icon-btn {
  background: transparent;
  color: #fff;
  border: 0.1rem solid rgba(255, 255, 255, 0.25);
  border-radius: 0.8rem;
  width: 3.6rem;
  height: 3.6rem;
  font-size: 1.6rem;
  cursor: pointer;
}

/* ---------- Mobile slide-down menu ---------- */
.w437f-mobile-menu {
  max-height: 0;
  overflow: hidden;
  background: #22303f;
  transition: max-height 0.28s ease;
  border-top: 0.1rem solid rgba(186, 255, 201, 0.18);
}

.w437f-mobile-menu.w437f-menu-open { max-height: 50rem; }

.w437f-menu-list {
  list-style: none;
  margin: 0;
  padding: 0.4rem 1rem 0.8rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.w437f-menu-list a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 0.8rem;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 0.8rem;
  color: var(--w437f-text);
  font-size: 1.35rem;
  font-weight: 600;
}

.w437f-menu-list a:active { background: rgba(186, 255, 201, 0.18); }

.w437f-menu-list .material-icons,
.w437f-menu-list i { font-size: 1.7rem; color: var(--w437f-accent); }

/* ---------- Main ---------- */
.w437f-main { padding-bottom: 8rem; }

.w437f-section { padding: 1.8rem 0 0.6rem; }

.w437f-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.w437f-section-title {
  font-size: 1.7rem;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.w437f-section-title i,
.w437f-section-title .material-icons { color: var(--w437f-hot); font-size: 1.9rem; }

.w437f-link-more { font-size: 1.25rem; color: var(--w437f-accent); font-weight: 700; }

/* ---------- Hero carousel ---------- */
.w437f-carousel {
  position: relative;
  overflow: hidden;
  border-radius: var(--w437f-radius);
  margin: 1.2rem 0 0.4rem;
  box-shadow: var(--w437f-shadow);
}

.w437f-carousel-track {
  display: flex;
  transition: transform 0.5s ease;
  will-change: transform;
}

.w437f-carousel-slide {
  flex: 0 0 100%;
  position: relative;
}

.w437f-carousel-slide img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.w437f-carousel-cap {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  background: rgba(0, 0, 0, 0.55);
  padding: 0.5rem 0.9rem;
  border-radius: 0.8rem;
  font-weight: 700;
  font-size: 1.35rem;
  color: #fff;
}

.w437f-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.6rem 0;
}

.w437f-carousel-dot {
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: 0;
  cursor: pointer;
}

.w437f-carousel-dot.w437f-dot-active {
  background: var(--w437f-hot);
  width: 2rem;
  border-radius: 0.6rem;
}

/* ---------- Promo CTA banner ---------- */
.w437f-cta {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: linear-gradient(120deg, #F08080, #ffd479);
  color: #2C3E50;
  border-radius: var(--w437f-radius);
  padding: 1rem 1.2rem;
  margin: 1rem 0;
  font-weight: 800;
  box-shadow: var(--w437f-shadow);
}

.w437f-cta .material-icons { font-size: 2.2rem; }

/* ---------- Game grid ---------- */
.w437f-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
}

.w437f-card {
  background: var(--w437f-surface);
  border-radius: 0.9rem;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
  position: relative;
}

.w437f-card:active { transform: scale(0.96); }

.w437f-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #1f2730;
}

.w437f-card-name {
  padding: 0.4rem 0.5rem 0.55rem;
  font-size: 1.15rem;
  text-align: center;
  color: var(--w437f-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3rem;
}

.w437f-card-tag {
  position: absolute;
  top: 0.4rem;
  left: 0.4rem;
  background: var(--w437f-hot);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0.1rem 0.5rem;
  border-radius: 0.5rem;
}

.w437f-cat-label {
  display: inline-block;
  background: rgba(186, 255, 201, 0.16);
  color: var(--w437f-accent);
  font-size: 1.2rem;
  font-weight: 700;
  padding: 0.3rem 0.8rem;
  border-radius: 0.6rem;
  margin: 0.8rem 0 0.6rem;
}

/* ---------- Info / features cards ---------- */
.w437f-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.7rem;
}

.w437f-info-card {
  background: var(--w437f-surface);
  padding: 1rem;
  border-radius: 1rem;
  border-left: 0.3rem solid var(--w437f-accent);
}

.w437f-info-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.4rem;
  color: #fff;
}

.w437f-info-card p {
  margin: 0;
  font-size: 1.2rem;
  color: var(--w437f-muted);
  line-height: 1.7rem;
}

/* ---------- FAQ accordion ---------- */
.w437f-faq-item {
  background: var(--w437f-surface);
  border-radius: 0.8rem;
  margin-bottom: 0.6rem;
  overflow: hidden;
}

.w437f-faq-head {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  color: #fff;
  font-weight: 700;
  padding: 1rem;
  font-size: 1.35rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.w437f-faq-head i { color: var(--w437f-hot); transition: transform 0.2s; }

.w437f-faq-item.w437f-faq-open .w437f-faq-head i { transform: rotate(45deg); }

.w437f-faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
  padding: 0 1rem;
  color: var(--w437f-muted);
  font-size: 1.25rem;
}

.w437f-faq-item.w437f-faq-open .w437f-faq-body {
  max-height: 30rem;
  padding: 0 1rem 1rem;
}

/* ---------- Testimonials / winners ---------- */
.w437f-people {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
}

.w437f-person {
  background: var(--w437f-surface);
  padding: 0.8rem;
  border-radius: 0.8rem;
  font-size: 1.2rem;
}

.w437f-person b { color: var(--w437f-gold); display: block; margin-bottom: 0.3rem; }

/* ---------- Payment / app CTA ---------- */
.w437f-pay-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.6rem;
}

.w437f-pay-chip {
  background: var(--w437f-surface);
  padding: 0.5rem 0.9rem;
  border-radius: 0.7rem;
  font-size: 1.2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.w437f-app-cta {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: linear-gradient(120deg, var(--w437f-primary), #3a5169);
  border-radius: var(--w437f-radius);
  padding: 1rem;
  margin-top: 0.6rem;
}

.w437f-app-cta .material-icons { font-size: 2.6rem; color: var(--w437f-accent); }

/* ---------- Footer ---------- */
.w437f-footer {
  background: #1c2530;
  color: var(--w437f-muted);
  padding: 1.6rem 1.2rem 2.4rem;
  border-top: 0.2rem solid var(--w437f-accent);
}

.w437f-footer-brand {
  font-size: 1.3rem;
  line-height: 2rem;
  margin-bottom: 1rem;
}

.w437f-footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 0.8rem;
  margin-bottom: 1rem;
}

.w437f-footer-links a {
  color: var(--w437f-text);
  font-size: 1.2rem;
}

.w437f-footer-promo {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.6rem 0 1rem;
}

.w437f-footer-promo button {
  background: var(--w437f-hot);
  color: #fff;
  border: 0;
  border-radius: 0.7rem;
  padding: 0.6rem 0.9rem;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
}

.w437f-copyright {
  font-size: 1.1rem;
  color: #8a96a3;
  border-top: 0.1rem solid rgba(255, 255, 255, 0.08);
  padding-top: 0.8rem;
}

/* ---------- Mobile bottom navigation ---------- */
.w437f-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 6rem;
  background: linear-gradient(180deg, #2C3E50, #1c2530);
  border-top: 0.2rem solid var(--w437f-accent);
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  box-shadow: 0 -0.4rem 1rem rgba(0, 0, 0, 0.35);
}

.w437f-bnav-btn {
  flex: 1 1 0;
  min-width: 6rem;
  min-height: 6rem;
  background: transparent;
  border: 0;
  color: #cfd6df;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  font-size: 1.05rem;
  cursor: pointer;
  position: relative;
  padding: 0.3rem;
  transition: color 0.15s ease, transform 0.15s ease;
}

.w437f-bnav-btn:active { transform: scale(0.92); }

.w437f-bnav-btn .material-icons,
.w437f-bnav-btn i,
.w437f-bnav-btn ion-icon { font-size: 2.2rem; }

.w437f-bnav-btn .bi { font-size: 2rem; }

.w437f-bnav-active { color: var(--w437f-hot); }

.w437f-bnav-active::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2.6rem;
  height: 0.25rem;
  border-radius: 0 0 0.4rem 0.4rem;
  background: var(--w437f-hot);
}

.w437f-bnav-promo {
  color: var(--w437f-accent);
}

.w437f-bnav-badge {
  position: absolute;
  top: 0.5rem;
  right: 1.1rem;
  background: var(--w437f-hot);
  color: #fff;
  font-size: 0.9rem;
  border-radius: 0.8rem;
  padding: 0 0.35rem;
  line-height: 1.4rem;
  min-width: 1.4rem;
  text-align: center;
}

/* ---------- Toast ---------- */
.w437f-toast {
  position: fixed;
  left: 50%;
  bottom: 7.2rem;
  transform: translateX(-50%) translateY(1rem);
  background: rgba(44, 62, 80, 0.96);
  color: #fff;
  padding: 0.8rem 1.2rem;
  border-radius: 0.8rem;
  font-size: 1.25rem;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  border: 0.1rem solid var(--w437f-accent);
}

.w437f-toast.w437f-toast-show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ---------- Text utilities for SEO content ---------- */
.w437f-prose p {
  font-size: 1.3rem;
  line-height: 2.1rem;
  color: var(--w437f-muted);
  margin: 0 0 0.9rem;
}

.w437f-prose a { font-weight: 700; }

.w437f-kw-pill {
  display: inline-block;
  background: rgba(186, 255, 201, 0.12);
  color: var(--w437f-accent);
  border-radius: 0.6rem;
  padding: 0.2rem 0.6rem;
  font-size: 1.15rem;
  margin: 0.2rem 0.2rem 0.2rem 0;
}

/* ---------- Desktop ---------- */
@media (min-width: 769px) {
  .w437f-bottom-nav { display: none; }
  .w437f-wrapper { box-shadow: 0 0 2rem rgba(0, 0, 0, 0.3); }
  .w437f-main { padding-bottom: 2rem; }
  .w437f-grid { grid-template-columns: repeat(5, 1fr); }
  .w437f-info-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Mobile bottom padding clearance ---------- */
@media (max-width: 768px) {
  .w437f-main { padding-bottom: 8rem; }
}
