/**
 * boom99app - Core CSS Stylesheet
 * Prefix: pga5-
 * Color Palette: #1B263B | #FF8C00 | #E5E5E5 | #FFB347 | #FFB3BA | #DEB887
 */

/* === CSS Variables === */
:root {
  --pga5-bg: #1B263B;
  --pga5-bg-light: #243352;
  --pga5-bg-card: #1f2f4a;
  --pga5-primary: #FF8C00;
  --pga5-primary-light: #FFB347;
  --pga5-accent: #FFB3BA;
  --pga5-accent2: #DEB887;
  --pga5-text: #E5E5E5;
  --pga5-text-muted: #a0aec0;
  --pga5-white: #ffffff;
  --pga5-dark: #0d1520;
  --pga5-border: #2a3f5f;
  --pga5-success: #48bb78;
  --pga5-radius: 8px;
  --pga5-radius-lg: 12px;
  --pga5-shadow: 0 2px 8px rgba(0,0,0,0.3);
  --pga5-shadow-lg: 0 4px 16px rgba(0,0,0,0.4);
}

/* === Reset & 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, sans-serif;
  background: var(--pga5-bg);
  color: var(--pga5-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  max-width: 430px;
  margin: 0 auto;
  overflow-x: hidden;
}
a { color: var(--pga5-primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--pga5-primary-light); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

/* === Header === */
.pga5-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 1000;
  background: linear-gradient(135deg, var(--pga5-dark) 0%, var(--pga5-bg) 100%);
  border-bottom: 2px solid var(--pga5-primary);
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.pga5-header-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.pga5-header-logo {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}
.pga5-header-name {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--pga5-primary);
  white-space: nowrap;
}
.pga5-header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}
.pga5-btn {
  padding: 6px 14px;
  border-radius: var(--pga5-radius);
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  white-space: nowrap;
}
.pga5-btn-register {
  background: var(--pga5-primary);
  color: var(--pga5-dark);
}
.pga5-btn-register:hover { background: var(--pga5-primary-light); transform: scale(1.05); }
.pga5-btn-login {
  background: transparent;
  color: var(--pga5-primary);
  border: 1.5px solid var(--pga5-primary);
}
.pga5-btn-login:hover { background: rgba(255,140,0,0.15); }
.pga5-menu-toggle {
  background: none;
  border: none;
  color: var(--pga5-text);
  font-size: 2rem;
  cursor: pointer;
  padding: 4px 8px;
  line-height: 1;
}

/* === Mobile Menu === */
.pga5-mobile-menu {
  display: none;
  position: fixed;
  top: 52px;
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  width: 100%;
  max-width: 430px;
  background: var(--pga5-bg-light);
  z-index: 9999;
  border-bottom: 2px solid var(--pga5-primary);
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
}
.pga5-mobile-menu a {
  display: block;
  padding: 12px 16px;
  color: var(--pga5-text);
  font-size: 1.4rem;
  border-bottom: 1px solid var(--pga5-border);
  transition: background 0.2s;
}
.pga5-mobile-menu a:hover { background: rgba(255,140,0,0.1); color: var(--pga5-primary); }

/* === Main Content === */
.pga5-main {
  margin-top: 52px;
  min-height: 60vh;
}

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

/* === Section Styles === */
.pga5-section {
  padding: 16px 12px;
}
.pga5-section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--pga5-primary);
  margin-bottom: 12px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--pga5-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}
.pga5-section-title .material-icons { font-size: 2.2rem; }

/* === Game Grid === */
.pga5-game-category-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--pga5-primary-light);
  margin: 12px 0 8px;
  padding-left: 4px;
}
.pga5-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.pga5-game-item {
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s;
  border-radius: var(--pga5-radius);
  padding: 4px;
}
.pga5-game-item:hover { transform: scale(1.05); background: rgba(255,140,0,0.08); }
.pga5-game-item img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--pga5-radius);
  margin-bottom: 4px;
}
.pga5-game-name {
  font-size: 1.1rem;
  color: var(--pga5-text-muted);
  line-height: 1.3rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* === Content Cards === */
.pga5-card {
  background: var(--pga5-bg-card);
  border-radius: var(--pga5-radius-lg);
  padding: 14px;
  margin-bottom: 12px;
  border: 1px solid var(--pga5-border);
}
.pga5-card h3 {
  font-size: 1.5rem;
  color: var(--pga5-primary);
  margin-bottom: 8px;
}
.pga5-card p {
  font-size: 1.3rem;
  color: var(--pga5-text-muted);
  line-height: 1.6rem;
}

/* === Promo Button === */
.pga5-promo-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--pga5-primary) 0%, var(--pga5-primary-light) 100%);
  color: var(--pga5-dark);
  padding: 10px 24px;
  border-radius: var(--pga5-radius-lg);
  font-size: 1.4rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: transform 0.2s, box-shadow 0.2s;
  text-align: center;
}
.pga5-promo-btn:hover { transform: scale(1.05); box-shadow: var(--pga5-shadow-lg); }
.pga5-promo-link {
  color: var(--pga5-primary);
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
}

/* === Footer === */
.pga5-footer {
  background: var(--pga5-dark);
  padding: 20px 12px 90px;
  border-top: 2px solid var(--pga5-primary);
}
.pga5-footer-brand {
  font-size: 1.3rem;
  color: var(--pga5-text-muted);
  margin-bottom: 12px;
  line-height: 1.6rem;
}
.pga5-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}
.pga5-footer-links a {
  color: var(--pga5-primary);
  font-size: 1.2rem;
  padding: 4px 8px;
  background: rgba(255,140,0,0.1);
  border-radius: 4px;
}
.pga5-footer-links a:hover { background: rgba(255,140,0,0.25); }
.pga5-footer-copy {
  font-size: 1.1rem;
  color: var(--pga5-text-muted);
  text-align: center;
  border-top: 1px solid var(--pga5-border);
  padding-top: 10px;
}

/* === Bottom Navigation === */
.pga5-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 1000;
  background: linear-gradient(180deg, var(--pga5-bg-light) 0%, var(--pga5-dark) 100%);
  border-top: 2px solid var(--pga5-primary);
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 60px;
  padding: 4px 0;
}
.pga5-bottom-nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 52px;
  background: none;
  border: none;
  color: var(--pga5-text-muted);
  cursor: pointer;
  transition: all 0.2s;
  gap: 2px;
}
.pga5-bottom-nav-btn:hover, .pga5-bottom-nav-btn.pga5-active {
  color: var(--pga5-primary);
  transform: scale(1.08);
}
.pga5-bottom-nav-btn i,
.pga5-bottom-nav-btn .material-icons {
  font-size: 22px;
}
.pga5-bottom-nav-label {
  font-size: 1rem;
  line-height: 1.2rem;
}

/* === FAQ Section === */
.pga5-faq-item {
  margin-bottom: 10px;
  border: 1px solid var(--pga5-border);
  border-radius: var(--pga5-radius);
  overflow: hidden;
}
.pga5-faq-q {
  padding: 10px 12px;
  font-weight: 600;
  color: var(--pga5-primary-light);
  font-size: 1.3rem;
  background: rgba(255,140,0,0.06);
}
.pga5-faq-a {
  padding: 10px 12px;
  color: var(--pga5-text-muted);
  font-size: 1.2rem;
  line-height: 1.5rem;
}

/* === Testimonials === */
.pga5-testimonial {
  background: var(--pga5-bg-card);
  border-left: 3px solid var(--pga5-primary);
  padding: 10px 12px;
  margin-bottom: 8px;
  border-radius: 0 var(--pga5-radius) var(--pga5-radius) 0;
}
.pga5-testimonial-name {
  font-weight: 600;
  color: var(--pga5-primary);
  font-size: 1.2rem;
}
.pga5-testimonial-text {
  font-size: 1.2rem;
  color: var(--pga5-text-muted);
  line-height: 1.5rem;
}

/* === Winner Ticker === */
.pga5-winner-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px solid var(--pga5-border);
  font-size: 1.2rem;
}
.pga5-winner-name { color: var(--pga5-primary-light); }
.pga5-winner-amount { color: var(--pga5-success); font-weight: 600; }

/* === Payment Icons === */
.pga5-payment-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0;
}
.pga5-payment-item {
  background: var(--pga5-bg-card);
  border: 1px solid var(--pga5-border);
  padding: 6px 12px;
  border-radius: var(--pga5-radius);
  font-size: 1.2rem;
  color: var(--pga5-text);
}

/* === Responsive === */
@media (min-width: 769px) {
  .pga5-bottom-nav { display: none; }
  .pga5-footer { padding-bottom: 20px; }
}
@media (max-width: 768px) {
  .pga5-main { padding-bottom: 80px; }
}
