/* =========================================================
 * FiliBet design.css
 * Mobile-first stylesheet for filibet.click
 * All custom classes use prefix: s25b-
 * Palette: #2D2D2D (bg) | #E65100 (primary) | #DEE2E6 (text)
 * ========================================================= */

:root {
  --s25b-bg: #2D2D2D;
  --s25b-bg-alt: #1c1c1c;
  --s25b-bg-card: #3a3a3a;
  --s25b-primary: #E65100;
  --s25b-primary-dark: #B33F00;
  --s25b-text: #DEE2E6;
  --s25b-text-muted: #b3b6bb;
  --s25b-accent: #FFB74D;
  --s25b-success: #2E7D32;
  --s25b-border: #4a4a4a;
  --s25b-radius: 12px;
  --s25b-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
  --s25b-header-h: 58px;
  --s25b-bottomnav-h: 60px;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 62.5%; /* 1rem = 10px */
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--s25b-bg);
  color: var(--s25b-text);
  line-height: 1.5rem;
  font-size: 1.5rem;
  overflow-x: hidden;
}

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

/* ---------- Layout helpers ---------- */
.s25b-wrapper {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1.4rem;
}

.s25b-container {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
}

main {
  padding-bottom: 80px; /* clear bottom nav on mobile */
}

/* ---------- Header ---------- */
.s25b-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--s25b-header-h);
  background: linear-gradient(90deg, #1c1c1c 0%, #2D2D2D 100%);
  border-bottom: 1px solid var(--s25b-border);
  z-index: 1000;
  transition: box-shadow .25s ease;
}

.s25b-header.s25b-is-scrolled {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}

.s25b-header-inner {
  max-width: 430px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.2rem;
}

.s25b-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--s25b-text);
  font-weight: 700;
  font-size: 1.8rem;
}

.s25b-brand img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}

.s25b-brand .s25b-brand-accent { color: var(--s25b-primary); }

.s25b-header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

/* ---------- Buttons ---------- */
.s25b-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 38px;
  padding: 0 1.3rem;
  border: none;
  border-radius: 8px;
  font-size: 1.35rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform .15s ease, background .2s ease;
  text-decoration: none;
  font-family: inherit;
}

.s25b-btn:active { transform: scale(0.96); }

.s25b-btn-primary {
  background: var(--s25b-primary);
  color: #fff;
}

.s25b-btn-primary:hover { background: var(--s25b-primary-dark); color: #fff; }

.s25b-btn-ghost {
  background: transparent;
  color: var(--s25b-text);
  border: 1px solid var(--s25b-border);
}

.s25b-btn-ghost:hover { color: var(--s25b-accent); border-color: var(--s25b-accent); }

.s25b-btn-block {
  display: flex;
  width: 100%;
  padding: 1.1rem;
  font-size: 1.6rem;
}

/* Hamburger */
.s25b-menu-btn {
  width: 38px;
  height: 38px;
  background: transparent;
  border: 1px solid var(--s25b-border);
  border-radius: 8px;
  color: var(--s25b-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* ---------- Mobile menu ---------- */
.s25b-mobile-menu {
  position: fixed;
  top: var(--s25b-header-h);
  left: 0;
  right: 0;
  background: var(--s25b-bg-alt);
  border-bottom: 1px solid var(--s25b-border);
  padding: 1.2rem 1.4rem 1.6rem;
  transform: translateY(-140%);
  transition: transform .3s ease;
  z-index: 9999;
  max-height: 75vh;
  overflow-y: auto;
}

.s25b-mobile-menu.s25b-is-open { transform: translateY(0); }

.s25b-mobile-menu a {
  display: block;
  padding: 1rem 0.6rem;
  border-bottom: 1px solid var(--s25b-border);
  color: var(--s25b-text);
  font-size: 1.45rem;
}

.s25b-mobile-menu a:hover { color: var(--s25b-accent); }

/* ---------- Page body offset for fixed header ---------- */
.s25b-hero {
  padding-top: calc(var(--s25b-header-h) + 1rem);
}

/* ---------- Carousel ---------- */
.s25b-carousel {
  position: relative;
  border-radius: var(--s25b-radius);
  overflow: hidden;
  box-shadow: var(--s25b-shadow);
}

.s25b-carousel-track {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
}

.s25b-carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .6s ease;
  cursor: pointer;
}

.s25b-carousel-slide img { width: 100%; height: 100%; object-fit: cover; }

.s25b-carousel-slide.s25b-is-active { opacity: 1; }

.s25b-carousel-dots {
  position: absolute;
  bottom: 8px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 6px;
  z-index: 2;
}

.s25b-carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  padding: 0;
}

.s25b-carousel-dot.s25b-is-active { background: var(--s25b-primary); }

/* ---------- Section ---------- */
.s25b-section {
  padding: 2rem 0;
}

.s25b-section-title {
  font-size: 1.9rem;
  font-weight: 800;
  margin: 0 0 1.2rem;
  color: var(--s25b-text);
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.s25b-section-title i { color: var(--s25b-primary); }

.s25b-subtitle {
  font-size: 1.6rem;
  font-weight: 700;
  margin: 1.4rem 0 0.8rem;
  color: var(--s25b-accent);
}

.s25b-text-muted { color: var(--s25b-text-muted); font-size: 1.4rem; }

/* ---------- Game grid ---------- */
.s25b-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
}

.s25b-game-card {
  background: var(--s25b-bg-card);
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease;
  border: 1px solid transparent;
}

.s25b-game-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--s25b-shadow);
  border-color: var(--s25b-primary);
}

.s25b-game-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.s25b-game-card-name {
  font-size: 1.2rem;
  padding: 0.5rem 0.4rem;
  color: var(--s25b-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---------- Cards / panels ---------- */
.s25b-card {
  background: var(--s25b-bg-card);
  border-radius: var(--s25b-radius);
  padding: 1.4rem;
  box-shadow: var(--s25b-shadow);
  margin-bottom: 1.2rem;
}

.s25b-card p { margin: 0 0 0.8rem; font-size: 1.4rem; }
.s25b-card p:last-child { margin-bottom: 0; }

.s25b-feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.s25b-feature-list li {
  padding: 0.9rem 0;
  border-bottom: 1px dashed var(--s25b-border);
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  font-size: 1.4rem;
}

.s25b-feature-list li:last-child { border-bottom: none; }
.s25b-feature-list i { color: var(--s25b-primary); margin-top: 0.2rem; }

/* ---------- Steps ---------- */
.s25b-steps { counter-reset: step; padding: 0; list-style: none; margin: 0; }
.s25b-steps li {
  position: relative;
  padding: 0.8rem 0 0.8rem 3.4rem;
  font-size: 1.4rem;
}
.s25b-steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  background: var(--s25b-primary);
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

/* ---------- Stats / RTP ---------- */
.s25b-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
}
.s25b-stat {
  background: var(--s25b-bg-card);
  border-radius: 10px;
  padding: 1rem;
  text-align: center;
}
.s25b-stat-value { font-size: 2rem; font-weight: 800; color: var(--s25b-accent); }
.s25b-stat-label { font-size: 1.2rem; color: var(--s25b-text-muted); }

/* ---------- Testimonials ---------- */
.s25b-testimonial {
  background: var(--s25b-bg-card);
  border-left: 3px solid var(--s25b-primary);
  border-radius: 8px;
  padding: 1rem 1.2rem;
  margin-bottom: 0.9rem;
  font-size: 1.4rem;
}
.s25b-testimonial-author { font-size: 1.25rem; color: var(--s25b-accent); margin-top: 0.4rem; }

/* ---------- Payment chips ---------- */
.s25b-chips { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.s25b-chip {
  background: var(--s25b-bg-card);
  border: 1px solid var(--s25b-border);
  border-radius: 999px;
  padding: 0.5rem 1rem;
  font-size: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* ---------- Bottom navigation ---------- */
.s25b-bottomnav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--s25b-bottomnav-h);
  background: linear-gradient(180deg, #1c1c1c 0%, #111 100%);
  border-top: 1px solid var(--s25b-border);
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  z-index: 1000;
}

.s25b-bottomnav-btn {
  flex: 1;
  min-width: 60px;
  min-height: 60px;
  background: transparent;
  border: none;
  color: var(--s25b-text-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  cursor: pointer;
  font-size: 1.1rem;
  font-family: inherit;
  transition: color .2s ease, transform .15s ease;
}

.s25b-bottomnav-btn i,
.s25b-bottomnav-btn .material-icons-outlined,
.s25b-bottomnav-btn .material-icons {
  font-size: 24px;
}

.s25b-bottomnav-btn:active { transform: scale(0.92); }
.s25b-bottomnav-btn:hover { color: var(--s25b-accent); }
.s25b-bottomnav-btn.s25b-is-current { color: var(--s25b-primary); }
.s25b-bottomnav-btn.s25b-promo { color: var(--s25b-accent); }

/* ---------- Footer ---------- */
.s25b-footer {
  background: var(--s25b-bg-alt);
  border-top: 1px solid var(--s25b-border);
  padding: 2rem 1.4rem;
  color: var(--s25b-text-muted);
  font-size: 1.3rem;
}

.s25b-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1rem;
  margin: 1rem 0;
}

.s25b-footer-links a {
  color: var(--s25b-text);
  font-size: 1.25rem;
}

.s25b-footer-promos {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1rem 0;
}

.s25b-footer-promos .s25b-btn { font-size: 1.2rem; padding: 0.6rem 1rem; }

.s25b-copyright {
  border-top: 1px solid var(--s25b-border);
  margin-top: 1.2rem;
  padding-top: 1rem;
  font-size: 1.2rem;
  text-align: center;
}

/* ---------- Inline promo text link ---------- */
.s25b-promo-text {
  color: var(--s25b-primary);
  font-weight: 700;
  cursor: pointer;
}
.s25b-promo-text:hover { text-decoration: underline; }

/* ---------- Desktop rules ---------- */
@media (min-width: 769px) {
  .s25b-bottomnav { display: none; }
  .s25b-mobile-menu { display: none; }
  .s25b-menu-btn { display: none; }
  main { padding-bottom: 0; }
  .s25b-wrapper { max-width: 760px; }
  .s25b-header-inner { max-width: 760px; }
  .s25b-grid { grid-template-columns: repeat(6, 1fr); }
  .s25b-stat-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- Small mobile tuning ---------- */
@media (max-width: 430px) {
  body { font-size: 1.4rem; }
  .s25b-grid { grid-template-columns: repeat(3, 1fr); gap: 0.7rem; }
  .s25b-game-card-name { font-size: 1.1rem; }
  .s25b-section-title { font-size: 1.7rem; }
  .s25b-btn { padding: 0 1rem; font-size: 1.3rem; }
  .s25b-brand { font-size: 1.6rem; }
  .s25b-bottomnav-btn { font-size: 1.05rem; }
}

@media (max-width: 360px) {
  .s25b-grid { grid-template-columns: repeat(2, 1fr); }
  .s25b-header-actions .s25b-btn { padding: 0 0.8rem; min-height: 34px; font-size: 1.2rem; }
}
