/**
 * og777.css - Core stylesheet for og777.cfd
 * All classes prefixed with pga5- for namespace isolation
 * Color palette: #262626 | #006400 | #26A69A | #008B8B | #7FFF00
 */

:root {
  --pga5-primary: #006400;
  --pga5-primary-light: #008B8B;
  --pga5-accent: #26A69A;
  --pga5-highlight: #7FFF00;
  --pga5-bg: #1a1a1a;
  --pga5-bg-card: #222222;
  --pga5-bg-dark: #262626;
  --pga5-text: #e8e8e8;
  --pga5-text-muted: #a0a0a0;
  --pga5-text-dark: #333333;
  --pga5-border: #333333;
  --pga5-gold: #FFD700;
  --pga5-gradient-start: #006400;
  --pga5-gradient-end: #26A69A;
  --pga5-radius: 8px;
  --pga5-radius-sm: 4px;
  --pga5-radius-lg: 12px;
  --pga5-shadow: 0 2px 8px rgba(0,0,0,0.3);
  --pga5-transition: all 0.3s ease;
}

/* Reset and base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 62.5%; scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background-color: var(--pga5-bg);
  color: var(--pga5-text);
  line-height: 1.5rem;
  max-width: 430px;
  margin: 0 auto;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

/* Container */
.pga5-container { width: 100%; max-width: 430px; margin: 0 auto; padding: 0 1.2rem; }
.pga5-wrapper { padding: 1rem 0; }

/* Header */
.pga5-header {
  position: fixed; top: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 430px; z-index: 1000;
  background: linear-gradient(135deg, #1a1a1a 0%, #0d2b0d 100%);
  border-bottom: 2px solid var(--pga5-primary);
  padding: 0 1rem; height: 52px;
  display: flex; align-items: center; justify-content: space-between;
}
.pga5-header-left { display: flex; align-items: center; gap: 0.6rem; }
.pga5-header-logo { width: 28px; height: 28px; border-radius: 50%; }
.pga5-header-brand {
  font-size: 1.6rem; font-weight: 800; color: var(--pga5-highlight);
  letter-spacing: 1px; text-shadow: 0 0 8px rgba(127,255,0,0.3);
}
.pga5-header-right { display: flex; align-items: center; gap: 0.5rem; }
.pga5-header-menu-btn {
  background: none; border: none; color: var(--pga5-accent);
  font-size: 2rem; cursor: pointer; padding: 0.4rem; line-height: 1;
}
.pga5-btn-register, .pga5-btn-login {
  padding: 0.4rem 1rem; border-radius: var(--pga5-radius-sm);
  font-size: 1.1rem; font-weight: 700; cursor: pointer;
  border: none; transition: var(--pga5-transition);
}
.pga5-btn-register {
  background: linear-gradient(135deg, var(--pga5-highlight), #5cbf00);
  color: #111; box-shadow: 0 2px 6px rgba(127,255,0,0.3);
}
.pga5-btn-register:hover { transform: scale(1.05); box-shadow: 0 3px 10px rgba(127,255,0,0.5); }
.pga5-btn-login {
  background: transparent; color: var(--pga5-accent);
  border: 1.5px solid var(--pga5-accent);
}
.pga5-btn-login:hover { background: var(--pga5-accent); color: #111; }

/* Mobile menu */
.pga5-menu-overlay {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.6); z-index: 9998; display: none;
}
.pga5-overlay-active { display: block; }
.pga5-mobile-menu {
  position: fixed; top: 0; right: -260px; width: 260px; height: 100%;
  background: linear-gradient(180deg, #1a1a1a 0%, #0d2b0d 100%);
  z-index: 9999; transition: right 0.3s ease; padding: 1.5rem 0;
  overflow-y: auto;
}
.pga5-menu-active { right: 0; }
.pga5-menu-close {
  position: absolute; top: 1rem; right: 1rem;
  background: none; border: none; color: var(--pga5-text);
  font-size: 2.2rem; cursor: pointer;
}
.pga5-menu-title {
  font-size: 1.6rem; font-weight: 800; color: var(--pga5-highlight);
  padding: 1rem 1.5rem 0.5rem; border-bottom: 1px solid var(--pga5-border);
  margin-bottom: 0.5rem;
}
.pga5-menu-link {
  display: flex; align-items: center; gap: 0.8rem;
  padding: 1rem 1.5rem; color: var(--pga5-text);
  font-size: 1.3rem; transition: var(--pga5-transition); border-bottom: 1px solid rgba(255,255,255,0.05);
}
.pga5-menu-link:hover { background: rgba(127,255,0,0.1); color: var(--pga5-highlight); }
.pga5-menu-link i, .pga5-menu-link .material-icons { font-size: 1.8rem; color: var(--pga5-accent); }

/* Main content spacing for fixed header */
.pga5-main { padding-top: 58px; }
@media (max-width: 768px) {
  .pga5-main { padding-bottom: 76px; }
}

/* Slider/Carousel */
.pga5-slider {
  position: relative; width: 100%; overflow: hidden;
  border-radius: var(--pga5-radius-lg); margin: 0.8rem 0;
}
.pga5-slides-wrapper { position: relative; width: 100%; height: 180px; }
.pga5-slide {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  opacity: 0; transition: opacity 0.6s ease; cursor: pointer;
}
.pga5-slide img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--pga5-radius-lg); }
.pga5-slide-dots {
  position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 6px; z-index: 5;
}
.pga5-slide-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.4); cursor: pointer; border: none;
  transition: var(--pga5-transition);
}
.pga5-dot-active { background: var(--pga5-highlight); transform: scale(1.3); }

/* Section headings */
.pga5-section { padding: 1.2rem; }
.pga5-section-title {
  font-size: 1.6rem; font-weight: 800; margin-bottom: 1rem;
  padding-bottom: 0.5rem; border-bottom: 2px solid var(--pga5-primary);
  display: flex; align-items: center; gap: 0.6rem;
}
.pga5-section-title .material-icons, .pga5-section-title i { font-size: 2rem; color: var(--pga5-highlight); }

/* Game grid */
.pga5-category-title {
  font-size: 1.4rem; font-weight: 700; margin: 1.2rem 0 0.6rem;
  color: var(--pga5-accent); display: flex; align-items: center; gap: 0.4rem;
}
.pga5-game-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem; padding: 0.4rem 0;
}
.pga5-game-item {
  text-align: center; cursor: pointer; transition: var(--pga5-transition);
  border-radius: var(--pga5-radius); overflow: hidden;
}
.pga5-game-item:hover { transform: translateY(-2px); }
.pga5-game-img {
  width: 100%; aspect-ratio: 1/1; border-radius: var(--pga5-radius);
  border: 1.5px solid var(--pga5-border); object-fit: cover;
}
.pga5-game-item:hover .pga5-game-img { border-color: var(--pga5-accent); }
.pga5-game-name {
  font-size: 1rem; color: var(--pga5-text-muted); margin-top: 0.2rem;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  padding: 0 0.2rem;
}

/* Content modules */
.pga5-card {
  background: var(--pga5-bg-card); border-radius: var(--pga5-radius-lg);
  padding: 1.2rem; margin: 1rem 0; border: 1px solid var(--pga5-border);
}
.pga5-card h2 {
  font-size: 1.5rem; font-weight: 700; margin-bottom: 0.8rem;
  color: var(--pga5-highlight); display: flex; align-items: center; gap: 0.5rem;
}
.pga5-card h3 {
  font-size: 1.3rem; font-weight: 600; margin: 0.8rem 0 0.4rem;
  color: var(--pga5-accent);
}
.pga5-card p {
  font-size: 1.2rem; line-height: 1.8rem; color: var(--pga5-text-muted);
  margin-bottom: 0.6rem;
}
.pga5-card ul { padding-left: 1.4rem; }
.pga5-card li {
  font-size: 1.2rem; line-height: 1.8rem; color: var(--pga5-text-muted);
  margin-bottom: 0.3rem; list-style: disc;
}

/* Promo buttons / links */
.pga5-btn-promo {
  display: inline-block; padding: 0.6rem 1.6rem;
  background: linear-gradient(135deg, var(--pga5-highlight), #5cbf00);
  color: #111; font-size: 1.2rem; font-weight: 800;
  border-radius: var(--pga5-radius); cursor: pointer; border: none;
  transition: var(--pga5-transition); text-align: center;
  box-shadow: 0 2px 8px rgba(127,255,0,0.3);
}
.pga5-btn-promo:hover { transform: scale(1.05); box-shadow: 0 4px 14px rgba(127,255,0,0.5); }
.pga5-btn-promo-outline {
  display: inline-block; padding: 0.5rem 1.4rem;
  background: transparent; border: 1.5px solid var(--pga5-highlight);
  color: var(--pga5-highlight); font-size: 1.2rem; font-weight: 700;
  border-radius: var(--pga5-radius); cursor: pointer;
  transition: var(--pga5-transition);
}
.pga5-btn-promo-outline:hover { background: var(--pga5-highlight); color: #111; }
.pga5-link-promo {
  color: var(--pga5-highlight); font-weight: 700;
  text-decoration: underline; cursor: pointer;
}
.pga5-link-promo:hover { color: #a0ff40; }

/* Text link (internal SEO) */
.pga5-link-internal {
  color: var(--pga5-accent); font-weight: 600;
  text-decoration: underline; transition: var(--pga5-transition);
}
.pga5-link-internal:hover { color: var(--pga5-highlight); }

/* Promo banner */
.pga5-promo-banner {
  background: linear-gradient(135deg, #0d3d0d, #006400);
  border: 1px solid var(--pga5-accent); border-radius: var(--pga5-radius-lg);
  padding: 1.2rem; margin: 1rem 0; text-align: center;
}
.pga5-promo-banner p {
  font-size: 1.2rem; color: var(--pga5-text); margin-bottom: 0.8rem;
}

/* Footer */
.pga5-footer {
  background: linear-gradient(180deg, var(--pga5-bg-dark), #111);
  padding: 1.5rem 1.2rem 2rem; border-top: 2px solid var(--pga5-primary);
}
.pga5-footer-brand {
  font-size: 1.2rem; color: var(--pga5-text-muted); line-height: 1.8rem;
  margin-bottom: 1rem;
}
.pga5-footer-links {
  display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem;
}
.pga5-footer-link {
  padding: 0.4rem 0.8rem; background: var(--pga5-bg-card);
  border: 1px solid var(--pga5-border); border-radius: var(--pga5-radius-sm);
  font-size: 1rem; color: var(--pga5-accent); transition: var(--pga5-transition);
  cursor: pointer;
}
.pga5-footer-link:hover { border-color: var(--pga5-highlight); color: var(--pga5-highlight); }
.pga5-footer-copy {
  font-size: 1rem; color: var(--pga5-text-muted); text-align: center;
  padding-top: 0.8rem; border-top: 1px solid var(--pga5-border);
}

/* Bottom navigation */
.pga5-bottom-nav {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 430px; height: 60px; z-index: 1000;
  background: linear-gradient(180deg, #1a2e1a, #0d1a0d);
  border-top: 2px solid var(--pga5-primary);
  display: flex; justify-content: space-around; align-items: center;
  padding: 0 0.4rem;
}
.pga5-bnav-btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 60px; min-height: 54px; background: none; border: none;
  color: var(--pga5-text-muted); cursor: pointer; transition: var(--pga5-transition);
  border-radius: var(--pga5-radius);
}
.pga5-bnav-btn i, .pga5-bnav-btn .material-icons, .pga5-bnav-btn ion-icon {
  font-size: 2.2rem; margin-bottom: 0.1rem;
}
.pga5-bnav-btn span { font-size: 0.9rem; font-weight: 600; }
.pga5-bnav-btn:hover, .pga5-bnav-btn.pga5-bnav-active {
  color: var(--pga5-highlight); transform: scale(1.08);
}
.pga5-bnav-active { text-shadow: 0 0 6px rgba(127,255,0,0.4); }

/* Hide bottom nav on desktop */
@media (min-width: 769px) {
  .pga5-bottom-nav { display: none; }
  .pga5-main { padding-bottom: 0; }
}

/* FAQ accordion */
.pga5-faq-item { margin-bottom: 0.5rem; }
.pga5-faq-q {
  background: var(--pga5-bg-card); padding: 0.8rem 1rem;
  font-size: 1.2rem; font-weight: 600; color: var(--pga5-accent);
  border-radius: var(--pga5-radius-sm); border-left: 3px solid var(--pga5-highlight);
}
.pga5-faq-a {
  padding: 0.6rem 1rem; font-size: 1.15rem; color: var(--pga5-text-muted);
  line-height: 1.7rem; background: rgba(255,255,255,0.02);
  border-radius: 0 0 var(--pga5-radius-sm) var(--pga5-radius-sm);
}

/* Winner showcase */
.pga5-winner-list { display: flex; flex-direction: column; gap: 0.4rem; }
.pga5-winner-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.5rem 0.8rem; background: var(--pga5-bg-card);
  border-radius: var(--pga5-radius-sm); border-left: 3px solid var(--pga5-highlight);
}
.pga5-winner-name { font-size: 1.1rem; color: var(--pga5-accent); font-weight: 600; }
.pga5-winner-game { font-size: 1rem; color: var(--pga5-text-muted); }
.pga5-winner-amount { font-size: 1.1rem; color: var(--pga5-highlight); font-weight: 700; }

/* RTP table */
.pga5-rtp-table { width: 100%; border-collapse: collapse; margin: 0.5rem 0; }
.pga5-rtp-table th {
  background: var(--pga5-primary); color: #fff; padding: 0.5rem;
  font-size: 1.1rem; text-align: left;
}
.pga5-rtp-table td {
  padding: 0.5rem; font-size: 1.1rem; border-bottom: 1px solid var(--pga5-border);
  color: var(--pga5-text-muted);
}
.pga5-rtp-table tr:hover td { background: rgba(127,255,0,0.05); }

/* Testimonials */
.pga5-testimonial {
  background: var(--pga5-bg-card); border-radius: var(--pga5-radius);
  padding: 1rem; margin: 0.5rem 0; border-left: 3px solid var(--pga5-accent);
}
.pga5-testimonial-text { font-size: 1.15rem; color: var(--pga5-text-muted); font-style: italic; line-height: 1.7rem; }
.pga5-testimonial-author { font-size: 1rem; color: var(--pga5-accent); margin-top: 0.4rem; font-weight: 600; }

/* Utility */
.pga5-text-center { text-align: center; }
.pga5-mt-1 { margin-top: 1rem; }
.pga5-mb-1 { margin-bottom: 1rem; }
.pga5-hidden { display: none; }
.pga5-flex-center { display: flex; align-items: center; justify-content: center; }
.pga5-gap-1 { gap: 1rem; }

/* Payment methods row */
.pga5-payment-row {
  display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; margin: 0.8rem 0;
}
.pga5-payment-item {
  background: var(--pga5-bg-card); border: 1px solid var(--pga5-border);
  border-radius: var(--pga5-radius-sm); padding: 0.4rem 0.8rem;
  font-size: 1rem; color: var(--pga5-text-muted);
}

/* Achievement badge */
.pga5-badge {
  display: inline-block; padding: 0.3rem 0.6rem;
  background: var(--pga5-primary); color: var(--pga5-highlight);
  font-size: 1rem; font-weight: 700; border-radius: var(--pga5-radius-sm);
}

/* CTA section */
.pga5-cta {
  background: linear-gradient(135deg, #006400, #26A69A);
  border-radius: var(--pga5-radius-lg); padding: 1.5rem;
  text-align: center; margin: 1rem 0;
}
.pga5-cta h3 { font-size: 1.5rem; color: #fff; margin-bottom: 0.6rem; }
.pga5-cta p { font-size: 1.2rem; color: rgba(255,255,255,0.85); margin-bottom: 1rem; }

/* Back to top */
.pga5-back-top {
  position: fixed; bottom: 72px; right: 1rem; width: 36px; height: 36px;
  background: var(--pga5-primary); color: var(--pga5-highlight);
  border-radius: 50%; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; z-index: 999; opacity: 0.7;
  transition: var(--pga5-transition);
}
.pga5-back-top:hover { opacity: 1; transform: scale(1.1); }

/* Responsive adjustments */
@media (max-width: 360px) {
  .pga5-game-grid { grid-template-columns: repeat(3, 1fr); gap: 0.4rem; }
  .pga5-header-brand { font-size: 1.3rem; }
}
@media (min-width: 431px) {
  body { border-left: 1px solid var(--pga5-border); border-right: 1px solid var(--pga5-border); }
}
