/* =========================================================
 * PT Gaming APK - layout-a4b4.css
 * Mobile-first styles. All custom classes use the "gb49-" prefix.
 * Palette: #1C2833 (dark bg) | #BF360C | #FFAA00 | #FFEBCD | #FFA500
 * ========================================================= */

:root {
  --gb49-bg: #1C2833;
  --gb49-bg-soft: #243447;
  --gb49-bg-card: #2b3e54;
  --gb49-primary: #FFAA00;
  --gb49-secondary: #FFA500;
  --gb49-deep: #BF360C;
  --gb49-text: #FFEBCD;
  --gb49-text-muted: #c9b89a;
  --gb49-white: #fff;
  --gb49-radius: 14px;
  --gb49-radius-sm: 10px;
  --gb49-shadow: 0 6px 20px rgba(0,0,0,.35);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html { font-size: 62.5%; }

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

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

.gb49-container { width: 100%; max-width: 430px; margin: 0 auto; padding: 0 14px; }
.gb49-wrapper { width: 100%; max-width: 430px; margin: 0 auto; }

/* ============================ HEADER ============================ */
.gb49-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: linear-gradient(180deg, #16212c 0%, #1C2833 100%);
  border-bottom: 2px solid var(--gb49-deep);
  box-shadow: 0 2px 12px rgba(0,0,0,.4);
}
.gb49-header-inner {
  max-width: 430px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 14px;
  gap: 8px;
}
.gb49-logo { display: flex; align-items: center; gap: 8px; min-width: 0; }
.gb49-logo img { width: 28px; height: 28px; border-radius: 6px; }
.gb49-logo-text {
  font-size: 1.55rem; font-weight: 800; color: var(--gb49-text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.gb49-logo-text b { color: var(--gb49-primary); }

.gb49-header-actions { display: flex; align-items: center; gap: 6px; }
.gb49-btn {
  display: inline-flex; align-items: center; justify-content: center;
  border: none; border-radius: 999px;
  padding: 9px 14px;
  font-size: 1.3rem; font-weight: 700;
  cursor: pointer; min-height: 36px; min-width: 44px;
  transition: transform .15s ease, filter .15s ease;
}
.gb49-btn:hover { filter: brightness(1.08); }
.gb49-btn:active { transform: scale(.96); }
.gb49-btn-login {
  background: transparent;
  border: 1.5px solid var(--gb49-primary);
  color: var(--gb49-primary);
}
.gb49-btn-register {
  background: linear-gradient(90deg, var(--gb49-deep), var(--gb49-secondary));
  color: #fff;
}
.gb49-menu-btn {
  background: transparent; border: none; color: var(--gb49-text);
  font-size: 2.2rem; padding: 4px 8px; cursor: pointer;
}

/* Mobile nav drawer */
.gb49-mobile-nav {
  max-height: 0; overflow: hidden;
  transition: max-height .35s ease;
  background: #16212c;
  border-top: 1px solid rgba(255,170,0,.15);
}
.gb49-menu-open.gb49-mobile-nav { max-height: 640px; }
.gb49-mobile-nav ul {
  list-style: none; margin: 0; padding: 8px 14px 14px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
}
.gb49-mobile-nav a {
  display: block; padding: 10px 12px;
  background: var(--gb49-bg-card); color: var(--gb49-text);
  border-radius: var(--gb49-radius-sm); font-size: 1.35rem; font-weight: 600;
  border-left: 3px solid var(--gb49-primary);
}

/* ============================ MAIN ============================ */
main { padding-top: 64px; padding-bottom: 80px; }
.gb49-section { padding: 22px 0; }
.gb49-section-alt { background: var(--gb49-bg-soft); }

.gb49-h1 {
  font-size: 2.4rem; line-height: 1.25; font-weight: 800;
  color: var(--gb49-white); margin: 14px 0 6px;
}
.gb49-h2 {
  font-size: 2.0rem; font-weight: 800;
  color: var(--gb49-primary); margin: 22px 0 8px;
  padding-left: 10px; border-left: 4px solid var(--gb49-deep);
}
.gb49-h3 {
  font-size: 1.7rem; font-weight: 700;
  color: var(--gb49-secondary); margin: 16px 0 6px;
}
.gb49-lead { color: var(--gb49-text-muted); font-size: 1.45rem; }

/* ============================ HERO / CAROUSEL ============================ */
.gb49-carousel {
  position: relative; border-radius: var(--gb49-radius);
  overflow: hidden; box-shadow: var(--gb49-shadow);
  background: #000;
}
.gb49-slide {
  display: none; position: relative;
}
.gb49-slide-active { display: block; }
.gb49-slide img { width: 100%; height: 200px; object-fit: cover; }
.gb49-slide-overlay {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(0deg, rgba(0,0,0,.85), transparent);
  padding: 16px 14px 12px;
}
.gb49-slide-title { font-size: 1.7rem; font-weight: 800; color: #fff; margin: 0; }
.gb49-slide-sub { font-size: 1.25rem; color: var(--gb49-primary); margin: 4px 0 8px; }
.gb49-carousel-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(0,0,0,.45); color: #fff; border: none;
  width: 36px; height: 36px; border-radius: 50%; cursor: pointer;
  font-size: 1.6rem;
}
.gb49-carousel-btn.prev { left: 8px; }
.gb49-carousel-btn.next { right: 8px; }
.gb49-dots {
  position: absolute; bottom: 8px; left: 0; right: 0;
  display: flex; justify-content: center; gap: 6px;
}
.gb49-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.4); }
.gb49-dot-active { background: var(--gb49-primary); }

/* ============================ CTA ============================ */
.gb49-cta {
  display: block; width: 100%; text-align: center;
  background: linear-gradient(90deg, var(--gb49-deep), var(--gb49-secondary));
  color: #fff; font-weight: 800; font-size: 1.6rem;
  padding: 14px; border-radius: var(--gb49-radius);
  margin: 14px 0; box-shadow: var(--gb49-shadow);
  border: none; cursor: pointer;
}
.gb49-cta:hover { filter: brightness(1.08); color: #fff; }
.gb49-cta-text { display: block; margin: 8px 0; font-weight: 700; color: var(--gb49-primary); }

/* ============================ CHIPS ============================ */
.gb49-chips {
  display: flex; gap: 8px; overflow-x: auto; padding: 6px 0 12px;
  -webkit-overflow-scrolling: touch;
}
.gb49-chip {
  flex: 0 0 auto;
  padding: 8px 14px; border-radius: 999px;
  background: var(--gb49-bg-card); color: var(--gb49-text);
  font-size: 1.3rem; font-weight: 600; cursor: pointer;
  border: 1px solid rgba(255,170,0,.2);
}
.gb49-chip-active {
  background: linear-gradient(90deg, var(--gb49-deep), var(--gb49-secondary));
  color: #fff; border-color: transparent;
}

/* ============================ GAME GRID ============================ */
.gb49-game-section { margin-bottom: 26px; }
.gb49-section-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 12px;
}
.gb49-section-head .gb49-h2 { margin: 0; }
.gb49-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.gb49-game {
  display: block; background: var(--gb49-bg-card);
  border-radius: var(--gb49-radius-sm); overflow: hidden;
  text-align: center; padding: 8px 6px;
  border: 1px solid rgba(255,170,0,.08);
  transition: transform .15s ease;
}
.gb49-game:hover { transform: translateY(-2px); border-color: var(--gb49-primary); }
.gb49-game img { width: 100%; height: 70px; object-fit: cover; border-radius: 8px; margin-bottom: 6px; }
.gb49-game-name {
  font-size: 1.18rem; color: var(--gb49-text);
  font-weight: 600; line-height: 1.25;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.gb49-game-tag {
  display: inline-block; font-size: 1rem; padding: 2px 6px;
  background: var(--gb49-deep); color: #fff; border-radius: 4px;
  margin-top: 4px;
}

/* ============================ CARDS ============================ */
.gb49-card {
  background: var(--gb49-bg-card); border-radius: var(--gb49-radius);
  padding: 16px; box-shadow: var(--gb49-shadow); margin-bottom: 14px;
  border-left: 4px solid var(--gb49-primary);
}
.gb49-card p { margin: 8px 0; color: var(--gb49-text); }
.gb49-card-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.gb49-feature { display: flex; gap: 10px; align-items: flex-start; }
.gb49-feature i { color: var(--gb49-primary); font-size: 2.2rem; flex: 0 0 auto; }
.gb49-feature h4 { margin: 0 0 4px; font-size: 1.4rem; color: var(--gb49-secondary); }
.gb49-feature p { margin: 0; font-size: 1.28rem; color: var(--gb49-text-muted); }

/* ============================ FAQ ============================ */
.gb49-faq { border: 1px solid rgba(255,170,0,.15); border-radius: var(--gb49-radius); margin-bottom: 10px; overflow: hidden; background: var(--gb49-bg-card); }
.gb49-faq-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 14px; cursor: pointer; font-weight: 700; color: var(--gb49-text);
  background: rgba(255,170,0,.05);
}
.gb49-faq-body { max-height: 0; overflow: hidden; transition: max-height .3s ease; padding: 0 14px; }
.gb49-faq-open .gb49-faq-body { max-height: 400px; padding: 0 14px 12px; }
.gb49-faq-icon { color: var(--gb49-primary); font-size: 1.6rem; transition: transform .3s; }
.gb49-faq-open .gb49-faq-icon { transform: rotate(45deg); }

/* ============================ RTP TABLE ============================ */
.gb49-rtp-table { width: 100%; border-collapse: collapse; font-size: 1.3rem; }
.gb49-rtp-table th, .gb49-rtp-table td {
  padding: 8px; border-bottom: 1px solid rgba(255,170,0,.12); text-align: left;
}
.gb49-rtp-table th { color: var(--gb49-primary); }
.gb49-rtp-bar { height: 8px; background: #11181f; border-radius: 4px; overflow: hidden; }
.gb49-rtp-fill { display: block; height: 100%; background: linear-gradient(90deg, var(--gb49-deep), var(--gb49-primary)); }

/* ============================ TESTIMONIALS ============================ */
.gb49-testimonial { background: var(--gb49-bg-card); border-radius: var(--gb49-radius); padding: 14px; margin-bottom: 10px; }
.gb49-testimonial .gb49-stars { color: var(--gb49-primary); margin-bottom: 6px; }
.gb49-testimonial p { margin: 0 0 6px; font-size: 1.35rem; }
.gb49-testimonial cite { color: var(--gb49-text-muted); font-style: normal; font-size: 1.2rem; }

/* ============================ WINNERS ============================ */
.gb49-winner {
  display: flex; align-items: center; gap: 10px;
  background: var(--gb49-bg-card); padding: 10px; border-radius: var(--gb49-radius-sm); margin-bottom: 8px;
}
.gb49-winner-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--gb49-deep); display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; }
.gb49-winner-info { flex: 1; min-width: 0; }
.gb49-winner-name { font-weight: 700; font-size: 1.3rem; color: var(--gb49-text); }
.gb49-winner-game { font-size: 1.15rem; color: var(--gb49-text-muted); }
.gb49-winner-amount { font-weight: 800; color: var(--gb49-primary); font-size: 1.4rem; }

/* ============================ PAYMENTS ============================ */
.gb49-pay-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.gb49-pay { background: var(--gb49-bg-card); padding: 10px; border-radius: var(--gb49-radius-sm); text-align: center; font-size: 1.15rem; color: var(--gb49-text); }
.gb49-pay i { font-size: 2.4rem; color: var(--gb49-primary); display: block; margin-bottom: 4px; }

/* ============================ APP CTA ============================ */
.gb49-app-cta {
  background: linear-gradient(135deg, var(--gb49-deep), var(--gb49-bg-soft));
  border-radius: var(--gb49-radius); padding: 18px; text-align: center; margin: 14px 0;
}
.gb49-app-cta h3 { margin: 0 0 8px; color: #fff; }
.gb49-app-cta p { color: var(--gb49-text); margin: 0 0 12px; }
.gb49-app-steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin: 12px 0; }
.gb49-app-step { background: rgba(0,0,0,.25); padding: 10px; border-radius: var(--gb49-radius-sm); font-size: 1.15rem; }
.gb49-app-step i { font-size: 2rem; color: var(--gb49-primary); display: block; }

/* ============================ LINKS LIST ============================ */
.gb49-links { list-style: none; padding: 0; margin: 8px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.gb49-links a { padding: 8px 10px; background: var(--gb49-bg-card); border-radius: var(--gb49-radius-sm); font-size: 1.25rem; display: block; }

/* ============================ FOOTER ============================ */
.gb49-footer {
  background: #11181f; padding: 22px 0 110px;
  border-top: 2px solid var(--gb49-deep);
}
.gb49-footer p { color: var(--gb49-text-muted); font-size: 1.3rem; margin: 6px 0; }
.gb49-footer h4 { color: var(--gb49-primary); margin: 14px 0 8px; font-size: 1.4rem; }
.gb49-footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 10px 0; }
.gb49-footer-grid a { font-size: 1.2rem; }
.gb49-footer-bottom { text-align: center; padding-top: 14px; border-top: 1px solid rgba(255,170,0,.1); margin-top: 14px; font-size: 1.2rem; color: var(--gb49-text-muted); }

/* ============================ BOTTOM NAV ============================ */
.gb49-bottomnav {
  position: fixed; bottom: 0; left: 0; right: 0;
  z-index: 1000; max-width: 430px; margin: 0 auto;
  height: 62px;
  display: flex; justify-content: space-around; align-items: center;
  background: linear-gradient(180deg, #1f2c39, #11181f);
  border-top: 2px solid var(--gb49-deep);
  box-shadow: 0 -4px 14px rgba(0,0,0,.4);
}
.gb49-bottomnav-btn {
  flex: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px; height: 100%; min-width: 60px;
  background: transparent; border: none; color: var(--gb49-text-muted);
  font-size: 1.05rem; font-weight: 600; cursor: pointer;
  transition: color .15s ease, transform .15s ease;
}
.gb49-bottomnav-btn i, .gb49-bottomnav-btn .material-icons-outlined {
  font-size: 22px;
}
.gb49-bottomnav-btn:hover { color: var(--gb49-primary); }
.gb49-bottomnav-btn:active { transform: scale(.92); }
.gb49-bottomnav-btn.gb49-active { color: var(--gb49-primary); }
.gb49-bottomnav-btn.gb49-promo {
  position: relative; color: #fff;
}
.gb49-bottomnav-btn.gb49-promo i { color: var(--gb49-secondary); }

/* ============================ REVEAL ============================ */
.gb49-reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.gb49-revealed { opacity: 1; transform: none; }

/* ============================ DESKTOP ============================ */
@media (min-width: 769px) {
  .gb49-bottomnav { display: none; }
  .gb49-menu-btn { display: none; }
  main { padding-bottom: 40px; }
  .gb49-footer { padding-bottom: 30px; }
  .gb49-container, .gb49-wrapper, .gb49-header-inner { max-width: 760px; }
  .gb49-grid { grid-template-columns: repeat(6, 1fr); }
}

@media (max-width: 360px) {
  .gb49-grid { grid-template-columns: repeat(2, 1fr); }
  .gb49-h1 { font-size: 2.0rem; }
}
