/**
 * 49999 Main Stylesheet
 * Prefix: pgfe-
 * Colors: #F8F9FA | #006400 | #9AFF9A | #262626 | #8FBC8F
 * Mobile-first responsive design
 */

:root {
  --pgfe-primary: #006400;
  --pgfe-primary-light: #9AFF9A;
  --pgfe-bg: #262626;
  --pgfe-bg-light: #2e2e2e;
  --pgfe-text: #F8F9FA;
  --pgfe-text-muted: #8FBC8F;
  --pgfe-accent: #9AFF9A;
  --pgfe-card: #1e1e1e;
  --pgfe-border: #3a3a3a;
  --pgfe-gold: #FFD700;
  --pgfe-radius: 0.8rem;
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 62.5%; scroll-behavior: smooth; }
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: var(--pgfe-bg);
  color: var(--pgfe-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  max-width: 430px;
  margin: 0 auto;
  overflow-x: hidden;
}
a { color: var(--pgfe-accent); text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

/* Header */
.pgfe-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(135deg, #004d00, #006400);
  padding: 0.8rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 430px;
  margin: 0 auto;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.pgfe-logo-area {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.pgfe-logo-area img {
  width: 28px;
  height: 28px;
  border-radius: 4px;
}
.pgfe-logo-area span {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--pgfe-gold);
  letter-spacing: 0.5px;
}
.pgfe-header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.pgfe-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: var(--pgfe-radius);
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  min-height: 36px;
}
.pgfe-btn:hover { opacity: 0.9; transform: scale(1.03); }
.pgfe-btn-register {
  background: var(--pgfe-gold);
  color: #1a1a1a;
}
.pgfe-btn-login {
  background: transparent;
  color: var(--pgfe-text);
  border: 1px solid var(--pgfe-accent);
}
.pgfe-menu-toggle {
  background: none;
  border: none;
  color: var(--pgfe-text);
  font-size: 2rem;
  cursor: pointer;
  padding: 0.4rem;
  display: flex;
  align-items: center;
}

/* Mobile Menu */
.pgfe-menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.6);
  z-index: 9998;
}
.pgfe-menu-active .pgfe-menu-overlay { display: block; }
.pgfe-mobile-menu {
  position: fixed;
  top: 0;
  right: -260px;
  width: 260px;
  height: 100%;
  background: #1a1a1a;
  z-index: 9999;
  transition: right 0.3s ease;
  padding: 2rem 1.5rem;
  overflow-y: auto;
}
.pgfe-menu-active .pgfe-mobile-menu { right: 0; }
.pgfe-mobile-menu .pgfe-menu-close {
  background: none;
  border: none;
  color: var(--pgfe-text);
  font-size: 2.2rem;
  cursor: pointer;
  position: absolute;
  top: 1rem;
  right: 1rem;
}
.pgfe-mobile-menu a {
  display: block;
  padding: 1rem 0;
  color: var(--pgfe-text);
  font-size: 1.4rem;
  border-bottom: 1px solid var(--pgfe-border);
  transition: color 0.2s;
}
.pgfe-mobile-menu a:hover { color: var(--pgfe-gold); }

/* Main Content */
.pgfe-main {
  padding-top: 52px;
  min-height: 100vh;
}
@media (max-width: 768px) {
  .pgfe-main { padding-bottom: 76px; }
}

/* Carousel */
.pgfe-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  aspect-ratio: 16/8;
}
.pgfe-slide {
  display: none;
  width: 100%;
  height: 100%;
  cursor: pointer;
}
.pgfe-slide-active { display: block; }
.pgfe-slide img { width: 100%; height: 100%; object-fit: cover; }
.pgfe-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}
.pgfe-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  border: none;
  transition: background 0.3s;
}
.pgfe-dot-active { background: var(--pgfe-gold); }

/* Section */
.pgfe-section {
  padding: 1.5rem 1rem;
}
.pgfe-section-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--pgfe-gold);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--pgfe-primary);
}
.pgfe-section-title i { margin-right: 0.5rem; }

/* Game Grid */
.pgfe-cat-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--pgfe-accent);
  margin: 1.2rem 0 0.8rem;
  padding-left: 0.5rem;
  border-left: 3px solid var(--pgfe-primary);
}
.pgfe-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
}
.pgfe-game-item {
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s;
}
.pgfe-game-item:hover { transform: scale(1.05); }
.pgfe-game-item img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 0.6rem;
  margin-bottom: 0.3rem;
  border: 1px solid var(--pgfe-border);
}
.pgfe-game-item span {
  font-size: 1rem;
  color: var(--pgfe-text);
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Cards */
.pgfe-card {
  background: var(--pgfe-card);
  border-radius: var(--pgfe-radius);
  padding: 1.2rem;
  margin-bottom: 1rem;
  border: 1px solid var(--pgfe-border);
}
.pgfe-card-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--pgfe-accent);
  margin-bottom: 0.8rem;
}

/* Promo Buttons */
.pgfe-promo-btn {
  display: inline-block;
  background: linear-gradient(135deg, #006400, #004d00);
  color: var(--pgfe-gold);
  padding: 0.8rem 1.8rem;
  border-radius: 2rem;
  font-size: 1.3rem;
  font-weight: 700;
  cursor: pointer;
  border: 2px solid var(--pgfe-gold);
  transition: all 0.3s;
  text-align: center;
}
.pgfe-promo-btn:hover {
  background: var(--pgfe-gold);
  color: #1a1a1a;
  transform: scale(1.05);
}

/* Promo Text Link */
.pgfe-promo-link {
  color: var(--pgfe-gold);
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
}

/* Content Text */
.pgfe-text { margin-bottom: 1rem; line-height: 1.6; }
.pgfe-text p { margin-bottom: 0.8rem; }

/* FAQ */
.pgfe-faq-item {
  background: var(--pgfe-card);
  border-radius: var(--pgfe-radius);
  padding: 1rem;
  margin-bottom: 0.8rem;
  border-left: 3px solid var(--pgfe-primary);
}
.pgfe-faq-q {
  font-weight: 700;
  color: var(--pgfe-gold);
  font-size: 1.3rem;
  margin-bottom: 0.4rem;
}
.pgfe-faq-a { color: var(--pgfe-text); font-size: 1.2rem; line-height: 1.5; }

/* Feature List */
.pgfe-feature-list { display: flex; flex-direction: column; gap: 0.8rem; }
.pgfe-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  padding: 0.8rem;
  background: var(--pgfe-card);
  border-radius: var(--pgfe-radius);
}
.pgfe-feature-icon {
  font-size: 2rem;
  color: var(--pgfe-gold);
  min-width: 2.4rem;
  text-align: center;
}
.pgfe-feature-text h4 { font-size: 1.2rem; color: var(--pgfe-accent); margin-bottom: 0.2rem; }
.pgfe-feature-text p { font-size: 1.1rem; color: var(--pgfe-text-muted); }

/* Winner List */
.pgfe-winner-list { display: flex; flex-direction: column; gap: 0.6rem; }
.pgfe-winner-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 1rem;
  background: var(--pgfe-card);
  border-radius: 0.6rem;
  font-size: 1.2rem;
}
.pgfe-winner-name { color: var(--pgfe-accent); font-weight: 600; }
.pgfe-winner-amount { color: var(--pgfe-gold); font-weight: 700; }

/* Payment */
.pgfe-payment-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
}
.pgfe-payment-item {
  background: var(--pgfe-card);
  border: 1px solid var(--pgfe-border);
  border-radius: 0.6rem;
  padding: 0.6rem 1rem;
  font-size: 1.1rem;
  color: var(--pgfe-text);
}

/* Testimonial */
.pgfe-testimonial {
  background: var(--pgfe-card);
  border-radius: var(--pgfe-radius);
  padding: 1rem;
  margin-bottom: 0.8rem;
  border-left: 3px solid var(--pgfe-gold);
}
.pgfe-testimonial-author { color: var(--pgfe-gold); font-weight: 600; font-size: 1.2rem; }
.pgfe-testimonial-text { font-size: 1.1rem; color: var(--pgfe-text-muted); margin-top: 0.4rem; line-height: 1.5; }

/* Footer */
.pgfe-footer {
  background: #1a1a1a;
  padding: 2rem 1rem 1.5rem;
  border-top: 2px solid var(--pgfe-primary);
}
.pgfe-footer-brand {
  font-size: 1.2rem;
  color: var(--pgfe-text-muted);
  margin-bottom: 1rem;
  line-height: 1.5;
}
.pgfe-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1rem;
}
.pgfe-footer-links a {
  background: var(--pgfe-bg-light);
  color: var(--pgfe-accent);
  padding: 0.4rem 0.8rem;
  border-radius: 0.4rem;
  font-size: 1.1rem;
  border: 1px solid var(--pgfe-border);
  transition: all 0.2s;
}
.pgfe-footer-links a:hover { background: var(--pgfe-primary); color: var(--pgfe-text); }
.pgfe-footer-copy {
  text-align: center;
  font-size: 1rem;
  color: #666;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--pgfe-border);
}

/* Bottom Navigation */
.pgfe-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(180deg, #004d00, #003300);
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 60px;
  max-width: 430px;
  margin: 0 auto;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.5);
  border-top: 1px solid #006400;
}
.pgfe-bottom-nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 56px;
  background: none;
  border: none;
  color: var(--pgfe-text-muted);
  cursor: pointer;
  transition: all 0.2s;
  padding: 0.3rem;
}
.pgfe-bottom-nav-btn:hover { color: var(--pgfe-gold); transform: scale(1.08); }
.pgfe-bottom-nav-btn .pgfe-nav-icon { font-size: 22px; margin-bottom: 2px; }
.pgfe-bottom-nav-btn .pgfe-nav-label { font-size: 10px; font-weight: 500; }
.pgfe-nav-current { color: var(--pgfe-gold) !important; }
.pgfe-nav-current .pgfe-nav-icon { transform: scale(1.1); }

@media (min-width: 769px) {
  .pgfe-bottom-nav { display: none; }
  .pgfe-menu-toggle { display: none; }
}

/* Help page specific */
.pgfe-help-section { padding: 1.2rem 1rem; }
.pgfe-help-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--pgfe-gold);
  margin-bottom: 1rem;
}
.pgfe-step-list { counter-reset: step; }
.pgfe-step-item {
  counter-increment: step;
  padding: 0.8rem 1rem 0.8rem 3rem;
  position: relative;
  margin-bottom: 0.6rem;
  background: var(--pgfe-card);
  border-radius: var(--pgfe-radius);
  font-size: 1.2rem;
  line-height: 1.5;
}
.pgfe-step-item::before {
  content: counter(step);
  position: absolute;
  left: 0.8rem;
  top: 0.8rem;
  background: var(--pgfe-primary);
  color: var(--pgfe-gold);
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}

/* Utility */
.pgfe-text-center { text-align: center; }
.pgfe-mb-1 { margin-bottom: 1rem; }
.pgfe-mb-2 { margin-bottom: 2rem; }
.pgfe-mt-1 { margin-top: 1rem; }
.pgfe-highlight { color: var(--pgfe-gold); font-weight: 700; }
.pgfe-divider {
  border: none;
  border-top: 1px solid var(--pgfe-border);
  margin: 1.5rem 0;
}

/* Partner logos */
.pgfe-partners {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
  margin: 1rem 0;
}
.pgfe-partner-logo {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  border: 1px solid var(--pgfe-border);
}

/* RTP Bar */
.pgfe-rtp-bar {
  background: var(--pgfe-card);
  border-radius: 0.6rem;
  padding: 0.6rem 1rem;
  margin-bottom: 0.6rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.pgfe-rtp-name { font-size: 1.2rem; color: var(--pgfe-text); }
.pgfe-rtp-value { font-size: 1.3rem; font-weight: 700; color: var(--pgfe-gold); }
.pgfe-rtp-track {
  flex: 1;
  height: 6px;
  background: var(--pgfe-border);
  border-radius: 3px;
  margin: 0 0.8rem;
  overflow: hidden;
}
.pgfe-rtp-fill {
  height: 100%;
  background: linear-gradient(90deg, #006400, #9AFF9A);
  border-radius: 3px;
}

/* App Download CTA */
.pgfe-app-cta {
  background: linear-gradient(135deg, #006400, #004d00);
  border-radius: var(--pgfe-radius);
  padding: 1.5rem;
  text-align: center;
  border: 1px solid var(--pgfe-gold);
  margin: 1rem 0;
}
.pgfe-app-cta h3 {
  font-size: 1.5rem;
  color: var(--pgfe-gold);
  margin-bottom: 0.6rem;
}
.pgfe-app-cta p { font-size: 1.2rem; color: var(--pgfe-text); margin-bottom: 1rem; }
