/*
 * 365 bet - design-1390.css
 * Mobile-first design. All classes use s139- prefix.
 * Palette: #DDA0DD (plum accent) | #0E1621 (dark bg) | #CCCCCC (light text)
 * Root font 62.5% => 1rem = 10px.
 */

:root {
  --s139-primary: #DDA0DD;
  --s139-primary-dark: #B97FB9;
  --s139-bg: #0E1621;
  --s139-bg-2: #142033;
  --s139-bg-3: #1b2b44;
  --s139-text: #CCCCCC;
  --s139-text-bright: #F2F2F2;
  --s139-muted: #8A99AE;
  --s139-gold: #E8C36A;
  --s139-success: #5BC97E;
  --s139-danger: #E76A6A;
  --s139-radius: 1.2rem;
  --s139-radius-sm: 0.8rem;
  --s139-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
  --s139-header-h: 6rem;
  --s139-bottomnav-h: 6.2rem;
}

* { 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(--s139-bg);
  color: var(--s139-text);
  line-height: 1.5rem;
  font-size: 1.5rem;
  overflow-x: hidden;
}

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

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

/* ---------- Header ---------- */
.s139-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: linear-gradient(180deg, #0c121d 0%, #0E1621 100%);
  border-bottom: 1px solid rgba(221, 160, 221, 0.18);
  box-shadow: var(--s139-shadow);
}
.s139-header-inner {
  max-width: 430px; margin: 0 auto; height: var(--s139-header-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 1.2rem;
}
.s139-logo { display: flex; align-items: center; gap: 0.8rem; }
.s139-logo img { width: 3rem; height: 3rem; border-radius: 0.6rem; }
.s139-logo-text { display: flex; flex-direction: column; line-height: 1.2rem; }
.s139-logo-text strong { color: var(--s139-primary); font-size: 1.7rem; font-weight: 700; letter-spacing: 0.5px; }
.s139-logo-text span { color: var(--s139-muted); font-size: 1.05rem; }

.s139-header-actions { display: flex; align-items: center; gap: 0.7rem; }
.s139-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  border: none; border-radius: var(--s139-radius-sm); cursor: pointer;
  font-weight: 700; font-size: 1.3rem; padding: 0.8rem 1.4rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  min-height: 4rem; font-family: inherit;
}
.s139-btn-login {
  background: transparent; color: var(--s139-text-bright);
  border: 1px solid rgba(221, 160, 221, 0.45);
}
.s139-btn-register {
  background: linear-gradient(135deg, var(--s139-primary), var(--s139-primary-dark));
  color: #1a0a1a; box-shadow: 0 4px 14px rgba(221, 160, 221, 0.35);
}
.s139-btn:hover { transform: translateY(-1px); }
.s139-btn:active { transform: scale(0.96); }

.s139-menu-toggle {
  background: transparent; border: none; color: var(--s139-primary);
  font-size: 2.4rem; cursor: pointer; padding: 0.4rem 0.6rem; min-width: 4rem; min-height: 4rem;
}

/* ---------- Mobile slide menu ---------- */
.s139-mobile-menu {
  position: fixed; top: var(--s139-header-h); left: 0; right: 0; z-index: 9999;
  background: var(--s139-bg-2);
  border-bottom: 1px solid rgba(221, 160, 221, 0.2);
  max-height: 0; overflow: hidden; transition: max-height 0.32s ease;
}
.s139-mobile-menu.s139-menu-open { max-height: 60rem; }
.s139-mobile-menu-inner { max-width: 430px; margin: 0 auto; padding: 1rem 1.4rem 1.4rem; }
.s139-mobile-menu a {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.1rem 1rem; color: var(--s139-text-bright);
  border-radius: var(--s139-radius-sm); font-size: 1.45rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.s139-mobile-menu a i, .s139-mobile-menu a span.material-symbols-outlined { color: var(--s139-primary); font-size: 1.9rem; }
.s139-mobile-menu a:hover { background: rgba(221, 160, 221, 0.08); }

/* ---------- Main spacer ---------- */
.s139-main { padding-top: var(--s139-header-h); }
@media (max-width: 768px) {
  .s139-main { padding-bottom: calc(var(--s139-bottomnav-h) + 1.2rem); }
}

/* ---------- Carousel ---------- */
.s139-carousel {
  position: relative; border-radius: var(--s139-radius); overflow: hidden;
  margin: 1.4rem 0; box-shadow: var(--s139-shadow);
}
.s139-carousel-track { position: relative; height: 18rem; }
.s139-carousel-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity var(--s139-carousel-transition, 600ms) ease;
  cursor: pointer;
}
.s139-carousel-slide.s139-slide-active { opacity: 1; }
.s139-carousel-slide img { width: 100%; height: 100%; object-fit: cover; }
.s139-carousel-caption {
  position: absolute; left: 1.2rem; bottom: 1.4rem; right: 1.2rem;
  background: linear-gradient(180deg, rgba(14,22,33,0) 0%, rgba(14,22,33,0.85) 100%);
  color: #fff; padding: 1.4rem 1rem 1rem; border-radius: 0 0 var(--s139-radius) var(--s139-radius);
}
.s139-carousel-caption strong { display: block; font-size: 1.7rem; color: var(--s139-primary); }
.s139-carousel-caption span { font-size: 1.25rem; color: var(--s139-text); }
.s139-carousel-dots {
  position: absolute; bottom: 0.8rem; right: 1.2rem; display: flex; gap: 0.5rem;
}
.s139-carousel-dot { width: 0.8rem; height: 0.8rem; border-radius: 50%; background: rgba(255,255,255,0.4); cursor: pointer; }
.s139-carousel-dot.s139-dot-active { background: var(--s139-primary); }

/* ---------- Section headings ---------- */
.s139-section { margin: 2.2rem 0; }
.s139-section-title {
  display: flex; align-items: center; gap: 0.8rem; margin-bottom: 1.2rem;
}
.s139-section-title .s139-bar { width: 0.4rem; height: 2.2rem; background: var(--s139-primary); border-radius: 0.3rem; }
.s139-section-title h2 { font-size: 1.9rem; color: var(--s139-text-bright); font-weight: 700; }
.s139-section-title .s139-more { margin-left: auto; color: var(--s139-primary); font-size: 1.25rem; }

.s139-h1 {
  font-size: 2.1rem; color: var(--s139-text-bright); font-weight: 800;
  line-height: 2.6rem; margin: 1.4rem 0 1rem;
}
.s139-h1 span { color: var(--s139-primary); }
.s139-lead { color: var(--s139-text); font-size: 1.4rem; margin-bottom: 1.4rem; }

/* ---------- Game grid ---------- */
.s139-cat-head {
  display: flex; align-items: center; gap: 0.7rem; margin: 1.8rem 0 1rem;
}
.s139-cat-head .s139-cat-icon { color: var(--s139-primary); font-size: 2rem; }
.s139-cat-head h3 { font-size: 1.65rem; color: var(--s139-text-bright); font-weight: 700; }
.s139-cat-head .s139-cat-tag { margin-left: auto; font-size: 1.1rem; color: var(--s139-muted); }

.s139-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.9rem;
}
@media (min-width: 400px) { .s139-grid { gap: 1rem; } }

.s139-game-card {
  background: var(--s139-bg-2); border-radius: var(--s139-radius-sm); overflow: hidden;
  border: 1px solid rgba(221, 160, 221, 0.08); cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease;
  display: flex; flex-direction: column;
}
.s139-game-card:hover { transform: translateY(-2px); border-color: rgba(221, 160, 221, 0.35); }
.s139-game-card:active { transform: scale(0.97); }
.s139-game-thumb { width: 100%; aspect-ratio: 1 / 1; background: #0a0f17; }
.s139-game-thumb img { width: 100%; height: 100%; object-fit: cover; }
.s139-game-name {
  font-size: 1.15rem; color: var(--s139-text-bright); text-align: center;
  padding: 0.5rem 0.4rem 0.7rem; line-height: 1.3rem; min-height: 3rem;
  overflow: hidden; text-overflow: ellipsis; display: -webkit-box;
  -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}

/* ---------- Promo CTA ---------- */
.s139-cta {
  background: linear-gradient(135deg, rgba(221,160,221,0.18), rgba(14,22,33,0.6));
  border: 1px solid rgba(221, 160, 221, 0.3);
  border-radius: var(--s139-radius); padding: 1.6rem; margin: 1.8rem 0;
  text-align: center;
}
.s139-cta h3 { color: var(--s139-primary); font-size: 1.8rem; margin-bottom: 0.6rem; }
.s139-cta p { color: var(--s139-text); font-size: 1.3rem; margin-bottom: 1.2rem; }
.s139-cta .s139-btn { padding: 1.1rem 2.4rem; font-size: 1.5rem; }

/* ---------- Info / feature blocks ---------- */
.s139-card {
  background: var(--s139-bg-2); border-radius: var(--s139-radius); padding: 1.6rem;
  margin: 1rem 0; border: 1px solid rgba(255,255,255,0.04);
}
.s139-card h3 { color: var(--s139-primary); font-size: 1.6rem; margin-bottom: 0.7rem; display: flex; align-items: center; gap: 0.6rem; }
.s139-card p { color: var(--s139-text); font-size: 1.35rem; line-height: 1.7rem; margin-bottom: 0.8rem; }
.s139-card ul { padding-left: 1.4rem; }
.s139-card ul li { color: var(--s139-text); font-size: 1.3rem; margin-bottom: 0.5rem; list-style: disc; }

.s139-features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.9rem; }
.s139-feature {
  background: var(--s139-bg-2); border-radius: var(--s139-radius-sm); padding: 1.2rem;
  text-align: center; border: 1px solid rgba(221,160,221,0.08);
}
.s139-feature i, .s139-feature .material-symbols-outlined { font-size: 2.6rem; color: var(--s139-primary); }
.s139-feature h4 { color: var(--s139-text-bright); font-size: 1.3rem; margin: 0.6rem 0 0.3rem; }
.s139-feature p { color: var(--s139-muted); font-size: 1.15rem; line-height: 1.4rem; }

/* ---------- Testimonials ---------- */
.s139-testimonials { display: grid; grid-template-columns: 1fr; gap: 0.9rem; }
.s139-testimonial {
  background: var(--s139-bg-2); border-radius: var(--s139-radius-sm); padding: 1.2rem 1.4rem;
  border-left: 3px solid var(--s139-primary);
}
.s139-testimonial .s139-stars { color: var(--s139-gold); font-size: 1.3rem; margin-bottom: 0.4rem; }
.s139-testimonial p { color: var(--s139-text); font-size: 1.3rem; line-height: 1.6rem; font-style: italic; }
.s139-testimonial .s139-author { color: var(--s139-primary); font-size: 1.15rem; margin-top: 0.5rem; }

/* ---------- Payment methods ---------- */
.s139-payments { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.8rem; }
.s139-payment {
  background: var(--s139-bg-2); border-radius: var(--s139-radius-sm); padding: 1rem 0.5rem;
  text-align: center; border: 1px solid rgba(255,255,255,0.04);
}
.s139-payment i, .s139-payment .material-symbols-outlined { font-size: 2.4rem; color: var(--s139-primary); }
.s139-payment span { display: block; color: var(--s139-text); font-size: 1.1rem; margin-top: 0.4rem; }

/* ---------- Winners ---------- */
.s139-winners { display: grid; grid-template-columns: 1fr; gap: 0.7rem; }
.s139-winner {
  display: flex; align-items: center; gap: 1rem; background: var(--s139-bg-2);
  border-radius: var(--s139-radius-sm); padding: 1rem 1.2rem;
  border: 1px solid rgba(255,255,255,0.04);
}
.s139-winner .s139-avatar { width: 3.4rem; height: 3.4rem; border-radius: 50%; background: var(--s139-primary); color: #1a0a1a; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.3rem; }
.s139-winner .s139-winner-info { flex: 1; }
.s139-winner .s139-winner-info strong { color: var(--s139-text-bright); font-size: 1.3rem; display: block; }
.s139-winner .s139-winner-info span { color: var(--s139-muted); font-size: 1.1rem; }
.s139-winner .s139-winner-amount { color: var(--s139-gold); font-weight: 700; font-size: 1.4rem; }

/* ---------- App download CTA ---------- */
.s139-app-cta {
  background: linear-gradient(135deg, #1b2b44, #142033); border-radius: var(--s139-radius);
  padding: 1.6rem; margin: 1.6rem 0; border: 1px solid rgba(221,160,221,0.2);
  display: flex; flex-direction: column; gap: 1rem; align-items: center; text-align: center;
}
.s139-app-cta h3 { color: var(--s139-primary); font-size: 1.7rem; }
.s139-app-cta p { color: var(--s139-text); font-size: 1.3rem; }
.s139-app-buttons { display: flex; gap: 0.8rem; flex-wrap: wrap; justify-content: center; }
.s139-app-btn {
  display: inline-flex; align-items: center; gap: 0.6rem; background: rgba(221,160,221,0.12);
  color: var(--s139-text-bright); border: 1px solid rgba(221,160,221,0.35);
  border-radius: var(--s139-radius-sm); padding: 0.9rem 1.4rem; font-size: 1.3rem; cursor: pointer;
}
.s139-app-btn i { font-size: 1.8rem; color: var(--s139-primary); }

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

/* ---------- Footer ---------- */
.s139-footer {
  background: #0a0f17; border-top: 1px solid rgba(221,160,221,0.15);
  padding: 2rem 0 1.5rem; margin-top: 2rem;
}
.s139-footer-inner { max-width: 430px; margin: 0 auto; padding: 0 1.4rem; }
.s139-footer-brand { color: var(--s139-text); font-size: 1.3rem; line-height: 1.7rem; margin-bottom: 1.2rem; }
.s139-footer-brand strong { color: var(--s139-primary); }
.s139-footer-buttons { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.7rem; margin: 1.2rem 0; }
.s139-footer-buttons .s139-btn { padding: 0.9rem 0.6rem; font-size: 1.2rem; min-height: 3.6rem; }
.s139-footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem 1rem; margin: 1.2rem 0; }
.s139-footer-links a { color: var(--s139-text); font-size: 1.2rem; line-height: 1.6rem; }
.s139-footer-links a:hover { color: var(--s139-primary); }
.s139-copyright { color: var(--s139-muted); font-size: 1.15rem; text-align: center; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.05); }

/* ---------- Bottom nav ---------- */
.s139-bottomnav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
  background: linear-gradient(180deg, #142033 0%, #0a0f17 100%);
  border-top: 1px solid rgba(221,160,221,0.25);
  display: flex; justify-content: space-around; align-items: stretch;
  height: var(--s139-bottomnav-h);
  box-shadow: 0 -4px 18px rgba(0,0,0,0.4);
}
.s139-bottomnav-inner { display: flex; justify-content: space-around; align-items: stretch; width: 100%; max-width: 430px; margin: 0 auto; }
.s139-navbtn {
  flex: 1; min-width: 60px; min-height: 60px; background: transparent; border: none;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.2rem;
  color: var(--s139-muted); cursor: pointer; padding: 0.4rem; transition: color 0.18s ease, transform 0.18s ease;
  font-family: inherit;
}
.s139-navbtn i, .s139-navbtn .material-symbols-outlined, .s139-navbtn ion-icon { font-size: 2.4rem; }
.s139-navbtn .s139-nav-label { font-size: 1.05rem; line-height: 1.2rem; }
.s139-navbtn:hover { color: var(--s139-primary); }
.s139-navbtn:active { transform: scale(0.92); }
.s139-navbtn.s139-navbtn-active { color: var(--s139-primary); }
.s139-navbtn.s139-navbtn-active::before {
  content: ""; position: absolute; top: 0; width: 2.4rem; height: 0.3rem;
  background: var(--s139-primary); border-radius: 0 0 0.4rem 0.4rem;
}
.s139-navbtn-promo { color: var(--s139-gold); }

@media (min-width: 769px) { .s139-bottomnav { display: none; } }
@media (min-width: 769px) { .s139-main { padding-bottom: 2rem; } }

/* ---------- Reveal animation ---------- */
.s139-reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.s139-reveal.s139-revealed { opacity: 1; transform: translateY(0); }

/* ---------- Partner and content helpers ---------- */
.s139-partners { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.7rem; margin: 1rem 0; }
.s139-partner {
  min-height: 4.2rem; border-radius: var(--s139-radius-sm); background: rgba(221,160,221,0.08);
  border: 1px solid rgba(221,160,221,0.18); display: flex; align-items: center; justify-content: center;
  color: var(--s139-text-bright); font-size: 1.15rem; font-weight: 700; text-align: center;
}
.s139-steps { display: grid; grid-template-columns: 1fr; gap: 0.9rem; counter-reset: s139step; }
.s139-step {
  position: relative; background: var(--s139-bg-2); border-radius: var(--s139-radius-sm);
  padding: 1.2rem 1.2rem 1.2rem 4.4rem; border: 1px solid rgba(221,160,221,0.1);
}
.s139-step::before {
  counter-increment: s139step; content: counter(s139step); position: absolute; left: 1.1rem; top: 1.1rem;
  width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--s139-primary); color: #1a0a1a;
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.3rem;
}
.s139-step h3 { color: var(--s139-primary); font-size: 1.45rem; margin-bottom: 0.5rem; }
.s139-step p { color: var(--s139-text); font-size: 1.3rem; line-height: 1.7rem; }
.s139-faq-item { background: var(--s139-bg-2); border-radius: var(--s139-radius-sm); padding: 1.3rem; margin-bottom: 0.9rem; border-left: 3px solid var(--s139-primary); }
.s139-faq-item h3 { color: var(--s139-text-bright); font-size: 1.45rem; margin-bottom: 0.6rem; }
.s139-faq-item p { color: var(--s139-text); font-size: 1.3rem; line-height: 1.7rem; }
.s139-kpi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.8rem; }
.s139-kpi { background: var(--s139-bg-2); border-radius: var(--s139-radius-sm); padding: 1rem; text-align: center; border: 1px solid rgba(221,160,221,0.1); }
.s139-kpi strong { color: var(--s139-primary); font-size: 1.8rem; display: block; }
.s139-kpi span { color: var(--s139-muted); font-size: 1.1rem; }

/* ---------- Utility ---------- */
.s139-text-center { text-align: center; }
.s139-mt-1 { margin-top: 1rem; } .s139-mt-2 { margin-top: 2rem; }
.s139-hidden { display: none; }
