/* ============================================================
 * Filbet Legal Online Casino and Sports Betting - Theme CSS
 * Mobile-first layout. All custom classes use `s3f3-` prefix.
 * Palette: #AD1457 (primary) | #0F0F23 (bg) | #FA8072 (accent)
 *          #DEE2E6 (text-light) | #F08080 (highlight)
 * ============================================================ */

:root {
  --s3f3-primary: #AD1457;
  --s3f3-bg: #0F0F23;
  --s3f3-accent: #FA8072;
  --s3f3-text: #DEE2E6;
  --s3f3-highlight: #F08080;
  --s3f3-deep: #07071a;
  --s3f3-card: #181838;
  --s3f3-gold: #FFD27A;
  --s3f3-radius: 14px;
  --s3f3-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  --s3f3-header-h: 58px;
  --s3f3-bottom-h: 62px;
}

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

html { -webkit-text-size-adjust: 100%; }

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

html, body { width: 100%; }

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

/* ---------- Mobile-first primary container (max 430px) ---------- */
.s3f3-container {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 12px;
  position: relative;
}

.s3f3-wrapper {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  background: var(--s3f3-bg);
  min-height: 100vh;
  box-shadow: 0 0 40px rgba(0,0,0,.45);
}

main.s3f3-main { padding-bottom: 84px; }

/* ============================================================
 * Header
 * ============================================================ */
.s3f3-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--s3f3-header-h);
  background: linear-gradient(90deg, #0b0b22 0%, #1a0a23 100%);
  border-bottom: 2px solid var(--s3f3-primary);
  z-index: 1000;
  display: flex;
  align-items: center;
}

.s3f3-header-inner {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.s3f3-logo {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
  min-width: 0;
}
.s3f3-logo img { width: 28px; height: 28px; border-radius: 6px; }
.s3f3-logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--s3f3-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.s3f3-logo-text span { color: var(--s3f3-highlight); }

.s3f3-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 34px;
  padding: 0 12px;
  border: none;
  border-radius: 999px;
  font-size: 1.25rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
  font-family: inherit;
}
.s3f3-btn:hover { transform: translateY(-1px); }
.s3f3-btn-register {
  background: linear-gradient(135deg, var(--s3f3-highlight), var(--s3f3-primary));
  color: #fff;
  box-shadow: 0 4px 14px rgba(240,128,128,.4);
}
.s3f3-btn-login {
  background: transparent;
  color: var(--s3f3-text);
  border: 1.5px solid var(--s3f3-accent);
}

.s3f3-menu-toggle {
  background: transparent;
  border: none;
  color: var(--s3f3-text);
  font-size: 1.9rem;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* ---------- Expandable mobile menu ---------- */
.s3f3-mobile-menu {
  position: fixed;
  top: var(--s3f3-header-h);
  left: 0; right: 0;
  background: var(--s3f3-deep);
  border-bottom: 2px solid var(--s3f3-primary);
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
  z-index: 9999;
}
.s3f3-mobile-menu.s3f3-menu-open { max-height: 480px; }
.s3f3-mobile-menu ul {
  list-style: none;
  padding: 6px 14px 14px;
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
}
.s3f3-mobile-menu li { border-bottom: 1px solid rgba(255,255,255,.06); }
.s3f3-mobile-menu a {
  display: block;
  padding: 12px 4px;
  font-size: 1.35rem;
  color: var(--s3f3-text);
}
.s3f3-mobile-menu a:hover { color: var(--s3f3-highlight); padding-left: 8px; }

/* ============================================================
 * Carousel
 * ============================================================ */
.s3f3-carousel {
  position: relative;
  margin-top: calc(var(--s3f3-header-h) + 10px);
  border-radius: var(--s3f3-radius);
  overflow: hidden;
  box-shadow: var(--s3f3-shadow);
  cursor: pointer;
}
.s3f3-slide {
  display: none;
  position: relative;
}
.s3f3-slide.s3f3-slide-active { display: block; }
.s3f3-slide img { width: 100%; height: 200px; object-fit: cover; }
.s3f3-slide-caption {
  position: absolute;
  left: 12px; bottom: 12px; right: 12px;
  background: linear-gradient(90deg, rgba(173,20,87,.85), rgba(15,15,35,.4));
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
}
.s3f3-dots {
  position: absolute;
  bottom: 8px; left: 0; right: 0;
  display: flex; justify-content: center; gap: 6px;
}
.s3f3-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,.4);
}
.s3f3-dot.s3f3-dot-active { background: var(--s3f3-highlight); width: 20px; border-radius: 4px; }

/* ============================================================
 * Section / Headings
 * ============================================================ */
.s3f3-section { padding: 18px 0; }
.s3f3-section-title {
  font-size: 1.7rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: #fff;
  display: flex; align-items: center; gap: 8px;
}
.s3f3-section-title i { color: var(--s3f3-highlight); }
.s3f3-section-title small { font-size: 1.15rem; color: var(--s3f3-accent); font-weight: 500; }

h1.s3f3-h1 {
  font-size: 2.0rem;
  line-height: 1.35;
  color: #fff;
  margin: 16px 0 8px;
  font-weight: 800;
}
h2.s3f3-h2 {
  font-size: 1.75rem;
  color: #fff;
  margin: 18px 0 8px;
  font-weight: 700;
}
h3.s3f3-h3 {
  font-size: 1.5rem;
  color: var(--s3f3-highlight);
  margin: 14px 0 6px;
  font-weight: 700;
}
.s3f3-lead { color: var(--s3f3-text); font-size: 1.35rem; margin-bottom: 10px; }
.s3f3-paragraph { margin-bottom: 10px; color: var(--s3f3-text); }

/* ============================================================
 * Game grid
 * ============================================================ */
.s3f3-cat-head {
  display: flex; align-items: center; justify-content: space-between;
  margin: 16px 0 8px;
  border-left: 4px solid var(--s3f3-highlight);
  padding-left: 8px;
}
.s3f3-cat-head h2 { font-size: 1.6rem; color: #fff; font-weight: 700; }
.s3f3-cat-head .s3f3-more { font-size: 1.2rem; color: var(--s3f3-accent); }

.s3f3-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.s3f3-game {
  background: var(--s3f3-card);
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
  border: 1px solid rgba(255,255,255,.05);
}
.s3f3-game:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(173,20,87,.4); }
.s3f3-game img { width: 100%; height: 84px; object-fit: cover; }
.s3f3-game-name {
  font-size: 1.1rem;
  padding: 4px;
  color: var(--s3f3-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ============================================================
 * Cards
 * ============================================================ */
.s3f3-card {
  background: var(--s3f3-card);
  border-radius: var(--s3f3-radius);
  padding: 14px;
  margin-bottom: 12px;
  border: 1px solid rgba(255,255,255,.06);
  box-shadow: var(--s3f3-shadow);
}
.s3f3-card-title { font-size: 1.5rem; color: #fff; font-weight: 700; margin-bottom: 6px; }
.s3f3-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.s3f3-mini {
  background: var(--s3f3-deep);
  border-radius: 10px;
  padding: 10px;
  text-align: center;
}
.s3f3-mini i { font-size: 2.2rem; color: var(--s3f3-highlight); }
.s3f3-mini b { display: block; color: var(--s3f3-gold); font-size: 1.3rem; margin-top: 4px; }
.s3f3-mini span { font-size: 1.1rem; color: var(--s3f3-text); }

/* ---------- Promo link inline text ---------- */
.s3f3-promo-text {
  color: var(--s3f3-highlight);
  font-weight: 700;
  border-bottom: 1px dashed var(--s3f3-accent);
}
.s3f3-promo-text:hover { color: var(--s3f3-gold); }

/* ---------- CTA banner ---------- */
.s3f3-cta {
  background: linear-gradient(135deg, var(--s3f3-primary), var(--s3f3-highlight));
  border-radius: var(--s3f3-radius);
  padding: 16px;
  text-align: center;
  margin: 14px 0;
  color: #fff;
}
.s3f3-cta h3 { color: #fff; margin-bottom: 4px; }
.s3f3-cta p { font-size: 1.25rem; margin-bottom: 10px; }
.s3f3-cta .s3f3-btn { background: #fff; color: var(--s3f3-primary); font-size: 1.35rem; }

/* ---------- Testimonials ---------- */
.s3f3-testi {
  background: var(--s3f3-card);
  border-left: 3px solid var(--s3f3-gold);
  padding: 10px 12px;
  border-radius: 8px;
  margin-bottom: 8px;
}
.s3f3-testi b { color: var(--s3f3-gold); }
.s3f3-testi .s3f3-stars { color: var(--s3f3-highlight); font-size: 1.1rem; }

/* ---------- Winners list ---------- */
.s3f3-winners { list-style: none; }
.s3f3-winners li {
  display: flex; justify-content: space-between;
  padding: 8px 4px;
  border-bottom: 1px dashed rgba(255,255,255,.08);
  font-size: 1.2rem;
}
.s3f3-winners li b { color: var(--s3f3-gold); }

/* ---------- Payment methods ---------- */
.s3f3-pay { display: flex; flex-wrap: wrap; gap: 8px; }
.s3f3-pay span {
  background: var(--s3f3-deep);
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 1.15rem;
  color: var(--s3f3-text);
  border: 1px solid rgba(255,255,255,.06);
}

/* ---------- Tricks list ---------- */
.s3f3-tricks { list-style: none; counter-reset: trick; }
.s3f3-tricks li {
  counter-increment: trick;
  padding: 8px 8px 8px 36px;
  position: relative;
  font-size: 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.s3f3-tricks li::before {
  content: counter(trick);
  position: absolute; left: 4px; top: 6px;
  width: 24px; height: 24px;
  background: var(--s3f3-primary);
  color: #fff;
  border-radius: 50%;
  text-align: center;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 24px;
}

/* ---------- FAQ ---------- */
.s3f3-faq { margin-bottom: 8px; padding: 10px 12px; background: var(--s3f3-card); border-radius: 8px; }
.s3f3-faq h3 { margin-bottom: 4px; }
.s3f3-faq p { font-size: 1.25rem; }

/* ---------- Achievements ---------- */
.s3f3-achv {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.s3f3-achv div {
  background: var(--s3f3-deep);
  border-radius: 8px;
  padding: 8px;
  text-align: center;
}
.s3f3-achv b { color: var(--s3f3-gold); font-size: 1.6rem; display: block; }
.s3f3-achv span { font-size: 1.05rem; color: var(--s3f3-text); }

/* ============================================================
 * Footer
 * ============================================================ */
.s3f3-footer {
  background: var(--s3f3-deep);
  padding: 20px 0 24px;
  margin-top: 12px;
  border-top: 2px solid var(--s3f3-primary);
}
.s3f3-footer-brand { font-size: 1.3rem; margin-bottom: 10px; color: var(--s3f3-text); }
.s3f3-footer-promos {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin: 10px 0;
}
.s3f3-footer-promos .s3f3-btn { font-size: 1.2rem; padding: 0 12px; min-height: 32px; }
.s3f3-footer-links {
  list-style: none;
  margin: 10px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 10px;
}
.s3f3-footer-links a { font-size: 1.15rem; color: var(--s3f3-text); }
.s3f3-footer-links a:hover { color: var(--s3f3-highlight); }
.s3f3-copy { font-size: 1.1rem; color: rgba(255,255,255,.5); margin-top: 8px; }

/* ============================================================
 * Bottom Navigation (mobile only)
 * ============================================================ */
.s3f3-bottomnav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: var(--s3f3-bottom-h);
  background: linear-gradient(180deg, #11112a 0%, #07071a 100%);
  border-top: 2px solid var(--s3f3-primary);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 -4px 18px rgba(0,0,0,.5);
}
.s3f3-bottomnav-btn {
  flex: 1;
  min-width: 60px;
  min-height: 60px;
  background: transparent;
  border: none;
  color: var(--s3f3-text);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  cursor: pointer;
  font-family: inherit;
  font-size: 1.05rem;
  transition: transform .15s ease, color .15s ease;
  position: relative;
}
.s3f3-bottomnav-btn .s3f3-ic { font-size: 2.4rem; line-height: 1; }
.s3f3-bottomnav-btn .material-icons,
.s3f3-bottomnav-btn .bi { font-size: 24px; }
.s3f3-bottomnav-btn:hover { transform: scale(1.08); color: var(--s3f3-highlight); }
.s3f3-bottomnav-active { color: var(--s3f3-highlight); }
.s3f3-bottomnav-active::after {
  content: '';
  position: absolute;
  top: -2px; left: 50%;
  transform: translateX(-50%);
  width: 26px; height: 3px;
  background: var(--s3f3-highlight);
  border-radius: 2px;
}
.s3f3-badge {
  position: absolute;
  top: 6px; right: 18px;
  background: var(--s3f3-primary);
  color: #fff;
  border-radius: 50%;
  font-size: .9rem;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  line-height: 16px;
  text-align: center;
}

/* ============================================================
 * Desktop rules
 * ============================================================ */
@media (min-width: 769px) {
  .s3f3-bottomnav { display: none; }
  main.s3f3-main { padding-bottom: 24px; }
}

/* ============================================================
 * Help-page components (review scores, pros/cons, steps, tips)
 * ============================================================ */
.s3f3-pagebar {
  display: flex; align-items: center; gap: 6px;
  margin-top: calc(var(--s3f3-header-h) + 10px);
  font-size: 1.15rem;
  color: rgba(255,255,255,.55);
}
.s3f3-pagebar a { color: var(--s3f3-accent); }

.s3f3-score { margin-bottom: 10px; }
.s3f3-score-top { display: flex; justify-content: space-between; font-size: 1.2rem; margin-bottom: 4px; }
.s3f3-score-top b { color: var(--s3f3-gold); }
.s3f3-score-bar { height: 8px; background: var(--s3f3-deep); border-radius: 4px; overflow: hidden; }
.s3f3-score-fill { height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--s3f3-primary), var(--s3f3-highlight)); }

.s3f3-pros, .s3f3-cons { list-style: none; margin: 6px 0; }
.s3f3-pros li, .s3f3-cons li {
  position: relative;
  padding: 6px 4px 6px 28px;
  font-size: 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.s3f3-pros li::before {
  content: '\f058';
  font-family: 'Font Awesome 6 Free'; font-weight: 900;
  position: absolute; left: 2px;
  color: #6fd68c;
}
.s3f3-cons li::before {
  content: '\f057';
  font-family: 'Font Awesome 6 Free'; font-weight: 900;
  position: absolute; left: 2px;
  color: var(--s3f3-highlight);
}

.s3f3-steps {
  list-style: none;
  counter-reset: step;
  margin-left: 15px;
  padding-left: 18px;
  border-left: 2px solid var(--s3f3-primary);
}
.s3f3-steps li { counter-increment: step; position: relative; padding: 8px 0; }
.s3f3-steps li::before {
  content: counter(step);
  position: absolute; left: -34px; top: 8px;
  width: 26px; height: 26px;
  background: var(--s3f3-primary);
  border: 2px solid var(--s3f3-highlight);
  color: #fff; border-radius: 50%;
  text-align: center; line-height: 22px;
  font-weight: 700; font-size: 1.15rem;
}
.s3f3-steps b { color: #fff; }

.s3f3-tip {
  background: rgba(250, 128, 114, .08);
  border: 1px dashed var(--s3f3-accent);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 1.25rem;
  margin: 10px 0;
}
.s3f3-tip b { color: var(--s3f3-gold); }

.s3f3-verdict {
  background: linear-gradient(135deg, #241028, #181838);
  border: 1px solid var(--s3f3-gold);
  border-radius: var(--s3f3-radius);
  padding: 14px;
  text-align: center;
  margin: 12px 0;
}
.s3f3-verdict b { color: var(--s3f3-gold); font-size: 2.2rem; display: block; }
.s3f3-verdict span { font-size: 1.2rem; }

/* ============================================================
 * Utilities
 * ============================================================ */
.s3f3-center { text-align: center; }
.s3f3-row { display: flex; gap: 8px; }
.s3f3-hidden { display: none; }
.s3f3-lazy { opacity: .65; transition: opacity .3s ease; }
.s3f3-lazy.s3f3-loaded { opacity: 1; }
