/* 299 bat - Base CSS (mobile-first) */
/* All custom classes use wd570- prefix */

:root {
  --wd570-bg: #0F0F23;
  --wd570-bg2: #161630;
  --wd570-bg3: #1f1f44;
  --wd570-primary: #FF69B4;
  --wd570-secondary: #A0522D;
  --wd570-accent: #6F4E37;
  --wd570-accent2: #8B7355;
  --wd570-text: #FFFFFF;
  --wd570-text-soft: #d8d8e8;
  --wd570-text-muted: #9b9bb5;
  --wd570-border: rgba(255,255,255,0.08);
  --wd570-gold: #FFD66B;
  --wd570-green: #3ec77a;
  --wd570-red: #ff5b6e;
  --wd570-radius: 14px;
  --wd570-radius-sm: 10px;
  --wd570-shadow: 0 6px 22px rgba(0,0,0,0.35);
  --wd570-header-h: 56px;
  --wd570-bottomnav-h: 60px;
  --wd570-max: 430px;
}

* { 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","Segoe UI",system-ui,-apple-system,sans-serif;
  background: var(--wd570-bg);
  color: var(--wd570-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  min-height: 100vh;
  overflow-x: hidden;
}

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

.wd570-wrapper {
  width: 100%;
  max-width: var(--wd570-max);
  margin: 0 auto;
  position: relative;
}

/* ===== Header ===== */
.wd570-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--wd570-header-h);
  background: linear-gradient(90deg, var(--wd570-bg) 0%, var(--wd570-bg2) 100%);
  border-bottom: 1px solid var(--wd570-border);
  z-index: 1000;
  display: flex;
  align-items: center;
}
.wd570-header-inner {
  width: 100%;
  max-width: var(--wd570-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.2rem;
  height: 100%;
}
.wd570-logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--wd570-text);
  font-weight: 700;
  font-size: 1.7rem;
}
.wd570-logo img {
  width: 30px; height: 30px;
  border-radius: 8px;
  object-fit: cover;
}
.wd570-logo .wd570-logo-text {
  background: linear-gradient(90deg, var(--wd570-primary), var(--wd570-gold));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.wd570-header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.wd570-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: none;
  border-radius: var(--wd570-radius-sm);
  font-weight: 700;
  font-size: 1.3rem;
  padding: 0.7rem 1.2rem;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, opacity .15s;
  min-height: 38px;
  line-height: 1;
}
.wd570-btn:active { transform: scale(0.94); }
.wd570-btn-login {
  background: transparent;
  color: var(--wd570-text);
  border: 1px solid var(--wd570-border);
}
.wd570-btn-register {
  background: linear-gradient(90deg, var(--wd570-primary), #ff8fc7);
  color: #fff;
  box-shadow: 0 4px 14px rgba(255,105,180,0.35);
}
.wd570-menu-btn {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--wd570-bg3);
  border: 1px solid var(--wd570-border);
  color: var(--wd570-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.6rem;
}

/* ===== Mobile Menu Drawer ===== */
.wd570-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease;
  z-index: 9998;
}
.wd570-menu-overlay.active { opacity: 1; visibility: visible; }
.wd570-mobile-menu {
  position: fixed;
  top: 0; right: -78%;
  width: 78%;
  max-width: 320px;
  height: 100vh;
  background: var(--wd570-bg2);
  z-index: 9999;
  transition: right .28s ease;
  display: flex;
  flex-direction: column;
  padding: 1.4rem;
  overflow-y: auto;
}
.wd570-mobile-menu.active { right: 0; }
.wd570-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.2rem;
}
.wd570-menu-head h3 { font-size: 1.8rem; color: var(--wd570-primary); }
.wd570-menu-close {
  width: 34px; height: 34px;
  border-radius: 8px;
  background: var(--wd570-bg3);
  border: 1px solid var(--wd570-border);
  color: var(--wd570-text);
  cursor: pointer;
  font-size: 1.6rem;
}
.wd570-menu-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1rem;
  border-radius: 10px;
  color: var(--wd570-text-soft);
  font-size: 1.45rem;
  border-bottom: 1px solid var(--wd570-border);
  transition: background .15s;
}
.wd570-menu-link:active, .wd570-menu-link:hover {
  background: var(--wd570-bg3);
  color: var(--wd570-primary);
}
.wd570-menu-link i { color: var(--wd570-primary); font-size: 1.6rem; }
.wd570-menu-cta {
  margin-top: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

/* ===== Layout ===== */
.wd570-main {
  padding-top: var(--wd570-header-h);
  width: 100%;
}
@media (max-width: 768px) {
  .wd570-main { padding-bottom: calc(var(--wd570-bottomnav-h) + 20px); }
}
.wd570-section {
  padding: 2rem 1.2rem;
}
.wd570-section-title {
  font-size: 1.9rem;
  font-weight: 800;
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--wd570-text);
}
.wd570-section-title i { color: var(--wd570-primary); }
.wd570-section-sub {
  font-size: 1.35rem;
  color: var(--wd570-text-muted);
  margin-bottom: 1.2rem;
}

/* ===== Hero / Carousel ===== */
.wd570-hero {
  position: relative;
  padding: 1.2rem;
}
.wd570-carousel {
  position: relative;
  border-radius: var(--wd570-radius);
  overflow: hidden;
  box-shadow: var(--wd570-shadow);
}
.wd570-carousel-track {
  display: flex;
  transition: transform .45s ease;
}
.wd570-carousel-slide {
  min-width: 100%;
  position: relative;
  cursor: pointer;
}
.wd570-carousel-slide img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}
.wd570-carousel-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1rem 1.2rem;
  background: linear-gradient(180deg, transparent, rgba(15,15,35,0.92));
  color: #fff;
}
.wd570-carousel-caption h2 {
  font-size: 1.7rem;
  font-weight: 800;
  margin-bottom: 0.3rem;
}
.wd570-carousel-caption p { font-size: 1.25rem; color: var(--wd570-text-soft); }
.wd570-carousel-dots {
  position: absolute;
  bottom: 0.8rem; right: 1rem;
  display: flex; gap: 0.4rem;
}
.wd570-carousel-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: background .2s, transform .2s;
}
.wd570-carousel-dot.active {
  background: var(--wd570-primary);
  transform: scale(1.3);
}

/* ===== H1 hero block ===== */
.wd570-h1-block {
  padding: 1.4rem 1.2rem 0.4rem;
  text-align: center;
}
.wd570-h1-block h1 {
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 1.3;
  background: linear-gradient(90deg, var(--wd570-primary), var(--wd570-gold));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.wd570-h1-block p {
  margin-top: 0.6rem;
  color: var(--wd570-text-muted);
  font-size: 1.3rem;
}

/* ===== Category tabs (visual only) ===== */
.wd570-cat-tabs {
  display: flex;
  gap: 0.6rem;
  padding: 0 1.2rem 1rem;
  overflow-x: auto;
  scrollbar-width: none;
}
.wd570-cat-tabs::-webkit-scrollbar { display: none; }
.wd570-cat-tab {
  flex: 0 0 auto;
  padding: 0.6rem 1.1rem;
  border-radius: 20px;
  background: var(--wd570-bg2);
  color: var(--wd570-text-soft);
  font-size: 1.25rem;
  font-weight: 600;
  border: 1px solid var(--wd570-border);
}
.wd570-cat-tab.active {
  background: linear-gradient(90deg, var(--wd570-primary), #ff8fc7);
  color: #fff;
  border-color: transparent;
}

/* ===== Game grid ===== */
.wd570-cat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 1.6rem 1.2rem 1rem;
}
.wd570-cat-head h2 {
  font-size: 1.7rem;
  font-weight: 800;
  display: flex; align-items: center; gap: 0.6rem;
}
.wd570-cat-head h2 i { color: var(--wd570-primary); }
.wd570-cat-head .wd570-cat-more {
  font-size: 1.2rem;
  color: var(--wd570-primary);
  font-weight: 700;
}
.wd570-game-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
  padding: 0 1.2rem;
}
@media (min-width: 460px) {
  .wd570-game-grid { grid-template-columns: repeat(4, 1fr); }
}
.wd570-game-card {
  background: var(--wd570-bg2);
  border: 1px solid var(--wd570-border);
  border-radius: var(--wd570-radius-sm);
  overflow: hidden;
  cursor: pointer;
  transition: transform .15s, border-color .15s;
  text-align: center;
}
.wd570-game-card:active { transform: scale(0.95); }
.wd570-game-card:hover { border-color: var(--wd570-primary); }
.wd570-game-card-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #000;
}
.wd570-game-card-name {
  font-size: 1.1rem;
  padding: 0.5rem 0.4rem;
  color: var(--wd570-text-soft);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 600;
}

/* ===== Promo / CTA banner ===== */
.wd570-cta-banner {
  margin: 1.4rem 1.2rem;
  padding: 1.4rem;
  border-radius: var(--wd570-radius);
  background: linear-gradient(135deg, var(--wd570-primary), var(--wd570-secondary));
  color: #fff;
  text-align: center;
  box-shadow: 0 8px 22px rgba(255,105,180,0.3);
}
.wd570-cta-banner h3 { font-size: 1.7rem; font-weight: 800; margin-bottom: 0.4rem; }
.wd570-cta-banner p { font-size: 1.25rem; margin-bottom: 1rem; opacity: 0.95; }
.wd570-cta-btn {
  display: inline-block;
  background: #fff;
  color: var(--wd570-secondary);
  padding: 0.8rem 2rem;
  border-radius: 30px;
  font-weight: 800;
  font-size: 1.35rem;
}

/* ===== Feature / Info cards ===== */
.wd570-info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  padding: 0 1.2rem;
}
@media (min-width: 460px) { .wd570-info-grid { grid-template-columns: 1fr 1fr; } }
.wd570-info-card {
  background: var(--wd570-bg2);
  border: 1px solid var(--wd570-border);
  border-radius: var(--wd570-radius);
  padding: 1.4rem;
}
.wd570-info-card h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.6rem;
  display: flex; align-items: center; gap: 0.5rem;
}
.wd570-info-card h3 i { color: var(--wd570-primary); }
.wd570-info-card p { font-size: 1.25rem; color: var(--wd570-text-soft); line-height: 1.6; }
.wd570-info-card ul { list-style: none; margin-top: 0.6rem; }
.wd570-info-card li {
  padding: 0.4rem 0;
  font-size: 1.2rem;
  color: var(--wd570-text-soft);
  display: flex; align-items: flex-start; gap: 0.5rem;
}
.wd570-info-card li i { color: var(--wd570-green); margin-top: 0.3rem; }

/* ===== RTP compact table ===== */
.wd570-rpt-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.2rem;
  margin-top: 0.8rem;
}
.wd570-rpt-table th, .wd570-rpt-table td {
  padding: 0.7rem 0.6rem;
  text-align: left;
  border-bottom: 1px solid var(--wd570-border);
}
.wd570-rpt-table th { color: var(--wd570-primary); font-weight: 700; }
.wd570-rpt-table td { color: var(--wd570-text-soft); }
.wd570-rpt-table .wd570-rpt-val { color: var(--wd570-green); font-weight: 700; }

/* ===== Testimonials ===== */
.wd570-testimonials {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
  padding: 0 1.2rem;
}
.wd570-testimonial {
  background: var(--wd570-bg2);
  border-left: 3px solid var(--wd570-primary);
  border-radius: 10px;
  padding: 1.1rem 1.2rem;
}
.wd570-testimonial p { font-size: 1.25rem; color: var(--wd570-text-soft); font-style: italic; }
.wd570-testimonial .wd570-testi-author {
  margin-top: 0.5rem;
  font-size: 1.15rem;
  color: var(--wd570-gold);
  font-weight: 700;
}

/* ===== Winners ===== */
.wd570-winners {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
  padding: 0 1.2rem;
}
.wd570-winner {
  background: var(--wd570-bg2);
  border: 1px solid var(--wd570-border);
  border-radius: 10px;
  padding: 0.8rem;
  font-size: 1.15rem;
}
.wd570-winner strong { color: var(--wd570-gold); display: block; font-size: 1.3rem; }
.wd570-winner span { color: var(--wd570-text-muted); }

/* ===== Payment methods ===== */
.wd570-pay-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  padding: 0 1.2rem;
}
.wd570-pay-item {
  background: var(--wd570-bg2);
  border: 1px solid var(--wd570-border);
  border-radius: 10px;
  padding: 0.7rem 1rem;
  font-size: 1.2rem;
  color: var(--wd570-text-soft);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.wd570-pay-item i { color: var(--wd570-primary); }

/* ===== App download CTA ===== */
.wd570-app-cta {
  margin: 1.4rem 1.2rem;
  padding: 1.5rem;
  border-radius: var(--wd570-radius);
  background: linear-gradient(135deg, var(--wd570-accent), var(--wd570-secondary));
  text-align: center;
}
.wd570-app-cta h3 { font-size: 1.7rem; font-weight: 800; margin-bottom: 0.4rem; color:#fff; }
.wd570-app-cta p { font-size: 1.25rem; color: #f3e9e2; margin-bottom: 1rem; }
.wd570-app-cta .wd570-cta-btn { color: var(--wd570-accent); }

/* ===== Inline promo text link ===== */
.wd570-promo-link {
  color: var(--wd570-primary);
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
}
.wd570-promo-link:hover { color: var(--wd570-gold); }

/* ===== Footer ===== */
.wd570-footer {
  background: var(--wd570-bg2);
  border-top: 1px solid var(--wd570-border);
  padding: 2rem 1.2rem 1.4rem;
  margin-top: 1.4rem;
}
.wd570-footer-brand {
  font-size: 1.25rem;
  color: var(--wd570-text-soft);
  line-height: 1.6;
  margin-bottom: 1rem;
}
.wd570-footer-brand strong { color: var(--wd570-primary); }
.wd570-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin-bottom: 1rem;
}
.wd570-footer-links a {
  color: var(--wd570-text-soft);
  font-size: 1.15rem;
  text-decoration: underline;
}
.wd570-footer-links a:hover { color: var(--wd570-primary); }
.wd570-footer-promo {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.8rem 0;
}
.wd570-footer-promo button {
  background: var(--wd570-bg3);
  color: var(--wd570-text);
  border: 1px solid var(--wd570-primary);
  border-radius: 20px;
  padding: 0.5rem 0.9rem;
  font-size: 1.15rem;
  font-weight: 700;
  cursor: pointer;
}
.wd570-footer-copy {
  font-size: 1.1rem;
  color: var(--wd570-text-muted);
  text-align: center;
  border-top: 1px solid var(--wd570-border);
  padding-top: 0.9rem;
}

/* ===== Mobile Bottom Nav ===== */
.wd570-bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: var(--wd570-bottomnav-h);
  background: linear-gradient(180deg, var(--wd570-bg2), var(--wd570-bg));
  border-top: 1px solid var(--wd570-border);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 -4px 18px rgba(0,0,0,0.4);
}
.wd570-bottom-nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  background: none;
  border: none;
  color: var(--wd570-text-muted);
  font-size: 1.05rem;
  cursor: pointer;
  min-width: 60px;
  min-height: 60px;
  transition: color .2s, transform .15s;
}
.wd570-bottom-nav-item i { font-size: 22px; }
.wd570-bottom-nav-item span { font-size: 1.05rem; font-weight: 600; }
.wd570-bottom-nav-item:active { transform: scale(0.9); }
.wd570-bottom-nav-item.active { color: var(--wd570-primary); }
.wd570-bottom-nav-item.active i { color: var(--wd570-primary); }
.wd570-bottom-nav-badge {
  position: absolute;
  top: 6px; right: 18%;
  background: var(--wd570-red);
  color: #fff;
  font-size: 0.9rem;
  padding: 0 0.4rem;
  border-radius: 10px;
  font-weight: 700;
}
@media (min-width: 769px) {
  .wd570-bottom-nav { display: none; }
  .wd570-main { padding-bottom: 0; }
}

/* ===== Utility ===== */
.wd570-container { width:100%; max-width: var(--wd570-max); margin: 0 auto; padding: 0 1.2rem; }
.wd570-text-center { text-align: center; }
.wd570-mt-1 { margin-top: 1rem; }
.wd570-mt-2 { margin-top: 2rem; }
.wd570-hide-desktop { display: block; }
@media (min-width: 769px) { .wd570-hide-desktop { display: none; } }

/* Desktop refinement */
@media (min-width: 769px) {
  body { background: #0a0a18; }
  .wd570-wrapper { box-shadow: 0 0 40px rgba(0,0,0,0.4); }
}
