/* jollibee.homes layout - g426- prefix */
:root {
  --g426-primary: #2E8B57;
  --g426-accent: #9AFF9A;
  --g426-bg: #2D2D2D;
  --g426-bg-soft: #353535;
  --g426-muted: #95A5A6;
  --g426-text: #A9A9A9;
  --g426-text-light: #F0F0F0;
  --g426-border: #444;
  --g426-gold: #F1C40F;
  --g426-header-h: 5.6rem;
  --g426-radius: 1rem;
  --g426-shadow: 0 .4rem 1.2rem rgba(0,0,0,.35);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 62.5%; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  background: var(--g426-bg); color: var(--g426-text-light);
  line-height: 1.5rem; font-size: 1.4rem; min-height: 100vh; overflow-x: hidden;
}
a { color: var(--g426-accent); text-decoration: none; transition: color .2s; }
a:hover { color: #c8ffc8; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
.g426-container { width: 100%; max-width: 430px; margin: 0 auto; padding: 0 1.2rem; }
.g426-wrapper { min-height: 100vh; display: flex; flex-direction: column; }
.g426-main { flex: 1; padding-top: calc(var(--g426-header-h) + 1rem); padding-bottom: 2rem; }

/* Header */
.g426-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: linear-gradient(180deg, #1f1f1f, #2d2d2d);
  border-bottom: 1px solid var(--g426-border); height: var(--g426-header-h);
  transition: box-shadow .25s;
}
.g426-header-scrolled { box-shadow: var(--g426-shadow); }
.g426-header-inner {
  max-width: 430px; margin: 0 auto; height: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 1.2rem; gap: .8rem;
}
.g426-logo { display: flex; align-items: center; gap: .8rem; min-width: 0; }
.g426-logo img { width: 3.2rem; height: 3.2rem; border-radius: .6rem; object-fit: cover; }
.g426-logo-text { font-size: 1.6rem; font-weight: 700; color: var(--g426-accent); white-space: nowrap; }
.g426-header-actions { display: flex; align-items: center; gap: .6rem; flex-shrink: 0; }
.g426-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  min-height: 4.4rem; min-width: 4.4rem; padding: .8rem 1.2rem; border-radius: .8rem;
  font-size: 1.2rem; font-weight: 700; transition: transform .15s, background .2s;
}
.g426-btn:active { transform: scale(.96); }
.g426-btn-primary {
  background: linear-gradient(135deg, var(--g426-primary), #3cb371); color: #fff;
  box-shadow: 0 .2rem .8rem rgba(46,139,87,.4);
}
.g426-btn-primary:hover { background: linear-gradient(135deg, #3cb371, var(--g426-primary)); color: #fff; }
.g426-btn-outline { background: transparent; color: var(--g426-accent); border: 1px solid var(--g426-accent); }
.g426-btn-outline:hover { background: rgba(154,255,154,.12); color: var(--g426-accent); }
.g426-btn-accent { background: var(--g426-accent); color: #1a1a1a; font-weight: 800; }
.g426-btn-accent:hover { background: #b8ffb8; color: #1a1a1a; }
.g426-btn-block { width: 100%; }
.g426-menu-toggle {
  width: 4.4rem; height: 4.4rem; display: flex; align-items: center; justify-content: center;
  color: var(--g426-text-light); font-size: 2.2rem; border-radius: .8rem;
}

/* Mobile menu */
.g426-menu-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 9998;
  opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s;
}
.g426-overlay-show { opacity: 1; visibility: visible; }
.g426-mobile-menu {
  position: fixed; top: 0; right: 0; width: min(82vw, 32rem); height: 100%;
  background: #222; z-index: 9999; transform: translateX(100%);
  transition: transform .28s; overflow-y: auto; padding: 2rem 1.6rem 8rem;
  box-shadow: -.4rem 0 2rem rgba(0,0,0,.45);
}
.g426-menu-open { transform: translateX(0); }
.g426-menu-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 2rem; }
.g426-menu-title { font-size: 1.6rem; font-weight: 700; color: var(--g426-accent); }
.g426-menu-close {
  width: 4.4rem; height: 4.4rem; display: flex; align-items: center; justify-content: center;
  color: var(--g426-text-light); font-size: 2.4rem;
}
.g426-menu-list a {
  display: flex; align-items: center; gap: 1rem; padding: 1.2rem 1rem;
  color: var(--g426-text-light); border-bottom: 1px solid var(--g426-border);
  font-size: 1.4rem; min-height: 4.8rem;
}
.g426-menu-list a:hover { background: rgba(154,255,154,.08); color: var(--g426-accent); }
.g426-menu-list i, .g426-menu-list .material-icons, .g426-menu-list .bi {
  font-size: 2rem; width: 2.4rem; text-align: center; color: var(--g426-primary);
}

/* Carousel */
.g426-carousel {
  position: relative; width: 100%; max-width: 430px; margin: 0 auto 1.6rem;
  border-radius: var(--g426-radius); overflow: hidden; aspect-ratio: 16/9;
  background: #1a1a1a; box-shadow: var(--g426-shadow);
}
.g426-carousel-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity .5s; cursor: pointer;
}
.g426-slide-active { opacity: 1; z-index: 1; }
.g426-carousel-slide img { width: 100%; height: 100%; object-fit: cover; }
.g426-carousel-dots {
  position: absolute; bottom: 1rem; left: 0; right: 0; z-index: 2;
  display: flex; justify-content: center; gap: .6rem;
}
.g426-carousel-dot {
  width: .8rem; height: .8rem; border-radius: 50%; background: rgba(255,255,255,.4);
  transition: background .2s, transform .2s;
}
.g426-dot-active { background: var(--g426-accent); transform: scale(1.25); }
.g426-carousel-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 3.6rem; height: 3.6rem; border-radius: 50%; background: rgba(0,0,0,.45);
  color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.8rem;
}
.g426-carousel-prev { left: .8rem; }
.g426-carousel-next { right: .8rem; }

/* Sections & content */
.g426-section { max-width: 430px; margin: 0 auto 2rem; padding: 0 1.2rem; }
.g426-section-title {
  font-size: 1.8rem; font-weight: 800; color: var(--g426-accent); margin-bottom: 1.2rem;
  display: flex; align-items: center; gap: .6rem;
}
.g426-section-title .material-icons, .g426-section-title i { font-size: 2.2rem; color: var(--g426-primary); }
.g426-h1 { font-size: 2rem; font-weight: 800; line-height: 1.35; color: #fff; margin-bottom: 1.2rem; text-align: center; }
.g426-lead { font-size: 1.4rem; line-height: 1.7; color: var(--g426-text); margin-bottom: 1.4rem; }
.g426-card {
  background: var(--g426-bg-soft); border: 1px solid var(--g426-border);
  border-radius: var(--g426-radius); padding: 1.4rem; margin-bottom: 1.2rem;
  box-shadow: 0 .2rem .8rem rgba(0,0,0,.2);
}
.g426-card h3 { font-size: 1.5rem; color: var(--g426-accent); margin-bottom: .8rem; }
.g426-card p { font-size: 1.3rem; line-height: 1.7; color: var(--g426-text); margin-bottom: .8rem; }
.g426-card p:last-child { margin-bottom: 0; }

/* Games */
.g426-game-category { margin-bottom: 2rem; }
.g426-cat-title {
  font-size: 1.6rem; font-weight: 700; color: #fff; margin-bottom: 1rem;
  padding-left: .8rem; border-left: .3rem solid var(--g426-primary);
  display: flex; align-items: center; gap: .6rem;
}
.g426-game-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; }
.g426-game-item {
  display: flex; flex-direction: column; align-items: center;
  cursor: pointer; transition: transform .15s; min-width: 0;
}
.g426-game-item:active { transform: scale(.95); }
.g426-game-item img {
  width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: .8rem;
  border: 1px solid var(--g426-border); background: #1a1a1a;
}
.g426-game-item span {
  display: block; width: 100%; margin-top: .4rem; font-size: 1rem; line-height: 1.3;
  color: var(--g426-text-light); text-align: center; overflow: hidden;
  text-overflow: ellipsis; white-space: nowrap; font-weight: 600;
}

/* Modules */
.g426-feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.g426-feature-item {
  background: var(--g426-bg-soft); border: 1px solid var(--g426-border);
  border-radius: var(--g426-radius); padding: 1.2rem; text-align: center;
}
.g426-feature-item i, .g426-feature-item .material-icons, .g426-feature-item .bi {
  font-size: 2.6rem; color: var(--g426-primary); margin-bottom: .6rem; display: block;
}
.g426-feature-item h3 { font-size: 1.3rem; color: var(--g426-accent); margin-bottom: .5rem; }
.g426-feature-item p { font-size: 1.2rem; color: var(--g426-text); line-height: 1.5; }
.g426-steps { counter-reset: g426step; }
.g426-step {
  position: relative; padding: 1.2rem 1.2rem 1.2rem 4.8rem;
  background: var(--g426-bg-soft); border-radius: var(--g426-radius);
  margin-bottom: 1rem; border: 1px solid var(--g426-border);
}
.g426-step::before {
  counter-increment: g426step; content: counter(g426step);
  position: absolute; left: 1.2rem; top: 1.2rem; width: 2.8rem; height: 2.8rem;
  border-radius: 50%; background: var(--g426-primary); color: #fff;
  font-weight: 800; font-size: 1.3rem; display: flex; align-items: center; justify-content: center;
}
.g426-step h3 { font-size: 1.4rem; color: var(--g426-accent); margin-bottom: .4rem; }
.g426-step p { font-size: 1.3rem; color: var(--g426-text); line-height: 1.6; }
.g426-faq-item {
  background: var(--g426-bg-soft); border: 1px solid var(--g426-border);
  border-radius: var(--g426-radius); padding: 1.2rem; margin-bottom: .8rem;
}
.g426-faq-item h3 { font-size: 1.4rem; color: var(--g426-accent); margin-bottom: .6rem; }
.g426-faq-item p { font-size: 1.3rem; color: var(--g426-text); line-height: 1.6; }
.g426-promo-row { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.2rem 0; justify-content: center; }
.g426-text-link { color: var(--g426-accent); font-weight: 700; text-decoration: underline; cursor: pointer; }
.g426-text-link:hover { color: #c8ffc8; }
.g426-rtp-table { width: 100%; border-collapse: collapse; font-size: 1.2rem; margin: 1rem 0; }
.g426-rtp-table th, .g426-rtp-table td { padding: .8rem; border: 1px solid var(--g426-border); text-align: left; }
.g426-rtp-table th { background: var(--g426-primary); color: #fff; font-weight: 700; }
.g426-rtp-table tr:nth-child(even) { background: rgba(255,255,255,.03); }
.g426-winner-list { display: flex; flex-direction: column; gap: .8rem; }
.g426-winner-item {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--g426-bg-soft); border: 1px solid var(--g426-border);
  border-radius: .8rem; padding: 1rem 1.2rem; font-size: 1.2rem;
}
.g426-winner-item strong { color: var(--g426-gold); }
.g426-payment-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; text-align: center; }
.g426-payment-item {
  background: var(--g426-bg-soft); border: 1px solid var(--g426-border);
  border-radius: .8rem; padding: 1.2rem .6rem; font-size: 1.1rem; color: var(--g426-text-light);
}
.g426-payment-item i, .g426-payment-item .material-icons {
  display: block; font-size: 2.4rem; color: var(--g426-primary); margin-bottom: .4rem;
}
.g426-testimonial {
  background: var(--g426-bg-soft); border-left: .3rem solid var(--g426-primary);
  border-radius: 0 .8rem .8rem 0; padding: 1.2rem; margin-bottom: 1rem;
}
.g426-testimonial p { font-size: 1.3rem; color: var(--g426-text); line-height: 1.6; font-style: italic; margin-bottom: .6rem; }
.g426-testimonial cite { font-size: 1.2rem; color: var(--g426-accent); font-style: normal; font-weight: 700; }
.g426-cta-banner {
  background: linear-gradient(135deg, #1f4d35, #2E8B57 50%, #1f4d35);
  border-radius: var(--g426-radius); padding: 2rem 1.4rem; text-align: center;
  margin: 1.6rem 0; border: 1px solid rgba(154,255,154,.25);
}
.g426-cta-banner h2 { font-size: 1.8rem; color: #fff; margin-bottom: .8rem; }
.g426-cta-banner p { font-size: 1.3rem; color: var(--g426-accent); margin-bottom: 1.4rem; line-height: 1.6; }
.g426-seo-links { display: flex; flex-wrap: wrap; gap: .8rem 1.2rem; margin: 1rem 0; }
.g426-seo-links a { font-size: 1.3rem; font-weight: 600; color: var(--g426-accent); text-decoration: underline; }

/* Footer */
.g426-footer {
  background: #1a1a1a; border-top: 1px solid var(--g426-border);
  padding: 2.4rem 1.2rem 2rem; max-width: 430px; margin: 0 auto;
}
.g426-footer-brand { font-size: 1.3rem; line-height: 1.7; color: var(--g426-text); margin-bottom: 1.4rem; }
.g426-footer-links { display: flex; flex-wrap: wrap; gap: .8rem 1.2rem; margin-bottom: 1.4rem; }
.g426-footer-links a { font-size: 1.2rem; color: var(--g426-muted); }
.g426-footer-links a:hover { color: var(--g426-accent); }
.g426-footer-promo { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 1.4rem; }
.g426-footer-promo .g426-btn { min-height: 4rem; font-size: 1.1rem; padding: .6rem 1rem; }
.g426-copyright {
  font-size: 1.1rem; color: var(--g426-muted); text-align: center;
  padding-top: 1rem; border-top: 1px solid var(--g426-border);
}

/* Bottom nav */
.g426-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000; height: 6.2rem;
  background: linear-gradient(0deg, #1a1a1a, #252525);
  border-top: 1px solid var(--g426-primary);
  display: flex; justify-content: space-around; align-items: stretch;
  max-width: 430px; margin: 0 auto; box-shadow: 0 -.2rem 1.2rem rgba(0,0,0,.4);
}
.g426-bottom-nav-item {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .2rem; min-width: 6rem; min-height: 6rem; color: var(--g426-muted);
  font-size: 1rem; font-weight: 600; transition: color .2s, transform .15s;
  padding: .4rem; cursor: pointer; text-decoration: none; background: transparent;
}
.g426-bottom-nav-item i, .g426-bottom-nav-item .material-icons, .g426-bottom-nav-item .bi {
  font-size: 2.2rem; line-height: 1; transition: transform .15s, color .2s;
}
.g426-bottom-nav-item .material-icons { font-size: 2.4rem; }
.g426-bottom-nav-item:active { transform: scale(.92); }
.g426-bottom-nav-item.g426-nav-active,
.g426-bottom-nav-item.g426-nav-active i,
.g426-bottom-nav-item.g426-nav-active .material-icons,
.g426-bottom-nav-item.g426-nav-active .bi { color: var(--g426-accent); }
.g426-bottom-nav-item span { line-height: 1.2; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.g426-mt-1 { margin-top: 1rem; }
.g426-mb-1 { margin-bottom: 1rem; }
.g426-text-center { text-align: center; }
.g426-highlight { color: var(--g426-accent); font-weight: 700; }

@media (max-width: 768px) {
  .g426-main { padding-bottom: 8rem; }
  .g426-footer { padding-bottom: 8rem; }
}
@media (min-width: 769px) {
  .g426-bottom-nav { display: none; }
  body { background: #1a1a1a; }
  .g426-wrapper {
    max-width: 430px; margin: 0 auto; background: var(--g426-bg);
    box-shadow: 0 0 4rem rgba(0,0,0,.5);
  }
}
