/* ============================================================
 * bet365 app download - design-e08b.css
 * Mobile-first casino/gaming layout. All custom classes use the
 * "g8b2-" prefix to namespace styles. Palette: #FF5722 brand
 * orange on a #141414 dark base. Root font 62.5% for rem math.
 * ============================================================ */

:root {
  --g8b2-primary: #FF5722;
  --g8b2-primary-dark: #C13C0F;
  --g8b2-primary-soft: #FF7A4D;
  --g8b2-bg: #141414;
  --g8b2-bg-2: #1E1E1E;
  --g8b2-bg-3: #262626;
  --g8b2-card: #1B1B1B;
  --g8b2-text: #FFFFFF;
  --g8b2-text-muted: #B5B5B5;
  --g8b2-text-dim: #888888;
  --g8b2-border: #2E2E2E;
  --g8b2-gold: #FFC857;
  --g8b2-success: #2EB872;
  --g8b2-radius: 12px;
  --g8b2-radius-sm: 8px;
  --g8b2-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
  --g8b2-shadow-orange: 0 6px 22px rgba(255, 87, 34, 0.35);
}

* { box-sizing: border-box; }
html { font-size: 62.5%; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--g8b2-bg);
  color: var(--g8b2-text);
  line-height: 1.5;
  font-size: 1.6rem;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--g8b2-primary-soft); text-decoration: none; }
a:hover { color: var(--g8b2-primary); }

/* ---------- Layout helpers ---------- */
.g8b2-container { width: 100%; max-width: 430px; margin: 0 auto; padding: 0 1.2rem; }
.g8b2-wrapper { width: 100%; }
.g8b2-section { padding: 2.4rem 0; border-top: 1px solid var(--g8b2-border); }
.g8b2-grid { display: grid; gap: 1rem; }
.g8b2-row { display: flex; flex-wrap: wrap; gap: 0.8rem; align-items: center; }
.g8b2-center { text-align: center; }
.g8b2-visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- Header ---------- */
.g8b2-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: linear-gradient(180deg, #1A1A1A 0%, #141414 100%);
  border-bottom: 2px solid var(--g8b2-primary);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}
.g8b2-header-inner {
  max-width: 430px; margin: 0 auto; padding: 0.6rem 1.2rem;
  display: flex; align-items: center; justify-content: space-between; gap: 0.6rem;
}
.g8b2-logo { display: flex; align-items: center; gap: 0.6rem; color: var(--g8b2-text); }
.g8b2-logo img { width: 28px; height: 28px; border-radius: 6px; }
.g8b2-logo-text { font-weight: 800; font-size: 1.5rem; letter-spacing: 0.2px; }
.g8b2-logo-text span { color: var(--g8b2-primary); }
.g8b2-header-actions { display: flex; align-items: center; gap: 0.5rem; }
.g8b2-icon-btn {
  background: transparent; border: none; color: var(--g8b2-text);
  width: 36px; height: 36px; border-radius: 8px; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; font-size: 2rem;
}
.g8b2-icon-btn:hover { background: var(--g8b2-bg-3); }

/* ---------- Buttons ---------- */
.g8b2-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  padding: 0.7rem 1.1rem; border-radius: 999px;
  font-size: 1.35rem; font-weight: 700; cursor: pointer; border: none;
  min-height: 38px; transition: transform 0.12s ease, box-shadow 0.2s ease, background 0.2s ease;
  text-decoration: none;
}
.g8b2-btn:active { transform: scale(0.96); }
.g8b2-btn-primary { background: var(--g8b2-primary); color: #fff; box-shadow: var(--g8b2-shadow-orange); }
.g8b2-btn-primary:hover { background: var(--g8b2-primary-dark); color: #fff; }
.g8b2-btn-ghost { background: transparent; color: var(--g8b2-text); border: 1.5px solid var(--g8b2-primary); }
.g8b2-btn-ghost:hover { background: rgba(255, 87, 34, 0.12); }
.g8b2-btn-block { width: 100%; }
.g8b2-text-link { color: var(--g8b2-primary-soft); font-weight: 700; }
.g8b2-text-link:hover { text-decoration: underline; }

/* ---------- Mobile menu drawer ---------- */
.g8b2-mobile-menu {
  position: fixed; top: 0; right: -100%; width: 82%; max-width: 340px;
  height: 100%; z-index: 9999; background: #161616;
  padding: 7rem 1.4rem 2rem; transition: right 0.28s ease;
  border-left: 1px solid var(--g8b2-border); box-shadow: var(--g8b2-shadow);
  overflow-y: auto;
}
.g8b2-mobile-menu.g8b2-menu-open { right: 0; }
.g8b2-mobile-menu h4 {
  font-size: 1.2rem; color: var(--g8b2-text-dim); text-transform: uppercase;
  margin: 1.2rem 0 0.5rem; letter-spacing: 0.8px;
}
.g8b2-mobile-menu a {
  display: block; padding: 0.85rem 0.6rem; color: var(--g8b2-text);
  border-bottom: 1px solid var(--g8b2-border); font-size: 1.45rem;
}
.g8b2-mobile-menu a:hover { color: var(--g8b2-primary); }
.g8b2-menu-close {
  position: absolute; top: 1rem; right: 1rem; background: transparent;
  border: none; color: #fff; font-size: 2.2rem; cursor: pointer;
}
.g8b2-overlay {
  position: fixed; inset: 0; background: rgba(0, 0, 0, 0.55);
  z-index: 9998; display: none;
}
.g8b2-overlay.g8b2-menu-open { display: block; }

/* ---------- Main spacer (fixed header) ---------- */
.g8b2-main { padding-top: 6rem; padding-bottom: 9rem; }

/* ---------- Hero carousel ---------- */
.g8b2-carousel { position: relative; border-radius: var(--g8b2-radius); overflow: hidden; box-shadow: var(--g8b2-shadow); }
.g8b2-slide {
  display: none; position: relative; cursor: pointer;
}
.g8b2-slide.g8b2-slide-active { display: block; }
.g8b2-slide img { width: 100%; height: 200px; object-fit: cover; }
.g8b2-slide-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1.4rem 1.2rem 1rem;
  background: linear-gradient(0deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0) 100%);
}
.g8b2-slide-caption h2 { margin: 0 0 0.3rem; font-size: 1.7rem; color: #fff; }
.g8b2-slide-caption p { margin: 0; font-size: 1.25rem; color: #eee; }
.g8b2-dots { position: absolute; bottom: 8px; left: 0; right: 0; text-align: center; }
.g8b2-dot {
  display: inline-block; width: 8px; height: 8px; margin: 0 3px;
  border-radius: 50%; background: rgba(255,255,255,0.45); cursor: pointer;
}
.g8b2-dot.g8b2-dot-active { background: var(--g8b2-primary); }

/* ---------- Section titles ---------- */
.g8b2-section-title {
  font-size: 1.9rem; font-weight: 800; margin: 0 0 0.3rem; color: #fff;
  display: flex; align-items: center; gap: 0.6rem;
}
.g8b2-section-title i { color: var(--g8b2-primary); }
.g8b2-section-sub { color: var(--g8b2-text-muted); font-size: 1.3rem; margin: 0 0 1.2rem; }
.g8b2-title-accent { color: var(--g8b2-primary); }

/* ---------- Filter chips ---------- */
.g8b2-chips { display: flex; gap: 0.6rem; overflow-x: auto; padding: 0.5rem 0 1rem; -webkit-overflow-scrolling: touch; }
.g8b2-chip {
  flex: 0 0 auto; padding: 0.55rem 1.1rem; border-radius: 999px;
  background: var(--g8b2-bg-3); color: var(--g8b2-text-muted);
  font-size: 1.25rem; font-weight: 600; cursor: pointer; border: 1px solid var(--g8b2-border);
}
.g8b2-chip.g8b2-chip-active { background: var(--g8b2-primary); color: #fff; border-color: var(--g8b2-primary); }

/* ---------- Game grid ---------- */
.g8b2-group-title {
  font-size: 1.55rem; font-weight: 700; color: #fff; margin: 1.6rem 0 0.8rem;
  padding-left: 0.8rem; border-left: 4px solid var(--g8b2-primary);
}
.g8b2-game-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.7rem;
}
.g8b2-game-card {
  background: var(--g8b2-card); border: 1px solid var(--g8b2-border);
  border-radius: var(--g8b2-radius-sm); overflow: hidden; cursor: pointer;
  transition: transform 0.15s ease, border-color 0.2s ease;
}
.g8b2-game-card:hover { transform: translateY(-2px); border-color: var(--g8b2-primary); }
.g8b2-game-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.g8b2-game-name {
  font-size: 1.1rem; padding: 0.45rem 0.4rem; text-align: center;
  color: #eee; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* ---------- Cards / panels ---------- */
.g8b2-card {
  background: var(--g8b2-card); border: 1px solid var(--g8b2-border);
  border-radius: var(--g8b2-radius); padding: 1.4rem; box-shadow: var(--g8b2-shadow);
}
.g8b2-card h3 { margin: 0 0 0.5rem; font-size: 1.55rem; color: #fff; }
.g8b2-card p { margin: 0 0 0.8rem; color: var(--g8b2-text-muted); font-size: 1.35rem; }
.g8b2-list { padding-left: 1.8rem; margin: 0.6rem 0; color: var(--g8b2-text-muted); }
.g8b2-list li { margin-bottom: 0.5rem; font-size: 1.35rem; }

/* ---------- FAQ accordion ---------- */
.g8b2-faq { border: 1px solid var(--g8b2-border); border-radius: var(--g8b2-radius-sm); margin-bottom: 0.7rem; overflow: hidden; background: var(--g8b2-card); }
.g8b2-faq-q {
  display: flex; justify-content: space-between; align-items: center; gap: 0.6rem;
  padding: 1rem 1.2rem; cursor: pointer; font-weight: 700; color: #fff; font-size: 1.4rem; background: none; border: none; width: 100%; text-align: left;
}
.g8b2-faq-q .g8b2-faq-icon { color: var(--g8b2-primary); transition: transform 0.2s ease; }
.g8b2-faq-open .g8b2-faq-icon { transform: rotate(45deg); }
.g8b2-faq-a { display: none; padding: 0 1.2rem 1.1rem; color: var(--g8b2-text-muted); font-size: 1.32rem; }
.g8b2-faq-open .g8b2-faq-a { display: block; }

/* ---------- RTP / stats ---------- */
.g8b2-stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.7rem; }
.g8b2-stat { background: var(--g8b2-bg-3); border-radius: var(--g8b2-radius-sm); padding: 0.9rem; text-align: center; }
.g8b2-stat-num { font-size: 1.7rem; font-weight: 800; color: var(--g8b2-primary); }
.g8b2-stat-label { font-size: 1.15rem; color: var(--g8b2-text-muted); }

/* ---------- Testimonial ---------- */
.g8b2-quote { border-left: 3px solid var(--g8b2-primary); padding: 0.4rem 0 0.4rem 1rem; margin: 0 0 0.8rem; color: #E5E5E5; font-style: italic; font-size: 1.32rem; }
.g8b2-quote span { display: block; font-style: normal; color: var(--g8b2-text-dim); font-size: 1.15rem; margin-top: 0.3rem; }

/* ---------- Payment chips ---------- */
.g8b2-pay-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; }
.g8b2-pay {
  background: var(--g8b2-bg-3); border: 1px solid var(--g8b2-border);
  border-radius: var(--g8b2-radius-sm); padding: 0.8rem 0.4rem; text-align: center;
  font-size: 1.15rem; color: var(--g8b2-text-muted);
}
.g8b2-pay i { font-size: 2.2rem; color: var(--g8b2-primary); display: block; margin-bottom: 0.3rem; }

/* ---------- Winner ticker ---------- */
.g8b2-winner {
  display: flex; align-items: center; gap: 0.7rem; padding: 0.6rem 0.8rem;
  border-bottom: 1px solid var(--g8b2-border); font-size: 1.25rem;
}
.g8b2-winner b { color: var(--g8b2-gold); }
.g8b2-winner small { color: var(--g8b2-text-dim); margin-left: auto; }

/* ---------- App CTA ---------- */
.g8b2-app-cta {
  background: linear-gradient(135deg, #FF5722 0%, #C13C0F 100%);
  border-radius: var(--g8b2-radius); padding: 1.6rem; color: #fff; text-align: center;
}
.g8b2-app-cta h3 { margin: 0 0 0.5rem; font-size: 1.7rem; }
.g8b2-app-cta p { margin: 0 0 1rem; font-size: 1.3rem; opacity: 0.95; }
.g8b2-app-cta .g8b2-btn { background: #fff; color: var(--g8b2-primary-dark); }

/* ---------- Footer ---------- */
.g8b2-footer { background: #0E0E0E; border-top: 2px solid var(--g8b2-primary); padding: 2.4rem 0 8rem; }
.g8b2-footer-brand { color: var(--g8b2-text-muted); font-size: 1.3rem; margin: 0 0 1rem; }
.g8b2-footer-promos { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1rem 0; }
.g8b2-footer-promos .g8b2-btn { flex: 1 1 auto; }
.g8b2-footer-links {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.4rem 1rem;
  margin: 1.2rem 0;
}
.g8b2-footer-links a { color: var(--g8b2-text-muted); font-size: 1.2rem; }
.g8b2-footer-links a:hover { color: var(--g8b2-primary); }
.g8b2-footer-copy { color: var(--g8b2-text-dim); font-size: 1.15rem; border-top: 1px solid var(--g8b2-border); padding-top: 1rem; text-align: center; }

/* ---------- Bottom nav (mobile) ---------- */
.g8b2-bottom-nav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1000;
  background: #0E0E0E; border-top: 2px solid var(--g8b2-primary);
  display: flex; justify-content: space-around; align-items: stretch;
  height: 62px;
}
.g8b2-bottom-nav a, .g8b2-bottom-nav button {
  flex: 1 1 0; min-width: 60px; min-height: 60px;
  background: none; border: none; color: var(--g8b2-text-muted);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px; font-size: 1rem; text-decoration: none; cursor: pointer;
  transition: color 0.2s ease, transform 0.15s ease;
}
.g8b2-bottom-nav a i, .g8b2-bottom-nav button i { font-size: 2.2rem; }
.g8b2-bottom-nav a:active, .g8b2-bottom-nav button:active { transform: scale(0.92); }
.g8b2-bottom-nav .g8b2-nav-active { color: var(--g8b2-primary); }
.g8b2-bottom-nav .g8b2-nav-promo {
  color: #fff; background: linear-gradient(180deg, var(--g8b2-primary) 0%, var(--g8b2-primary-dark) 100%);
}
.g8b2-nav-badge {
  position: absolute; top: 6px; right: 22%; background: var(--g8b2-gold);
  color: #141414; font-size: 0.9rem; font-weight: 800; border-radius: 999px;
  padding: 0 5px; min-width: 16px; line-height: 16px; text-align: center;
}
.g8b2-bottom-nav a, .g8b2-bottom-nav button { position: relative; }

/* ---------- Back to top ---------- */
.g8b2-top-btn {
  position: fixed; right: 14px; bottom: 76px; z-index: 1100;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--g8b2-primary); color: #fff; border: none; cursor: pointer;
  font-size: 1.9rem; display: none; align-items: center; justify-content: center;
  box-shadow: var(--g8b2-shadow-orange);
}
.g8b2-top-btn.g8b2-top-show { display: flex; }

/* ---------- Desktop: hide mobile-only, widen layout ---------- */
@media (min-width: 769px) {
  .g8b2-bottom-nav, .g8b2-menu-close, #g8b2-menu-btn { display: none !important; }
  .g8b2-container { max-width: 960px; }
  .g8b2-game-grid { grid-template-columns: repeat(6, 1fr); }
  .g8b2-stat-grid { grid-template-columns: repeat(4, 1fr); }
  .g8b2-pay-grid { grid-template-columns: repeat(6, 1fr); }
  .g8b2-footer-links { grid-template-columns: repeat(3, 1fr); }
  .g8b2-main { padding-bottom: 2rem; }
}
