/* ============================================================
   ph777 apk - theme stylesheet (theme-e6ca.css)
   All custom classes / variables use the `gca7-` prefix.
   Palette: #8470FF | #00BFFF | #191970 | #000080 | #1C2833
   ============================================================ */

:root {
  --gca7-primary: #8470FF;
  --gca7-accent:  #00BFFF;
  --gca7-deep:    #191970;
  --gca7-navy:    #000080;
  --gca7-dark:    #1C2833;
  --gca7-bg:      #0b1020;
  --gca7-bg-2:    #121a33;
  --gca7-card:    #161f3d;
  --gca7-text:    #eef2ff;
  --gca7-muted:   #9aa3c7;
  --gca7-gold:    #ffd25c;
  --gca7-success: #28c76f;
  --gca7-danger:  #ff5b5b;
  --gca7-radius:  14px;
  --gca7-shadow:  0 6px 22px rgba(0, 0, 0, 0.45);
  --gca7-gradient: linear-gradient(135deg, #8470FF 0%, #00BFFF 100%);
}

/* ---------- Reset / base ---------- */
* { box-sizing: border-box; }
html { font-size: 62.5%; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 20% 0%, rgba(132,112,255,0.18), transparent 55%),
    radial-gradient(circle at 100% 30%, rgba(0,191,255,0.14), transparent 50%),
    var(--gca7-bg);
  color: var(--gca7-text);
  font-family: "Segoe UI", "Helvetica Neue", Arial, system-ui, sans-serif;
  font-size: 1.5rem; line-height: 1.55;
  overflow-x: hidden; max-width: 430px; margin: 0 auto; position: relative;
}
img { max-width: 100%; display: block; }
a   { color: var(--gca7-accent); text-decoration: none; }
.gca7-container { width: 100%; padding: 0 1.2rem; }

/* ---------- Header ---------- */
.gca7-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1rem;
  background: rgba(11,16,32,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(132,112,255,0.25);
  transition: padding 0.25s ease;
}
.gca7-header-compact { padding: 0.45rem 1rem; }

.gca7-brand {
  display: flex; align-items: center; gap: 0.6rem;
  color: var(--gca7-text); font-weight: 700; font-size: 1.5rem;
}
.gca7-brand img { width: 28px; height: 28px; border-radius: 7px; }
.gca7-brand span {
  background: var(--gca7-gradient);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

.gca7-header-actions { display: flex; align-items: center; gap: 0.5rem; }

.gca7-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  font-size: 1.25rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
  min-height: 32px;
  color: #fff;
}
.gca7-btn:active { transform: scale(0.94); }
.gca7-btn-primary { background: var(--gca7-gradient); box-shadow: 0 4px 14px rgba(132,112,255,0.45); }
.gca7-btn-ghost   { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.2); }
.gca7-btn-gold    { background: linear-gradient(135deg,#ffd25c,#ff9d3a); color:#1C2833; }

.gca7-menu-toggle {
  background: transparent;
  border: none;
  color: var(--gca7-text);
  font-size: 1.8rem;
  cursor: pointer;
  padding: 0.2rem 0.4rem;
}

/* ---------- Mobile slide-down menu ---------- */
.gca7-mobile-menu {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 9999;
  background: rgba(11,16,32,0.98);
  padding: 5.5rem 1.4rem 2rem;
  transform: translateY(-100%);
  transition: transform 0.32s ease;
  border-bottom: 1px solid rgba(0,191,255,0.25);
  max-width: 430px; margin: 0 auto;
}
.gca7-menu-open { transform: translateY(0); }
.gca7-mobile-menu a {
  display: block;
  padding: 1rem 0.6rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  color: var(--gca7-text);
  font-weight: 600;
  font-size: 1.35rem;
}
.gca7-mobile-menu a:active { color: var(--gca7-accent); }

/* ---------- Main wrapper ---------- */
.gca7-main {
  padding-top: 5.2rem;
}
@media (max-width: 768px) {
  .gca7-main { padding-bottom: 84px; }
}

/* ---------- Carousel ---------- */
.gca7-carousel {
  position: relative;
  border-radius: var(--gca7-radius);
  overflow: hidden;
  margin: 1.2rem 0;
  box-shadow: var(--gca7-shadow);
}
.gca7-carousel-track {
  display: flex;
  transition: transform 0.55s ease;
}
.gca7-slide { min-width: 100%; position: relative; }
.gca7-slide img { width: 100%; height: 180px; object-fit: cover; }
.gca7-slide-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1.4rem 1rem 1rem;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.85));
  color: #fff;
  font-weight: 700;
  font-size: 1.3rem;
}
.gca7-carousel-dots {
  position: absolute;
  bottom: 8px; left: 0; right: 0;
  display: flex;
  justify-content: center;
  gap: 6px;
}
.gca7-carousel-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(255,255,255,0.45);
  border: none; cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.gca7-dot-active { background: var(--gca7-accent); transform: scale(1.35); }

/* ---------- Headings ---------- */
.gca7-section { margin: 2rem 0; }
.gca7-h1 {
  font-size: 2.4rem;
  line-height: 1.2;
  margin: 1rem 0 0.6rem;
  background: var(--gca7-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.gca7-h2 {
  font-size: 1.85rem;
  margin: 2rem 0 0.8rem;
  color: #fff;
  border-left: 4px solid var(--gca7-accent);
  padding-left: 0.9rem;
}
.gca7-h3 { font-size: 1.55rem; margin: 1.4rem 0 0.6rem; color: var(--gca7-primary); }
.gca7-lead { color: var(--gca7-muted); font-size: 1.35rem; margin-bottom: 1rem; line-height: 1.55; }

.gca7-pill {
  display: inline-block;
  padding: 0.2rem 0.9rem;
  font-size: 1.1rem;
  border-radius: 999px;
  background: rgba(0,191,255,0.15);
  color: var(--gca7-accent);
  margin-bottom: 0.6rem;
  font-weight: 700;
}

/* ---------- Game grid ---------- */
.gca7-cat-header {
  display: flex; align-items: center; gap: 0.6rem;
  margin: 1.8rem 0 0.8rem;
}
.gca7-cat-header h2 { margin: 0; font-size: 1.6rem; }
.gca7-cat-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--gca7-gradient);
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.5rem;
}
.gca7-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
}
.gca7-game-card {
  background: var(--gca7-card);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.05);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  cursor: pointer;
}
.gca7-game-card:active { transform: scale(0.95); }
.gca7-game-card img { width: 100%; height: 82px; object-fit: cover; }
.gca7-game-name {
  display: block;
  text-align: center;
  padding: 0.35rem 0.2rem;
  font-size: 1.05rem;
  color: var(--gca7-text);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---------- Feature cards / generic ---------- */
.gca7-card {
  background: var(--gca7-card);
  border-radius: var(--gca7-radius);
  padding: 1.3rem;
  margin: 1rem 0;
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: var(--gca7-shadow);
}
.gca7-card-title { font-size: 1.45rem; color: var(--gca7-accent); margin: 0 0 0.4rem; font-weight: 700; }

.gca7-feature-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.7rem;
  margin: 1rem 0;
}
.gca7-feature-box {
  background: var(--gca7-card);
  padding: 1rem;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.05);
}
.gca7-feature-box .gca7-feature-icon { font-size: 1.8rem; color: var(--gca7-accent); margin-bottom: 0.3rem; }
.gca7-feature-box h3 { margin: 0 0 0.3rem; font-size: 1.3rem; }
.gca7-feature-box p { margin: 0; font-size: 1.15rem; color: var(--gca7-muted); }

/* ---------- RTP table ---------- */
.gca7-rtp-table {
  width: 100%; border-collapse: collapse; margin: 0.8rem 0; font-size: 1.2rem;
}
.gca7-rtp-table th, .gca7-rtp-table td {
  padding: 0.55rem 0.6rem; text-align: left; border-bottom: 1px solid rgba(255,255,255,0.06);
}
.gca7-rtp-table th { color: var(--gca7-accent); font-weight: 700; }
.gca7-rtp-bar {
  height: 7px; border-radius: 4px; background: rgba(255,255,255,0.1); overflow: hidden; margin-top: 0.2rem;
}
.gca7-rtp-bar > span { display: block; height: 100%; background: var(--gca7-gradient); }

/* ---------- Testimonials ---------- */
.gca7-testimonials { display: grid; grid-template-columns: 1fr; gap: 0.8rem; margin: 1rem 0; }
.gca7-testimonial {
  background: var(--gca7-card);
  padding: 1rem 1.1rem; border-radius: 12px; border-left: 3px solid var(--gca7-accent);
}
.gca7-testimonial .gca7-review-who { color: var(--gca7-gold); font-weight: 700; font-size: 1.2rem; }
.gca7-testimonial p { margin: 0.3rem 0 0; font-size: 1.2rem; color: var(--gca7-muted); }

/* ---------- Payment chips ---------- */
.gca7-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0.8rem 0; }
.gca7-chip {
  padding: 0.45rem 0.9rem; border-radius: 999px;
  background: rgba(132,112,255,0.12);
  color: var(--gca7-text); font-size: 1.15rem; font-weight: 600;
  border: 1px solid rgba(132,112,255,0.3);
}

/* ---------- Winners ticker ---------- */
.gca7-winners {
  background: linear-gradient(90deg, rgba(132,112,255,0.18), rgba(0,191,255,0.18));
  border-radius: 12px; padding: 0.8rem 1rem; margin: 1rem 0;
  display: flex; gap: 0.8rem; overflow-x: auto;
}
.gca7-winner {
  flex: 0 0 auto; min-width: 150px;
  background: rgba(0,0,0,0.3); border-radius: 10px;
  padding: 0.5rem 0.7rem;
}
.gca7-winner .gca7-winner-name { color: var(--gca7-gold); font-weight: 700; font-size: 1.1rem; }
.gca7-winner .gca7-winner-amount { font-size: 1.3rem; color: #fff; font-weight: 700; }

/* ---------- App download CTA ---------- */
.gca7-app-cta {
  background: linear-gradient(135deg, var(--gca7-deep), var(--gca7-navy));
  border-radius: var(--gca7-radius);
  padding: 1.3rem;
  text-align: center;
  margin: 1.4rem 0;
  border: 1px solid rgba(0,191,255,0.3);
}
.gca7-app-cta h3 { color: #fff; margin: 0 0 0.4rem; }
.gca7-app-cta p { color: var(--gca7-muted); margin: 0 0 0.9rem; font-size: 1.25rem; }

/* ---------- FAQ ---------- */
.gca7-faq-item {
  background: var(--gca7-card); border-radius: 10px; padding: 0.9rem 1rem;
  margin: 0.6rem 0; border: 1px solid rgba(255,255,255,0.05);
}
.gca7-faq-item h3 { margin: 0 0 0.3rem; color: var(--gca7-accent); font-size: 1.3rem; }
.gca7-faq-item p  { margin: 0; color: var(--gca7-muted); font-size: 1.18rem; }

/* ---------- Promo text links ---------- */
.gca7-promo-link {
  color: var(--gca7-gold);
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
}
.gca7-promo-link:hover { color: #fff; }

/* ---------- Back to top ---------- */
.gca7-back-top {
  position: fixed; right: 14px; bottom: 92px;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--gca7-gradient);
  color: #fff; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 999;
  max-width: 430px;
}
.gca7-back-top-visible { opacity: 1; pointer-events: auto; }

/* ---------- Footer ---------- */
.gca7-footer {
  background: #070b18;
  border-top: 1px solid rgba(132,112,255,0.2);
  padding: 1.6rem 1.2rem 2.4rem;
  margin-top: 2rem;
  color: var(--gca7-muted);
  font-size: 1.2rem;
}
.gca7-footer h4 { color: #fff; font-size: 1.3rem; margin: 1rem 0 0.5rem; }
.gca7-footer a { color: var(--gca7-muted); display: block; padding: 0.3rem 0; }
.gca7-footer a:hover { color: var(--gca7-accent); }
.gca7-footer .gca7-brand { margin-bottom: 0.6rem; }
.gca7-footer-promos { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0.8rem 0; }
.gca7-footer-promos .gca7-btn { font-size: 1.1rem; padding: 0.45rem 0.9rem; }
.gca7-copyright { text-align: center; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.06); font-size: 1.1rem; }

/* ---------- Mobile bottom nav ---------- */
.gca7-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0;
  height: 62px;
  background: linear-gradient(180deg, rgba(11,16,32,0.97), #050810);
  border-top: 1px solid rgba(0,191,255,0.25);
  display: flex; justify-content: space-around; align-items: stretch;
  z-index: 1000;
  max-width: 430px;
  margin: 0 auto;
  padding-bottom: env(safe-area-inset-bottom, 0);
}
.gca7-bottom-nav-btn {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--gca7-muted);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  min-width: 60px;
  min-height: 60px;
  position: relative;
  transition: color 0.2s ease, transform 0.2s ease;
}
.gca7-bottom-nav-btn .material-icons,
.gca7-bottom-nav-btn .fas,
.gca7-bottom-nav-btn .far,
.gca7-bottom-nav-btn .icon,
.gca7-bottom-nav-btn .bi,
.gca7-bottom-nav-btn .ti { font-size: 22px; }
.gca7-bottom-nav-btn:active { transform: scale(0.92); }
.gca7-bottom-nav-btn.gca7-nav-active { color: var(--gca7-accent); }
.gca7-bottom-nav-btn.gca7-nav-active::before {
  content: ""; position: absolute; top: 0; left: 25%; right: 25%; height: 3px;
  background: var(--gca7-gradient); border-radius: 0 0 4px 4px;
}
.gca7-bottom-nav-btn.gca7-promo { color: var(--gca7-gold); }

/* Hide bottom nav on desktop */
@media (min-width: 769px) {
  .gca7-bottom-nav { display: none; }
  .gca7-back-top { bottom: 24px; }
  .gca7-main { padding-bottom: 0; }
  body { max-width: 430px; }
}

/* ---------- Utility ---------- */
.gca7-center { text-align: center; }
.gca7-mt-1 { margin-top: 0.5rem; }
.gca7-mt-2 { margin-top: 1rem; }
.gca7-flex { display: flex; gap: 0.6rem; align-items: center; }
.gca7-hide-mobile { display: none; }
@media (min-width: 769px) { .gca7-hide-mobile { display: inline; } .gca7-hide-desktop { display: none; } }
