/*
 * 35bd1.click - style-0483.css
 * Mobile-first responsive styles for the 35bd1 basefiles homepage.
 * All custom classes use the s048- prefix for namespace isolation.
 * Color palette: #FAFAFA | #5F9EA0 | #34495E | #87CEEB | #FFEF94
 * Dark tones for backgrounds, light tones for text.
 */

:root {
  --s048-bg: #34495E;
  --s048-bg-deep: #2b3a4e;
  --s048-bg-light: #FAFAFA;
  --s048-primary: #5F9EA0;
  --s048-accent: #87CEEB;
  --s048-gold: #FFEF94;
  --s048-text: #FAFAFA;
  --s048-text-dim: #c7d4df;
  --s048-text-dark: #34495E;
  --s048-border: rgba(135, 206, 235, 0.25);
  --s048-shadow: 0 4px 18px rgba(0, 0, 0, 0.25);
  --s048-radius: 12px;
  --s048-header-h: 56px;
  --s048-bottomnav-h: 62px;
}

* { 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(--s048-bg);
  color: var(--s048-text);
  line-height: 1.5rem;
  font-size: 1.6rem;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--s048-gold); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ============ Header ============ */
.s048-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--s048-header-h);
  background: linear-gradient(90deg, var(--s048-bg-deep), var(--s048-bg));
  border-bottom: 1px solid var(--s048-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.2rem;
  z-index: 1000;
  box-shadow: var(--s048-shadow);
}
.s048-header-left { display: flex; align-items: center; gap: 0.8rem; }
.s048-logo {
  width: 30px; height: 30px; border-radius: 6px;
  background: linear-gradient(135deg, var(--s048-primary), var(--s048-accent));
  display: flex; align-items: center; justify-content: center;
  color: var(--s048-bg-deep); font-weight: 700; font-size: 1.4rem;
}
.s048-site-name { color: var(--s048-gold); font-weight: 700; font-size: 1.8rem; letter-spacing: 0.5px; }
.s048-header-actions { display: flex; align-items: center; gap: 0.6rem; }
.s048-menu-btn {
  background: transparent; border: 1px solid var(--s048-border);
  color: var(--s048-text); width: 36px; height: 36px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  font-size: 1.6rem;
}
.s048-menu-btn:hover { background: rgba(135, 206, 235, 0.12); }

.s048-btn {
  border: none; border-radius: 20px; padding: 0.7rem 1.4rem;
  font-size: 1.3rem; font-weight: 700; cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  min-height: 36px;
}
.s048-btn:hover { transform: translateY(-1px); }
.s048-btn-register {
  background: linear-gradient(135deg, var(--s048-gold), #f5d76e);
  color: var(--s048-bg-deep);
  box-shadow: 0 3px 10px rgba(255, 239, 148, 0.3);
}
.s048-btn-login {
  background: transparent;
  color: var(--s048-text);
  border: 1px solid var(--s048-accent);
}
.s048-btn-cta {
  background: linear-gradient(135deg, var(--s048-primary), var(--s048-accent));
  color: var(--s048-bg-deep);
  padding: 0.9rem 2rem; font-size: 1.5rem; border-radius: 24px;
  box-shadow: 0 4px 14px rgba(95, 158, 160, 0.4);
}

/* ============ Mobile Menu (expandable) ============ */
.s048-mobile-menu {
  position: fixed;
  top: var(--s048-header-h); left: 0; right: 0;
  background: var(--s048-bg-deep);
  border-bottom: 1px solid var(--s048-border);
  max-height: 0; overflow: hidden;
  transition: max-height 0.3s ease;
  z-index: 9999;
}
.s048-mobile-menu.s048-menu-open { max-height: 480px; box-shadow: var(--s048-shadow); }
.s048-mobile-menu ul { list-style: none; padding: 0.5rem 1.2rem 1rem; }
.s048-mobile-menu li { border-bottom: 1px solid rgba(135, 206, 235, 0.1); }
.s048-mobile-menu li:last-child { border-bottom: none; }
.s048-mobile-menu a {
  display: block; padding: 1rem 0.4rem; color: var(--s048-text);
  font-size: 1.4rem;
}
.s048-mobile-menu a i { color: var(--s048-accent); margin-right: 0.6rem; width: 18px; }

/* ============ Layout ============ */
.s048-main { padding-top: calc(var(--s048-header-h) + 8px); padding-bottom: 20px; }
.s048-container { width: 100%; padding: 0 1.2rem; }
.s048-section { padding: 1.6rem 0; }
.s048-section-title {
  font-size: 2rem; font-weight: 700; color: var(--s048-gold);
  margin-bottom: 1rem; padding-left: 0.4rem;
  border-left: 4px solid var(--s048-accent);
}
.s048-section-intro { color: var(--s048-text-dim); font-size: 1.3rem; margin-bottom: 1rem; padding-left: 0.4rem; }
.s048-card {
  background: var(--s048-bg-deep);
  border: 1px solid var(--s048-border);
  border-radius: var(--s048-radius);
  padding: 1.2rem;
  margin-bottom: 1rem;
  box-shadow: var(--s048-shadow);
}

/* ============ Hero Carousel ============ */
.s048-carousel {
  position: relative; overflow: hidden; border-radius: var(--s048-radius);
  margin: 0.8rem 0 1.2rem; box-shadow: var(--s048-shadow);
}
.s048-carousel-track { display: flex; transition: transform 0.5s ease; }
.s048-carousel-slide {
  min-width: 100%; position: relative; cursor: pointer;
}
.s048-carousel-slide img { width: 100%; height: 180px; object-fit: cover; }
.s048-carousel-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1rem 1.2rem; background: linear-gradient(transparent, rgba(43, 58, 78, 0.92));
  color: var(--s048-gold); font-size: 1.5rem; font-weight: 700;
}
.s048-carousel-dots {
  position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 6px; z-index: 2;
}
.s048-carousel-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(250, 250, 250, 0.5); cursor: pointer;
}
.s048-carousel-dot-active { background: var(--s048-gold); }

/* ============ H1 ============ */
.s048-h1 {
  font-size: 2.2rem; font-weight: 700; color: var(--s048-gold);
  text-align: center; padding: 0.8rem 1rem; line-height: 1.3;
}

/* ============ Game Grid ============ */
.s048-cat-header {
  display: flex; align-items: center; gap: 0.6rem;
  margin: 1.4rem 0 0.8rem; padding: 0 0.4rem;
}
.s048-cat-header i { color: var(--s048-accent); font-size: 2rem; }
.s048-cat-header h2 { font-size: 1.8rem; color: var(--s048-gold); font-weight: 700; }
.s048-cat-header .s048-cat-bn { color: var(--s048-text-dim); font-size: 1.3rem; margin-left: auto; }
.s048-game-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}
.s048-game-card {
  background: var(--s048-bg-deep);
  border: 1px solid var(--s048-border);
  border-radius: 10px;
  padding: 0.6rem;
  text-align: center;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.s048-game-card:hover {
  transform: translateY(-2px);
  border-color: var(--s048-gold);
}
.s048-game-card img {
  width: 100%; height: 72px; object-fit: cover; border-radius: 8px; margin-bottom: 0.4rem;
}
.s048-game-name {
  font-size: 1.1rem; color: var(--s048-text); line-height: 1.25;
  overflow: hidden; text-overflow: ellipsis;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  min-height: 2.8em;
}
.s048-game-card:hover .s048-game-name { color: var(--s048-gold); }

/* = info / feature / list blocks ============ */
.s048-info-list { list-style: none; }
.s048-info-list li {
  padding: 0.6rem 0; border-bottom: 1px dashed rgba(135, 206, 235, 0.15);
  font-size: 1.3rem; color: var(--s048-text-dim);
}
.s048-info-list li:last-child { border-bottom: none; }
.s048-info-list li i { color: var(--s048-accent); margin-right: 0.5rem; }
.s048-feature-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.8rem;
}
.s048-feature-item {
  background: var(--s048-bg-deep); border-radius: 10px; padding: 1rem;
  border: 1px solid var(--s048-border);
}
.s048-feature-item i { font-size: 2.2rem; color: var(--s048-accent); margin-bottom: 0.4rem; }
.s048-feature-item h3 { font-size: 1.4rem; color: var(--s048-gold); margin-bottom: 0.3rem; }
.s048-feature-item p { font-size: 1.2rem; color: var(--s048-text-dim); line-height: 1.4; }

/* ============ Promo CTA block ============ */
.s048-cta-block {
  background: linear-gradient(135deg, var(--s048-primary), var(--s048-accent));
  border-radius: var(--s048-radius); padding: 1.6rem; text-align: center;
  margin: 1.4rem 0; color: var(--s048-bg-deep);
}
.s048-cta-block h3 { font-size: 1.8rem; color: var(--s048-bg-deep); margin-bottom: 0.5rem; }
.s048-cta-block p { font-size: 1.3rem; margin-bottom: 1rem; }
.s048-cta-block .s048-btn {
  background: var(--s048-bg-deep); color: var(--s048-gold);
  border-radius: 24px; padding: 0.8rem 2.2rem; font-size: 1.5rem;
}

/* ============ Testimonials ============ */
.s048-testimonial {
  background: var(--s048-bg-deep); border-left: 3px solid var(--s048-gold);
  padding: 1rem 1.2rem; border-radius: 8px; margin-bottom: 0.8rem;
}
.s048-testimonial p { font-size: 1.3rem; color: var(--s048-text-dim); font-style: italic; }
.s048-testimonial .s048-author { display: block; margin-top: 0.4rem; color: var(--s048-gold); font-size: 1.2rem; font-weight: 700; }

/* ============ Payment methods ============ */
.s048-pay-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; }
.s048-pay-item {
  background: var(--s048-bg-deep); border-radius: 8px; padding: 0.8rem 0.4rem;
  text-align: center; border: 1px solid var(--s048-border);
}
.s048-pay-item i { font-size: 1.8rem; color: var(--s048-accent); }
.s048-pay-item span { display: block; margin-top: 0.3rem; font-size: 1.1rem; color: var(--s048-text-dim); }

/* ============ Winners ============ */
.s048-winner-row {
  display: flex; align-items: center; gap: 0.8rem;
  padding: 0.6rem 0; border-bottom: 1px dashed rgba(135, 206, 235, 0.15);
}
.s048-winner-row:last-child { border-bottom: none; }
.s048-winner-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: linear-gradient(135deg, var(--s048-primary), var(--s048-accent));
  color: var(--s048-bg-deep); display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1.2rem;
}
.s048-winner-info { flex: 1; }
.s048-winner-info span { display: block; }
.s048-winner-name { font-size: 1.2rem; color: var(--s048-text); }
.s048-winner-game { font-size: 1.1rem; color: var(--s048-text-dim); }
.s048-winner-amount { color: var(--s048-gold); font-weight: 700; font-size: 1.3rem; }

/* ============ Footer ============ */
.s048-footer {
  background: var(--s048-bg-deep);
  border-top: 1px solid var(--s048-border);
  padding: 1.6rem 1.2rem 2rem;
  margin-top: 1.6rem;
}
.s048-footer-brand { color: var(--s048-text-dim); font-size: 1.3rem; line-height: 1.6; margin-bottom: 1rem; }
.s048-footer-links {
  display: flex; flex-wrap: wrap; gap: 0.6rem 1rem; margin-bottom: 1rem;
}
.s048-footer-links a {
  color: var(--s048-text); font-size: 1.2rem; padding: 0.3rem 0.6rem;
  border: 1px solid var(--s048-border); border-radius: 6px;
}
.s048-footer-links a:hover { background: rgba(135, 206, 235, 0.12); text-decoration: none; }
.s048-footer-promo {
  display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1rem;
}
.s048-footer-promo button {
  flex: 1 1 40%; min-height: 36px;
}
.s048-footer-copy { color: var(--s048-text-dim); font-size: 1.1rem; text-align: center; padding-top: 0.8rem; border-top: 1px dashed rgba(135, 206, 235, 0.15); }

/* ============ Mobile Bottom Nav ============ */
.s048-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0;
  height: var(--s048-bottomnav-h);
  background: var(--s048-bg-deep);
  border-top: 1px solid var(--s048-border);
  display: flex; justify-content: space-around; align-items: center;
  z-index: 1000;
  box-shadow: 0 -4px 14px rgba(0, 0, 0, 0.25);
}
.s048-bottom-nav-btn {
  flex: 1; min-width: 60px; min-height: 60px;
  background: transparent; border: none; color: var(--s048-text-dim);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px; cursor: pointer; padding: 4px 0;
  transition: color 0.15s ease, transform 0.15s ease;
}
.s048-bottom-nav-btn i { font-size: 22px; }
.s048-bottom-nav-btn span { font-size: 1.0rem; }
.s048-bottom-nav-btn:hover { color: var(--s048-gold); transform: translateY(-1px); }
.s048-bottom-nav-btn:active { transform: scale(0.94); }
.s048-bottom-nav-active { color: var(--s048-gold) !important; }
.s048-bottom-nav-active i { color: var(--s048-gold); }

/* ============ Desktop ============ */
@media (min-width: 769px) {
  .s048-bottom-nav { display: none; }
  body { max-width: 430px; }
}

/* Mobile bottom padding so content isn't hidden behind the fixed nav */
@media (max-width: 768px) {
  .s048-main { padding-bottom: calc(var(--s048-bottomnav-h) + 16px); }
  .s048-footer { padding-bottom: calc(var(--s048-bottomnav-h) + 1.6rem); }
}
