/* b123b.css - Core base stylesheet for b123b.click (mobile-first, max-width 430px)
   Class prefix: sd19-  |  All comments in English.
   Palette: #8FBC8F | #90EE90 | #006400 | #2C3E50 | #FF7F50 */

:root {
  --sd19-primary: #006400;     /* deep green - brand */
  --sd19-accent: #FF7F50;      /* coral - CTA */
  --sd19-bg: #2C3E50;          /* dark slate - background */
  --sd19-bg2: #1c2a38;         /* darker shade */
  --sd19-light: #8FBC8F;       /* soft green - accents */
  --sd19-light2: #90EE90;      /* light green - highlights */
  --sd19-text: #f4f7f5;        /* near-white text */
  --sd19-muted: #b9c7c0;       /* muted text */
  --sd19-card: #243447;        /* card surface */
  --sd19-border: #3a4d61;      /* subtle border */
  --sd19-radius: 12px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { font-size: 62.5%; }   /* 1rem = 10px */

body {
  font-family: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  background: var(--sd19-bg);
  color: var(--sd19-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  max-width: 430px;
  margin: 0 auto;
  position: relative;
  overflow-x: hidden;
}

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

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

/* ===== Header ===== */
.sd19-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  max-width: 430px;
  margin: 0 auto;
  background: linear-gradient(180deg, #16304a, var(--sd19-bg2));
  border-bottom: 1px solid var(--sd19-border);
  box-shadow: 0 2px 8px rgba(0,0,0,0.35);
}
.sd19-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 1rem;
  min-height: 48px;
}
.sd19-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  font-size: 1.7rem;
  color: var(--sd19-light2);
}
.sd19-logo img { width: 28px; height: 28px; border-radius: 6px; }
.sd19-logo .sd19-logo-dot { color: var(--sd19-accent); }

.sd19-header-actions { display: flex; align-items: center; gap: 0.6rem; }
.sd19-btn {
  border: none;
  border-radius: 8px;
  padding: 0.6rem 1.1rem;
  font-size: 1.3rem;
  font-weight: 700;
  cursor: pointer;
  min-height: 36px;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.sd19-btn:active { transform: scale(0.95); }
.sd19-btn-register {
  background: linear-gradient(90deg, var(--sd19-accent), #ff6233);
  color: #fff;
  box-shadow: 0 2px 6px rgba(255,127,80,0.45);
}
.sd19-btn-login {
  background: transparent;
  color: var(--sd19-light2);
  border: 1px solid var(--sd19-light);
}
.sd19-menu-btn {
  background: transparent;
  border: none;
  color: var(--sd19-light2);
  font-size: 2.2rem;
  padding: 0 0.4rem;
  cursor: pointer;
  min-height: 36px;
}

/* ===== Expandable nav menu ===== */
.sd19-nav-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
  background: var(--sd19-bg2);
}
.sd19-nav-menu.sd19-nav-open { max-height: 480px; border-top: 1px solid var(--sd19-border); }
.sd19-nav-menu ul { list-style: none; padding: 0.6rem 1.2rem 1rem; }
.sd19-nav-menu li { margin: 0.2rem 0; }
.sd19-nav-menu a {
  display: block;
  padding: 0.9rem 0.6rem;
  color: var(--sd19-text);
  border-bottom: 1px dashed var(--sd19-border);
  font-size: 1.4rem;
}
.sd19-nav-menu a:active { color: var(--sd19-accent); }

/* ===== Main ===== */
main { padding-top: 64px; padding-bottom: 16px; }
@media (max-width: 768px) { main { padding-bottom: 80px; } }

.sd19-section { padding: 1.6rem 1.2rem; }
.sd19-section h2 {
  font-size: 1.9rem;
  color: var(--sd19-light2);
  margin-bottom: 0.8rem;
  font-weight: 800;
}
.sd19-section h3 {
  font-size: 1.5rem;
  color: var(--sd19-light);
  margin: 0.8rem 0 0.4rem;
  font-weight: 700;
}
.sd19-section p { margin: 0.6rem 0; color: var(--sd19-muted); }
.sd19-h1 {
  font-size: 2.2rem;
  color: #fff;
  padding: 1.2rem 1.2rem 0.6rem;
  line-height: 1.3;
  font-weight: 800;
}

/* ===== Carousel ===== */
.sd19-carousel {
  position: relative;
  margin: 1rem 1.2rem;
  border-radius: var(--sd19-radius);
  overflow: hidden;
  aspect-ratio: 16/9;
}
.sd19-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .5s ease;
}
.sd19-slide.sd19-slide-active { opacity: 1; }
.sd19-slide img { width: 100%; height: 100%; object-fit: cover; }
.sd19-carousel-overlay {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1rem 1.2rem;
  background: linear-gradient(0deg, rgba(0,0,0,0.75), transparent);
  color: #fff;
}
.sd19-carousel-overlay span {
  display: inline-block;
  background: var(--sd19-accent);
  color: #fff;
  font-weight: 700;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 1.3rem;
}
.sd19-dots {
  position: absolute;
  bottom: 8px; right: 12px;
  display: flex; gap: 6px;
}
.sd19-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.4);
}
.sd19-dot.sd19-dot-active { background: var(--sd19-accent); }

/* ===== Game grid ===== */
.sd19-cat-title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 1.4rem 1.2rem 0.8rem;
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--sd19-light2);
}
.sd19-cat-title i { color: var(--sd19-accent); }
.sd19-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
  padding: 0 1.2rem;
}
.sd19-game-card {
  background: var(--sd19-card);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--sd19-border);
  cursor: pointer;
  transition: transform .15s ease, border-color .15s ease;
}
.sd19-game-card:active { transform: scale(0.96); border-color: var(--sd19-accent); }
.sd19-game-card img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.sd19-game-name {
  font-size: 1.1rem;
  color: var(--sd19-text);
  padding: 0.4rem;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ===== Cards / blocks ===== */
.sd19-card {
  background: var(--sd19-card);
  border: 1px solid var(--sd19-border);
  border-radius: var(--sd19-radius);
  padding: 1.2rem;
  margin: 1rem 1.2rem;
}
.sd19-card h3 { color: var(--sd19-light2); margin-bottom: 0.6rem; }
.sd19-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
}
.sd19-feature {
  background: var(--sd19-bg2);
  border-radius: 10px;
  padding: 1rem;
  text-align: center;
}
.sd19-feature i { color: var(--sd19-accent); font-size: 2rem; }
.sd19-feature p { margin-top: 0.4rem; font-size: 1.2rem; color: var(--sd19-muted); }

/* Testimonial */
.sd19-testimonial {
  background: var(--sd19-bg2);
  border-left: 4px solid var(--sd19-accent);
  padding: 0.9rem 1rem;
  border-radius: 8px;
  margin: 0.6rem 0;
}
.sd19-testimonial .sd19-t-name { font-weight: 700; color: var(--sd19-light2); }
.sd19-stars { color: #ffd54f; }

/* Payment methods */
.sd19-pay-row {
  display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.8rem;
}
.sd19-pay-chip {
  background: var(--sd19-bg2);
  border: 1px solid var(--sd19-border);
  padding: 0.5rem 0.9rem;
  border-radius: 20px;
  font-size: 1.2rem;
  color: var(--sd19-light);
}

/* Winners */
.sd19-winner {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.6rem 0;
  border-bottom: 1px dashed var(--sd19-border);
}
.sd19-winner .sd19-w-name { font-weight: 700; }
.sd19-winner .sd19-w-prize { color: var(--sd19-accent); font-weight: 800; }

/* CTA button big */
.sd19-cta {
  display: inline-block;
  margin: 1rem 1.2rem;
  padding: 1.1rem 2rem;
  background: linear-gradient(90deg, var(--sd19-accent), #ff6233);
  color: #fff;
  font-weight: 800;
  font-size: 1.6rem;
  border-radius: 10px;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(255,127,80,0.5);
}
.sd19-cta:active { transform: scale(0.97); }
.sd19-text-link { color: var(--sd19-accent); font-weight: 700; text-decoration: underline; }

/* RTP table */
.sd19-rtp-row {
  display: flex; justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px dashed var(--sd19-border);
  font-size: 1.3rem;
}
.sd19-rtp-row .sd19-rtp-val { color: var(--sd19-light2); font-weight: 700; }

/* Play now button component */
.sd19-play-box {
  text-align: center;
  padding: 1.4rem;
  background: linear-gradient(135deg, #16304a, #1f4030);
  border-radius: var(--sd19-radius);
  margin: 1rem 1.2rem;
  border: 1px solid var(--sd19-primary);
}
.sd19-play-box p { margin-bottom: 1rem; }

/* ===== Footer ===== */
.sd19-footer {
  background: var(--sd19-bg2);
  border-top: 1px solid var(--sd19-border);
  padding: 1.6rem 1.2rem 2rem;
  margin-top: 1rem;
}
.sd19-footer-brand { color: var(--sd19-light2); font-weight: 800; font-size: 1.6rem; margin-bottom: 0.4rem; }
.sd19-footer p { color: var(--sd19-muted); font-size: 1.2rem; margin-bottom: 0.8rem; }
.sd19-footer-links {
  display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; margin: 0.8rem 0;
}
.sd19-footer-links a {
  color: var(--sd19-light);
  font-size: 1.2rem;
  text-decoration: underline;
}
.sd19-footer-promo {
  display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0.8rem 0;
}
.sd19-footer-promo .sd19-btn { font-size: 1.2rem; }
.sd19-footer-copy { font-size: 1.1rem; color: #6f8a7f; margin-top: 0.6rem; }

/* ===== Mobile bottom nav ===== */
.sd19-bnav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  max-width: 430px;
  margin: 0 auto;
  height: 60px;
  background: linear-gradient(180deg, #1c2a38, #15212e);
  border-top: 1px solid var(--sd19-border);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 -2px 8px rgba(0,0,0,0.4);
}
.sd19-bnav-item {
  flex: 1;
  min-width: 60px;
  min-height: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: var(--sd19-muted);
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  transition: color .15s ease, transform .15s ease;
  text-decoration: none;
}
.sd19-bnav-item i { font-size: 22px; }
.sd19-bnav-item:active { transform: scale(0.9); }
.sd19-bnav-current { color: var(--sd19-accent); }
.sd19-bnav-current i { color: var(--sd19-accent); }

@media (min-width: 769px) { .sd19-bnav { display: none; } }

/* Desktop fallback nav */
.sd19-desktop-nav { display: none; }
@media (min-width: 769px) {
  body { max-width: 960px; }
  .sd19-desktop-nav { display: flex; gap: 1rem; padding: 1rem 1.2rem; flex-wrap: wrap; }
  .sd19-desktop-nav a { color: var(--sd19-light); font-size: 1.3rem; }
  main { padding-top: 70px; }
}

/* Helper visibility for sections */
.sd19-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; }
.sd19-muted-text { color: var(--sd19-muted); font-size: 1.25rem; }

/* FAQ q/a */
.sd19-q {
  cursor: pointer;
  font-weight: 700;
  padding: 0.8rem 0;
  border-bottom: 1px dashed var(--sd19-border);
  display: flex; justify-content: space-between;
  color: var(--sd19-light2);
}
.sd19-a { max-height: 0; overflow: hidden; transition: max-height .25s ease; color: var(--sd19-muted); }
.sd19-a.sd19-a-open { max-height: 200px; padding: 0.6rem 0; }

.sd19-bullet { padding-left: 1rem; }
.sd19-bullet li { list-style: disc; margin: 0.3rem 0; }