/* ============================================================
   airopay.click - style-0b42.css
   All custom classes use prefix s0b4- to avoid collisions.
   Mobile-first design, max-width 430px viewport.
   Comments in English only.
   Palette: #E65100 | #34495E | #ECF0F1 | #778899 | #DCDCDC | #808080
   ============================================================ */

:root {
  --s0b4-primary: #E65100;        /* deep orange - brand accent */
  --s0b4-bg: #34495E;             /* dark blue - main background */
  --s0b4-bg-dark: #2a3a4a;        /* darker shade */
  --s0b4-bg-light: #3d5366;       /* card background */
  --s0b4-text: #ECF0F1;           /* light gray - main text */
  --s0b4-text-muted: #DCDCDC;     /* muted text */
  --s0b4-gray: #778899;           /* light slate gray */
  --s0b4-gray-mid: #808080;       /* mid gray */
  --s0b4-border: rgba(236, 240, 241, 0.12);
  --s0b4-shadow: 0 0.4rem 1.2rem rgba(0, 0, 0, 0.28);
  --s0b4-radius: 1rem;
}

/* ---------------- Reset ---------------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html {
  font-size: 62.5%;               /* 1rem = 10px */
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--s0b4-bg);
  color: var(--s0b4-text);
  line-height: 1.5;
  font-size: 1.5rem;
  max-width: 430px;
  margin: 0 auto;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--s0b4-primary); text-decoration: none; }
ul, ol { list-style: none; }

/* ---------------- Layout helpers ---------------- */
.s0b4-container {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1.2rem;
}
.s0b4-wrapper { padding: 1rem 0; }
.s0b4-section {
  padding: 2.2rem 1.2rem;
  border-bottom: 1px solid var(--s0b4-border);
}
.s0b4-section:last-child { border-bottom: none; }

/* ---------------- Header ---------------- */
.s0b4-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--s0b4-bg-dark);
  border-bottom: 2px solid var(--s0b4-primary);
  box-shadow: var(--s0b4-shadow);
}
.s0b4-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 0.7rem 1rem;
  max-width: 430px;
  margin: 0 auto;
}
.s0b4-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--s0b4-text);
  font-weight: 700;
  font-size: 1.7rem;
}
.s0b4-brand img { width: 2.8rem; height: 2.8rem; border-radius: 0.5rem; }
.s0b4-brand-name { color: var(--s0b4-text); }
.s0b4-brand-name b { color: var(--s0b4-primary); }

.s0b4-header-actions { display: flex; align-items: center; gap: 0.5rem; }

.s0b4-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 3.6rem;
  padding: 0 1.2rem;
  border-radius: 0.8rem;
  font-weight: 700;
  font-size: 1.35rem;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, filter 0.15s ease;
  text-align: center;
}
.s0b4-btn:active { transform: scale(0.96); }
.s0b4-btn-primary { background: var(--s0b4-primary); color: #fff; }
.s0b4-btn-primary:hover { filter: brightness(1.08); }
.s0b4-btn-ghost {
  background: transparent;
  color: var(--s0b4-text);
  border: 1px solid var(--s0b4-border);
}
.s0b4-btn-block { width: 100%; }
.s0b4-btn-lg { min-height: 4.4rem; font-size: 1.55rem; }

.s0b4-menu-btn {
  background: transparent;
  border: 1px solid var(--s0b4-border);
  color: var(--s0b4-text);
  border-radius: 0.6rem;
  width: 3.6rem;
  height: 3.6rem;
  font-size: 1.6rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ---------------- Top expandable nav menu ---------------- */
.s0b4-nav-menu {
  display: none;
  flex-direction: column;
  background: var(--s0b4-bg-dark);
  border-top: 1px solid var(--s0b4-border);
  padding: 0.6rem 1rem 1rem;
  max-width: 430px;
  margin: 0 auto;
}
.s0b4-nav-menu.s0b4-nav-open { display: flex; }
.s0b4-nav-menu a {
  display: block;
  padding: 0.95rem 0.6rem;
  color: var(--s0b4-text-muted);
  border-bottom: 1px solid var(--s0b4-border);
  font-size: 1.4rem;
}
.s0b4-nav-menu a:hover { color: var(--s0b4-primary); }
.s0b4-nav-menu a:last-child { border-bottom: none; }

/* Desktop nav (hidden on mobile) */
.s0b4-desktop-nav { display: none; }

/* ---------------- Hero / Carousel ---------------- */
.s0b4-carousel {
  position: relative;
  overflow: hidden;
  border-radius: 0;
  background: var(--s0b4-bg-dark);
}
.s0b4-slide {
  display: none;
  position: relative;
  cursor: pointer;
}
.s0b4-slide.s0b4-slide-active { display: block; }
.s0b4-slide img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.s0b4-slide-caption {
  position: absolute;
  left: 1.2rem;
  bottom: 1.2rem;
  right: 1.2rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.65));
  color: #fff;
  padding: 1rem 0.4rem 0.2rem;
  font-weight: 700;
  font-size: 1.5rem;
}
.s0b4-carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  border: none;
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.s0b4-carousel-arrow.prev { left: 0.6rem; }
.s0b4-carousel-arrow.next { right: 0.6rem; }
.s0b4-dots {
  position: absolute;
  bottom: 0.6rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
}
.s0b4-dot {
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
}
.s0b4-dot.s0b4-dot-active { background: var(--s0b4-primary); }

/* ---------------- Typography ---------------- */
.s0b4-h1 {
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 1.3;
  margin: 1.4rem 0 0.8rem;
  color: var(--s0b4-text);
}
.s0b4-h1 b { color: var(--s0b4-primary); }
.s0b4-h2 {
  font-size: 1.7rem;
  font-weight: 700;
  margin: 0 0 0.8rem;
  color: var(--s0b4-text);
  border-left: 4px solid var(--s0b4-primary);
  padding-left: 0.8rem;
}
.s0b4-h3 {
  font-size: 1.45rem;
  font-weight: 700;
  margin: 1rem 0 0.4rem;
  color: var(--s0b4-primary);
}
.s0b4-lead { color: var(--s0b4-text-muted); margin-bottom: 1rem; }
.s0b4-p { margin-bottom: 0.9rem; color: var(--s0b4-text-muted); }
.s0b4-text-link {
  color: var(--s0b4-primary);
  font-weight: 700;
  border-bottom: 1px dashed var(--s0b4-primary);
  cursor: pointer;
}
.s0b4-promo-text {
  color: var(--s0b4-primary);
  font-weight: 700;
  cursor: pointer;
}

/* ---------------- Game grid ---------------- */
.s0b4-game-group { margin-bottom: 1.6rem; }
.s0b4-group-title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--s0b4-text);
  margin-bottom: 0.8rem;
}
.s0b4-group-title i { color: var(--s0b4-primary); }
.s0b4-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
}
.s0b4-game-card {
  background: var(--s0b4-bg-light);
  border-radius: 0.8rem;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid var(--s0b4-border);
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.s0b4-game-card:hover { transform: translateY(-2px); border-color: var(--s0b4-primary); }
.s0b4-game-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #1f2c39;
}
.s0b4-game-name {
  font-size: 1.1rem;
  text-align: center;
  padding: 0.4rem 0.2rem 0.5rem;
  color: var(--s0b4-text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---------------- Cards / feature blocks ---------------- */
.s0b4-card {
  background: var(--s0b4-bg-light);
  border-radius: var(--s0b4-radius);
  padding: 1.3rem;
  margin-bottom: 1rem;
  border: 1px solid var(--s0b4-border);
}
.s0b4-card-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--s0b4-text);
}
.s0b4-feature-row {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 0.9rem;
}
.s0b4-feature-row i {
  color: var(--s0b4-primary);
  font-size: 2rem;
  flex-shrink: 0;
  margin-top: 0.2rem;
}

/* ---------------- RTP table / stats ---------------- */
.s0b4-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
  margin: 0.8rem 0;
}
.s0b4-stat {
  background: var(--s0b4-bg-light);
  border-radius: 0.7rem;
  padding: 0.9rem;
  text-align: center;
  border: 1px solid var(--s0b4-border);
}
.s0b4-stat-num {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--s0b4-primary);
}
.s0b4-stat-label { font-size: 1.15rem; color: var(--s0b4-text-muted); }

/* ---------------- Testimonials ---------------- */
.s0b4-testimonial {
  background: var(--s0b4-bg-light);
  border-radius: var(--s0b4-radius);
  padding: 1.1rem;
  margin-bottom: 0.8rem;
  border-left: 3px solid var(--s0b4-primary);
}
.s0b4-testimonial-stars { color: #FFC107; margin-bottom: 0.3rem; }
.s0b4-testimonial-text { color: var(--s0b4-text-muted); font-style: italic; }
.s0b4-testimonial-author { font-size: 1.2rem; color: var(--s0b4-gray); margin-top: 0.4rem; }

/* ---------------- Payment / winners ---------------- */
.s0b4-chip-row { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0.6rem 0; }
.s0b4-chip {
  background: var(--s0b4-bg-light);
  border: 1px solid var(--s0b4-border);
  border-radius: 2rem;
  padding: 0.4rem 0.9rem;
  font-size: 1.2rem;
  color: var(--s0b4-text-muted);
}
.s0b4-winner {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px dashed var(--s0b4-border);
  font-size: 1.25rem;
}
.s0b4-winner:last-child { border-bottom: none; }
.s0b4-winner-amount { color: var(--s0b4-primary); font-weight: 700; }

/* ---------------- FAQ ---------------- */
.s0b4-faq-item {
  background: var(--s0b4-bg-light);
  border-radius: 0.7rem;
  padding: 0.9rem 1rem;
  margin-bottom: 0.6rem;
  border: 1px solid var(--s0b4-border);
}
.s0b4-faq-q { font-weight: 700; color: var(--s0b4-text); margin-bottom: 0.3rem; }
.s0b4-faq-a { color: var(--s0b4-text-muted); font-size: 1.3rem; }

/* ---------------- CTA block ---------------- */
.s0b4-cta {
  background: linear-gradient(135deg, var(--s0b4-primary), #ff7a33);
  border-radius: var(--s0b4-radius);
  padding: 1.6rem 1.2rem;
  text-align: center;
  color: #fff;
  margin: 1.2rem 0;
}
.s0b4-cta h3 { color: #fff; font-size: 1.7rem; margin-bottom: 0.4rem; }
.s0b4-cta p { color: rgba(255,255,255,0.92); margin-bottom: 0.9rem; }
.s0b4-cta .s0b4-btn { background: #fff; color: var(--s0b4-primary); }

/* ---------------- Footer ---------------- */
.s0b4-footer {
  background: var(--s0b4-bg-dark);
  padding: 2rem 1.2rem 9rem; /* extra bottom padding for fixed bottom nav */
  border-top: 2px solid var(--s0b4-primary);
  margin-top: 1.5rem;
}
.s0b4-footer-brand { margin-bottom: 1rem; color: var(--s0b4-text-muted); font-size: 1.3rem; }
.s0b4-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1rem;
  margin: 0.8rem 0;
}
.s0b4-footer-links a {
  color: var(--s0b4-text-muted);
  font-size: 1.2rem;
  text-decoration: underline;
}
.s0b4-footer-links a:hover { color: var(--s0b4-primary); }
.s0b4-footer-promos {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.8rem 0;
}
.s0b4-footer-promos .s0b4-btn { min-height: 3.2rem; padding: 0 0.9rem; font-size: 1.2rem; }
.s0b4-footer-copy {
  font-size: 1.1rem;
  color: var(--s0b4-gray);
  margin-top: 1rem;
  border-top: 1px solid var(--s0b4-border);
  padding-top: 0.8rem;
}

/* ---------------- Mobile bottom navigation ---------------- */
.s0b4-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: 6rem;
  background: var(--s0b4-bg-dark);
  border-top: 2px solid var(--s0b4-primary);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 -0.3rem 1rem rgba(0, 0, 0, 0.35);
}
.s0b4-bottom-nav-btn {
  flex: 1;
  min-width: 6rem;
  min-height: 6rem;
  background: transparent;
  border: none;
  color: var(--s0b4-text-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  font-size: 1.05rem;
  cursor: pointer;
  position: relative;
  transition: color 0.15s ease, transform 0.15s ease;
}
.s0b4-bottom-nav-btn i,
.s0b4-bottom-nav-btn .material-icons-outlined,
.s0b4-bottom-nav-btn ion-icon {
  font-size: 2.2rem;
  line-height: 1;
}
.s0b4-bottom-nav-btn ion-icon { font-size: 2.4rem; }
.s0b4-bottom-nav-btn:active { transform: scale(0.92); }
.s0b4-bottom-nav-btn:hover { color: var(--s0b4-primary); }
.s0b4-bottom-nav-active { color: var(--s0b4-primary); }
.s0b4-bottom-nav-active::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2.8rem;
  height: 0.25rem;
  background: var(--s0b4-primary);
  border-radius: 0 0 0.3rem 0.3rem;
}
.s0b4-nav-badge {
  position: absolute;
  top: 0.7rem;
  right: 1.2rem;
  background: var(--s0b4-primary);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: 1rem;
  padding: 0 0.4rem;
  min-width: 1.5rem;
  line-height: 1.5rem;
}

/* ---------------- Main padding (mobile clearance) ---------------- */
main { padding-bottom: 7rem; }

/* ---------------- Utilities ---------------- */
.s0b4-mt-1 { margin-top: 0.6rem; }
.s0b4-mt-2 { margin-top: 1.2rem; }
.s0b4-mb-1 { margin-bottom: 0.6rem; }
.s0b4-mb-2 { margin-bottom: 1.2rem; }
.s0b4-text-center { text-align: center; }
.s0b4-hidden { display: none; }

/* ---------------- Desktop overrides ---------------- */
@media (min-width: 769px) {
  body { max-width: 430px; }
  .s0b4-bottom-nav { display: none; }
  .s0b4-footer { padding-bottom: 2rem; }
  main { padding-bottom: 1rem; }
}
