/* ============================================================
   Bugs Bunny - layout-36b1.css
   Mobile-first gaming website styles (en-PH)
   Prefix: w36b1-
   Palette: #BAE1FF | #1B263B | #AD1457
   ============================================================ */

:root {
  --w36b1-primary: #AD1457;
  --w36b1-bg: #1B263B;
  --w36b1-text: #BAE1FF;
  --w36b1-bg-alt: #22304d;
  --w36b1-bg-dark: #131c2e;
  --w36b1-gold: #FFD36E;
  --w36b1-muted: #8aa0c2;
  --w36b1-border: #2c3c5c;
  --w36b1-success: #2ecc71;
  --w36b1-radius: 10px;
  --w36b1-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

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

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

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

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

/* ---------- Layout wrappers ---------- */
.w36b1-container { width: 100%; max-width: 430px; margin: 0 auto; padding: 0 1.2rem; }
.w36b1-wrapper { padding: 1.6rem 0; }
.w36b1-section { padding: 2rem 0; border-top: 1px solid var(--w36b1-border); }
.w36b1-section--alt { background: var(--w36b1-bg-alt); }

/* ---------- Header ---------- */
.w36b1-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: var(--w36b1-bg-dark);
  border-bottom: 1px solid var(--w36b1-border);
  box-shadow: var(--w36b1-shadow);
}
.w36b1-header-inner {
  max-width: 430px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.8rem 1.2rem; height: 5.6rem;
}
.w36b1-brand { display: flex; align-items: center; gap: 0.6rem; }
.w36b1-brand img { width: 28px; height: 28px; border-radius: 6px; }
.w36b1-brand-name { font-size: 1.7rem; font-weight: 700; color: var(--w36b1-gold); letter-spacing: 0.3px; }
.w36b1-brand-badge { font-size: 1rem; color: var(--w36b1-muted); font-weight: 400; }

.w36b1-header-actions { display: flex; align-items: center; gap: 0.6rem; }
.w36b1-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  font-size: 1.3rem; font-weight: 600; padding: 0.7rem 1.2rem;
  border-radius: var(--w36b1-radius); border: none; cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease;
  min-height: 36px; line-height: 1;
}
.w36b1-btn:active { transform: scale(0.97); }
.w36b1-btn--ghost { background: transparent; color: var(--w36b1-text); border: 1px solid var(--w36b1-border); }
.w36b1-btn--primary { background: var(--w36b1-primary); color: #fff; }
.w36b1-btn--gold { background: var(--w36b1-gold); color: var(--w36b1-bg-dark); }
.w36b1-btn--block { width: 100%; padding: 1rem; font-size: 1.5rem; }

.w36b1-menu-btn {
  background: transparent; border: none; color: var(--w36b1-text);
  font-size: 1.8rem; cursor: pointer; padding: 0.4rem 0.6rem;
  display: inline-flex; align-items: center;
}

/* ---------- Mobile menu ---------- */
.w36b1-mobile-menu {
  position: fixed; top: 0; right: -100%; width: 80%; max-width: 320px;
  height: 100%; background: var(--w36b1-bg-dark); z-index: 9999;
  padding: 1.6rem; transition: right 0.28s ease;
  overflow-y: auto; border-left: 1px solid var(--w36b1-border);
}
.w36b1-mobile-menu.is-open { right: 0; }
.w36b1-menu-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 9998;
  display: none;
}
.w36b1-menu-overlay.is-open { display: block; }
.w36b1-menu-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.6rem; }
.w36b1-menu-title { font-size: 1.6rem; font-weight: 700; color: var(--w36b1-gold); }
.w36b1-menu-close { background: none; border: none; color: var(--w36b1-text); font-size: 2rem; cursor: pointer; }
.w36b1-menu-list { list-style: none; }
.w36b1-menu-list li { border-bottom: 1px solid var(--w36b1-border); }
.w36b1-menu-list li a {
  display: block; padding: 1.2rem 0.4rem; font-size: 1.4rem; color: var(--w36b1-text);
}
.w36b1-menu-list li a:hover { color: var(--w36b1-gold); padding-left: 0.8rem; }
.w36b1-menu-cta { margin-top: 1.6rem; display: flex; flex-direction: column; gap: 0.8rem; }

/* ---------- Hero / Carousel ---------- */
.w36b1-hero { margin-top: 5.6rem; }
.w36b1-carousel { position: relative; overflow: hidden; border-radius: 0 0 14px 14px; }
.w36b1-carousel-track { display: flex; transition: transform 0.45s ease; }
.w36b1-slide { min-width: 100%; position: relative; }
.w36b1-slide img { width: 100%; height: 200px; object-fit: cover; }
.w36b1-slide-overlay {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 1.2rem;
  background: linear-gradient(to top, rgba(19,28,46,0.92), rgba(19,28,46,0));
}
.w36b1-slide-title { font-size: 1.7rem; font-weight: 700; color: #fff; }
.w36b1-slide-text { font-size: 1.2rem; color: var(--w36b1-text); margin: 0.3rem 0 0.8rem; }
.w36b1-carousel-dots { display: flex; justify-content: center; gap: 0.5rem; padding: 0.8rem 0; }
.w36b1-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--w36b1-border); cursor: pointer; }
.w36b1-dot.active { background: var(--w36b1-gold); width: 18px; border-radius: 4px; }

/* ---------- Headings ---------- */
.w36b1-page-title { font-size: 2rem; font-weight: 700; color: var(--w36b1-gold); margin-bottom: 0.4rem; line-height: 1.3; }
.w36b1-lead { font-size: 1.35rem; color: var(--w36b1-text); margin-bottom: 1.4rem; }
.w36b1-h2 { font-size: 1.7rem; font-weight: 700; color: var(--w36b1-gold); margin-bottom: 0.8rem; }
.w36b1-h3 { font-size: 1.4rem; font-weight: 600; color: var(--w36b1-text); margin: 0.8rem 0 0.4rem; }
.w36b1-p { margin-bottom: 1rem; color: var(--w36b1-text); }

.w36b1-text-link { color: var(--w36b1-gold); font-weight: 700; }
.w36b1-text-link:hover { text-decoration: underline; }

/* ---------- Promo link button ---------- */
.w36b1-promo-btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--w36b1-primary); color: #fff; font-weight: 700;
  padding: 0.9rem 1.6rem; border-radius: var(--w36b1-radius); cursor: pointer;
  transition: transform 0.15s ease; font-size: 1.35rem; border: none;
}
.w36b1-promo-btn:hover { background: #c2185b; color: #fff; }
.w36b1-promo-btn:active { transform: scale(0.96); }

/* ---------- Game grid ---------- */
.w36b1-cat-head { display: flex; align-items: center; justify-content: space-between; margin: 1.4rem 0 0.8rem; }
.w36b1-cat-title { font-size: 1.55rem; font-weight: 700; color: var(--w36b1-gold); display: flex; align-items: center; gap: 0.5rem; }
.w36b1-cat-count { font-size: 1.1rem; color: var(--w36b1-muted); }
.w36b1-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.7rem; }
.w36b1-game-card { cursor: pointer; transition: transform 0.15s ease; }
.w36b1-game-card:active { transform: scale(0.96); }
.w36b1-game-thumb { border-radius: 8px; overflow: hidden; background: var(--w36b1-bg-alt); aspect-ratio: 1/1; border: 1px solid var(--w36b1-border); }
.w36b1-game-thumb img { width: 100%; height: 100%; object-fit: cover; }
.w36b1-game-name { font-size: 1.05rem; color: var(--w36b1-text); margin-top: 0.3rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: center; }

/* ---------- Cards ---------- */
.w36b1-card {
  background: var(--w36b1-bg-alt); border: 1px solid var(--w36b1-border);
  border-radius: var(--w36b1-radius); padding: 1.2rem; margin-bottom: 1rem;
}
.w36b1-card-row { display: flex; align-items: center; gap: 0.8rem; padding: 0.6rem 0; border-bottom: 1px solid var(--w36b1-border); }
.w36b1-card-row:last-child { border-bottom: none; }
.w36b1-card-row i { color: var(--w36b1-gold); font-size: 1.6rem; }

/* ---------- RTP table ---------- */
.w36b1-rtp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
.w36b1-rtp-item { background: var(--w36b1-bg-alt); border: 1px solid var(--w36b1-border); border-radius: 8px; padding: 0.8rem; }
.w36b1-rtp-name { font-size: 1.15rem; color: var(--w36b1-text); }
.w36b1-rtp-value { font-size: 1.5rem; font-weight: 700; color: var(--w36b1-gold); margin-top: 0.3rem; }
.w36b1-rtp-bar { height: 6px; background: var(--w36b1-bg-dark); border-radius: 3px; margin-top: 0.4rem; overflow: hidden; }
.w36b1-rtp-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--w36b1-primary), var(--w36b1-gold)); }

/* ---------- Feature list ---------- */
.w36b1-feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }
.w36b1-feature {
  background: var(--w36b1-bg-alt); border: 1px solid var(--w36b1-border);
  border-radius: 8px; padding: 1rem; text-align: center;
}
.w36b1-feature i { font-size: 2rem; color: var(--w36b1-gold); margin-bottom: 0.4rem; display: block; }
.w36b1-feature-title { font-size: 1.2rem; font-weight: 700; color: var(--w36b1-text); margin-bottom: 0.3rem; }
.w36b1-feature-text { font-size: 1.05rem; color: var(--w36b1-muted); line-height: 1.3rem; }

/* ---------- Testimonials ---------- */
.w36b1-testimonial { background: var(--w36b1-bg-alt); border: 1px solid var(--w36b1-border); border-left: 3px solid var(--w36b1-primary); border-radius: 8px; padding: 1rem; margin-bottom: 0.8rem; }
.w36b1-testimonial-user { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.4rem; }
.w36b1-testimonial-avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--w36b1-primary); display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 1.3rem; }
.w36b1-testimonial-name { font-size: 1.25rem; font-weight: 700; color: var(--w36b1-text); }
.w36b1-testimonial-stars { color: var(--w36b1-gold); font-size: 1.1rem; margin-left: auto; }
.w36b1-testimonial-text { font-size: 1.15rem; color: var(--w36b1-text); }

/* ---------- Payment ---------- */
.w36b1-pay-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.6rem; }
.w36b1-pay-item {
  background: var(--w36b1-bg-alt); border: 1px solid var(--w36b1-border);
  border-radius: 8px; padding: 0.7rem; text-align: center;
}
.w36b1-pay-item i { font-size: 1.8rem; color: var(--w36b1-gold); margin-bottom: 0.2rem; display: block; }
.w36b1-pay-item span { font-size: 1rem; color: var(--w36b1-muted); }

/* ---------- Winners ---------- */
.w36b1-winner { display: flex; align-items: center; justify-content: space-between; padding: 0.6rem 0; border-bottom: 1px solid var(--w36b1-border); font-size: 1.15rem; }
.w36b1-winner:last-child { border-bottom: none; }
.w36b1-winner-name { color: var(--w36b1-text); }
.w36b1-winner-game { color: var(--w36b1-muted); font-size: 1.05rem; }
.w36b1-winner-amount { color: var(--w36b1-gold); font-weight: 700; }

/* ---------- App CTA ---------- */
.w36b1-app-cta { background: linear-gradient(135deg, var(--w36b1-primary), #6d1b3e); border-radius: 14px; padding: 1.4rem; text-align: center; }
.w36b1-app-cta h3 { color: #fff; font-size: 1.6rem; font-weight: 700; margin-bottom: 0.4rem; }
.w36b1-app-cta p { color: #ffe6f0; font-size: 1.15rem; margin-bottom: 1rem; }
.w36b1-app-cta .w36b1-btn { margin: 0.3rem; }

/* ---------- FAQ ---------- */
.w36b1-faq-item { border: 1px solid var(--w36b1-border); border-radius: 8px; margin-bottom: 0.6rem; overflow: hidden; background: var(--w36b1-bg-alt); }
.w36b1-faq-q { display: flex; align-items: center; justify-content: space-between; padding: 1rem; font-size: 1.25rem; font-weight: 600; color: var(--w36b1-text); cursor: pointer; }
.w36b1-faq-q i { color: var(--w36b1-gold); transition: transform 0.2s ease; }
.w36b1-faq-q.open i { transform: rotate(180deg); }
.w36b1-faq-a { padding: 0 1rem 1rem; font-size: 1.15rem; color: var(--w36b1-muted); display: none; }
.w36b1-faq-a.open { display: block; }

/* ---------- Tips / tricks ---------- */
.w36b1-tips { list-style: none; counter-reset: w36b1tip; padding: 0; }
.w36b1-tips li {
  counter-increment: w36b1tip; position: relative;
  padding: 0.7rem 0.7rem 0.7rem 2.6rem; font-size: 1.15rem; color: var(--w36b1-text);
  border-bottom: 1px solid var(--w36b1-border);
}
.w36b1-tips li::before {
  content: counter(w36b1tip); position: absolute; left: 0; top: 0.6rem;
  width: 20px; height: 20px; border-radius: 50%; background: var(--w36b1-primary);
  color: #fff; font-size: 1rem; font-weight: 700; display: flex; align-items: center; justify-content: center;
}

/* ---------- Safety / trust ---------- */
.w36b1-trust-row { display: flex; align-items: center; gap: 0.7rem; padding: 0.6rem 0; border-bottom: 1px solid var(--w36b1-border); }
.w36b1-trust-row:last-child { border-bottom: none; }
.w36b1-trust-row i { color: var(--w36b1-success); font-size: 1.6rem; }

/* ---------- Category highlights ---------- */
.w36b1-cat-card {
  background: var(--w36b1-bg-alt); border: 1px solid var(--w36b1-border);
  border-radius: 10px; padding: 1rem; display: flex; align-items: center; gap: 0.8rem; margin-bottom: 0.7rem;
}
.w36b1-cat-card i { font-size: 1.9rem; color: var(--w36b1-gold); }
.w36b1-cat-card h4 { font-size: 1.3rem; font-weight: 700; color: var(--w36b1-text); }
.w36b1-cat-card p { font-size: 1.05rem; color: var(--w36b1-muted); margin: 0; }

/* ---------- Footer ---------- */
.w36b1-footer { background: var(--w36b1-bg-dark); padding: 2rem 0 6rem; border-top: 1px solid var(--w36b1-border); }
.w36b1-footer-intro { font-size: 1.15rem; color: var(--w36b1-muted); margin-bottom: 1rem; }
.w36b1-footer-links { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; }
.w36b1-footer-links a, .w36b1-footer-links button {
  font-size: 1.1rem; padding: 0.4rem 0.8rem; background: var(--w36b1-bg-alt);
  border: 1px solid var(--w36b1-border); border-radius: 6px; color: var(--w36b1-text);
}
.w36b1-footer-links a:hover, .w36b1-footer-links button:hover { color: var(--w36b1-gold); }
.w36b1-footer-promo { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0.8rem 0; }
.w36b1-copyright { font-size: 1.05rem; color: var(--w36b1-muted); margin-top: 0.8rem; }

/* ---------- Mobile bottom nav ---------- */
.w36b1-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
  height: 62px; background: var(--w36b1-bg-dark);
  border-top: 1px solid var(--w36b1-border);
  display: flex; justify-content: space-around; align-items: stretch;
}
.w36b1-nav-item {
  flex: 1; min-width: 60px; min-height: 60px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: none; border: none; color: var(--w36b1-muted);
  font-size: 1rem; gap: 0.2rem; cursor: pointer; position: relative;
  transition: color 0.2s ease, transform 0.15s ease;
}
.w36b1-nav-item i, .w36b1-nav-item span.material-icons-outlined, .w36b1-nav-item ion-icon { font-size: 22px; }
.w36b1-nav-item ion-icon { font-size: 24px; }
.w36b1-nav-item-label { font-size: 1rem; }
.w36b1-nav-item.active { color: var(--w36b1-gold); }
.w36b1-nav-item.active::before {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 28px; height: 3px; border-radius: 0 0 3px 3px; background: var(--w36b1-gold);
}
.w36b1-nav-item:active { transform: scale(0.92); color: var(--w36b1-gold); }
.w36b1-nav-badge {
  position: absolute; top: 6px; right: 18px; min-width: 16px; height: 16px;
  padding: 0 4px; border-radius: 8px; background: var(--w36b1-primary); color: #fff;
  font-size: 0.95rem; font-weight: 700; display: flex; align-items: center; justify-content: center;
}

/* ---------- Desktop ---------- */
@media (min-width: 769px) {
  .w36b1-bottom-nav { display: none; }
  .w36b1-container { max-width: 960px; }
  .w36b1-grid { grid-template-columns: repeat(8, 1fr); }
  .w36b1-pay-grid { grid-template-columns: repeat(8, 1fr); }
  .w36b1-feature-grid { grid-template-columns: repeat(4, 1fr); }
}

/* Mobile bottom padding for content clearance */
@media (max-width: 768px) {
  main.w36b1-main { padding-bottom: 80px; }
}

/* Utility */
.w36b1-mt-1 { margin-top: 0.5rem; }
.w36b1-mt-2 { margin-top: 1rem; }
.w36b1-center { text-align: center; }
.w36b1-row { display: flex; align-items: center; gap: 0.6rem; }
.w36b1-row-between { display: flex; align-items: center; justify-content: space-between; }
.w36b1-hidden { display: none; }

/* Promo inline link in content */
.w36b1-inline-link {
  color: var(--w36b1-gold); font-weight: 700; cursor: pointer;
}
.w36b1-inline-link:hover { text-decoration: underline; }