/* =========================================================
 * GGPanalo - ggpanalo.homes
 * Shared stylesheet (class prefix: pg96-)
 * Palette: #F8F9FA | #8470FF | #1E1E1E | #DDA0DD | #DDA0DD
 * Mobile-first, max-width 430px primary target.
 * ========================================================= */

:root {
  --pg96-bg: #1E1E1E;
  --pg96-bg-soft: #262333;
  --pg96-bg-card: #2C2A3A;
  --pg96-primary: #8470FF;
  --pg96-primary-dark: #6A57E8;
  --pg96-accent: #DDA0DD;
  --pg96-light: #F8F9FA;
  --pg96-muted: #B9B5CC;
  --pg96-border: rgba(132, 112, 255, 0.25);
  --pg96-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  --pg96-radius: 14px;
  --pg96-radius-sm: 10px;
  --pg96-header-h: 60px;
  --pg96-bottom-h: 62px;
}

/* Reset */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html, body {
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", "Helvetica Neue", Roboto, Arial, sans-serif;
  background: var(--pg96-bg);
  color: var(--pg96-light);
  line-height: 1.5;
  font-size: 1.5rem;
  overflow-x: hidden;
}
body.pg96-no-scroll { overflow: hidden; }

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

h1, h2, h3, h4 { color: var(--pg96-light); margin: 0 0 .6em; line-height: 1.25; }
h1 { font-size: 2.1rem; }
h2 { font-size: 1.85rem; }
h3 { font-size: 1.6rem; }
h4 { font-size: 1.35rem; }
p { margin: 0 0 1em; color: var(--pg96-muted); }

/* Layout */
.pg96-container {
  width: 100%;
  max-width: 768px;
  margin: 0 auto;
  padding: 0 14px;
}
.pg96-wrapper { width: 100%; }

/* Header */
.pg96-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--pg96-header-h);
  background: linear-gradient(90deg, #1E1E1E 0%, #2A2342 60%, #1E1E1E 100%);
  border-bottom: 1px solid var(--pg96-border);
  z-index: 1000;
  display: flex;
  align-items: center;
}
.pg96-header-inner {
  width: 100%;
  max-width: 768px;
  margin: 0 auto;
  padding: 0 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.pg96-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
  color: var(--pg96-light);
}
.pg96-logo img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--pg96-primary);
}
.pg96-logo-text {
  font-weight: 800;
  font-size: 1.45rem;
  letter-spacing: .5px;
  white-space: nowrap;
  color: var(--pg96-light);
}
.pg96-logo-text span { color: var(--pg96-primary); }
.pg96-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.pg96-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: none;
  border-radius: 999px;
  padding: 9px 18px;
  font-size: 1.3rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  min-height: 38px;
}
.pg96-btn:hover { transform: translateY(-1px); }
.pg96-btn:active { transform: translateY(1px); }
.pg96-btn-primary {
  background: linear-gradient(135deg, var(--pg96-primary), var(--pg96-primary-dark));
  color: var(--pg96-light);
  box-shadow: 0 6px 18px rgba(132, 112, 255, 0.35);
}
.pg96-btn-outline {
  background: transparent;
  color: var(--pg96-light);
  border: 1.5px solid var(--pg96-primary);
}
.pg96-btn-accent {
  background: linear-gradient(135deg, var(--pg96-accent), #C58FC5);
  color: #1E1E1E;
}
.pg96-btn-block {
  display: flex;
  width: 100%;
}
.pg96-btn-lg { padding: 12px 26px; font-size: 1.45rem; }

.pg96-menu-toggle {
  background: transparent;
  border: none;
  color: var(--pg96-light);
  font-size: 1.9rem;
  cursor: pointer;
  padding: 6px 8px;
  min-width: 44px;
  min-height: 44px;
}

/* Mobile menu drawer */
.pg96-mobile-menu {
  position: fixed;
  top: 0; right: -85%;
  width: 80%;
  max-width: 320px;
  height: 100%;
  background: #211E2E;
  z-index: 9999;
  padding: 76px 18px 24px;
  overflow-y: auto;
  transition: right .28s ease;
  box-shadow: -8px 0 30px rgba(0,0,0,.45);
}
.pg96-mobile-menu.pg96-menu-open { right: 0; }
.pg96-menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  opacity: 0;
  visibility: hidden;
  z-index: 9998;
  transition: opacity .25s ease;
}
.pg96-menu-backdrop.pg96-backdrop-visible { opacity: 1; visibility: visible; }
.pg96-mobile-menu h4 {
  color: var(--pg96-primary);
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 18px 0 10px;
}
.pg96-mobile-menu a {
  display: block;
  padding: 12px 14px;
  margin-bottom: 6px;
  border-radius: var(--pg96-radius-sm);
  background: rgba(132,112,255,0.08);
  color: var(--pg96-light);
  font-size: 1.4rem;
}
.pg96-mobile-menu a:hover { background: rgba(132,112,255,0.22); }
.pg96-mobile-menu .pg96-menu-close {
  position: absolute;
  top: 14px; right: 14px;
  background: transparent;
  border: none;
  color: var(--pg96-light);
  font-size: 1.8rem;
  cursor: pointer;
}

/* Main spacer for fixed header */
.pg96-main {
  padding-top: var(--pg96-header-h);
  padding-bottom: calc(var(--pg96-bottom-h) + 18px);
}

/* Hero carousel */
.pg96-hero {
  position: relative;
  overflow: hidden;
  border-radius: 0;
  margin-bottom: 18px;
}
.pg96-hero-viewport { overflow: hidden; }
.pg96-hero-track {
  display: flex;
  transition: transform .5s ease;
}
.pg96-hero-slide {
  min-width: 100%;
  position: relative;
}
.pg96-hero-slide img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.pg96-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(30,30,30,.15) 0%, rgba(30,30,30,.85) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px 16px;
}
.pg96-hero-title {
  font-size: 2rem;
  font-weight: 800;
  margin: 0 0 6px;
  color: var(--pg96-light);
  text-shadow: 0 2px 6px rgba(0,0,0,.6);
}
.pg96-hero-sub {
  font-size: 1.3rem;
  color: var(--pg96-accent);
  margin-bottom: 12px;
}
.pg96-hero-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 5;
}
.pg96-hero-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(248,249,250,.4);
  cursor: pointer;
}
.pg96-hero-dot-active { background: var(--pg96-primary); width: 22px; border-radius: 4px; }
.pg96-hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,.4);
  color: var(--pg96-light);
  border: none;
  width: 36px; height: 36px;
  border-radius: 50%;
  font-size: 1.4rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.pg96-hero-arrow:hover { background: var(--pg96-primary); }
.pg96-hero-arrow-prev { left: 8px; }
.pg96-hero-arrow-next { right: 8px; }

/* Sections */
.pg96-section {
  margin: 22px 0;
  padding: 0 0 4px;
}
.pg96-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  gap: 10px;
}
.pg96-section-title {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--pg96-light);
  display: flex; align-items: center; gap: 8px;
}
.pg96-section-title i { color: var(--pg96-primary); }
.pg96-section-more {
  font-size: 1.25rem;
  color: var(--pg96-accent);
  font-weight: 600;
}

/* Filter pills */
.pg96-filter-bar {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 0 12px;
  -webkit-overflow-scrolling: touch;
}
.pg96-filter-btn {
  flex: 0 0 auto;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--pg96-border);
  background: var(--pg96-bg-soft);
  color: var(--pg96-light);
  font-size: 1.25rem;
  cursor: pointer;
  white-space: nowrap;
}
.pg96-filter-btn.pg96-filter-active {
  background: linear-gradient(135deg, var(--pg96-primary), var(--pg96-primary-dark));
  border-color: transparent;
}

/* Game grid */
.pg96-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.pg96-card {
  background: var(--pg96-bg-card);
  border-radius: var(--pg96-radius);
  overflow: hidden;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease;
  border: 1px solid rgba(255,255,255,.04);
  display: block;
  text-align: left;
}
.pg96-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--pg96-shadow);
  border-color: var(--pg96-border);
}
.pg96-card-img {
  position: relative;
  aspect-ratio: 1/1;
  background: #15131F;
  overflow: hidden;
}
.pg96-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}
.pg96-card:hover .pg96-card-img img { transform: scale(1.05); }
.pg96-card-badge {
  position: absolute;
  top: 6px; left: 6px;
  background: linear-gradient(135deg, var(--pg96-accent), #C58FC5);
  color: #1E1E1E;
  font-size: 1rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 6px;
}
.pg96-card-name {
  padding: 8px 10px;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--pg96-light);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Promo banner */
.pg96-promo {
  background: linear-gradient(135deg, rgba(132,112,255,.18), rgba(221,160,221,.12));
  border: 1px solid var(--pg96-border);
  border-radius: var(--pg96-radius);
  padding: 18px 16px;
  margin: 20px 0;
}
.pg96-promo h3 { color: var(--pg96-accent); margin-bottom: 6px; }
.pg96-promo p { margin-bottom: 14px; }

/* Feature list */
.pg96-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.pg96-feature {
  background: var(--pg96-bg-soft);
  border-radius: var(--pg96-radius-sm);
  padding: 14px;
  border: 1px solid var(--pg96-border);
}
.pg96-feature i {
  font-size: 1.9rem;
  color: var(--pg96-primary);
  margin-bottom: 8px;
}
.pg96-feature h4 { font-size: 1.35rem; margin-bottom: 4px; }
.pg96-feature p { font-size: 1.2rem; margin: 0; }

/* Steps */
.pg96-steps { counter-reset: step; padding: 0; list-style: none; }
.pg96-steps li {
  position: relative;
  padding: 12px 12px 12px 50px;
  margin-bottom: 10px;
  background: var(--pg96-bg-soft);
  border-radius: var(--pg96-radius-sm);
  border-left: 3px solid var(--pg96-primary);
}
.pg96-steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 12px; top: 12px;
  width: 28px; height: 28px;
  background: var(--pg96-primary);
  color: var(--pg96-light);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
}
.pg96-steps h4 { margin: 0 0 4px; font-size: 1.35rem; }
.pg96-steps p { margin: 0; font-size: 1.2rem; }

/* FAQ */
.pg96-faq-item {
  background: var(--pg96-bg-soft);
  border-radius: var(--pg96-radius-sm);
  margin-bottom: 8px;
  border: 1px solid var(--pg96-border);
  overflow: hidden;
  cursor: pointer;
}
.pg96-faq-q {
  padding: 14px 16px;
  font-weight: 700;
  color: var(--pg96-light);
  font-size: 1.35rem;
  display: flex; justify-content: space-between; align-items: center;
}
.pg96-faq-icon { transition: transform .25s; color: var(--pg96-primary); }
.pg96-faq-icon-open { transform: rotate(45deg); }
.pg96-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
  padding: 0 16px;
}
.pg96-faq-answer-inner {
  padding-bottom: 14px;
  color: var(--pg96-muted);
  font-size: 1.25rem;
}

/* Testimonials */
.pg96-testi-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.pg96-testi {
  background: var(--pg96-bg-soft);
  border-radius: var(--pg96-radius-sm);
  padding: 14px;
  border-left: 3px solid var(--pg96-accent);
}
.pg96-testi-stars { color: #FFCE3D; margin-bottom: 6px; }
.pg96-testi p { font-size: 1.2rem; margin-bottom: 8px; font-style: italic; }
.pg96-testi-author { font-weight: 700; color: var(--pg96-light); font-size: 1.2rem; }

/* Winners */
.pg96-winner-list {
  background: var(--pg96-bg-soft);
  border-radius: var(--pg96-radius);
  padding: 8px;
  border: 1px solid var(--pg96-border);
}
.pg96-winner {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255,255,255,.04);
  font-size: 1.2rem;
}
.pg96-winner:last-child { border-bottom: none; }
.pg96-winner-name { color: var(--pg96-light); font-weight: 600; }
.pg96-winner-game { color: var(--pg96-muted); font-size: 1.1rem; }
.pg96-winner-amount { color: #5BD68A; font-weight: 800; }

/* Payment */
.pg96-pay-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.pg96-pay {
  background: var(--pg96-bg-soft);
  border-radius: var(--pg96-radius-sm);
  padding: 12px 6px;
  text-align: center;
  border: 1px solid var(--pg96-border);
}
.pg96-pay i { font-size: 1.9rem; color: var(--pg96-primary); }
.pg96-pay span { display: block; margin-top: 6px; font-size: 1.1rem; color: var(--pg96-light); }

/* Article / SEO blocks */
.pg96-article {
  background: var(--pg96-bg-soft);
  border-radius: var(--pg96-radius);
  padding: 18px 16px;
  margin: 16px 0;
  border: 1px solid var(--pg96-border);
}
.pg96-article h2 { color: var(--pg96-accent); }
.pg96-article h3 { color: var(--pg96-light); margin-top: 12px; }
.pg96-article p { font-size: 1.3rem; }
.pg96-article ul { padding-left: 20px; color: var(--pg96-muted); }
.pg96-article li { margin-bottom: 6px; font-size: 1.25rem; }

/* App download CTA */
.pg96-app-cta {
  background: linear-gradient(135deg, #2A2342, #3A2A55);
  border: 1px solid var(--pg96-border);
  border-radius: var(--pg96-radius);
  padding: 22px 16px;
  text-align: center;
  margin: 22px 0;
}
.pg96-app-cta h3 { color: var(--pg96-accent); }
.pg96-app-cta p { margin-bottom: 14px; }
.pg96-app-buttons { display: flex; flex-direction: column; gap: 8px; align-items: center; }

/* Footer */
.pg96-footer {
  background: #161420;
  padding: 26px 14px calc(var(--pg96-bottom-h) + 26px);
  margin-top: 26px;
  border-top: 1px solid var(--pg96-border);
}
.pg96-footer-inner { max-width: 768px; margin: 0 auto; }
.pg96-footer-brand {
  display: flex; align-items: center; gap: 10px; margin-bottom: 12px;
}
.pg96-footer-brand img { width: 34px; height: 34px; border-radius: 8px; }
.pg96-footer-brand strong { font-size: 1.6rem; color: var(--pg96-light); }
.pg96-footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin: 14px 0 18px;
}
.pg96-footer-links a {
  padding: 8px 10px;
  border-radius: var(--pg96-radius-sm);
  background: rgba(132,112,255,.08);
  color: var(--pg96-light);
  font-size: 1.2rem;
  text-align: center;
}
.pg96-footer-links a:hover { background: rgba(132,112,255,.22); }
.pg96-footer-promos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin: 14px 0;
}
.pg96-footer-desc { font-size: 1.2rem; color: var(--pg96-muted); margin-bottom: 14px; }
.pg96-footer-copy {
  border-top: 1px solid rgba(255,255,255,.06);
  padding-top: 14px;
  font-size: 1.1rem;
  color: var(--pg96-muted);
  text-align: center;
}

/* Bottom nav */
.pg96-bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: var(--pg96-bottom-h);
  background: rgba(22, 20, 32, .98);
  border-top: 1px solid var(--pg96-border);
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  z-index: 1000;
  padding-bottom: env(safe-area-inset-bottom, 0);
}
.pg96-bottom-nav-btn {
  flex: 1;
  min-width: 60px;
  min-height: 60px;
  background: transparent;
  border: none;
  color: var(--pg96-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font-size: 1.05rem;
  cursor: pointer;
  transition: color .2s ease, transform .15s ease;
  text-decoration: none;
  padding: 4px 2px;
}
.pg96-bottom-nav-btn i {
  font-size: 2.2rem;
}
.pg96-bottom-nav-btn:hover { color: var(--pg96-light); transform: translateY(-2px); }
.pg96-bottom-nav-btn:active { transform: scale(.92); }
.pg96-bottom-nav-active { color: var(--pg96-primary); }
.pg96-bottom-nav-active i { color: var(--pg96-accent); }
.pg96-bottom-nav-btn span { font-size: 1.05rem; }

/* Floating support */
.pg96-fab {
  position: fixed;
  right: 12px;
  bottom: calc(var(--pg96-bottom-h) + 14px);
  width: 50px; height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pg96-primary), var(--pg96-primary-dark));
  color: var(--pg96-light);
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  box-shadow: var(--pg96-shadow);
  z-index: 999;
  display: flex; align-items: center; justify-content: center;
}

/* Responsive: tablet / desktop */
@media (min-width: 600px) {
  .pg96-grid { grid-template-columns: repeat(4, 1fr); }
  .pg96-feature-grid { grid-template-columns: repeat(3, 1fr); }
  .pg96-pay-grid { grid-template-columns: repeat(5, 1fr); }
  .pg96-footer-links { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 769px) {
  .pg96-bottom-nav { display: none; }
  .pg96-main { padding-bottom: 30px; }
  .pg96-footer { padding-bottom: 26px; }
  .pg96-grid { grid-template-columns: repeat(5, 1fr); }
  .pg96-testi-grid { grid-template-columns: repeat(2, 1fr); }
  .pg96-app-buttons { flex-direction: row; justify-content: center; }
  .pg96-desktop-nav { display: flex; }
  .pg96-menu-toggle { display: none; }
}

@media (max-width: 768px) {
  .pg96-desktop-nav { display: none; }
}

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

/* Desktop inline nav (top header) - hidden on mobile */
.pg96-desktop-nav {
  align-items: center;
  gap: 16px;
  margin-left: 12px;
}
.pg96-desktop-nav a {
  color: var(--pg96-light);
  font-size: 1.3rem;
  font-weight: 600;
}
.pg96-desktop-nav a:hover { color: var(--pg96-accent); }
