/* ===========================================================
   2jl app - Core stylesheet (basefiles)
   Prefix: sb25-
   Palette: #6F4E37 | #DAA520 | #212F3D | #FDF5E6 | #FFEF94
   Mobile-first: max-width 430px
   =========================================================== */

/* ---------- Design tokens ---------- */
:root {
  --sb25-primary: #DAA520;          /* Gold */
  --sb25-primary-dark: #6F4E37;     /* Coffee brown */
  --sb25-bg: #212F3D;               /* Deep navy background */
  --sb25-bg-2: #18222D;             /* Darker shade */
  --sb25-bg-3: #2B3B4C;             /* Surface */
  --sb25-text: #FDF5E6;             /* Cream text */
  --sb25-text-muted: #C9D6E0;       /* Muted text */
  --sb25-accent: #FFEF94;           /* Light yellow accent */
  --sb25-danger: #E74C3C;
  --sb25-success: #27AE60;
  --sb25-shadow: 0 6px 18px rgba(0,0,0,.35);
  --sb25-shadow-gold: 0 4px 14px rgba(218,165,32,.35);
  --sb25-radius: 14px;
  --sb25-radius-sm: 10px;
  --sb25-header-h: 58px;
  --sb25-bottom-h: 62px;
  --sb25-transition: .25s ease;
}

/* ---------- Reset & base ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 62.5%; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: "Segoe UI", "Helvetica Neue", Roboto, Arial, system-ui, sans-serif;
  background: var(--sb25-bg);
  color: var(--sb25-text);
  line-height: 1.5;
  font-size: 1.5rem;
  min-height: 100vh;
  overflow-x: hidden;
}
a { color: var(--sb25-primary); text-decoration: none; transition: color var(--sb25-transition); }
a:hover { color: var(--sb25-accent); }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }
h1, h2, h3, h4 { line-height: 1.25; color: var(--sb25-text); }
h1 { font-size: 2.2rem; }
h2 { font-size: 1.95rem; }
h3 { font-size: 1.7rem; }
h4 { font-size: 1.5rem; }
p { margin-bottom: 1rem; color: var(--sb25-text-muted); }

/* ---------- Layout helpers ---------- */
.sb25-container { width: 100%; max-width: 430px; margin: 0 auto; padding: 0 1.2rem; position: relative; }
.sb25-wrapper { width: 100%; max-width: 430px; margin: 0 auto; }
.sb25-section { padding: 2.4rem 0; border-bottom: 1px solid rgba(218,165,32,.12); }
.sb25-section-title {
  display: flex; align-items: center; gap: .8rem;
  margin-bottom: 1.4rem;
}
.sb25-section-title h2 { color: var(--sb25-accent); }
.sb25-section-title .sb25-bar { width: 6px; height: 24px; background: var(--sb25-primary); border-radius: 3px; }
.sb25-muted { color: var(--sb25-text-muted); }
.sb25-center { text-align: center; }
.sb25-hidden { display: none !important; }

/* ---------- Buttons ---------- */
.sb25-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: 1rem 1.6rem; min-height: 44px;
  border: none; border-radius: var(--sb25-radius-sm);
  font-size: 1.45rem; font-weight: 700; cursor: pointer;
  transition: transform var(--sb25-transition), box-shadow var(--sb25-transition), background var(--sb25-transition);
}
.sb25-btn:hover { transform: translateY(-1px); }
.sb25-btn-primary { background: var(--sb25-primary); color: #1f1402; box-shadow: var(--sb25-shadow-gold); }
.sb25-btn-primary:hover { background: var(--sb25-accent); color: #1f1402; }
.sb25-btn-secondary { background: var(--sb25-bg-3); color: var(--sb25-text); }
.sb25-btn-outline { background: transparent; border: 2px solid var(--sb25-primary); color: var(--sb25-accent); }
.sb25-btn-block { display: flex; width: 100%; }

/* ---------- Header ---------- */
.sb25-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: linear-gradient(180deg, #1B2735 0%, #18222D 100%);
  border-bottom: 1px solid rgba(218,165,32,.25);
  box-shadow: 0 2px 10px rgba(0,0,0,.35);
}
.sb25-header-inner {
  max-width: 430px; margin: 0 auto; height: var(--sb25-header-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 1rem;
}
.sb25-logo { display: flex; align-items: center; gap: .7rem; }
.sb25-logo img { width: 32px; height: 32px; border-radius: 8px; }
.sb25-logo-text { font-size: 1.65rem; font-weight: 800; color: var(--sb25-accent); letter-spacing: .3px; }
.sb25-logo-text span { color: var(--sb25-primary); }
.sb25-header-actions { display: flex; align-items: center; gap: .55rem; }
.sb25-btn-register, .sb25-btn-login {
  padding: .7rem 1.1rem; font-size: 1.3rem; font-weight: 700; border-radius: 8px;
  min-height: 36px; display: inline-flex; align-items: center; gap: .4rem;
}
.sb25-btn-register { background: var(--sb25-primary); color: #1f1402; box-shadow: var(--sb25-shadow-gold); }
.sb25-btn-login { background: transparent; color: var(--sb25-accent); border: 1px solid var(--sb25-primary); }
.sb25-menu-toggle {
  width: 38px; height: 38px; background: transparent; border: none; color: var(--sb25-accent);
  font-size: 2rem; cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
}

/* ---------- Expandable nav menu ---------- */
.sb25-nav {
  position: fixed; top: var(--sb25-header-h); left: 0; right: 0;
  max-height: 0; overflow: hidden; z-index: 999;
  background: var(--sb25-bg-2);
  transition: max-height .35s ease;
  border-bottom: 1px solid rgba(218,165,32,.25);
  box-shadow: var(--sb25-shadow);
}
.sb25-nav.sb25-open { max-height: 480px; }
.sb25-nav-inner { max-width: 430px; margin: 0 auto; padding: 1rem 1.2rem; display: grid; gap: .4rem; }
.sb25-nav a {
  display: flex; align-items: center; gap: .8rem;
  padding: 1rem 1rem; border-radius: 8px;
  color: var(--sb25-text); font-size: 1.45rem; font-weight: 600;
  border: 1px solid transparent;
}
.sb25-nav a:hover { background: rgba(218,165,32,.12); border-color: rgba(218,165,32,.3); color: var(--sb25-accent); }
.sb25-nav a i { color: var(--sb25-primary); width: 22px; text-align: center; }

/* ---------- Main ---------- */
.sb25-main { padding-top: calc(var(--sb25-header-h) + 8px); padding-bottom: 0; }
@media (max-width: 768px) { .sb25-main { padding-bottom: calc(var(--sb25-bottom-h) + 14px); } }

/* ---------- Hero / Carousel ---------- */
.sb25-hero { position: relative; overflow: hidden; border-radius: var(--sb25-radius); margin-top: 1.4rem; box-shadow: var(--sb25-shadow); }
.sb25-carousel { position: relative; }
.sb25-slides { display: flex; scroll-snap-type: x mandatory; overflow-x: auto; scroll-behavior: smooth; -webkit-overflow-scrolling: touch; }
.sb25-slides::-webkit-scrollbar { display: none; }
.sb25-slide { flex: 0 0 100%; scroll-snap-align: center; position: relative; }
.sb25-slide img { width: 100%; height: 200px; object-fit: cover; }
.sb25-slide-overlay {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1.4rem 1.2rem 1.2rem;
  background: linear-gradient(0deg, rgba(33,47,61,.92) 0%, rgba(33,47,61,0) 100%);
}
.sb25-slide-overlay h3 { color: var(--sb25-accent); font-size: 1.7rem; margin-bottom: .3rem; }
.sb25-slide-overlay p { color: var(--sb25-text-muted); font-size: 1.25rem; margin: 0; }
.sb25-carousel-dots {
  display: flex; justify-content: center; gap: .5rem; padding: .8rem 0;
}
.sb25-carousel-dots button {
  width: 8px; height: 8px; border-radius: 50%; border: none;
  background: rgba(218,165,32,.4); cursor: pointer; padding: 0;
  transition: all var(--sb25-transition);
}
.sb25-carousel-dots button.sb25-active { background: var(--sb25-primary); width: 22px; border-radius: 4px; }

/* ---------- H1 hero block ---------- */
.sb25-h1-block {
  background: linear-gradient(135deg, rgba(111,78,55,.6) 0%, rgba(33,47,61,.9) 100%);
  border: 1px solid rgba(218,165,32,.35);
  border-radius: var(--sb25-radius);
  padding: 1.8rem 1.4rem;
  margin: 1.4rem 0;
}
.sb25-h1-block h1 { color: var(--sb25-accent); margin-bottom: .6rem; font-size: 2rem; }
.sb25-h1-block p { color: var(--sb25-text-muted); margin: 0; font-size: 1.35rem; }

/* ---------- Game grid ---------- */
.sb25-cat-block { margin-bottom: 2rem; }
.sb25-cat-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 1rem;
}
.sb25-cat-header h3 {
  display: flex; align-items: center; gap: .6rem;
  color: var(--sb25-accent); font-size: 1.55rem;
}
.sb25-cat-header h3 i { color: var(--sb25-primary); }
.sb25-cat-header a { font-size: 1.25rem; color: var(--sb25-primary); font-weight: 600; }

.sb25-game-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem;
}
.sb25-game-card {
  background: var(--sb25-bg-3); border-radius: var(--sb25-radius-sm);
  padding: .8rem; text-align: center; cursor: pointer;
  transition: transform var(--sb25-transition), box-shadow var(--sb25-transition), border-color var(--sb25-transition);
  border: 1px solid rgba(218,165,32,.15);
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
}
.sb25-game-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--sb25-shadow-gold);
  border-color: var(--sb25-primary);
}
.sb25-game-card img {
  width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px;
  background: rgba(255,255,255,.05);
}
.sb25-game-card span {
  font-size: 1.15rem; color: var(--sb25-text); font-weight: 600;
  line-height: 1.25; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; width: 100%;
}

/* ---------- Cards / feature blocks ---------- */
.sb25-card {
  background: var(--sb25-bg-3); border-radius: var(--sb25-radius);
  padding: 1.5rem; box-shadow: var(--sb25-shadow);
  border: 1px solid rgba(218,165,32,.15);
}
.sb25-card h3 { color: var(--sb25-accent); margin-bottom: .8rem; }
.sb25-card-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.sb25-feature-row { display: flex; gap: 1rem; align-items: flex-start; padding: .8rem 0; border-bottom: 1px dashed rgba(218,165,32,.18); }
.sb25-feature-row:last-child { border-bottom: none; }
.sb25-feature-row i { color: var(--sb25-primary); font-size: 2rem; flex-shrink: 0; margin-top: .2rem; }
.sb25-feature-row h4 { color: var(--sb25-accent); margin-bottom: .3rem; font-size: 1.4rem; }
.sb25-feature-row p { font-size: 1.25rem; margin: 0; }

/* ---------- FAQ ---------- */
.sb25-faq-item {
  background: var(--sb25-bg-3); border-radius: var(--sb25-radius-sm);
  margin-bottom: .8rem; overflow: hidden;
  border: 1px solid rgba(218,165,32,.15);
}
.sb25-faq-q {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.1rem 1.3rem; cursor: pointer; font-weight: 700;
  color: var(--sb25-accent); font-size: 1.35rem;
}
.sb25-faq-q i { color: var(--sb25-primary); transition: transform var(--sb25-transition); }
.sb25-faq-item.sb25-open .sb25-faq-q i { transform: rotate(45deg); }
.sb25-faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.sb25-faq-item.sb25-open .sb25-faq-a { max-height: 320px; }
.sb25-faq-a p { padding: 0 1.3rem 1.1rem; margin: 0; color: var(--sb25-text-muted); font-size: 1.3rem; }

/* ---------- Testimonials ---------- */
.sb25-testimonial-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.sb25-testimonial {
  background: var(--sb25-bg-3); border-radius: var(--sb25-radius);
  padding: 1.3rem; border-left: 4px solid var(--sb25-primary);
}
.sb25-testimonial .sb25-stars { color: var(--sb25-primary); margin-bottom: .5rem; font-size: 1.2rem; }
.sb25-testimonial p { font-size: 1.3rem; font-style: italic; }
.sb25-testimonial .sb25-author { font-size: 1.2rem; color: var(--sb25-accent); font-weight: 700; margin-top: .5rem; }

/* ---------- Payment grid ---------- */
.sb25-pay-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .7rem; }
.sb25-pay-grid > div {
  background: var(--sb25-bg-3); border-radius: 8px; padding: .8rem .4rem;
  text-align: center; font-size: 1.1rem; color: var(--sb25-text);
  border: 1px solid rgba(218,165,32,.15);
}
.sb25-pay-grid i { font-size: 2rem; color: var(--sb25-primary); display: block; margin-bottom: .3rem; }

/* ---------- Winners ticker ---------- */
.sb25-winner {
  display: flex; justify-content: space-between; align-items: center;
  padding: .7rem 1rem; background: var(--sb25-bg-3);
  border-radius: var(--sb25-radius-sm); margin-bottom: .6rem;
  border: 1px solid rgba(218,165,32,.12);
}
.sb25-winner .sb25-name { color: var(--sb25-accent); font-weight: 700; font-size: 1.25rem; }
.sb25-winner .sb25-game { color: var(--sb25-text-muted); font-size: 1.2rem; }
.sb25-winner .sb25-prize { color: var(--sb25-primary); font-weight: 800; font-size: 1.35rem; }

/* ---------- RTP stats ---------- */
.sb25-rtp-row {
  display: flex; align-items: center; gap: 1rem; padding: .8rem 0;
  border-bottom: 1px dashed rgba(218,165,32,.15);
}
.sb25-rtp-row:last-child { border-bottom: none; }
.sb25-rtp-name { flex: 1; font-size: 1.25rem; color: var(--sb25-text); font-weight: 600; }
.sb25-rtp-bar { flex: 1.5; height: 8px; background: rgba(255,255,255,.08); border-radius: 4px; overflow: hidden; }
.sb25-rtp-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--sb25-primary-dark), var(--sb25-primary)); }
.sb25-rtp-pct { color: var(--sb25-accent); font-weight: 700; font-size: 1.25rem; min-width: 50px; text-align: right; }

/* ---------- CTA band ---------- */
.sb25-cta {
  background: linear-gradient(135deg, #6F4E37 0%, #DAA520 100%);
  border-radius: var(--sb25-radius);
  padding: 1.8rem 1.4rem; text-align: center; color: #1f1402;
  box-shadow: var(--sb25-shadow-gold);
}
.sb25-cta h3 { color: #1f1402; margin-bottom: .5rem; }
.sb25-cta p { color: rgba(31,20,2,.85); margin-bottom: 1rem; }
.sb25-cta .sb25-btn { background: #212F3D; color: var(--sb25-accent); }

/* ---------- Content text ---------- */
.sb25-content p { color: var(--sb25-text-muted); margin-bottom: 1rem; font-size: 1.35rem; }
.sb25-content strong { color: var(--sb25-accent); }
.sb25-content a { font-weight: 600; border-bottom: 1px dotted var(--sb25-primary); }
.sb25-step-list { counter-reset: step; padding-left: 0; }
.sb25-step-list li {
  counter-increment: step; position: relative;
  padding: .7rem .8rem .7rem 3.2rem;
  margin-bottom: .6rem; background: var(--sb25-bg-3);
  border-radius: var(--sb25-radius-sm); font-size: 1.3rem; color: var(--sb25-text-muted);
  border: 1px solid rgba(218,165,32,.12);
}
.sb25-step-list li::before {
  content: counter(step); position: absolute; left: .8rem; top: 50%; transform: translateY(-50%);
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--sb25-primary); color: #1f1402;
  font-size: 1.2rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}

/* ---------- App download CTA ---------- */
.sb25-app-cta {
  display: flex; align-items: center; gap: 1.2rem;
  background: var(--sb25-bg-3); border-radius: var(--sb25-radius);
  padding: 1.4rem; border: 1px solid rgba(218,165,32,.2);
}
.sb25-app-cta .sb25-app-icon {
  width: 64px; height: 64px; border-radius: 14px;
  background: var(--sb25-primary); color: #1f1402;
  display: flex; align-items: center; justify-content: center; font-size: 3rem;
  flex-shrink: 0;
}
.sb25-app-cta h4 { color: var(--sb25-accent); margin-bottom: .3rem; }
.sb25-app-cta p { font-size: 1.25rem; margin-bottom: .7rem; }
.sb25-app-cta .sb25-btn { padding: .7rem 1.2rem; font-size: 1.25rem; min-height: 36px; }

/* ---------- Footer ---------- */
.sb25-footer {
  background: var(--sb25-bg-2);
  border-top: 1px solid rgba(218,165,32,.25);
  padding: 2rem 0 3rem; margin-top: 2rem;
}
.sb25-footer-inner { max-width: 430px; margin: 0 auto; padding: 0 1.2rem; }
.sb25-footer-about p { color: var(--sb25-text-muted); font-size: 1.25rem; margin: .8rem 0 1.2rem; }
.sb25-footer-promo { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1.4rem; }
.sb25-footer-promo button {
  background: var(--sb25-primary); color: #1f1402; border: none;
  padding: .65rem 1rem; border-radius: 8px; font-weight: 700; font-size: 1.2rem; cursor: pointer;
  display: inline-flex; align-items: center; gap: .4rem;
}
.sb25-footer-promo button:hover { background: var(--sb25-accent); }
.sb25-footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem 1rem; margin-bottom: 1.4rem; }
.sb25-footer-links a { font-size: 1.2rem; color: var(--sb25-text-muted); display: flex; align-items: center; gap: .4rem; }
.sb25-footer-links a:hover { color: var(--sb25-accent); }
.sb25-footer-links a i { color: var(--sb25-primary); font-size: 1.1rem; }
.sb25-footer-bottom {
  border-top: 1px solid rgba(218,165,32,.15); padding-top: 1rem;
  text-align: center; font-size: 1.15rem; color: var(--sb25-text-muted);
}
.sb25-disclaimer {
  background: rgba(111,78,55,.18); border-radius: 8px; padding: .8rem;
  font-size: 1.1rem; color: var(--sb25-text-muted); margin-top: 1rem;
  border: 1px solid rgba(218,165,32,.12);
}

/* ---------- Mobile bottom nav ---------- */
.sb25-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
  height: var(--sb25-bottom-h);
  background: linear-gradient(180deg, #1B2735 0%, #0F1820 100%);
  border-top: 1px solid rgba(218,165,32,.35);
  display: flex; justify-content: space-around; align-items: center;
  box-shadow: 0 -3px 14px rgba(0,0,0,.4);
}
.sb25-bottom-nav button, .sb25-bottom-nav a {
  flex: 1; min-width: 60px; min-height: 60px;
  background: transparent; border: none; color: var(--sb25-text-muted);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .2rem; font-size: 1rem; font-weight: 600;
  transition: color var(--sb25-transition), transform var(--sb25-transition);
  text-decoration: none;
}
.sb25-bottom-nav button:active, .sb25-bottom-nav a:active { transform: scale(.92); }
.sb25-bottom-nav i { font-size: 22px; }
.sb25-bottom-nav .sb25-active { color: var(--sb25-accent); }
.sb25-bottom-nav .sb25-active i { color: var(--sb25-primary); filter: drop-shadow(0 0 6px rgba(218,165,32,.6)); }
.sb25-bottom-nav .sb25-promo-pill {
  background: var(--sb25-primary); color: #1f1402;
  width: 48px; height: 48px; border-radius: 50%; margin-top: -22px;
  box-shadow: var(--sb25-shadow-gold);
  align-items: center; justify-content: center;
  flex: 0 0 auto;
  min-width: 48px; min-height: 48px;
}
.sb25-bottom-nav .sb25-promo-pill i { font-size: 24px; color: #1f1402; }
.sb25-bottom-nav .sb25-promo-pill span { display: none; }

@media (min-width: 769px) { .sb25-bottom-nav { display: none; } }

/* ---------- Tag / badge ---------- */
.sb25-tag { display: inline-flex; align-items: center; gap: .3rem; padding: .25rem .6rem; border-radius: 20px; font-size: 1.05rem; font-weight: 700; background: rgba(218,165,32,.18); color: var(--sb25-accent); border: 1px solid rgba(218,165,32,.35); }
.sb25-badge-hot { background: var(--sb25-danger); color: #fff; padding: .15rem .5rem; border-radius: 6px; font-size: 1rem; font-weight: 800; position: absolute; top: 6px; left: 6px; }

/* ---------- Small utilities ---------- */
.sb25-mt-1 { margin-top: .5rem; } .sb25-mt-2 { margin-top: 1rem; } .sb25-mt-3 { margin-top: 1.5rem; }
.sb25-mb-1 { margin-bottom: .5rem; } .sb25-mb-2 { margin-bottom: 1rem; } .sb25-mb-3 { margin-bottom: 1.5rem; }
.sb25-flex { display: flex; } .sb25-flex-between { display: flex; justify-content: space-between; align-items: center; }
.sb25-gap-1 { gap: .5rem; } .sb25-gap-2 { gap: 1rem; }
.sb25-text-sm { font-size: 1.2rem; } .sb25-text-md { font-size: 1.35rem; }

/* ---------- Desktop tweaks ---------- */
@media (min-width: 431px) { body { background: linear-gradient(180deg, #1B2735 0%, #18222D 60%, #18222D 100%); } .sb25-game-grid { grid-template-columns: repeat(5, 1fr); } .sb25-testimonial-grid { grid-template-columns: repeat(2, 1fr); } .sb25-pay-grid { grid-template-columns: repeat(6, 1fr); } .sb25-footer-links { grid-template-columns: repeat(3, 1fr); } }
