/* ===========================================================
 * big bunny com - Core stylesheet
 * All custom classes use the "w98bb-" prefix
 * Palette: #262626 (bg) | #20B2AA (accent) | #F0F0F0 (text)
 * Mobile-first, root font 62.5% (1rem = 10px)
 * =========================================================== */

:root {
  --w98bb-bg: #262626;
  --w98bb-bg-soft: #2f2f2f;
  --w98bb-bg-card: #323232;
  --w98bb-primary: #20B2AA;
  --w98bb-primary-dark: #178f88;
  --w98bb-primary-soft: rgba(32, 178, 170, 0.15);
  --w98bb-text: #F0F0F0;
  --w98bb-text-muted: #b9b9b9;
  --w98bb-border: #3c3c3c;
  --w98bb-gold: #f5c451;
  --w98bb-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
  --w98bb-radius: 14px;
  --w98bb-header-h: 6rem;
  --w98bb-bottom-h: 6.4rem;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  padding: 0;
  background: var(--w98bb-bg);
  color: var(--w98bb-text);
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.5rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  word-break: break-word;
}

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

/* ---------- Layout helpers ---------- */
.w98bb-container {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1.4rem;
}
.w98bb-wrapper { padding-top: var(--w98bb-header-h); padding-bottom: 2rem; }
.w98bb-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

/* ---------- Header / Top nav ---------- */
.w98bb-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--w98bb-bg);
  border-bottom: 1px solid var(--w98bb-border);
  transition: box-shadow .25s ease;
}
.w98bb-header-shadow { box-shadow: var(--w98bb-shadow); }
.w98bb-header-inner {
  max-width: 430px;
  margin: 0 auto;
  padding: .7rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .8rem;
}
.w98bb-brand {
  display: flex;
  align-items: center;
  gap: .6rem;
  color: var(--w98bb-text);
  font-weight: 700;
  font-size: 1.5rem;
}
.w98bb-brand img { width: 30px; height: 30px; border-radius: 8px; }
.w98bb-brand .w98bb-brand-accent { color: var(--w98bb-primary); }

.w98bb-header-actions { display: flex; align-items: center; gap: .5rem; }
.w98bb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  min-height: 38px;
  padding: 0 1.2rem;
  border: none;
  border-radius: 999px;
  font-size: 1.3rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform .15s ease, background .2s ease;
  text-decoration: none;
  color: #fff;
}
.w98bb-btn:hover { text-decoration: none; transform: translateY(-1px); }
.w98bb-btn-primary { background: var(--w98bb-primary); color: #06231f; }
.w98bb-btn-primary:hover { background: var(--w98bb-primary-dark); color: #06231f; }
.w98bb-btn-outline {
  background: transparent;
  color: var(--w98bb-primary);
  border: 1.5px solid var(--w98bb-primary);
}
.w98bb-btn-outline:hover { background: var(--w98bb-primary-soft); }
.w98bb-btn-block { width: 100%; min-height: 46px; font-size: 1.5rem; }
.w98bb-btn-gold { background: var(--w98bb-gold); color: #2a1d00; }

.w98bb-menu-btn {
  background: transparent;
  border: none;
  color: var(--w98bb-text);
  font-size: 2rem;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 10px;
}
.w98bb-menu-btn:hover { background: var(--w98bb-primary-soft); color: var(--w98bb-primary); }

/* Mobile slide-down menu */
.w98bb-mobile-menu {
  position: fixed;
  top: var(--w98bb-header-h);
  left: 0; right: 0;
  z-index: 9999;
  background: var(--w98bb-bg-soft);
  border-bottom: 1px solid var(--w98bb-border);
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
  box-shadow: var(--w98bb-shadow);
}
.w98bb-mobile-menu.w98bb-menu-open { max-height: 460px; }
.w98bb-mobile-menu-inner {
  max-width: 430px;
  margin: 0 auto;
  padding: 1rem 1.4rem 1.4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .6rem;
}
.w98bb-mobile-menu a {
  display: block;
  padding: 1rem 1.2rem;
  border-radius: 10px;
  background: var(--w98bb-bg-card);
  color: var(--w98bb-text);
  font-size: 1.35rem;
  font-weight: 600;
  text-decoration: none;
}
.w98bb-mobile-menu a:hover { background: var(--w98bb-primary-soft); color: var(--w98bb-primary); text-decoration: none; }

/* ---------- Carousel ---------- */
.w98bb-carousel {
  position: relative;
  width: 100%;
  border-radius: var(--w98bb-radius);
  overflow: hidden;
  box-shadow: var(--w98bb-shadow);
  margin: 1.4rem 0;
}
.w98bb-carousel-slide {
  display: none;
  width: 100%;
  cursor: pointer;
  position: relative;
}
.w98bb-carousel-slide.w98bb-active { display: block; }
.w98bb-carousel-slide img { width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; }
.w98bb-carousel-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1rem 1.2rem;
  background: linear-gradient(transparent, rgba(0,0,0,.7));
  color: #fff;
  font-weight: 700;
  font-size: 1.4rem;
}
.w98bb-carousel-dots {
  position: absolute;
  bottom: 8px;
  left: 0; right: 0;
  display: flex;
  justify-content: center;
  gap: .5rem;
}
.w98bb-carousel-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(240,240,240,.4);
  cursor: pointer;
  border: none;
}
.w98bb-carousel-dot.w98bb-active { background: var(--w98bb-primary); }

/* ---------- Section / heading ---------- */
.w98bb-section {
  margin: 2.2rem 0;
  padding: 1.6rem;
  background: var(--w98bb-bg-soft);
  border-radius: var(--w98bb-radius);
  border: 1px solid var(--w98bb-border);
}
.w98bb-section-title {
  font-size: 1.8rem;
  font-weight: 800;
  margin: 0 0 1rem;
  color: var(--w98bb-text);
}
.w98bb-section-title .w98bb-acc { color: var(--w98bb-primary); }
.w98bb-h1 {
  font-size: 2rem;
  line-height: 1.35;
  font-weight: 800;
  margin: 1.4rem 0;
}
.w98bb-lead { color: var(--w98bb-text-muted); font-size: 1.4rem; }
.w98bb-muted { color: var(--w98bb-text-muted); }
.w98bb-strong { color: var(--w98bb-primary); font-weight: 700; }

/* ---------- Game grid ---------- */
.w98bb-cat-title {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin: 2rem 0 1rem;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--w98bb-text);
}
.w98bb-cat-title i { color: var(--w98bb-primary); }
.w98bb-game-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.w98bb-game-card {
  display: block;
  background: var(--w98bb-bg-card);
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .2s ease;
  cursor: pointer;
}
.w98bb-game-card:hover { transform: translateY(-2px); box-shadow: var(--w98bb-shadow); text-decoration: none; }
.w98bb-game-card img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  background: #1c1c1c;
}
.w98bb-game-card .w98bb-game-name {
  padding: .5rem .4rem .7rem;
  font-size: 1.15rem;
  color: var(--w98bb-text);
  font-weight: 600;
  line-height: 1.2;
  min-height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Cards / lists ---------- */
.w98bb-card {
  background: var(--w98bb-bg-card);
  border-radius: 12px;
  padding: 1.2rem;
  margin-bottom: 1rem;
  border: 1px solid var(--w98bb-border);
}
.w98bb-card h3 { margin: 0 0 .5rem; font-size: 1.5rem; color: var(--w98bb-primary); }
.w98bb-card p { margin: .4rem 0; color: var(--w98bb-text-muted); font-size: 1.35rem; }
.w98bb-list { padding-left: 1.6rem; margin: .6rem 0; color: var(--w98bb-text-muted); }
.w98bb-list li { margin: .4rem 0; }
.w98bb-step {
  display: flex;
  gap: .8rem;
  align-items: flex-start;
  margin-bottom: .9rem;
}
.w98bb-step-num {
  flex: 0 0 28px; height: 28px;
  border-radius: 50%;
  background: var(--w98bb-primary);
  color: #06231f;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.3rem;
}
.w98bb-faq-item {
  background: var(--w98bb-bg-card);
  border-radius: 10px;
  padding: 1rem 1.2rem;
  margin-bottom: .8rem;
  border-left: 3px solid var(--w98bb-primary);
}
.w98bb-faq-item h4 { margin: 0 0 .4rem; font-size: 1.35rem; color: var(--w98bb-text); }
.w98bb-faq-item p { margin: 0; color: var(--w98bb-text-muted); font-size: 1.3rem; }

/* Stats */
.w98bb-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .8rem;
  margin: 1rem 0;
}
.w98bb-stat {
  background: var(--w98bb-bg-card);
  border-radius: 10px;
  padding: 1rem .6rem;
  text-align: center;
}
.w98bb-stat-num { font-size: 1.8rem; font-weight: 800; color: var(--w98bb-primary); }
.w98bb-stat-label { font-size: 1.1rem; color: var(--w98bb-text-muted); }

/* Testimonials */
.w98bb-testimonial {
  background: var(--w98bb-bg-card);
  border-radius: 12px;
  padding: 1.1rem;
  margin-bottom: .8rem;
  border: 1px solid var(--w98bb-border);
}
.w98bb-testimonial .w98bb-stars { color: var(--w98bb-gold); margin-bottom: .4rem; }
.w98bb-testimonial p { margin: 0 0 .5rem; font-size: 1.3rem; color: var(--w98bb-text); }
.w98bb-testimonial .w98bb-author { font-size: 1.15rem; color: var(--w98bb-text-muted); }

/* Payment chips */
.w98bb-pay-row { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .8rem; }
.w98bb-pay-chip {
  background: var(--w98bb-bg-card);
  border: 1px solid var(--w98bb-border);
  border-radius: 8px;
  padding: .5rem .9rem;
  font-size: 1.2rem;
  color: var(--w98bb-text);
  display: inline-flex; align-items: center; gap: .4rem;
}

/* CTA banner */
.w98bb-cta {
  background: linear-gradient(135deg, var(--w98bb-primary), var(--w98bb-primary-dark));
  border-radius: var(--w98bb-radius);
  padding: 1.6rem;
  text-align: center;
  color: #06231f;
  margin: 1.6rem 0;
}
.w98bb-cta h3 { margin: 0 0 .5rem; font-size: 1.7rem; }
.w98bb-cta p { margin: 0 0 1rem; font-size: 1.3rem; }
.w98bb-cta .w98bb-btn { background: #262626; color: var(--w98bb-primary); }

/* ---------- Footer ---------- */
.w98bb-footer {
  margin-top: 3rem;
  padding: 2rem 0 calc(var(--w98bb-bottom-h) + 2rem);
  background: #1d1d1d;
  border-top: 1px solid var(--w98bb-border);
}
.w98bb-footer-inner { max-width: 430px; margin: 0 auto; padding: 0 1.4rem; }
.w98bb-footer-about { color: var(--w98bb-text-muted); font-size: 1.3rem; line-height: 1.6; margin-bottom: 1.2rem; }
.w98bb-footer-links {
  display: flex; flex-wrap: wrap; gap: .6rem 1.2rem;
  margin-bottom: 1.2rem;
}
.w98bb-footer-links a { font-size: 1.25rem; color: var(--w98bb-text); }
.w98bb-footer-promos { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1.2rem; }
.w98bb-footer-promos .w98bb-btn { min-height: 36px; padding: 0 .9rem; font-size: 1.2rem; }
.w98bb-footer-copy { color: var(--w98bb-text-muted); font-size: 1.15rem; text-align: center; }

/* ---------- Bottom nav (mobile) ---------- */
.w98bb-bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--w98bb-bottom-h);
  background: #1d1d1d;
  border-top: 1px solid var(--w98bb-border);
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  box-shadow: 0 -4px 14px rgba(0,0,0,.35);
}
.w98bb-bottom-nav a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .25rem;
  color: var(--w98bb-text-muted);
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
  min-width: 60px;
  min-height: 60px;
  padding: .3rem;
  transition: color .2s ease, transform .15s ease;
}
.w98bb-bottom-nav a:hover { text-decoration: none; }
.w98bb-bottom-nav a:active { transform: scale(.92); }
.w98bb-bottom-nav a .w98bb-ico { font-size: 24px; line-height: 1; }
.w98bb-bottom-nav a .material-icons,
.w98bb-bottom-nav a .ion { font-size: 24px; }
.w98bb-bottom-nav a.w98bb-active { color: var(--w98bb-primary); }
.w98bb-bottom-nav a.w98bb-active .w98bb-ico { transform: translateY(-1px); }

/* Bottom padding so content isn't hidden by the nav */
main { padding-bottom: 0; }
@media (max-width: 768px) {
  main { padding-bottom: calc(var(--w98bb-bottom-h) + 1.5rem); }
}

/* ---------- Desktop: hide mobile-only UI ---------- */
@media (min-width: 769px) {
  .w98bb-bottom-nav { display: none; }
  .w98bb-footer { padding-bottom: 2rem; }
  .w98bb-menu-btn { display: none; }
  .w98bb-mobile-menu { display: none; }
}

/* ---------- Mobile tuning <= 430px ---------- */
@media (max-width: 430px) {
  html { font-size: 58%; }
  .w98bb-h1 { font-size: 1.85rem; }
  .w98bb-game-grid,
  .w98bb-grid { grid-template-columns: repeat(3, 1fr); gap: .7rem; }
  .w98bb-game-card .w98bb-game-name { font-size: 1.05rem; }
  .w98bb-section-title { font-size: 1.6rem; }
  .w98bb-header-inner { padding: .6rem 1rem; }
  .w98bb-btn { padding: 0 1rem; font-size: 1.2rem; }
}
