/* ============================================================
 * Color Game - theme-a08b.css
 * Mobile-first (max 430px), Flexbox layouts.
 * Class prefix : pga0-
 * Palette     : #1C2833 (bg), #6C757D (muted), #9AFF9A (accent)
 * ========================================================== */

:root {
  --pga0-bg: #1C2833;
  --pga0-bg-2: #243447;
  --pga0-bg-3: #2C3E50;
  --pga0-muted: #6C757D;
  --pga0-accent: #9AFF9A;
  --pga0-accent-2: #5BE85B;
  --pga0-text: #F4F8FB;
  --pga0-text-soft: #C6D2DC;
  --pga0-gold: #FFD479;
  --pga0-danger: #FF7B7B;
  --pga0-radius: 14px;
  --pga0-radius-sm: 10px;
  --pga0-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  --pga0-shadow-lg: 0 14px 40px rgba(0, 0, 0, 0.45);
}

* { box-sizing: border-box; }

html { font-size: 62.5%; }

body {
  margin: 0;
  background: radial-gradient(circle at 20% 0%, #243447 0%, var(--pga0-bg) 55%);
  color: var(--pga0-text);
  font-family: "Segoe UI", "Helvetica Neue", system-ui, -apple-system, sans-serif;
  font-size: 1.5rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

a { color: var(--pga0-accent); text-decoration: none; }
a:hover { color: var(--pga0-accent-2); text-decoration: underline; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 0.8em; font-weight: 700; }
h1 { font-size: 2.2rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.7rem; }
h4 { font-size: 1.5rem; }
p { margin: 0 0 1.1em; }

.pga0-container { width: 100%; max-width: 430px; margin: 0 auto; padding: 0 14px; }
.pga0-wrapper { width: 100%; max-width: 430px; margin: 0 auto; }

/* ===== Header ===== */
.pga0-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(28, 40, 51, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(154, 255, 154, 0.18);
}
.pga0-header-inner {
  max-width: 430px;
  margin: 0 auto;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.pga0-brand { display: flex; align-items: center; gap: 8px; flex: 1; min-width: 0; }
.pga0-brand img { width: 28px; height: 28px; border-radius: 6px; }
.pga0-brand-name { font-weight: 800; font-size: 1.6rem; color: var(--pga0-text); white-space: nowrap; }
.pga0-brand-name span { color: var(--pga0-accent); }

.pga0-header-actions { display: flex; gap: 6px; align-items: center; }
.pga0-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border: none;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 1.25rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  min-height: 34px;
  line-height: 1;
}
.pga0-btn:hover { text-decoration: none; transform: translateY(-1px); }
.pga0-btn:active { transform: scale(0.96); }
.pga0-btn-primary { background: linear-gradient(135deg, var(--pga0-accent), var(--pga0-accent-2)); color: #0E1B12; }
.pga0-btn-ghost { background: transparent; color: var(--pga0-text); border: 1.5px solid rgba(154, 255, 154, 0.55); }
.pga0-btn-gold { background: linear-gradient(135deg, var(--pga0-gold), #F0A93B); color: #1a1206; }
.pga0-btn-block { width: 100%; padding: 12px 16px; font-size: 1.45rem; }

.pga0-menu-toggle {
  background: transparent;
  border: none;
  color: var(--pga0-text);
  font-size: 2rem;
  cursor: pointer;
  padding: 4px 8px;
  line-height: 1;
}

/* ===== Mobile drawer menu ===== */
.pga0-mobile-menu {
  position: fixed;
  top: 0; right: -100%;
  width: 78%; max-width: 320px;
  height: 100vh;
  background: var(--pga0-bg-2);
  z-index: 9999;
  padding: 70px 18px 24px;
  overflow-y: auto;
  transition: right 0.28s ease;
  box-shadow: var(--pga0-shadow-lg);
}
.pga0-mobile-menu.pga0-menu-open { right: 0; }
.pga0-mobile-menu h3 { color: var(--pga0-accent); font-size: 1.4rem; text-transform: uppercase; letter-spacing: 1px; margin-top: 18px; }
.pga0-mobile-menu a {
  display: block;
  padding: 10px 12px;
  margin: 4px 0;
  color: var(--pga0-text);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  font-size: 1.4rem;
}
.pga0-mobile-menu a:hover { background: rgba(154, 255, 154, 0.12); text-decoration: none; }
.pga0-menu-close {
  position: absolute; top: 14px; right: 14px;
  background: transparent; border: none; color: var(--pga0-text);
  font-size: 2.2rem; cursor: pointer;
}
.pga0-overlay {
  position: fixed; inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9998;
  display: none;
}
.pga0-no-scroll { overflow: hidden; }

/* ===== Hero carousel ===== */
.pga0-main { padding-top: 56px; }
.pga0-hero {
  position: relative;
  margin: 12px 0 18px;
  border-radius: var(--pga0-radius);
  overflow: hidden;
  box-shadow: var(--pga0-shadow);
}
.pga0-hero-track { position: relative; height: 190px; }
.pga0-hero-slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity var(--pga0-carousel-fade, 0.6s) ease;
  cursor: pointer;
}
.pga0-hero-slide.pga0-active { opacity: 1; }
.pga0-hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.pga0-hero-caption {
  position: absolute; left: 12px; bottom: 12px;
  background: rgba(28, 40, 51, 0.75);
  padding: 6px 12px; border-radius: 8px;
  font-size: 1.3rem; color: var(--pga0-accent); font-weight: 700;
}
.pga0-hero-dots {
  position: absolute; bottom: 8px; right: 12px;
  display: flex; gap: 5px;
}
.pga0-hero-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  border: none; cursor: pointer; padding: 0;
}
.pga0-hero-dot.pga0-active { background: var(--pga0-accent); }
.pga0-hero-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.35); color: #fff;
  border: none; padding: 6px 10px; font-size: 1.6rem; cursor: pointer;
  border-radius: 8px;
}
.pga0-hero-nav.pga0-prev { left: 6px; }
.pga0-hero-nav.pga0-next { right: 6px; }

/* ===== Section ===== */
.pga0-section { padding: 18px 0; }
.pga0-section-title {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 12px;
}
.pga0-section-title h2 { margin: 0; color: var(--pga0-text); }
.pga0-section-title .pga0-accent-bar { width: 4px; height: 22px; background: var(--pga0-accent); border-radius: 4px; }
.pga0-section-sub { color: var(--pga0-text-soft); font-size: 1.35rem; margin-bottom: 12px; }

/* ===== Filter chips ===== */
.pga0-filters { display: flex; gap: 6px; overflow-x: auto; padding: 4px 0 10px; }
.pga0-filter-chip {
  flex: 0 0 auto;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--pga0-text-soft);
  border: 1px solid rgba(154, 255, 154, 0.25);
  border-radius: 999px;
  font-size: 1.25rem;
  cursor: pointer;
  white-space: nowrap;
}
.pga0-filter-chip.pga0-active { background: var(--pga0-accent); color: #0E1B12; border-color: var(--pga0-accent); }

/* ===== Game grid ===== */
.pga0-game-group { margin-bottom: 22px; }
.pga0-group-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 10px;
}
.pga0-group-head h3 { margin: 0; color: var(--pga0-accent); font-size: 1.55rem; text-transform: uppercase; letter-spacing: 0.5px; }
.pga0-group-head .pga0-tag { font-size: 1.15rem; color: var(--pga0-text-soft); background: rgba(255,255,255,0.05); padding: 2px 8px; border-radius: 999px; }
.pga0-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.pga0-card {
  background: var(--pga0-bg-2);
  border-radius: var(--pga0-radius-sm);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  cursor: pointer;
  display: block;
}
.pga0-card:hover { transform: translateY(-2px); box-shadow: var(--pga0-shadow); text-decoration: none; }
.pga0-card-img { position: relative; aspect-ratio: 1 / 1; background: #0f1820; }
.pga0-card-img img { width: 100%; height: 100%; object-fit: cover; }
.pga0-card-badge {
  position: absolute; top: 6px; left: 6px;
  background: var(--pga0-gold); color: #1a1206;
  font-size: 1rem; font-weight: 700;
  padding: 2px 6px; border-radius: 6px;
}
.pga0-card-title {
  font-size: 1.2rem;
  color: var(--pga0-text);
  text-align: center;
  padding: 6px 4px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ===== Feature / info blocks ===== */
.pga0-panel {
  background: var(--pga0-bg-2);
  border-radius: var(--pga0-radius);
  padding: 16px;
  margin-bottom: 14px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.pga0-panel h3 { color: var(--pga0-accent); }
.pga0-list { padding-left: 18px; margin: 0 0 12px; }
.pga0-list li { margin-bottom: 6px; color: var(--pga0-text-soft); }
.pga0-callout {
  background: linear-gradient(135deg, rgba(154,255,154,0.12), rgba(91,232,91,0.05));
  border-left: 4px solid var(--pga0-accent);
  border-radius: 10px;
  padding: 12px 14px;
  margin: 12px 0;
}
.pga0-callout strong { color: var(--pga0-accent); }

/* ===== RTP / stats ===== */
.pga0-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.pga0-stat {
  background: rgba(255,255,255,0.04);
  border-radius: 10px;
  padding: 10px;
  text-align: center;
}
.pga0-stat-num { font-size: 1.9rem; font-weight: 800; color: var(--pga0-accent); }
.pga0-stat-label { font-size: 1.15rem; color: var(--pga0-text-soft); }

.pga0-rtp-row { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; font-size: 1.25rem; }
.pga0-rtp-row .pga0-rtp-name { flex: 0 0 100px; color: var(--pga0-text-soft); }
.pga0-rtp-bar { flex: 1; height: 8px; background: rgba(255,255,255,0.08); border-radius: 999px; overflow: hidden; }
.pga0-rtp-fill { height: 100%; background: linear-gradient(90deg, var(--pga0-accent), var(--pga0-accent-2)); border-radius: 999px; }
.pga0-rtp-val { flex: 0 0 50px; text-align: right; color: var(--pga0-accent); font-weight: 700; }

/* ===== Testimonial ===== */
.pga0-testimonials { display: grid; gap: 10px; }
.pga0-testi {
  background: var(--pga0-bg-2);
  padding: 12px;
  border-radius: 10px;
  border-left: 3px solid var(--pga0-gold);
}
.pga0-testi p { margin: 0 0 6px; font-size: 1.3rem; }
.pga0-testi-meta { font-size: 1.15rem; color: var(--pga0-muted); }

/* ===== Payment icons ===== */
.pga0-pay { display: flex; flex-wrap: wrap; gap: 8px; }
.pga0-pay span {
  background: rgba(255,255,255,0.06);
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 1.15rem;
  color: var(--pga0-text-soft);
  border: 1px solid rgba(255,255,255,0.05);
}

/* ===== Winners ticker ===== */
.pga0-winners { background: var(--pga0-bg-2); border-radius: var(--pga0-radius); padding: 10px 12px; }
.pga0-winner-row { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px dashed rgba(255,255,255,0.08); font-size: 1.25rem; }
.pga0-winner-row:last-child { border-bottom: none; }
.pga0-winner-name { color: var(--pga0-text); }
.pga0-winner-amt { color: var(--pga0-gold); font-weight: 700; }

/* ===== FAQ ===== */
.pga0-faq-item {
  background: var(--pga0-bg-2);
  border-radius: 10px;
  padding: 12px;
  margin-bottom: 8px;
  border: 1px solid rgba(255,255,255,0.05);
}
.pga0-faq-q { font-weight: 700; color: var(--pga0-accent); margin-bottom: 6px; font-size: 1.35rem; }
.pga0-faq-a { color: var(--pga0-text-soft); font-size: 1.3rem; margin: 0; }

/* ===== Footer ===== */
.pga0-footer {
  background: var(--pga0-bg-2);
  padding: 24px 14px 96px;
  margin-top: 18px;
  border-top: 1px solid rgba(154, 255, 154, 0.15);
  font-size: 1.25rem;
  color: var(--pga0-text-soft);
}
.pga0-footer-brand { font-size: 1.45rem; color: var(--pga0-text); margin-bottom: 8px; }
.pga0-footer-brand span { color: var(--pga0-accent); }
.pga0-footer-links { display: flex; flex-wrap: wrap; gap: 6px 12px; margin: 12px 0; }
.pga0-footer-links a { font-size: 1.2rem; color: var(--pga0-text-soft); }
.pga0-footer-cta { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.pga0-footer-copy { font-size: 1.15rem; color: var(--pga0-muted); margin-top: 12px; text-align: center; }

/* ===== Bottom nav ===== */
.pga0-bottomnav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: 60px;
  background: rgba(28, 40, 51, 0.98);
  border-top: 1px solid rgba(154, 255, 154, 0.25);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.35);
}
.pga0-bottomnav-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: var(--pga0-text-soft);
  font-size: 1.05rem;
  min-width: 60px;
  min-height: 58px;
  background: transparent;
  border: none;
  cursor: pointer;
  text-decoration: none;
  padding: 4px 2px;
  transition: color 0.18s ease, transform 0.18s ease;
}
.pga0-bottomnav-btn:hover { color: var(--pga0-accent); text-decoration: none; transform: translateY(-2px); }
.pga0-bottomnav-btn:active { transform: scale(0.92); }
.pga0-bottomnav-btn .pga0-ico { font-size: 2.2rem; line-height: 1; }
.pga0-bottomnav-btn .material-icons.pga0-ico { font-size: 2.4rem; }
.pga0-bottomnav-btn.pga0-current { color: var(--pga0-accent); }
.pga0-bottomnav-btn.pga0-current::after {
  content: ''; display: block; width: 22px; height: 3px;
  background: var(--pga0-accent); border-radius: 999px; margin-top: 2px;
}

/* ===== CTA band ===== */
.pga0-cta-band {
  background: linear-gradient(135deg, var(--pga0-bg-3), var(--pga0-bg-2));
  border-radius: var(--pga0-radius);
  padding: 18px 14px;
  text-align: center;
  margin: 16px 0;
  border: 1px solid rgba(154, 255, 154, 0.2);
}
.pga0-cta-band h3 { color: var(--pga0-accent); margin-bottom: 6px; }
.pga0-cta-band p { color: var(--pga0-text-soft); margin-bottom: 12px; font-size: 1.3rem; }

/* ===== Reveal animation ===== */
.pga0-reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.55s ease, transform 0.55s ease; }
.pga0-reveal.pga0-in { opacity: 1; transform: translateY(0); }

/* ===== Anchor helper ===== */
.pga0-text-link { color: var(--pga0-accent); font-weight: 700; }
.pga0-text-link:hover { text-decoration: underline; }

/* ===== Desktop handling ===== */
@media (min-width: 769px) {
  .pga0-bottomnav { display: none; }
  .pga0-container, .pga0-wrapper, .pga0-header-inner, .pga0-footer { max-width: 760px; }
  .pga0-grid { grid-template-columns: repeat(6, 1fr); }
  .pga0-footer { padding-bottom: 28px; }
}

@media (max-width: 768px) {
  .pga0-main { padding-bottom: 80px; }
}
