/* ============================================================
   GG Panalo APK - Shared stylesheet
   All custom classes use "pg07-" prefix.
   Palette: #1C2833 (dark bg) | #DEE2E6 (light text)
            #FFD700 / #FFEB3B (accents) | #E0F2F1 (soft mint)
   Mobile-first: main container max-width 430px.
   ============================================================ */

:root {
  --pg07-bg: #1C2833;
  --pg07-bg-alt: #243447;
  --pg07-bg-soft: #2c3e50;
  --pg07-text: #DEE2E6;
  --pg07-text-muted: #a8b3bd;
  --pg07-primary: #FFD700;
  --pg07-primary-2: #FFEB3B;
  --pg07-mint: #E0F2F1;
  --pg07-success: #2ecc71;
  --pg07-danger: #e74c3c;
  --pg07-radius: 14px;
  --pg07-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

/* Use rem (root 62.5% = 10px) */
html { font-size: 62.5%; }

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

body {
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  background: var(--pg07-bg);
  color: var(--pg07-text);
  line-height: 1.5rem;
  font-size: 1.5rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

/* ---------- Layout containers ---------- */
.pg07-container {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1.2rem;
  position: relative;
}
.pg07-wrapper { width: 100%; min-height: 100vh; padding-bottom: 9rem; }

/* ---------- Header ---------- */
.pg07-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: linear-gradient(180deg, #1C2833 0%, #21303f 100%);
  border-bottom: 2px solid var(--pg07-primary);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}
.pg07-header-inner {
  max-width: 430px;
  margin: 0 auto;
  padding: 0.6rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}
.pg07-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  color: var(--pg07-primary);
  font-size: 1.7rem;
  letter-spacing: 0.3px;
}
.pg07-logo img { width: 30px; height: 30px; border-radius: 8px; }
.pg07-logo span { color: var(--pg07-text); }
.pg07-logo b { color: var(--pg07-primary-2); }

.pg07-header-actions { display: flex; align-items: center; gap: 0.6rem; }

.pg07-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.2rem;
  font-size: 1.3rem;
  font-weight: 700;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  min-height: 38px;
}
.pg07-btn:active { transform: scale(0.96); }
.pg07-btn-primary {
  background: linear-gradient(135deg, #FFD700 0%, #FFEB3B 100%);
  color: #1C2833;
  box-shadow: 0 4px 12px rgba(255, 215, 0, 0.35);
}
.pg07-btn-outline {
  background: transparent;
  color: var(--pg07-text);
  border: 1.5px solid var(--pg07-primary);
}
.pg07-btn-block { display: flex; width: 100%; }

.pg07-menu-toggle {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--pg07-bg-soft);
  color: var(--pg07-primary);
  border: none;
  font-size: 2rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Expandable mobile menu ---------- */
.pg07-menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.pg07-backdrop-show { opacity: 1; pointer-events: auto; }

.pg07-mobile-menu {
  position: fixed;
  top: 0; right: -85%;
  width: 78%;
  max-width: 320px;
  height: 100vh;
  background: var(--pg07-bg-alt);
  z-index: 9999;
  padding: 7rem 1.5rem 2rem;
  overflow-y: auto;
  transition: right 0.3s ease;
  border-left: 2px solid var(--pg07-primary);
}
.pg07-menu-open { right: 0; }
.pg07-mobile-menu a {
  display: block;
  padding: 1rem 0.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--pg07-text);
  font-weight: 600;
  font-size: 1.4rem;
}
.pg07-mobile-menu a:hover { background: rgba(255, 215, 0, 0.08); color: var(--pg07-primary); }
.pg07-mobile-menu .pg07-menu-cta {
  margin-top: 1.5rem;
  background: linear-gradient(135deg, #FFD700, #FFEB3B);
  color: #1C2833;
  border-radius: 999px;
  text-align: center;
  font-weight: 800;
}

/* ---------- Hero carousel ---------- */
.pg07-main { padding-top: 6.5rem; }
.pg07-carousel {
  position: relative;
  border-radius: var(--pg07-radius);
  overflow: hidden;
  margin: 1rem 0;
  box-shadow: var(--pg07-shadow);
}
.pg07-carousel-track { position: relative; }
.pg07-carousel-slide {
  display: none;
  position: relative;
  cursor: pointer;
}
.pg07-carousel-slide img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}
.pg07-slide-active { display: block; }
.pg07-carousel-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  background: linear-gradient(transparent, rgba(28, 40, 51, 0.95));
  padding: 1rem 1.2rem;
  color: var(--pg07-text);
  font-weight: 700;
  font-size: 1.4rem;
}
.pg07-carousel-caption span { color: var(--pg07-primary-2); }
.pg07-carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.45);
  color: var(--pg07-primary);
  border: none;
  width: 34px; height: 34px;
  border-radius: 50%;
  font-size: 1.6rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.pg07-carousel-arrow:hover { background: rgba(0, 0, 0, 0.7); }
.pg07-arrow-prev { left: 8px; }
.pg07-arrow-next { right: 8px; }
.pg07-carousel-dots {
  position: absolute;
  bottom: 8px; left: 0; right: 0;
  display: flex; justify-content: center; gap: 6px;
  z-index: 2;
}
.pg07-carousel-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: none; cursor: pointer;
}
.pg07-dot-active { background: var(--pg07-primary); width: 22px; border-radius: 4px; }

/* ---------- Hero CTA banner ---------- */
.pg07-hero-cta {
  background: linear-gradient(135deg, #2c3e50, #1C2833);
  border: 1px solid rgba(255, 215, 0, 0.35);
  border-radius: var(--pg07-radius);
  padding: 1.4rem;
  margin: 1rem 0;
}
.pg07-hero-cta h1 {
  font-size: 2.2rem;
  color: var(--pg07-primary);
  line-height: 1.2;
  margin-bottom: 0.6rem;
}
.pg07-hero-cta p { color: var(--pg07-text-muted); font-size: 1.35rem; margin-bottom: 1rem; }

/* ---------- Section ---------- */
.pg07-section {
  margin: 1.8rem 0;
  padding: 1.4rem;
  background: var(--pg07-bg-alt);
  border-radius: var(--pg07-radius);
  box-shadow: var(--pg07-shadow);
}
.pg07-section-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--pg07-primary);
  margin-bottom: 0.4rem;
  display: flex; align-items: center; gap: 0.6rem;
}
.pg07-section-sub { color: var(--pg07-text-muted); font-size: 1.3rem; margin-bottom: 1rem; }

/* ---------- Filter chips ---------- */
.pg07-filter-row {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding: 0.5rem 0 1rem;
  -webkit-overflow-scrolling: touch;
}
.pg07-filter-chip {
  flex: 0 0 auto;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  background: var(--pg07-bg-soft);
  color: var(--pg07-text);
  font-size: 1.2rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}
.pg07-chip-active {
  background: linear-gradient(135deg, #FFD700, #FFEB3B);
  color: #1C2833;
}

/* ---------- Game grid ---------- */
.pg07-game-group { margin-bottom: 1.6rem; }
.pg07-game-group-title {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--pg07-primary-2);
  margin: 0.4rem 0 0.9rem;
  display: flex; align-items: center; gap: 0.5rem;
}
.pg07-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
}
.pg07-game-card {
  display: block;
  background: var(--pg07-bg-soft);
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  transition: transform 0.15s ease;
  cursor: pointer;
  border: 1px solid rgba(255, 215, 0, 0.1);
}
.pg07-game-card:active { transform: scale(0.95); }
.pg07-game-card img {
  width: 100%;
  height: 92px;
  object-fit: cover;
}
.pg07-game-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--pg07-text);
  padding: 0.4rem 0.3rem 0.6rem;
  line-height: 1.2;
  min-height: 32px;
}

/* ---------- Generic content blocks ---------- */
.pg07-text-block { color: var(--pg07-text-muted); font-size: 1.35rem; margin-bottom: 1rem; }
.pg07-text-block strong, .pg07-text-block b { color: var(--pg07-primary-2); }
.pg07-list { list-style: none; padding: 0; margin: 0.5rem 0 1rem; }
.pg07-list li {
  position: relative;
  padding: 0.6rem 0 0.6rem 2rem;
  font-size: 1.3rem;
  color: var(--pg07-text);
  border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
}
.pg07-list li:before {
  content: "\f005";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0; top: 0.7rem;
  color: var(--pg07-primary);
  font-size: 1.1rem;
}

/* ---------- Feature / step cards ---------- */
.pg07-card-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.8rem;
}
.pg07-card {
  background: var(--pg07-bg-soft);
  border-radius: 12px;
  padding: 1.2rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  border-left: 3px solid var(--pg07-primary);
}
.pg07-card .pg07-card-icon {
  font-size: 2.4rem;
  color: var(--pg07-primary-2);
  flex: 0 0 auto;
}
.pg07-card h3 { font-size: 1.45rem; color: var(--pg07-primary); margin-bottom: 0.3rem; }
.pg07-card p { font-size: 1.25rem; color: var(--pg07-text-muted); }

/* ---------- Steps ---------- */
.pg07-step {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  align-items: flex-start;
}
.pg07-step-num {
  flex: 0 0 auto;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FFD700, #FFEB3B);
  color: #1C2833;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
}
.pg07-step-body h3 { color: var(--pg07-primary-2); font-size: 1.4rem; margin-bottom: 0.2rem; }
.pg07-step-body p { font-size: 1.3rem; color: var(--pg07-text-muted); }

/* ---------- RTP table ---------- */
.pg07-rtp-table { width: 100%; border-collapse: collapse; font-size: 1.25rem; }
.pg07-rtp-table th, .pg07-rtp-table td {
  padding: 0.7rem 0.6rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  text-align: left;
}
.pg07-rtp-table th { color: var(--pg07-primary); font-weight: 700; }
.pg07-rtp-table td { color: var(--pg07-text); }
.pg07-rtp-table td.pg07-rt-num { color: var(--pg07-primary-2); font-weight: 800; }

/* ---------- Testimonials ---------- */
.pg07-testimonial {
  background: var(--pg07-bg-soft);
  border-radius: 12px;
  padding: 1rem;
  margin-bottom: 0.8rem;
  border-left: 3px solid var(--pg07-primary-2);
}
.pg07-testimonial-name { color: var(--pg07-primary); font-weight: 700; font-size: 1.3rem; }
.pg07-testimonial-stars { color: var(--pg07-primary-2); font-size: 1.1rem; }
.pg07-testimonial p { font-size: 1.25rem; color: var(--pg07-text-muted); margin-top: 0.4rem; }

/* ---------- Payment chips ---------- */
.pg07-pay-row { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.pg07-pay-chip {
  background: var(--pg07-bg-soft);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--pg07-text);
  border: 1px solid rgba(255, 215, 0, 0.2);
  display: inline-flex; align-items: center; gap: 0.4rem;
}

/* ---------- Winners ---------- */
.pg07-winner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.6rem 0.8rem;
  background: var(--pg07-bg-soft);
  border-radius: 8px;
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}
.pg07-winner b { color: var(--pg07-primary-2); }

/* ---------- FAQ accordion ---------- */
.pg07-faq-item {
  background: var(--pg07-bg-soft);
  border-radius: 10px;
  margin-bottom: 0.6rem;
  overflow: hidden;
}
.pg07-faq-q {
  padding: 1rem;
  font-weight: 700;
  color: var(--pg07-text);
  cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 1.35rem;
}
.pg07-faq-q:after {
  content: "\f078";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: var(--pg07-primary);
  font-size: 1rem;
  transition: transform 0.2s;
}
.pg07-faq-open .pg07-faq-q:after { transform: rotate(180deg); }
.pg07-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 1rem;
  color: var(--pg07-text-muted);
  font-size: 1.25rem;
}
.pg07-faq-open .pg07-faq-a { max-height: 300px; padding: 0 1rem 1rem; }

/* ---------- Inline promo links ---------- */
.pg07-promo-link {
  color: var(--pg07-primary);
  font-weight: 800;
  cursor: pointer;
  text-decoration: underline;
}
.pg07-promo-link:hover { color: var(--pg07-primary-2); }

/* ---------- Download CTA ---------- */
.pg07-download-cta {
  background: linear-gradient(135deg, #FFD700 0%, #FFEB3B 60%, #E0F2F1 100%);
  color: #1C2833;
  border-radius: var(--pg07-radius);
  padding: 1.4rem;
  text-align: center;
  margin: 1.5rem 0;
}
.pg07-download-cta h3 { font-size: 1.7rem; margin-bottom: 0.4rem; color: #1C2833; }
.pg07-download-cta p { font-size: 1.25rem; margin-bottom: 1rem; color: #243447; }

/* ---------- Footer ---------- */
.pg07-footer {
  background: #15202b;
  border-top: 2px solid var(--pg07-primary);
  margin-top: 2rem;
  padding: 2rem 0 1rem;
}
.pg07-footer-brand {
  color: var(--pg07-text-muted);
  font-size: 1.25rem;
  margin-bottom: 1rem;
  line-height: 1.4;
}
.pg07-footer-brand b { color: var(--pg07-primary); }
.pg07-footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem 0.8rem;
  margin-bottom: 1rem;
}
.pg07-footer-links a {
  color: var(--pg07-text-muted);
  font-size: 1.2rem;
  padding: 0.3rem 0;
}
.pg07-footer-links a:hover { color: var(--pg07-primary); }
.pg07-footer-promo {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  margin: 0.8rem 0;
}
.pg07-footer-copy {
  text-align: center;
  font-size: 1.1rem;
  color: var(--pg07-text-muted);
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* ---------- Bottom nav ---------- */
.pg07-bottomnav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 1000;
  background: linear-gradient(0deg, #15202b, #1C2833);
  border-top: 2px solid var(--pg07-primary);
  height: 62px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  box-shadow: 0 -4px 14px rgba(0, 0, 0, 0.4);
}
.pg07-bottomnav-btn {
  flex: 1;
  height: 100%;
  background: transparent;
  border: none;
  color: var(--pg07-text-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font-size: 1rem;
  cursor: pointer;
  transition: color 0.15s, transform 0.15s;
  min-width: 60px;
  min-height: 60px;
}
.pg07-bottomnav-btn .pg07-nav-icon { font-size: 2.2rem; line-height: 1; }
.pg07-bottomnav-btn .pg07-nav-label { font-size: 1rem; font-weight: 600; }
.pg07-bottomnav-btn:active { transform: scale(0.92); }
.pg07-bottomnav-btn:hover { color: var(--pg07-primary-2); }
.pg07-nav-active { color: var(--pg07-primary); }
.pg07-nav-active .pg07-nav-icon { color: var(--pg07-primary); }

/* ---------- Back to top ---------- */
.pg07-to-top {
  position: fixed;
  right: 14px; bottom: 76px;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--pg07-primary);
  color: #1C2833;
  border: none;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  cursor: pointer;
  z-index: 999;
  opacity: 0; pointer-events: none;
  transition: opacity 0.2s;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}
.pg07-to-top-show { opacity: 1; pointer-events: auto; }

/* ---------- Desktop rules ---------- */
@media (min-width: 769px) {
  .pg07-bottomnav { display: none; }
  .pg07-wrapper { padding-bottom: 2rem; }
  .pg07-container { max-width: 760px; }
}

/* Mobile: ensure main content clears the bottom nav */
@media (max-width: 768px) {
  .pg07-wrapper { padding-bottom: 80px; }
}
