/* db333 - design-30b4.css
   Mobile-first gaming site styles. All custom classes use s30b- prefix.
   Palette: #FFB74D | #E65100 | #1A1A2E | #32CD32 | #98FB98
   Dark base (#1A1A2E), light text, warm orange accent (#E65100), gold highlight (#FFB74D). */

:root {
  --s30b-primary: #E65100;
  --s30b-primary-2: #FFB74D;
  --s30b-bg: #1A1A2E;
  --s30b-bg-2: #16162a;
  --s30b-bg-3: #20203a;
  --s30b-text: #98FB98;
  --s30b-text-light: #f5f5f5;
  --s30b-accent: #32CD32;
  --s30b-muted: #a8a8c0;
  --s30b-border: rgba(255,183,77,0.18);
  --s30b-shadow: 0 4px 18px rgba(0,0,0,0.35);
  --s30b-radius: 12px;
  --s30b-header-h: 56px;
  --s30b-bottomnav-h: 62px;
}

/* Root font: 62.5% => 1rem = 10px */
html { font-size: 62.5%; }
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Hind Siliguri", "Noto Sans Bengali", "SolaimanLipi", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--s30b-bg);
  color: var(--s30b-text-light);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

/* Layout containers */
.s30b-container { width: 100%; max-width: 430px; margin: 0 auto; padding: 0 14px; }
.s30b-wrapper { min-height: 100vh; display: flex; flex-direction: column; }
.s30b-main { flex: 1; padding-top: var(--s30b-header-h); padding-bottom: 90px; }

/* Header */
.s30b-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--s30b-header-h);
  background: linear-gradient(90deg, var(--s30b-bg) 0%, var(--s30b-bg-3) 100%);
  border-bottom: 1px solid var(--s30b-border);
  box-shadow: var(--s30b-shadow);
}
.s30b-header-inner {
  max-width: 430px; margin: 0 auto; height: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 12px;
}
.s30b-brand { display: flex; align-items: center; gap: 8px; }
.s30b-brand img { width: 30px; height: 30px; border-radius: 6px; }
.s30b-brand-name { font-size: 1.9rem; font-weight: 800; color: var(--s30b-primary-2); letter-spacing: 0.5px; }
.s30b-header-actions { display: flex; align-items: center; gap: 8px; }
.s30b-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  font-weight: 700; font-size: 1.25rem; border: none; border-radius: 8px;
  padding: 8px 14px; cursor: pointer; transition: transform 0.12s ease, box-shadow 0.12s ease;
  min-height: 36px; line-height: 1;
}
.s30b-btn-primary { background: linear-gradient(135deg, var(--s30b-primary) 0%, var(--s30b-primary-2) 100%); color: #1a1a2e; }
.s30b-btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 14px rgba(230,81,0,0.4); text-decoration: none; }
.s30b-btn-secondary { background: transparent; color: var(--s30b-primary-2); border: 1.5px solid var(--s30b-primary-2); }
.s30b-btn-secondary:hover { background: rgba(255,183,77,0.12); text-decoration: none; }
.s30b-menu-btn {
  background: transparent; border: none; color: var(--s30b-text-light);
  font-size: 2.2rem; cursor: pointer; padding: 4px 8px; border-radius: 6px;
}

/* Mobile slide-down menu */
.s30b-mobile-menu {
  position: fixed; top: var(--s30b-header-h); left: 0; right: 0; z-index: 9999;
  max-width: 430px; margin: 0 auto;
  background: var(--s30b-bg-2); border-bottom: 1px solid var(--s30b-border);
  max-height: 0; overflow: hidden; transition: max-height 0.28s ease;
  box-shadow: var(--s30b-shadow);
}
.s30b-mobile-menu.s30b-menu-open { max-height: 460px; }
.s30b-mobile-menu ul { list-style: none; margin: 0; padding: 8px 14px; }
.s30b-mobile-menu li { border-bottom: 1px solid rgba(255,255,255,0.06); }
.s30b-mobile-menu li:last-child { border-bottom: none; }
.s30b-mobile-menu a {
  display: block; padding: 12px 6px; color: var(--s30b-text-light); font-size: 1.35rem; font-weight: 600;
}
.s30b-mobile-menu a::before { content: "\f105"; font-family: "Font Awesome 6 Free"; font-weight: 900; color: var(--s30b-primary-2); margin-right: 10px; }

/* Carousel */
.s30b-carousel { position: relative; margin: 14px 0 6px; border-radius: var(--s30b-radius); overflow: hidden; box-shadow: var(--s30b-shadow); }
.s30b-carousel-viewport { overflow: hidden; border-radius: var(--s30b-radius); }
.s30b-carousel-track { display: flex; transition: transform 0.5s ease; }
.s30b-slide { min-width: 100%; position: relative; }
.s30b-slide img { width: 100%; height: 180px; object-fit: cover; }
.s30b-slide-caption {
  position: absolute; left: 14px; bottom: 14px; right: 14px;
  background: rgba(26,26,46,0.65); padding: 8px 12px; border-radius: 8px;
  font-size: 1.3rem; color: var(--s30b-primary-2); font-weight: 700;
}
.s30b-carousel-dots { display: flex; justify-content: center; gap: 6px; padding: 8px 0 4px; }
.s30b-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.3); border: none; cursor: pointer; padding: 0; }
.s30b-dot.s30b-dot-active { background: var(--s30b-primary-2); width: 22px; border-radius: 4px; }

/* Section headings */
.s30b-section { margin: 22px 0 14px; }
.s30b-section-title {
  font-size: 1.8rem; font-weight: 800; color: var(--s30b-primary-2);
  margin: 0 0 12px; padding-left: 10px; border-left: 4px solid var(--s30b-primary);
  display: flex; align-items: center; gap: 8px;
}
.s30b-section-title i, .s30b-section-title span.mi { color: var(--s30b-primary-2); font-size: 2rem; }
.s30b-h1 {
  font-size: 2.1rem; font-weight: 800; color: var(--s30b-primary-2);
  margin: 14px 0 8px; line-height: 1.25;
}
.s30b-lead { font-size: 1.35rem; color: var(--s30b-muted); margin: 0 0 14px; }

/* Filter pills */
.s30b-filter-bar { display: flex; gap: 8px; overflow-x: auto; padding: 6px 0 12px; -webkit-overflow-scrolling: touch; }
.s30b-filter-bar::-webkit-scrollbar { display: none; }
.s30b-filter-pill {
  flex: 0 0 auto; padding: 7px 14px; border-radius: 20px; font-size: 1.2rem; font-weight: 700;
  background: var(--s30b-bg-3); color: var(--s30b-text-light); border: 1px solid var(--s30b-border); cursor: pointer;
  white-space: nowrap; transition: background 0.15s ease, color 0.15s ease;
}
.s30b-filter-pill.s30b-filter-active { background: linear-gradient(135deg, var(--s30b-primary), var(--s30b-primary-2)); color: #1a1a2e; border-color: transparent; }

/* Game grid */
.s30b-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.s30b-card {
  background: var(--s30b-bg-2); border: 1px solid var(--s30b-border); border-radius: 10px;
  padding: 8px; text-align: center; cursor: pointer; transition: transform 0.12s ease, border-color 0.12s ease;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.s30b-card:hover { transform: translateY(-2px); border-color: var(--s30b-primary-2); }
.s30b-card img { width: 64px; height: 64px; border-radius: 8px; object-fit: cover; }
.s30b-card-name { font-size: 1.1rem; color: var(--s30b-text-light); font-weight: 600; line-height: 1.25; min-height: 28px; }

/* Promo CTA banner */
.s30b-cta {
  background: linear-gradient(135deg, var(--s30b-primary) 0%, var(--s30b-primary-2) 100%);
  border-radius: var(--s30b-radius); padding: 16px 14px; color: #1a1a2e; margin: 18px 0;
  box-shadow: var(--s30b-shadow);
}
.s30b-cta h3 { margin: 0 0 6px; font-size: 1.7rem; font-weight: 800; }
.s30b-cta p { margin: 0 0 10px; font-size: 1.25rem; font-weight: 600; }
.s30b-cta .s30b-btn { background: #1a1a2e; color: var(--s30b-primary-2); }

/* Info / feature blocks */
.s30b-block { background: var(--s30b-bg-2); border: 1px solid var(--s30b-border); border-radius: var(--s30b-radius); padding: 14px; margin: 14px 0; }
.s30b-block h2 { font-size: 1.6rem; color: var(--s30b-primary-2); margin: 0 0 8px; }
.s30b-block h3 { font-size: 1.4rem; color: var(--s30b-text); margin: 12px 0 6px; }
.s30b-block p { font-size: 1.3rem; color: var(--s30b-text-light); margin: 0 0 8px; }
.s30b-block ul { margin: 6px 0 0; padding-left: 20px; }
.s30b-block li { font-size: 1.3rem; color: var(--s30b-text-light); margin-bottom: 5px; }

/* Inline keyword text link */
.s30b-inline-link { color: var(--s30b-primary-2); font-weight: 700; border-bottom: 1px dashed var(--s30b-primary-2); cursor: pointer; }

/* Testimonial / winner cards */
.s30b-mini-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.s30b-mini-card { background: var(--s30b-bg-3); border-radius: 10px; padding: 10px; border: 1px solid var(--s30b-border); }
.s30b-mini-card .s30b-name { font-size: 1.2rem; font-weight: 700; color: var(--s30b-primary-2); }
.s30b-mini-card .s30b-meta { font-size: 1.05rem; color: var(--s30b-muted); }
.s30b-mini-card .s30b-amount { font-size: 1.5rem; font-weight: 800; color: var(--s30b-accent); margin-top: 4px; }

/* RTP compact table */
.s30b-rtp-row { display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px solid rgba(255,255,255,0.06); font-size: 1.25rem; }
.s30b-rtp-row:last-child { border-bottom: none; }
.s30b-rtp-row .s30b-rtp-game { color: var(--s30b-text-light); }
.s30b-rtp-row .s30b-rtp-val { color: var(--s30b-accent); font-weight: 800; }

/* Payment icons row */
.s30b-pay-row { display: flex; gap: 10px; flex-wrap: wrap; }
.s30b-pay-chip { background: var(--s30b-bg-3); border: 1px solid var(--s30b-border); border-radius: 8px; padding: 8px 12px; font-size: 1.15rem; color: var(--s30b-text-light); display: flex; align-items: center; gap: 6px; }

/* Footer */
.s30b-footer { background: var(--s30b-bg-2); border-top: 1px solid var(--s30b-border); padding: 18px 14px 24px; margin-top: 20px; }
.s30b-footer-brand { font-size: 1.3rem; color: var(--s30b-muted); margin-bottom: 12px; line-height: 1.5; }
.s30b-footer-links { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.s30b-footer-links a { background: var(--s30b-bg-3); border: 1px solid var(--s30b-border); color: var(--s30b-text-light); padding: 6px 10px; border-radius: 6px; font-size: 1.1rem; }
.s30b-footer-links a:hover { color: var(--s30b-primary-2); border-color: var(--s30b-primary-2); text-decoration: none; }
.s30b-footer-copy { font-size: 1.1rem; color: var(--s30b-muted); text-align: center; margin-top: 10px; }

/* Bottom navigation (mobile only) */
.s30b-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
  height: var(--s30b-bottomnav-h); background: var(--s30b-bg-2);
  border-top: 1px solid var(--s30b-border); box-shadow: 0 -4px 14px rgba(0,0,0,0.4);
  display: flex; justify-content: space-around; align-items: center;
}
.s30b-nav-btn {
  flex: 1; min-width: 60px; min-height: 60px; background: transparent; border: none;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  color: var(--s30b-muted); cursor: pointer; padding: 4px; transition: transform 0.12s ease, color 0.12s ease;
}
.s30b-nav-btn i, .s30b-nav-btn .mi, .s30b-nav-btn .ion, .s30b-nav-btn ion-icon { font-size: 22px; }
.s30b-nav-btn .s30b-nav-label { font-size: 1.0rem; font-weight: 600; }
.s30b-nav-btn:active { transform: scale(0.92); }
.s30b-nav-btn.s30b-nav-active { color: var(--s30b-primary-2); }
.s30b-nav-btn.s30b-nav-active .s30b-nav-label { color: var(--s30b-primary-2); }

/* Desktop: hide bottom nav, widen container */
@media (min-width: 769px) {
  .s30b-bottom-nav { display: none; }
  .s30b-main { padding-bottom: 30px; }
  .s30b-container { max-width: 760px; }
  .s30b-header-inner { max-width: 760px; }
  .s30b-mobile-menu { max-width: 760px; }
  .s30b-grid { grid-template-columns: repeat(6, 1fr); }
  .s30b-mini-grid { grid-template-columns: repeat(4, 1fr); }
  .s30b-slide img { height: 320px; }
}

/* Small phone tweaks */
@media (max-width: 360px) {
  .s30b-grid { grid-template-columns: repeat(2, 1fr); }
  .s30b-brand-name { font-size: 1.6rem; }
  .s30b-btn { padding: 7px 10px; font-size: 1.1rem; }
}

/* Accessibility: focus outlines */
.s30b-btn:focus-visible, .s30b-nav-btn:focus-visible, .s30b-card:focus-visible, .s30b-filter-pill:focus-visible {
  outline: 2px solid var(--s30b-primary-2); outline-offset: 2px;
}
