/*!
 * 888 bingo - design.css
 * Mobile-first styling for the 888 bingo gaming site.
 * Palette: sienna / burlywood / purple / dark oil / saddle brown.
 * All custom classes use the pga0- prefix per project convention.
 */

:root {
  --pga0-primary: #800080;        /* purple brand */
  --pga0-secondary: #DEB887;      /* burlywood accent */
  --pga0-sienna: #A0522D;         /* warm sienna */
  --pga0-saddle: #8B4513;         /* saddle brown */
  --pga0-bg: #1C2833;             /* deep dark base */
  --pga0-bg-alt: #243447;         /* lifted dark surface */
  --pga0-text: #EEEEEE;           /* light text */
  --pga0-muted: #B7C2CE;          /* muted text */
  --pga0-gold: #E6B450;           /* gold highlight */
  --pga0-border: rgba(222, 184, 135, 0.25);
  --pga0-radius: 12px;
  --pga0-shadow: 0 6px 22px rgba(0, 0, 0, 0.38);
}

/* Reset & base */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 62.5%; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  background: var(--pga0-bg);
  color: var(--pga0-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--pga0-secondary); text-decoration: none; }
a:hover { color: var(--pga0-gold); }

/* Layout */
.pga0-wrapper {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  position: relative;
  background: linear-gradient(180deg, #1C2833 0%, #20283a 100%);
  min-height: 100vh;
}
.pga0-container {
  width: 100%;
  padding: 0 1.2rem;
}

/* Header */
.pga0-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(28, 40, 51, 0.96);
  border-bottom: 1px solid var(--pga0-border);
  backdrop-filter: blur(8px);
}
.pga0-header-inner {
  max-width: 430px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1.2rem;
  gap: 0.8rem;
}
.pga0-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex: 1;
  min-width: 0;
}
.pga0-brand img {
  width: 30px; height: 30px;
  border-radius: 6px;
}
.pga0-brand-name {
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--pga0-secondary);
  white-space: nowrap;
}
.pga0-brand-name span { color: var(--pga0-gold); }

.pga0-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: none;
  border-radius: 999px;
  padding: 0.7rem 1.3rem;
  font-size: 1.25rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  min-height: 38px;
}
.pga0-btn:active { transform: scale(0.96); }
.pga0-btn--register {
  background: linear-gradient(135deg, #800080, #A0522D);
  color: #fff;
  box-shadow: 0 4px 12px rgba(128, 0, 128, 0.4);
}
.pga0-btn--login {
  background: transparent;
  color: var(--pga0-secondary);
  border: 1.5px solid var(--pga0-secondary);
}
.pga0-btn--ghost {
  background: var(--pga0-bg-alt);
  color: var(--pga0-text);
}
.pga0-btn--gold {
  background: linear-gradient(135deg, var(--pga0-gold), var(--pga0-saddle));
  color: #1C2833;
  font-weight: 800;
}
.pga0-header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.pga0-menu-btn {
  background: transparent;
  border: none;
  color: var(--pga0-text);
  font-size: 2rem;
  cursor: pointer;
  padding: 0.4rem 0.6rem;
  border-radius: 6px;
}

/* Mobile menu drawer */
.pga0-mobile-menu {
  position: fixed;
  top: 0; right: -100%;
  width: 80%;
  max-width: 320px;
  height: 100vh;
  background: var(--pga0-bg-alt);
  z-index: 9999;
  padding: 6rem 1.5rem 2rem;
  transition: right 0.3s ease;
  overflow-y: auto;
  border-left: 1px solid var(--pga0-border);
}
.pga0-menu--open { right: 0; }
.pga0-mobile-menu h4 {
  font-size: 1.3rem;
  color: var(--pga0-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 1rem 0 0.5rem;
}
.pga0-mobile-menu a {
  display: block;
  padding: 0.9rem 0.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  color: var(--pga0-text);
  font-size: 1.4rem;
}
.pga0-mobile-menu a:hover { color: var(--pga0-gold); padding-left: 1rem; }
.pga0-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.pga0-overlay--show { opacity: 1; pointer-events: auto; }

/* Hero / Carousel */
.pga0-hero {
  margin-top: 64px;
  padding: 1rem 0 0;
}
.pga0-carousel {
  position: relative;
  overflow: hidden;
  border-radius: var(--pga0-radius);
  margin: 0 1.2rem;
  box-shadow: var(--pga0-shadow);
}
.pga0-carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}
.pga0-carousel-slide {
  min-width: 100%;
  position: relative;
}
.pga0-carousel-slide img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.pga0-carousel-cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 0.9rem 1.2rem;
  background: linear-gradient(180deg, transparent, rgba(28,40,51,0.95));
}
.pga0-carousel-cap h2 {
  font-size: 1.7rem;
  color: var(--pga0-secondary);
  margin-bottom: 0.3rem;
}
.pga0-carousel-cap p {
  font-size: 1.2rem;
  color: var(--pga0-text);
}
.pga0-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 0;
}
.pga0-carousel-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  border: none;
  cursor: pointer;
}
.pga0-dot--active { background: var(--pga0-gold); width: 22px; border-radius: 4px; }

/* Section blocks */
.pga0-section {
  padding: 1.6rem 1.2rem;
}
.pga0-section-title {
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--pga0-secondary);
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.pga0-section-title i { color: var(--pga0-gold); }
.pga0-section-sub {
  font-size: 1.25rem;
  color: var(--pga0-muted);
  margin-bottom: 1rem;
}

/* Filter tabs */
.pga0-filter-bar {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.6rem;
  margin-bottom: 0.6rem;
}
.pga0-filter-tab {
  background: var(--pga0-bg-alt);
  color: var(--pga0-text);
  border: 1px solid var(--pga0-border);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-size: 1.2rem;
  cursor: pointer;
  white-space: nowrap;
}
.pga0-filter-tab--active {
  background: linear-gradient(135deg, var(--pga0-primary), var(--pga0-sienna));
  color: #fff;
  border-color: transparent;
}

/* Game grid */
.pga0-game-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}
.pga0-game-card {
  background: var(--pga0-bg-alt);
  border-radius: var(--pga0-radius);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  position: relative;
  border: 1px solid transparent;
}
.pga0-game-card:hover {
  transform: translateY(-3px);
  border-color: var(--pga0-gold);
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}
.pga0-game-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}
.pga0-game-card-name {
  padding: 0.5rem 0.4rem;
  font-size: 1.1rem;
  color: var(--pga0-text);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pga0-game-cat-label {
  font-size: 1.35rem;
  color: var(--pga0-gold);
  margin: 1rem 0 0.6rem;
  font-weight: 700;
  text-transform: capitalize;
  border-left: 3px solid var(--pga0-primary);
  padding-left: 0.7rem;
}

/* Cards / panels */
.pga0-card {
  background: var(--pga0-bg-alt);
  border-radius: var(--pga0-radius);
  padding: 1.2rem;
  margin-bottom: 1rem;
  border: 1px solid var(--pga0-border);
}
.pga0-card h3 {
  font-size: 1.4rem;
  color: var(--pga0-secondary);
  margin-bottom: 0.5rem;
}
.pga0-card p {
  font-size: 1.25rem;
  color: var(--pga0-muted);
  margin-bottom: 0.6rem;
}
.pga0-card ul { list-style: none; }
.pga0-card ul li {
  padding: 0.4rem 0 0.4rem 1.6rem;
  position: relative;
  font-size: 1.25rem;
  color: var(--pga0-text);
}
.pga0-card ul li:before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--pga0-gold);
  font-size: 1rem;
}

/* Promo CTA */
.pga0-cta {
  background: linear-gradient(135deg, #800080 0%, #8B4513 100%);
  border-radius: var(--pga0-radius);
  padding: 1.5rem 1.2rem;
  text-align: center;
  margin: 1rem 1.2rem;
  box-shadow: var(--pga0-shadow);
}
.pga0-cta h3 {
  font-size: 1.7rem;
  color: #fff;
  margin-bottom: 0.4rem;
}
.pga0-cta p {
  font-size: 1.25rem;
  color: rgba(255,255,255,0.88);
  margin-bottom: 1rem;
}

/* Inline promo link */
.pga0-promo-link {
  color: var(--pga0-gold);
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
}

/* Stats / RTP grid */
.pga0-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.7rem;
}
.pga0-stat {
  background: var(--pga0-bg);
  border-radius: 8px;
  padding: 0.8rem;
  text-align: center;
  border: 1px solid var(--pga0-border);
}
.pga0-stat-num {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--pga0-gold);
}
.pga0-stat-label {
  font-size: 1.1rem;
  color: var(--pga0-muted);
}

/* Payment chips */
.pga0-pay-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.pga0-pay-chip {
  background: var(--pga0-bg);
  border: 1px solid var(--pga0-border);
  border-radius: 6px;
  padding: 0.4rem 0.8rem;
  font-size: 1.1rem;
  color: var(--pga0-text);
}

/* Testimonials */
.pga0-review {
  background: var(--pga0-bg);
  border-left: 3px solid var(--pga0-primary);
  padding: 0.8rem 1rem;
  border-radius: 6px;
  margin-bottom: 0.7rem;
}
.pga0-review p { font-size: 1.2rem; color: var(--pga0-text); font-style: italic; }
.pga0-review .pga0-review-by { font-size: 1.1rem; color: var(--pga0-gold); margin-top: 0.3rem; }

/* Winner showcase */
.pga0-winner {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px dashed rgba(255,255,255,0.08);
  font-size: 1.2rem;
}
.pga0-winner span:last-child { color: var(--pga0-gold); font-weight: 700; }

/* Footer */
.pga0-footer {
  background: #141d27;
  padding: 2rem 1.2rem 6rem;
  border-top: 1px solid var(--pga0-border);
  margin-top: 1.5rem;
}
.pga0-footer-brand {
  font-size: 1.5rem;
  color: var(--pga0-secondary);
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.pga0-footer p {
  font-size: 1.2rem;
  color: var(--pga0-muted);
  margin-bottom: 1rem;
}
.pga0-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.pga0-footer-links a {
  background: var(--pga0-bg-alt);
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  font-size: 1.1rem;
  border: 1px solid var(--pga0-border);
}
.pga0-footer-copy {
  font-size: 1.1rem;
  color: var(--pga0-muted);
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 1rem;
}

/* Bottom navigation */
.pga0-bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: 62px;
  background: rgba(20, 29, 39, 0.98);
  border-top: 1px solid var(--pga0-border);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  backdrop-filter: blur(8px);
}
.pga0-bottom-nav-btn {
  background: transparent;
  border: none;
  color: var(--pga0-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-width: 60px;
  min-height: 60px;
  cursor: pointer;
  font-size: 1rem;
  flex: 1;
  transition: color 0.15s ease, transform 0.15s ease;
}
.pga0-bottom-nav-btn .material-icons,
.pga0-bottom-nav-btn i,
.pga0-bottom-nav-btn ion-icon {
  font-size: 22px;
}
.pga0-bottom-nav-btn:hover { color: var(--pga0-gold); }
.pga0-bottom-nav-btn:active { transform: scale(0.92); }
.pga0-bottom-nav-btn--active { color: var(--pga0-gold); }
.pga0-bottom-nav-btn--promo { color: var(--pga0-secondary); }

main { padding-bottom: 80px; }

/* Desktop rules */
@media (min-width: 769px) {
  .pga0-bottom-nav { display: none; }
  main { padding-bottom: 1rem; }
}

/* Utility */
.pga0-text-center { text-align: center; }
.pga0-mt-1 { margin-top: 0.5rem; }
.pga0-mt-2 { margin-top: 1rem; }
.pga0-hidden-mobile { display: none; }
@media (min-width: 769px) {
  .pga0-hidden-mobile { display: block; }
}
