/* JLJL Boss - Theme Stylesheet */
/* All classes prefixed with pgaf- for namespace isolation */

:root {
  --pgaf-primary: #00BFFF;
  --pgaf-bg: #1C2833;
  --pgaf-bg-light: #2C3E50;
  --pgaf-bg-dark: #0D1117;
  --pgaf-text: #D3D3D3;
  --pgaf-text-light: #FFFFFF;
  --pgaf-accent: #FFFFBA;
  --pgaf-blue: #0000FF;
  --pgaf-light-blue: #87CEFA;
  --pgaf-border: #34495E;
  --pgaf-success: #2ECC71;
  --pgaf-warning: #F39C12;
  --pgaf-danger: #E74C3C;
  --pgaf-gold: #FFD700;
  --pgaf-radius: 8px;
  --pgaf-radius-lg: 12px;
  --pgaf-shadow: 0 2px 8px rgba(0,0,0,0.3);
  --pgaf-shadow-lg: 0 4px 16px rgba(0,0,0,0.5);
  --pgaf-transition: all 0.3s ease;
}

/* Reset & Base */
html { font-size: 62.5%; scroll-behavior: smooth; }
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 1.5rem;
  line-height: 1.5;
  color: var(--pgaf-text);
  background: var(--pgaf-bg);
  max-width: 430px;
  margin: 0 auto;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--pgaf-light-blue); text-decoration: none; transition: var(--pgaf-transition); }
a:hover { color: var(--pgaf-accent); }
img { max-width: 100%; height: auto; display: block; }
h1,h2,h3,h4 { color: var(--pgaf-text-light); line-height: 1.3; }
h1 { font-size: 2.2rem; margin-bottom: 1rem; }
h2 { font-size: 1.8rem; margin-bottom: 0.8rem; }
h3 { font-size: 1.6rem; margin-bottom: 0.6rem; }
p { margin-bottom: 1rem; }
ul { list-style: none; }

/* Container */
.pgaf-container { width: 100%; max-width: 430px; margin: 0 auto; padding: 0 1.2rem; }
.pgaf-wrapper { padding-top: 6rem; padding-bottom: 2rem; }
@media (max-width: 768px) { .pgaf-wrapper { padding-bottom: 8rem; } }

/* ===== HEADER ===== */
.pgaf-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: linear-gradient(135deg, var(--pgaf-bg-dark) 0%, var(--pgaf-bg) 100%);
  border-bottom: 1px solid var(--pgaf-border);
  height: 56px; display: flex; align-items: center;
  max-width: 430px; margin: 0 auto;
  padding: 0 1rem;
}
.pgaf-header-brand {
  display: flex; align-items: center; gap: 0.6rem;
  flex: 1; min-width: 0;
}
.pgaf-header-logo { width: 28px; height: 28px; border-radius: 6px; flex-shrink: 0; }
.pgaf-header-name {
  font-size: 1.5rem; font-weight: 700; color: var(--pgaf-primary);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.pgaf-header-actions { display: flex; gap: 0.5rem; align-items: center; flex-shrink: 0; }
.pgaf-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.5rem 1rem; border-radius: var(--pgaf-radius);
  font-size: 1.2rem; font-weight: 600; cursor: pointer;
  border: none; transition: var(--pgaf-transition);
  text-transform: uppercase; letter-spacing: 0.5px;
}
.pgaf-btn:focus-visible { outline: 2px solid var(--pgaf-accent); outline-offset: 2px; }
.pgaf-btn-register {
  background: linear-gradient(135deg, var(--pgaf-primary), var(--pgaf-blue));
  color: var(--pgaf-text-light);
}
.pgaf-btn-register:hover { transform: scale(1.05); box-shadow: 0 0 12px rgba(0,191,255,0.5); }
.pgaf-btn-login {
  background: transparent; color: var(--pgaf-primary);
  border: 1px solid var(--pgaf-primary);
}
.pgaf-btn-login:hover { background: rgba(0,191,255,0.1); }
.pgaf-header-menu {
  background: none; border: none; color: var(--pgaf-text);
  font-size: 2rem; cursor: pointer; padding: 0.4rem;
  display: flex; align-items: center; justify-content: center;
}

/* ===== MOBILE MENU ===== */
.pgaf-menu-overlay {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.6); z-index: 9998;
  opacity: 0; visibility: hidden; transition: var(--pgaf-transition);
}
.pgaf-overlay-active { opacity: 1; visibility: visible; }
.pgaf-mobile-menu {
  position: fixed; top: 0; right: -280px; width: 280px;
  height: 100%; z-index: 9999;
  background: var(--pgaf-bg-dark);
  transition: right 0.3s ease;
  overflow-y: auto; padding: 2rem 1.5rem;
}
.pgaf-menu-active { right: 0; }
.pgaf-menu-close {
  background: none; border: none; color: var(--pgaf-text);
  font-size: 2.4rem; cursor: pointer; position: absolute;
  top: 1rem; right: 1rem;
}
.pgaf-menu-title {
  font-size: 1.6rem; color: var(--pgaf-primary);
  margin-bottom: 2rem; padding-bottom: 1rem;
  border-bottom: 1px solid var(--pgaf-border);
}
.pgaf-menu-nav a {
  display: flex; align-items: center; gap: 0.8rem;
  padding: 1rem 0; color: var(--pgaf-text);
  font-size: 1.4rem; border-bottom: 1px solid rgba(52,73,94,0.5);
}
.pgaf-menu-nav a:hover { color: var(--pgaf-primary); }
.pgaf-menu-nav i, .pgaf-menu-nav .material-symbols-outlined { font-size: 2rem; width: 2rem; text-align: center; }

/* ===== CAROUSEL ===== */
.pgaf-carousel {
  position: relative; width: 100%; overflow: hidden;
  border-radius: 0 0 var(--pgaf-radius-lg) var(--pgaf-radius-lg);
  margin-bottom: 1.5rem;
}
.pgaf-carousel-track { position: relative; width: 100%; padding-top: 50%; }
.pgaf-carousel-slide {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  opacity: 0; transition: opacity 0.5s ease; cursor: pointer;
}
.pgaf-slide-active { opacity: 1; }
.pgaf-carousel-slide img { width: 100%; height: 100%; object-fit: cover; }
.pgaf-carousel-dots {
  position: absolute; bottom: 8px; left: 50%;
  transform: translateX(-50%); display: flex; gap: 6px; z-index: 2;
}
.pgaf-carousel-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.4); border: none; cursor: pointer;
  transition: var(--pgaf-transition);
}
.pgaf-dot-active { background: var(--pgaf-primary); transform: scale(1.3); }

/* ===== GAME SECTIONS ===== */
.pgaf-section { margin-bottom: 2rem; }
.pgaf-section-title {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 1.7rem; font-weight: 700; color: var(--pgaf-text-light);
  margin-bottom: 1rem; padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--pgaf-primary);
}
.pgaf-section-title i { color: var(--pgaf-primary); font-size: 2rem; }
.pgaf-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
}
.pgaf-game-item {
  display: flex; flex-direction: column; align-items: center;
  cursor: pointer; transition: var(--pgaf-transition);
  padding: 0.4rem; border-radius: var(--pgaf-radius);
}
.pgaf-game-item:hover { transform: translateY(-2px); background: rgba(0,191,255,0.08); }
.pgaf-game-icon {
  width: 64px; height: 64px; border-radius: var(--pgaf-radius);
  object-fit: cover; margin-bottom: 0.3rem;
  border: 1px solid var(--pgaf-border);
}
.pgaf-game-name {
  font-size: 1rem; color: var(--pgaf-text); text-align: center;
  line-height: 1.2; overflow: hidden; text-overflow: ellipsis;
  white-space: nowrap; max-width: 100%;
}

/* ===== CONTENT CARDS ===== */
.pgaf-card {
  background: var(--pgaf-bg-light);
  border-radius: var(--pgaf-radius-lg);
  padding: 1.5rem; margin-bottom: 1.5rem;
  border: 1px solid var(--pgaf-border);
}
.pgaf-card-title {
  font-size: 1.6rem; color: var(--pgaf-primary);
  margin-bottom: 0.8rem; font-weight: 700;
}
.pgaf-card p { font-size: 1.3rem; line-height: 1.6; }

/* ===== PROMO BANNER ===== */
.pgaf-promo-banner {
  background: linear-gradient(135deg, rgba(0,191,255,0.15) 0%, rgba(0,0,255,0.15) 100%);
  border: 1px solid var(--pgaf-primary);
  border-radius: var(--pgaf-radius-lg);
  padding: 1.5rem; text-align: center;
  margin-bottom: 1.5rem;
}
.pgaf-promo-banner h3 {
  font-size: 1.8rem; color: var(--pgaf-accent); margin-bottom: 0.5rem;
}
.pgaf-promo-banner p { font-size: 1.3rem; margin-bottom: 1rem; }
.pgaf-promo-btn {
  display: inline-block; padding: 0.8rem 2rem;
  background: linear-gradient(135deg, var(--pgaf-primary), var(--pgaf-blue));
  color: var(--pgaf-text-light); border-radius: 2rem;
  font-size: 1.4rem; font-weight: 700; cursor: pointer;
  border: none; transition: var(--pgaf-transition);
}
.pgaf-promo-btn:hover { transform: scale(1.05); box-shadow: 0 0 16px rgba(0,191,255,0.6); }

/* ===== FEATURES LIST ===== */
.pgaf-features { display: flex; flex-direction: column; gap: 1rem; }
.pgaf-feature-item {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1rem; background: rgba(0,191,255,0.05);
  border-radius: var(--pgaf-radius); border-left: 3px solid var(--pgaf-primary);
}
.pgaf-feature-icon {
  font-size: 2.2rem; color: var(--pgaf-primary); flex-shrink: 0;
  width: 3rem; text-align: center;
}
.pgaf-feature-text h4 { font-size: 1.3rem; margin-bottom: 0.3rem; color: var(--pgaf-light-blue); }
.pgaf-feature-text p { font-size: 1.2rem; margin-bottom: 0; }

/* ===== STATS GRID ===== */
.pgaf-stats-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
}
.pgaf-stat-item {
  background: var(--pgaf-bg-light); padding: 1rem;
  border-radius: var(--pgaf-radius); text-align: center;
  border: 1px solid var(--pgaf-border);
}
.pgaf-stat-value { font-size: 2rem; font-weight: 700; color: var(--pgaf-accent); }
.pgaf-stat-label { font-size: 1.1rem; color: var(--pgaf-text); }

/* ===== TESTIMONIALS ===== */
.pgaf-testimonial {
  background: var(--pgaf-bg-light); border-radius: var(--pgaf-radius-lg);
  padding: 1.2rem; margin-bottom: 1rem;
  border-left: 3px solid var(--pgaf-gold);
}
.pgaf-testimonial-user { font-size: 1.2rem; color: var(--pgaf-primary); font-weight: 600; margin-bottom: 0.3rem; }
.pgaf-testimonial-text { font-size: 1.3rem; font-style: italic; }
.pgaf-testimonial-stars { color: var(--pgaf-gold); font-size: 1.2rem; margin-bottom: 0.3rem; }

/* ===== WINNERS TICKER ===== */
.pgaf-winners-list { display: flex; flex-direction: column; gap: 0.6rem; }
.pgaf-winner-item {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.8rem 1rem; background: rgba(0,191,255,0.05);
  border-radius: var(--pgaf-radius); font-size: 1.2rem;
}
.pgaf-winner-game { color: var(--pgaf-light-blue); font-weight: 600; }
.pgaf-winner-amount { color: var(--pgaf-accent); font-weight: 700; }
.pgaf-winner-player { color: var(--pgaf-text); }

/* ===== PAYMENT METHODS ===== */
.pgaf-payment-grid {
  display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: center;
}
.pgaf-payment-item {
  background: var(--pgaf-bg-light); padding: 0.6rem 1rem;
  border-radius: var(--pgaf-radius); font-size: 1.2rem;
  color: var(--pgaf-text); border: 1px solid var(--pgaf-border);
}

/* ===== APP DOWNLOAD CTA ===== */
.pgaf-app-cta {
  background: linear-gradient(135deg, var(--pgaf-bg-dark), var(--pgaf-bg-light));
  border: 2px solid var(--pgaf-primary);
  border-radius: var(--pgaf-radius-lg);
  padding: 2rem; text-align: center;
}
.pgaf-app-cta h3 { color: var(--pgaf-accent); font-size: 1.8rem; margin-bottom: 0.5rem; }

/* ===== FOOTER ===== */
.pgaf-footer {
  background: var(--pgaf-bg-dark);
  padding: 2rem 1.2rem 1rem;
  border-top: 1px solid var(--pgaf-border);
}
.pgaf-footer-brand {
  font-size: 1.3rem; color: var(--pgaf-text);
  margin-bottom: 1.5rem; line-height: 1.6;
}
.pgaf-footer-links {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  margin-bottom: 1.5rem; justify-content: center;
}
.pgaf-footer-link {
  padding: 0.4rem 0.8rem; background: var(--pgaf-bg-light);
  border-radius: var(--pgaf-radius); font-size: 1.1rem;
  color: var(--pgaf-light-blue); border: 1px solid var(--pgaf-border);
  transition: var(--pgaf-transition);
}
.pgaf-footer-link:hover { background: var(--pgaf-primary); color: var(--pgaf-text-light); }
.pgaf-footer-promo {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  justify-content: center; margin-bottom: 1.5rem;
}
.pgaf-footer-promo-btn {
  padding: 0.6rem 1.2rem;
  background: linear-gradient(135deg, var(--pgaf-primary), var(--pgaf-blue));
  color: var(--pgaf-text-light); border-radius: var(--pgaf-radius);
  font-size: 1.2rem; font-weight: 600; cursor: pointer;
  border: none; transition: var(--pgaf-transition);
}
.pgaf-footer-promo-btn:hover { transform: scale(1.05); }
.pgaf-footer-copy {
  text-align: center; font-size: 1.1rem;
  color: rgba(211,211,211,0.6); padding-top: 1rem;
  border-top: 1px solid var(--pgaf-border);
}

/* ===== BOTTOM NAV ===== */
.pgaf-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0;
  z-index: 1000; height: 60px;
  background: linear-gradient(180deg, var(--pgaf-bg-dark) 0%, #060a10 100%);
  border-top: 1px solid var(--pgaf-primary);
  display: flex; justify-content: space-around; align-items: center;
  max-width: 430px; margin: 0 auto;
  box-shadow: 0 -2px 12px rgba(0,191,255,0.2);
}
@media (min-width: 769px) { .pgaf-bottom-nav { display: none; } }
.pgaf-bottom-btn {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 2px;
  min-width: 60px; min-height: 56px;
  background: none; border: none; cursor: pointer;
  color: var(--pgaf-text); transition: var(--pgaf-transition);
  padding: 0.3rem; border-radius: var(--pgaf-radius);
}
.pgaf-bottom-btn:hover, .pgaf-bottom-btn:active {
  color: var(--pgaf-primary); transform: scale(1.1);
}
.pgaf-bottom-btn-icon { font-size: 22px; line-height: 1; }
.pgaf-bottom-btn-label { font-size: 1rem; line-height: 1.2; }
.pgaf-bottom-btn-active { color: var(--pgaf-primary); }
.pgaf-bottom-btn-active .pgaf-bottom-btn-label { color: var(--pgaf-accent); }

/* ===== DESKTOP NAV ===== */
@media (min-width: 769px) {
  .pgaf-header { max-width: 100%; }
  body { max-width: 100%; }
  .pgaf-container { max-width: 768px; }
  .pgaf-wrapper { padding-bottom: 2rem; }
  .pgaf-game-grid { grid-template-columns: repeat(6, 1fr); }
  .pgaf-stats-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ===== UTILITIES ===== */
.pgaf-text-center { text-align: center; }
.pgaf-text-primary { color: var(--pgaf-primary); }
.pgaf-text-accent { color: var(--pgaf-accent); }
.pgaf-text-gold { color: var(--pgaf-gold); }
.pgaf-mb-1 { margin-bottom: 0.5rem; }
.pgaf-mb-2 { margin-bottom: 1rem; }
.pgaf-mb-3 { margin-bottom: 1.5rem; }
.pgaf-mt-2 { margin-top: 1rem; }
.pgaf-fw-bold { font-weight: 700; }
.pgaf-d-flex { display: flex; }
.pgaf-gap-1 { gap: 0.5rem; }
.pgaf-ai-center { align-items: center; }
.pgaf-jc-center { justify-content: center; }
.pgaf-anchor-link { color: var(--pgaf-light-blue); text-decoration: underline; }
.pgaf-anchor-link:hover { color: var(--pgaf-accent); }

/* ===== TRICKS / TIPS LIST ===== */
.pgaf-tips-list { counter-reset: pgaf-tip; }
.pgaf-tip-item {
  counter-increment: pgaf-tip;
  display: flex; align-items: flex-start; gap: 0.8rem;
  padding: 0.8rem 0; border-bottom: 1px solid rgba(52,73,94,0.3);
}
.pgaf-tip-item::before {
  content: counter(pgaf-tip);
  flex-shrink: 0; width: 2.4rem; height: 2.4rem;
  background: var(--pgaf-primary); color: var(--pgaf-bg-dark);
  border-radius: 50%; display: flex; align-items: center;
  justify-content: center; font-size: 1.2rem; font-weight: 700;
}
.pgaf-tip-text { font-size: 1.3rem; line-height: 1.5; }

/* ===== FAQ ACCORDION ===== */
.pgaf-faq-item {
  background: var(--pgaf-bg-light); border-radius: var(--pgaf-radius);
  margin-bottom: 0.8rem; overflow: hidden;
  border: 1px solid var(--pgaf-border);
}
.pgaf-faq-q {
  padding: 1rem 1.2rem; font-size: 1.3rem; font-weight: 600;
  color: var(--pgaf-light-blue); cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
}
.pgaf-faq-a {
  padding: 0 1.2rem 1rem; font-size: 1.3rem;
  color: var(--pgaf-text); line-height: 1.6;
}

/* ===== GUIDE STEPS ===== */
.pgaf-steps { counter-reset: pgaf-step; }
.pgaf-step-item {
  counter-increment: pgaf-step;
  display: flex; gap: 1rem; margin-bottom: 1.2rem;
}
.pgaf-step-num {
  flex-shrink: 0; width: 3rem; height: 3rem;
  background: linear-gradient(135deg, var(--pgaf-primary), var(--pgaf-blue));
  color: var(--pgaf-text-light); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; font-weight: 700;
}
.pgaf-step-content h4 { font-size: 1.4rem; color: var(--pgaf-accent); margin-bottom: 0.3rem; }
.pgaf-step-content p { font-size: 1.3rem; margin-bottom: 0; }

/* Inline promo link style */
.pgaf-promo-link {
  color: var(--pgaf-accent); font-weight: 700; cursor: pointer;
  text-decoration: underline; transition: var(--pgaf-transition);
}
.pgaf-promo-link:hover { color: var(--pgaf-primary); }

/* ===== SCHEMA-ORG HIDDEN ===== */
.pgaf-schema { display: none; }
