/**
 * 33bet - design-3425.css
 * Mobile-first design. All custom classes use the v573- prefix.
 * Palette: #1B263B (dark bg) | #8470FF (primary) | #9400D3 (accent)
 */

:root {
  --v573-bg: #1B263B;
  --v573-bg-2: #141c2b;
  --v573-bg-3: #0f1622;
  --v573-primary: #8470FF;
  --v573-accent: #9400D3;
  --v573-text: #f3f4ff;
  --v573-text-dim: #aeb6d6;
  --v573-gold: #ffcc4d;
  --v573-green: #2ecc71;
  --v573-border: rgba(132,112,255,0.25);
  --v573-radius: 14px;
  --v573-shadow: 0 6px 22px rgba(0,0,0,0.35);
}

* { 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: linear-gradient(160deg,var(--v573-bg) 0%,var(--v573-bg-2) 60%,var(--v573-bg-3) 100%);
  color: var(--v573-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  min-height: 100vh;
  overflow-x: hidden;
}

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

.v573-container { width: 100%; max-width: 430px; margin: 0 auto; padding: 0 1.2rem; }
.v573-wrapper { width: 100%; max-width: 430px; margin: 0 auto; }

/* ===== Header ===== */
.v573-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(15,22,34,0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--v573-border);
}
.v573-header-inner {
  max-width: 430px; margin: 0 auto; height: 56px; padding: 0 1rem;
  display: flex; align-items: center; justify-content: space-between; gap: 0.6rem;
}
.v573-brand { display: flex; align-items: center; gap: 0.6rem; min-width: 0; }
.v573-brand img { width: 28px; height: 28px; border-radius: 6px; }
.v573-brand-name { font-size: 1.7rem; font-weight: 800; color: var(--v573-text); letter-spacing: 0.5px; white-space: nowrap; }
.v573-brand-name span { color: var(--v573-primary); }

.v573-header-actions { display: flex; align-items: center; gap: 0.5rem; }
.v573-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  border: none; border-radius: 10px; cursor: pointer;
  font-size: 1.25rem; font-weight: 700; padding: 0.55rem 1rem; min-height: 38px;
  transition: transform 0.15s, box-shadow 0.15s, opacity 0.15s; text-decoration: none;
}
.v573-btn:active { transform: scale(0.96); }
.v573-btn-login { background: transparent; color: var(--v573-text); border: 1px solid var(--v573-border); }
.v573-btn-register { background: linear-gradient(135deg,var(--v573-primary),var(--v573-accent)); color: #fff; box-shadow: 0 4px 14px rgba(132,112,255,0.45); }
.v573-menu-btn {
  background: transparent; border: 1px solid var(--v573-border); color: var(--v573-text);
  width: 38px; height: 38px; border-radius: 10px; cursor: pointer; display: flex; align-items: center; justify-content: center;
}

/* ===== Nav menu ===== */
.v573-nav {
  position: fixed; top: 56px; left: 0; right: 0; z-index: 9999;
  max-height: 0; overflow: hidden; transition: max-height 0.28s ease;
  background: rgba(15,22,34,0.99); border-bottom: 1px solid var(--v573-border);
}
.v573-nav-open { max-height: 420px; }
.v573-nav-inner { max-width: 430px; margin: 0 auto; padding: 0.6rem 1rem 1rem; }
.v573-nav a {
  display: block; padding: 0.8rem 0.6rem; color: var(--v573-text-dim);
  border-bottom: 1px solid rgba(132,112,255,0.12); font-size: 1.35rem;
}
.v573-nav a:active { color: var(--v573-primary); background: rgba(132,112,255,0.08); }
.v573-nav a i { margin-right: 0.6rem; color: var(--v573-primary); }

/* ===== Main ===== */
.v573-main { padding-top: 64px; padding-bottom: 90px; }

/* ===== Carousel ===== */
.v573-carousel { position: relative; border-radius: var(--v573-radius); overflow: hidden; box-shadow: var(--v573-shadow); margin-bottom: 1.4rem; }
.v573-slides { position: relative; }
.v573-slide {
  display: none; cursor: pointer; position: relative;
}
.v573-slide-active { display: block; }
.v573-slide img { width: 100%; height: 180px; object-fit: cover; }
.v573-slide-cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 0.8rem 1rem;
  background: linear-gradient(transparent,rgba(0,0,0,0.75));
  font-size: 1.3rem; font-weight: 700; color: #fff;
}
.v573-dots { position: absolute; bottom: 8px; left: 0; right: 0; display: flex; justify-content: center; gap: 6px; z-index: 2; }
.v573-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.45); cursor: pointer; transition: background 0.2s; }
.v573-dot-active { background: var(--v573-primary); width: 18px; border-radius: 4px; }

/* ===== Section ===== */
.v573-section { margin-bottom: 1.6rem; }
.v573-section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.8rem; }
.v573-section-title { font-size: 1.6rem; font-weight: 800; color: var(--v573-text); display: flex; align-items: center; gap: 0.5rem; }
.v573-section-title i { color: var(--v573-primary); }
.v573-section-more { font-size: 1.2rem; color: var(--v573-text-dim); }

.v573-h1 { font-size: 1.9rem; font-weight: 800; line-height: 2.2rem; margin-bottom: 0.6rem; color: var(--v573-text); }
.v573-h1 span { color: var(--v573-primary); }
.v573-lead { font-size: 1.3rem; color: var(--v573-text-dim); margin-bottom: 1rem; }

/* ===== Game grid ===== */
.v573-cat-title {
  font-size: 1.45rem; font-weight: 700; margin: 1.2rem 0 0.8rem;
  padding-left: 0.8rem; border-left: 3px solid var(--v573-primary); color: var(--v573-text);
}
.v573-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 0.7rem;
}
.v573-card {
  background: rgba(255,255,255,0.04); border: 1px solid var(--v573-border);
  border-radius: 12px; overflow: hidden; cursor: pointer; text-align: center;
  transition: transform 0.15s, box-shadow 0.15s;
}
.v573-card:active { transform: scale(0.96); box-shadow: 0 6px 18px rgba(132,112,255,0.35); }
.v573-card-img { width: 100%; aspect-ratio: 1/1; object-fit: cover; background: #0f1622; }
.v573-card-name { font-size: 1.05rem; padding: 0.4rem 0.3rem 0.5rem; color: var(--v573-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ===== CTA ===== */
.v573-cta {
  display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 1rem 0;
}
.v573-cta .v573-btn { flex: 1 1 auto; min-height: 44px; font-size: 1.3rem; }
.v573-btn-promo { background: linear-gradient(135deg,var(--v573-accent),var(--v573-primary)); color: #fff; }
.v573-text-link { font-weight: 700; color: var(--v573-gold); text-decoration: underline; cursor: pointer; }

/* ===== Feature cards ===== */
.v573-features { display: grid; grid-template-columns: repeat(2,1fr); gap: 0.7rem; }
.v573-feature {
  background: rgba(132,112,255,0.08); border: 1px solid var(--v573-border);
  border-radius: 12px; padding: 0.9rem;
}
.v573-feature i { font-size: 22px; color: var(--v573-primary); margin-bottom: 0.4rem; }
.v573-feature h3 { font-size: 1.3rem; margin-bottom: 0.3rem; color: var(--v573-text); }
.v573-feature p { font-size: 1.15rem; color: var(--v573-text-dim); line-height: 1.4rem; }

/* ===== RTP / stat rows ===== */
.v573-rtp-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.7rem 0.8rem; border-bottom: 1px solid rgba(132,112,255,0.12); font-size: 1.2rem;
}
.v573-rtp-row:last-child { border-bottom: none; }
.v573-rtp-name { color: var(--v573-text); }
.v573-rtp-val { color: var(--v573-green); font-weight: 700; }
.v573-bar { width: 60px; height: 6px; border-radius: 3px; background: rgba(255,255,255,0.1); overflow: hidden; margin: 0 0.6rem; }
.v573-bar > span { display: block; height: 100%; background: linear-gradient(90deg,var(--v573-primary),var(--v573-green)); }

/* ===== Testimonial / winners ===== */
.v573-list-item {
  display: flex; align-items: center; gap: 0.7rem;
  padding: 0.6rem 0; border-bottom: 1px solid rgba(132,112,255,0.12);
}
.v573-list-item:last-child { border-bottom: none; }
.v573-avatar { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg,var(--v573-primary),var(--v573-accent)); display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 1.2rem; }
.v573-list-meta { flex: 1; min-width: 0; }
.v573-list-meta b { color: var(--v573-text); font-size: 1.2rem; display: block; }
.v573-list-meta small { color: var(--v573-text-dim); font-size: 1.05rem; }
.v573-list-amount { color: var(--v573-gold); font-weight: 800; font-size: 1.25rem; }

/* ===== Payment chips ===== */
.v573-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.v573-chip {
  background: rgba(255,255,255,0.06); border: 1px solid var(--v573-border);
  border-radius: 999px; padding: 0.4rem 0.9rem; font-size: 1.1rem; color: var(--v573-text);
  display: inline-flex; align-items: center; gap: 0.35rem;
}
.v573-chip i { color: var(--v573-primary); }

/* ===== FAQ ===== */
.v573-faq { border: 1px solid var(--v573-border); border-radius: 12px; overflow: hidden; background: rgba(255,255,255,0.03); }
.v573-faq details { border-bottom: 1px solid rgba(132,112,255,0.12); padding: 0.7rem 0.9rem; }
.v573-faq details:last-child { border-bottom: none; }
.v573-faq summary { font-weight: 700; font-size: 1.25rem; color: var(--v573-text); cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.v573-faq summary::after { content: "+"; color: var(--v573-primary); font-size: 1.5rem; }
.v573-faq details[open] summary::after { content: "−"; }
.v573-faq p { margin-top: 0.5rem; color: var(--v573-text-dim); font-size: 1.15rem; }

/* ===== SEO text block ===== */
.v573-seo-box { background: rgba(132,112,255,0.05); border: 1px solid var(--v573-border); border-radius: 12px; padding: 1rem; font-size: 1.2rem; color: var(--v573-text-dim); line-height: 1.7rem; }
.v573-seo-box h2 { color: var(--v573-text); font-size: 1.5rem; margin-bottom: 0.5rem; }
.v573-seo-box h3 { color: var(--v573-primary); font-size: 1.3rem; margin: 0.8rem 0 0.3rem; }
.v573-seo-box p { margin-bottom: 0.6rem; }
.v573-seo-box a { color: var(--v573-gold); text-decoration: underline; }

/* ===== Footer ===== */
.v573-footer {
  background: var(--v573-bg-3); border-top: 1px solid var(--v573-border);
  padding: 1.4rem 1.2rem 2rem; margin-top: 1.6rem;
}
.v573-footer-brand { font-size: 1.3rem; color: var(--v573-text-dim); margin-bottom: 0.8rem; line-height: 1.6rem; }
.v573-footer-promo { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; }
.v573-footer-links { display: grid; grid-template-columns: repeat(2,1fr); gap: 0.4rem 0.8rem; margin-bottom: 1rem; }
.v573-footer-links a { color: var(--v573-text-dim); font-size: 1.15rem; }
.v573-footer-links a:active { color: var(--v573-primary); }
.v573-copyright { font-size: 1.1rem; color: var(--v573-text-dim); border-top: 1px solid rgba(132,112,255,0.12); padding-top: 0.8rem; text-align: center; }

/* ===== Bottom nav ===== */
.v573-bottomnav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
  height: 60px; background: rgba(15,22,34,0.98); backdrop-filter: blur(10px);
  border-top: 1px solid var(--v573-border);
  display: flex; justify-content: space-around; align-items: center;
}
.v573-bottomnav-btn {
  flex: 1; min-width: 60px; min-height: 60px; background: transparent; border: none;
  color: var(--v573-text-dim); display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px; cursor: pointer; font-size: 1rem; transition: color 0.15s, transform 0.15s;
}
.v573-bottomnav-btn i, .v573-bottomnav-btn .material-icons-outlined { font-size: 22px; }
.v573-bottomnav-btn:active { transform: scale(0.92); color: var(--v573-primary); }
.v573-bottomnav-active { color: var(--v573-primary); }
.v573-bottomnav-btn.v573-bottomnav-promo { color: var(--v573-gold); }
.v573-bottomnav-btn.v573-bottomnav-promo i { font-size: 24px; }

/* ===== Desktop ===== */
@media (min-width: 769px) {
  .v573-bottomnav { display: none; }
  .v573-main { padding-bottom: 2rem; }
  .v573-container, .v573-wrapper, .v573-header-inner, .v573-nav-inner { max-width: 760px; }
  .v573-grid { grid-template-columns: repeat(6,1fr); }
  .v573-features { grid-template-columns: repeat(4,1fr); }
  .v573-footer-links { grid-template-columns: repeat(4,1fr); }
}

@media (max-width: 768px) {
  .v573-main { padding-bottom: 80px; }
}
