/* abc7 layout - prefix: w2305- */
/* Palette: #F8F9FA | #1C2833 | #9966CC | #9400D3 */

:root {
  --w2305-bg: #1C2833;
  --w2305-bg2: #161f29;
  --w2305-bg3: #232f3f;
  --w2305-text: #F8F9FA;
  --w2305-muted: #AEB6C2;
  --w2305-primary: #9966CC;
  --w2305-accent: #9400D3;
  --w2305-gold: #F2C14E;
  --w2305-card: #202c3b;
  --w2305-border: #2f3b4d;
  --w2305-radius: 12px;
}

* { 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, sans-serif;
  background: var(--w2305-bg);
  color: var(--w2305-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  max-width: 430px;
  margin: 0 auto;
  overflow-x: hidden;
}

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

/* ===== Header ===== */
.w2305-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  max-width: 430px;
  margin: 0 auto;
  background: linear-gradient(135deg, var(--w2305-bg2), var(--w2305-bg3));
  border-bottom: 1px solid var(--w2305-border);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 1rem;
  height: 56px;
}
.w2305-logo { display: flex; align-items: center; gap: 0.6rem; }
.w2305-logo img { width: 28px; height: 28px; border-radius: 6px; }
.w2305-logo-text { font-size: 1.6rem; font-weight: 700; color: var(--w2305-text); letter-spacing: 0.5px; }
.w2305-logo-text span { color: var(--w2305-accent); }

.w2305-header-actions { display: flex; align-items: center; gap: 0.5rem; }
.w2305-btn {
  border: none;
  border-radius: 20px;
  padding: 0.6rem 1.2rem;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.w2305-btn:active { transform: scale(0.94); }
.w2305-btn-login { background: transparent; color: var(--w2305-text); border: 1px solid var(--w2305-primary); }
.w2305-btn-register { background: linear-gradient(135deg, var(--w2305-accent), var(--w2305-primary)); color: #fff; box-shadow: 0 2px 8px rgba(148,0,211,0.35); }

.w2305-menu-toggle {
  background: transparent;
  border: none;
  color: var(--w2305-text);
  font-size: 2rem;
  cursor: pointer;
  padding: 0 0.4rem;
  line-height: 1;
}

/* ===== Mobile menu drawer ===== */
.w2305-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.w2305-menu-overlay.w2305-menu-open { opacity: 1; pointer-events: auto; }
.w2305-mobile-menu {
  position: fixed;
  top: 0; right: -80%;
  width: 80%;
  max-width: 320px;
  height: 100%;
  background: var(--w2305-bg2);
  z-index: 9999;
  padding: 1.5rem 1.2rem;
  transition: right 0.28s ease;
  overflow-y: auto;
}
.w2305-mobile-menu.w2305-menu-open { right: 0; }
.w2305-mobile-menu h3 { font-size: 1.3rem; color: var(--w2305-muted); margin: 1rem 0 0.5rem; text-transform: uppercase; letter-spacing: 1px; }
.w2305-mobile-menu a {
  display: block;
  padding: 0.9rem 0.6rem;
  color: var(--w2305-text);
  border-bottom: 1px solid var(--w2305-border);
  font-size: 1.35rem;
}
.w2305-mobile-menu a:active { background: var(--w2305-bg3); }
.w2305-menu-close {
  background: transparent; border: none; color: var(--w2305-text);
  font-size: 2rem; float: right; cursor: pointer; line-height: 1;
}

/* ===== Main content ===== */
.w2305-main { padding-top: 56px; padding-bottom: 80px; }

/* ===== Carousel ===== */
.w2305-carousel {
  position: relative;
  width: 100%;
  height: 180px;
  overflow: hidden;
  border-radius: 0 0 14px 14px;
}
.w2305-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
  cursor: pointer;
}
.w2305-slide.w2305-active { opacity: 1; }
.w2305-slide img { width: 100%; height: 100%; object-fit: cover; }
.w2305-slide-overlay {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  color: #fff;
}
.w2305-slide-overlay h2 { font-size: 1.6rem; margin-bottom: 0.3rem; }
.w2305-slide-overlay p { font-size: 1.2rem; color: #eee; }
.w2305-dots { position: absolute; bottom: 8px; left: 0; right: 0; display: flex; justify-content: center; gap: 6px; z-index: 5; }
.w2305-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.5); cursor: pointer; }
.w2305-dot.w2305-active { background: var(--w2305-accent); }

/* ===== Sections ===== */
.w2305-section { padding: 1.4rem 1rem; }
.w2305-section-title {
  font-size: 1.7rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  color: var(--w2305-text);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.w2305-section-title::before {
  content: "";
  display: inline-block;
  width: 4px; height: 18px;
  background: var(--w2305-accent);
  border-radius: 2px;
}
.w2305-h1 {
  font-size: 2rem;
  line-height: 1.3;
  padding: 1rem;
  background: linear-gradient(135deg, var(--w2305-bg3), var(--w2305-bg2));
  border-left: 3px solid var(--w2305-accent);
  margin: 1rem;
  border-radius: 6px;
}

/* ===== Game grid ===== */
.w2305-cat-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 1.2rem 0 0.6rem;
  color: var(--w2305-gold);
  display: flex; align-items: center; gap: 0.4rem;
}
.w2305-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
}
.w2305-game {
  background: var(--w2305-card);
  border: 1px solid var(--w2305-border);
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease;
  display: block;
}
.w2305-game:active { transform: scale(0.96); border-color: var(--w2305-accent); }
.w2305-game img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.w2305-game-name {
  font-size: 1.1rem;
  padding: 0.4rem 0.3rem;
  text-align: center;
  color: var(--w2305-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ===== Cards ===== */
.w2305-card {
  background: var(--w2305-card);
  border: 1px solid var(--w2305-border);
  border-radius: var(--w2305-radius);
  padding: 1rem;
  margin-bottom: 0.8rem;
}
.w2305-card h3 { font-size: 1.4rem; margin-bottom: 0.5rem; color: var(--w2305-gold); }
.w2305-card p { font-size: 1.3rem; color: var(--w2305-muted); margin-bottom: 0.5rem; }
.w2305-card a { color: var(--w2305-primary); font-weight: 600; }

.w2305-promo-link {
  display: inline-block;
  color: var(--w2305-accent);
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
}
.w2305-cta {
  display: block;
  width: 100%;
  background: linear-gradient(135deg, var(--w2305-accent), var(--w2305-primary));
  color: #fff;
  border: none;
  border-radius: 30px;
  padding: 1rem;
  font-size: 1.5rem;
  font-weight: 700;
  cursor: pointer;
  margin: 0.6rem 0;
  box-shadow: 0 3px 12px rgba(148,0,211,0.4);
}
.w2305-cta:active { transform: scale(0.97); }

/* ===== Feature/feature row ===== */
.w2305-feature-row { display: flex; gap: 0.8rem; align-items: flex-start; margin-bottom: 0.8rem; }
.w2305-feature-icon { font-size: 2.2rem; color: var(--w2305-accent); flex-shrink: 0; }
.w2305-feature-text h4 { font-size: 1.3rem; color: var(--w2305-text); margin-bottom: 0.2rem; }
.w2305-feature-text p { font-size: 1.2rem; color: var(--w2305-muted); }

/* ===== Winner showcase ===== */
.w2305-winner {
  display: flex; align-items: center; gap: 0.7rem;
  padding: 0.6rem 0.8rem; border-bottom: 1px solid var(--w2305-border);
}
.w2305-winner:last-child { border-bottom: none; }
.w2305-winner-avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--w2305-bg3); display: flex; align-items: center; justify-content: center; color: var(--w2305-gold); font-size: 1.4rem; }
.w2305-winner-info { flex: 1; }
.w2305-winner-name { font-size: 1.2rem; color: var(--w2305-text); }
.w2305-winner-game { font-size: 1.1rem; color: var(--w2305-muted); }
.w2305-winner-amount { font-size: 1.3rem; color: var(--w2305-gold); font-weight: 700; }

/* ===== Payment methods ===== */
.w2305-pay-row { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.w2305-pay-chip {
  background: var(--w2305-bg3);
  border: 1px solid var(--w2305-border);
  border-radius: 8px;
  padding: 0.5rem 0.9rem;
  font-size: 1.15rem;
  color: var(--w2305-text);
  display: flex; align-items: center; gap: 0.3rem;
}

/* ===== Testimonials ===== */
.w2305-testimonial { padding: 0.8rem; border-bottom: 1px solid var(--w2305-border); }
.w2305-testimonial:last-child { border-bottom: none; }
.w2305-testimonial-stars { color: var(--w2305-gold); font-size: 1.2rem; margin-bottom: 0.3rem; }
.w2305-testimonial-text { font-size: 1.25rem; color: var(--w2305-text); margin-bottom: 0.3rem; }
.w2305-testimonial-author { font-size: 1.1rem; color: var(--w2305-muted); }

/* ===== Footer ===== */
.w2305-footer {
  background: var(--w2305-bg2);
  border-top: 1px solid var(--w2305-border);
  padding: 1.5rem 1rem 2rem;
  margin-top: 1rem;
}
.w2305-footer-about { font-size: 1.2rem; color: var(--w2305-muted); margin-bottom: 1rem; line-height: 1.6; }
.w2305-footer-promos { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; }
.w2305-footer-promos button, .w2305-footer-promos a {
  background: var(--w2305-bg3);
  border: 1px solid var(--w2305-primary);
  color: var(--w2305-text);
  border-radius: 20px;
  padding: 0.5rem 0.9rem;
  font-size: 1.15rem;
  cursor: pointer;
}
.w2305-footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; margin-bottom: 1rem; }
.w2305-footer-links a { font-size: 1.15rem; color: var(--w2305-muted); padding: 0.3rem 0; }
.w2305-footer-links a:hover { color: var(--w2305-primary); }
.w2305-footer-copy { font-size: 1.1rem; color: var(--w2305-muted); border-top: 1px solid var(--w2305-border); padding-top: 0.8rem; text-align: center; }

/* ===== Bottom navigation ===== */
.w2305-bottomnav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  max-width: 430px;
  margin: 0 auto;
  height: 62px;
  background: linear-gradient(180deg, var(--w2305-bg3), var(--w2305-bg2));
  border-top: 1px solid var(--w2305-border);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
}
.w2305-bottomnav-btn {
  flex: 1;
  min-width: 60px;
  min-height: 60px;
  background: transparent;
  border: none;
  color: var(--w2305-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  cursor: pointer;
  font-size: 1.05rem;
  transition: color 0.18s ease, transform 0.18s ease;
}
.w2305-bottomnav-btn .w2305-nav-icon { font-size: 22px; }
.w2305-bottomnav-btn .material-icons-outlined { font-size: 24px; }
.w2305-bottomnav-btn:active { transform: scale(0.9); }
.w2305-bottomnav-btn.w2305-nav-active { color: var(--w2305-accent); }
.w2305-bottomnav-btn.w2305-nav-active .w2305-nav-icon { color: var(--w2305-gold); }
.w2305-nav-badge {
  position: absolute; top: 6px; right: 18px;
  background: var(--w2305-accent); color: #fff;
  font-size: 0.9rem; border-radius: 10px;
  padding: 0 4px; line-height: 14px; min-width: 14px; text-align: center;
}

/* ===== Desktop: hide bottom nav ===== */
@media (min-width: 769px) {
  .w2305-bottomnav { display: none; }
  body { max-width: 430px; }
}
@media (max-width: 768px) {
  .w2305-main { padding-bottom: 80px; }
}
