/**
 * db333.sbs - Core Stylesheet
 * Prefix: s132-
 * Color Palette: #2E4057 | #B2DFDB | #004D40 | #E0F2F1
 */

/* === CSS Variables === */
:root {
  --s132-primary: #004D40;
  --s132-secondary: #2E4057;
  --s132-accent: #B2DFDB;
  --s132-light: #E0F2F1;
  --s132-bg: #1A2A3A;
  --s132-bg-dark: #0F1A26;
  --s132-text: #E0F2F1;
  --s132-text-muted: #B2DFDB;
  --s132-highlight: #4DB6AC;
  --s132-card-bg: #1E3348;
  --s132-border: #2A4A5E;
  --s132-gold: #FFD54F;
  --s132-danger: #EF5350;
  --s132-success: #66BB6A;
  --s132-radius: 8px;
  --s132-radius-lg: 16px;
  --s132-header-h: 56px;
  --s132-bottom-nav-h: 60px;
}

/* === Reset & Base === */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 62.5%; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Segoe UI', 'Noto Sans Bengali', 'Hind Siliguri', Arial, sans-serif;
  background: var(--s132-bg);
  color: var(--s132-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  max-width: 430px;
  margin: 0 auto;
  overflow-x: hidden;
}
a { color: var(--s132-highlight); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--s132-gold); }
img { max-width: 100%; height: auto; display: block; }

/* === Header === */
.s132-header {
  position: fixed; top: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 430px; height: var(--s132-header-h);
  background: var(--s132-bg-dark); border-bottom: 2px solid var(--s132-primary);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 1.2rem; z-index: 1000;
}
.s132-logo-area { display: flex; align-items: center; gap: 0.8rem; }
.s132-logo-area img { width: 28px; height: 28px; border-radius: 6px; }
.s132-logo-text { font-size: 1.8rem; font-weight: 700; color: var(--s132-accent); letter-spacing: 1px; }
.s132-header-actions { display: flex; align-items: center; gap: 0.6rem; }
.s132-btn-reg, .s132-btn-login {
  padding: 0.5rem 1.2rem; border-radius: var(--s132-radius); font-size: 1.2rem;
  font-weight: 600; cursor: pointer; border: none; transition: all 0.25s;
}
.s132-btn-reg { background: var(--s132-primary); color: var(--s132-light); }
.s132-btn-reg:hover { background: var(--s132-highlight); color: var(--s132-bg-dark); }
.s132-btn-login { background: transparent; color: var(--s132-accent); border: 1.5px solid var(--s132-accent); }
.s132-btn-login:hover { background: var(--s132-accent); color: var(--s132-bg-dark); }
.s132-hamburger {
  background: none; border: none; color: var(--s132-accent); cursor: pointer;
  font-size: 2.2rem; padding: 0.4rem; display: flex; align-items: center;
}
.s132-hamburger-active .material-icons { color: var(--s132-gold); }

/* === Mobile Menu === */
.s132-mobile-menu {
  position: fixed; top: var(--s132-header-h); left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 430px;
  background: var(--s132-bg-dark); border-bottom: 2px solid var(--s132-primary);
  max-height: 0; overflow: hidden; transition: max-height 0.35s ease;
  z-index: 9999;
}
.s132-menu-active { max-height: 500px; }
.s132-menu-list { list-style: none; padding: 1rem 0; }
.s132-menu-list li a {
  display: block; padding: 1rem 2rem; color: var(--s132-text);
  font-size: 1.4rem; border-bottom: 1px solid var(--s132-border);
  transition: all 0.2s;
}
.s132-menu-list li a:hover {
  background: var(--s132-card-bg); color: var(--s132-gold); padding-left: 2.5rem;
}

/* === Main Content === */
.s132-main {
  margin-top: var(--s132-header-h); padding-bottom: 2rem;
  min-height: calc(100vh - var(--s132-header-h));
}
@media (max-width: 768px) {
  .s132-main { padding-bottom: calc(var(--s132-bottom-nav-h) + 2rem); }
}

/* === Slider === */
.s132-slider { position: relative; width: 100%; overflow: hidden; border-radius: 0 0 var(--s132-radius) var(--s132-radius); }
.s132-slide {
  display: none; width: 100%; cursor: pointer;
}
.s132-slide-active { display: block; }
.s132-slide img { width: 100%; height: 180px; object-fit: cover; }
.s132-slider-dots {
  position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 8px;
}
.s132-slider-dot {
  width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.4);
  cursor: pointer; transition: all 0.3s; border: none;
}
.s132-dot-active { background: var(--s132-gold); transform: scale(1.3); }

/* === Sections === */
.s132-section { padding: 2rem 1.2rem; }
.s132-section-title {
  font-size: 1.8rem; font-weight: 700; color: var(--s132-accent);
  margin-bottom: 1.2rem; padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--s132-primary); display: flex; align-items: center; gap: 0.6rem;
}
.s132-section-title i, .s132-section-title .material-icons { font-size: 2rem; color: var(--s132-gold); }

/* === Game Grid === */
.s132-game-cat-title {
  font-size: 1.5rem; font-weight: 600; color: var(--s132-highlight);
  margin: 1.5rem 0 1rem; padding-left: 0.5rem;
  border-left: 3px solid var(--s132-gold);
}
.s132-game-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
}
.s132-game-item {
  display: flex; flex-direction: column; align-items: center;
  cursor: pointer; transition: transform 0.2s; padding: 0.4rem;
}
.s132-game-item:hover { transform: scale(1.05); }
.s132-game-item img {
  width: 72px; height: 72px; border-radius: var(--s132-radius);
  border: 2px solid var(--s132-border); object-fit: cover;
}
.s132-game-item span {
  font-size: 1.1rem; color: var(--s132-text-muted); margin-top: 0.3rem;
  text-align: center; line-height: 1.3rem; max-width: 80px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* === Content Cards === */
.s132-card {
  background: var(--s132-card-bg); border-radius: var(--s132-radius-lg);
  padding: 1.6rem; margin-bottom: 1.4rem;
  border: 1px solid var(--s132-border);
}
.s132-card h2 {
  font-size: 1.6rem; color: var(--s132-accent); margin-bottom: 1rem;
}
.s132-card h3 {
  font-size: 1.4rem; color: var(--s132-highlight); margin-bottom: 0.8rem;
}
.s132-card p {
  font-size: 1.3rem; color: var(--s132-text-muted); line-height: 1.7rem;
  margin-bottom: 0.8rem;
}

/* === Promo Button === */
.s132-promo-btn {
  display: inline-block; padding: 1rem 2.4rem;
  background: linear-gradient(135deg, var(--s132-primary), var(--s132-highlight));
  color: #fff; font-size: 1.5rem; font-weight: 700;
  border-radius: 50px; cursor: pointer; border: none;
  text-align: center; transition: all 0.3s; box-shadow: 0 4px 15px rgba(0,77,64,0.4);
}
.s132-promo-btn:hover {
  transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,77,64,0.6);
}
.s132-promo-link {
  color: var(--s132-gold); font-weight: 600; cursor: pointer;
  border-bottom: 1px dashed var(--s132-gold);
}
.s132-promo-link:hover { color: #FFF176; }

/* === Footer === */
.s132-footer {
  background: var(--s132-bg-dark); padding: 2rem 1.2rem;
  border-top: 2px solid var(--s132-primary);
}
.s132-footer-brand { margin-bottom: 1.4rem; }
.s132-footer-brand p { font-size: 1.2rem; color: var(--s132-text-muted); line-height: 1.6rem; }
.s132-footer-links { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1.4rem; }
.s132-footer-links a {
  padding: 0.5rem 1rem; background: var(--s132-card-bg);
  border-radius: var(--s132-radius); font-size: 1.1rem;
  color: var(--s132-text-muted); border: 1px solid var(--s132-border);
  transition: all 0.2s;
}
.s132-footer-links a:hover { background: var(--s132-primary); color: #fff; }
.s132-footer-copy { font-size: 1.1rem; color: #6a8a9e; text-align: center; padding-top: 1rem; border-top: 1px solid var(--s132-border); }

/* === Bottom Navigation === */
.s132-bottom-nav {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 430px; height: var(--s132-bottom-nav-h);
  background: var(--s132-bg-dark); border-top: 2px solid var(--s132-primary);
  display: flex; justify-content: space-around; align-items: center;
  z-index: 1000;
}
.s132-bottom-nav-btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 60px; min-height: 50px; background: none; border: none;
  color: var(--s132-text-muted); cursor: pointer; transition: all 0.25s;
  padding: 0.4rem;
}
.s132-bottom-nav-btn i, .s132-bottom-nav-btn .material-icons,
.s132-bottom-nav-btn ion-icon, .s132-bottom-nav-btn bi {
  font-size: 22px; margin-bottom: 2px;
}
.s132-bottom-nav-btn span { font-size: 1rem; }
.s132-bottom-nav-btn:hover, .s132-nav-active {
  color: var(--s132-gold); transform: scale(1.08);
}
.s132-nav-active { position: relative; }
.s132-nav-active::after {
  content: ''; position: absolute; top: -2px; left: 50%; transform: translateX(-50%);
  width: 20px; height: 3px; background: var(--s132-gold); border-radius: 2px;
}

/* Hide bottom nav on desktop */
@media (min-width: 769px) {
  .s132-bottom-nav { display: none; }
}

/* === Utilities === */
.s132-text-center { text-align: center; }
.s132-mt-1 { margin-top: 1rem; }
.s132-mt-2 { margin-top: 2rem; }
.s132-mb-1 { margin-bottom: 1rem; }
.s132-mb-2 { margin-bottom: 2rem; }
.s132-hidden { display: none !important; }
.s132-badge {
  display: inline-block; padding: 0.2rem 0.6rem; border-radius: 4px;
  font-size: 1rem; font-weight: 600;
}
.s132-badge-hot { background: var(--s132-danger); color: #fff; }
.s132-badge-new { background: var(--s132-success); color: #fff; }
.s132-badge-vip { background: var(--s132-gold); color: var(--s132-bg-dark); }

/* === Info List === */
.s132-info-list { list-style: none; padding: 0; }
.s132-info-list li {
  padding: 0.6rem 0; font-size: 1.3rem; color: var(--s132-text-muted);
  border-bottom: 1px solid var(--s132-border);
  display: flex; align-items: flex-start; gap: 0.6rem;
}
.s132-info-list li i { color: var(--s132-highlight); margin-top: 2px; }

/* === Testimonial === */
.s132-testimonial {
  background: var(--s132-card-bg); border-radius: var(--s132-radius);
  padding: 1.2rem; margin-bottom: 1rem; border-left: 3px solid var(--s132-gold);
}
.s132-testimonial p { font-size: 1.2rem; color: var(--s132-text-muted); font-style: italic; }
.s132-testimonial strong { color: var(--s132-accent); }

/* === Winner Marquee === */
.s132-winners { overflow: hidden; padding: 1rem 0; }
.s132-winner-item {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.4rem 1rem; background: var(--s132-card-bg);
  border-radius: 20px; margin: 0.3rem; font-size: 1.2rem;
}

/* === FAQ Accordion === */
.s132-faq-item { border-bottom: 1px solid var(--s132-border); }
.s132-faq-q {
  padding: 1rem 0; font-size: 1.4rem; font-weight: 600; color: var(--s132-accent);
  cursor: pointer; display: flex; justify-content: space-between; align-items: center;
}
.s132-faq-a {
  padding: 0 0 1rem 0; font-size: 1.3rem; color: var(--s132-text-muted); line-height: 1.7rem;
}

/* === Payment Icons === */
.s132-payment-row { display: flex; flex-wrap: wrap; gap: 0.8rem; align-items: center; }
.s132-payment-item {
  padding: 0.5rem 1rem; background: var(--s132-card-bg);
  border-radius: var(--s132-radius); font-size: 1.2rem;
  color: var(--s132-text-muted); border: 1px solid var(--s132-border);
}

/* === Animations === */
@keyframes s132-fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.s132-fade-in { animation: s132-fadeIn 0.5s ease forwards; }
