/* flappy bird - style-a395.css
   Palette: #1B263B | #87CEEB | #00CED1 | #EEEEEE | #B0E0E6 | #ECF0F1
   Dark = background, light = text/accent.
   All custom classes use the "pga3-" prefix. */

:root {
  --pga3-bg: #1B263B;
  --pga3-bg-soft: #243349;
  --pga3-sky: #87CEEB;
  --pga3-teal: #00CED1;
  --pga3-mist: #EEEEEE;
  --pga3-powder: #B0E0E6;
  --pga3-cloud: #ECF0F1;
  --pga3-text: #ECF0F1;
  --pga3-text-muted: #B0E0E6;
  --pga3-accent: #00CED1;
  --pga3-warning: #FFD166;
  --pga3-radius: 14px;
  --pga3-shadow: 0 6px 22px rgba(0, 0, 0, 0.28);
  --pga3-header-h: 58px;
  --pga3-bottomnav-h: 62px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: "Segoe UI", "Helvetica Neue", Roboto, system-ui, sans-serif;
  font-size: 1.5rem;
  line-height: 1.55;
  color: var(--pga3-text);
  background: linear-gradient(160deg, #1B263B 0%, #243349 60%, #1B263B 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: var(--pga3-sky); text-decoration: none; }

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

.pga3-wrapper { width: 100%; }

/* ===== Header ===== */
.pga3-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--pga3-header-h);
  background: rgba(27, 38, 59, 0.96);
  border-bottom: 1px solid rgba(135, 206, 235, 0.18);
  z-index: 1000;
  display: flex;
  align-items: center;
}

.pga3-header-inner {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.pga3-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
}

.pga3-logo-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: linear-gradient(135deg, #87CEEB, #00CED1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1B263B;
  font-size: 1.8rem;
  font-weight: 800;
  flex-shrink: 0;
}

.pga3-logo-text {
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--pga3-cloud);
  letter-spacing: 0.3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pga3-logo-text span { color: var(--pga3-teal); }

.pga3-header-actions { display: flex; align-items: center; gap: 8px; }

.pga3-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: none;
  cursor: pointer;
  font-weight: 700;
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 1.3rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
  min-height: 36px;
  line-height: 1;
}

.pga3-btn:active { transform: scale(0.96); }

.pga3-btn-login {
  background: transparent;
  color: var(--pga3-cloud);
  border: 1.5px solid var(--pga3-sky);
}

.pga3-btn-register {
  background: linear-gradient(135deg, #00CED1, #87CEEB);
  color: #1B263B;
  box-shadow: 0 4px 14px rgba(0, 206, 209, 0.35);
}

.pga3-menu-btn {
  background: transparent;
  border: none;
  color: var(--pga3-cloud);
  font-size: 2rem;
  cursor: pointer;
  padding: 6px;
  min-width: 38px;
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== Mobile Menu ===== */
.pga3-mobile-menu {
  position: fixed;
  top: 0; right: -80%;
  width: 80%;
  max-width: 320px;
  height: 100%;
  background: linear-gradient(180deg, #243349, #1B263B);
  z-index: 9999;
  padding: 70px 18px 30px;
  transition: right 0.28s ease;
  overflow-y: auto;
  border-left: 1px solid rgba(135, 206, 235, 0.18);
}

.pga3-mobile-menu.pga3-menu-open { right: 0; }

.pga3-menu-close {
  position: absolute;
  top: 14px; right: 14px;
  background: transparent;
  border: none;
  color: var(--pga3-cloud);
  font-size: 2.2rem;
  cursor: pointer;
}

.pga3-menu-title {
  font-size: 1.6rem;
  color: var(--pga3-teal);
  font-weight: 700;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.pga3-menu-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 10px;
  border-bottom: 1px solid rgba(176, 224, 230, 0.12);
  color: var(--pga3-cloud);
  font-size: 1.45rem;
}

.pga3-menu-link:active { background: rgba(0, 206, 209, 0.1); }

.pga3-menu-link i { color: var(--pga3-teal); width: 22px; text-align: center; }

.pga3-menu-mask {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease;
}

.pga3-menu-mask.pga3-mask-show { opacity: 1; visibility: visible; }

/* ===== Main / Sections ===== */
main.pga3-main {
  padding-top: calc(var(--pga3-header-h) + 6px);
  padding-bottom: calc(var(--pga3-bottomnav-h) + 24px);
}

.pga3-section { padding: 22px 0; }

.pga3-section-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.pga3-section-title {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--pga3-cloud);
}

.pga3-section-title span { color: var(--pga3-teal); }

.pga3-section-sub {
  font-size: 1.3rem;
  color: var(--pga3-text-muted);
  margin-bottom: 12px;
}

/* ===== Hero / Carousel ===== */
.pga3-hero {
  position: relative;
  border-radius: var(--pga3-radius);
  overflow: hidden;
  box-shadow: var(--pga3-shadow);
  margin-top: 14px;
}

.pga3-carousel { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #0e1626; }

.pga3-carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
  cursor: pointer;
}

.pga3-carousel-slide img { width: 100%; height: 100%; object-fit: cover; }

.pga3-carousel-slide.pga3-slide-active { opacity: 1; }

.pga3-carousel-caption {
  position: absolute;
  left: 14px; bottom: 14px; right: 14px;
  background: linear-gradient(transparent, rgba(0,0,0,0.6));
  color: #fff;
  padding: 18px 10px 6px;
  font-size: 1.4rem;
  font-weight: 600;
}

.pga3-carousel-dots {
  position: absolute;
  bottom: 8px; left: 0; right: 0;
  display: flex;
  justify-content: center;
  gap: 6px;
}

.pga3-carousel-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  border: none;
}

.pga3-carousel-dot.pga3-dot-active {
  background: var(--pga3-teal);
  width: 22px;
  border-radius: 5px;
}

/* ===== CTA ===== */
.pga3-cta {
  display: block;
  width: 100%;
  background: linear-gradient(135deg, #00CED1, #87CEEB);
  color: #1B263B;
  font-weight: 800;
  text-align: center;
  padding: 14px;
  border-radius: 12px;
  font-size: 1.6rem;
  margin: 14px 0;
  box-shadow: 0 6px 18px rgba(0, 206, 209, 0.35);
  border: none;
  cursor: pointer;
}

.pga3-text-link {
  color: var(--pga3-warning);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ===== Filter tabs ===== */
.pga3-filter-bar {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 6px 0 12px;
  -webkit-overflow-scrolling: touch;
}

.pga3-filter-tab {
  flex-shrink: 0;
  background: rgba(176, 224, 230, 0.12);
  color: var(--pga3-cloud);
  border: 1px solid rgba(135, 206, 235, 0.25);
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 1.3rem;
  cursor: pointer;
  white-space: nowrap;
}

.pga3-filter-tab.pga3-tab-active {
  background: var(--pga3-teal);
  color: #1B263B;
  border-color: var(--pga3-teal);
}

/* ===== Game grid ===== */
.pga3-game-section { margin-bottom: 26px; }

.pga3-game-section-title {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--pga3-sky);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pga3-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.pga3-card {
  background: var(--pga3-bg-soft);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(135, 206, 235, 0.15);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  display: flex;
  flex-direction: column;
}

.pga3-card:active {
  transform: scale(0.97);
  box-shadow: 0 4px 14px rgba(0, 206, 209, 0.35);
}

.pga3-card-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #0e1626;
}

.pga3-card-name {
  font-size: 1.15rem;
  color: var(--pga3-cloud);
  padding: 6px 6px 8px;
  text-align: center;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ===== Info / feature / faq cards ===== */
.pga3-card-info {
  background: var(--pga3-bg-soft);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 12px;
  border-left: 3px solid var(--pga3-teal);
}

.pga3-card-info h3 {
  font-size: 1.55rem;
  color: var(--pga3-sky);
  margin-bottom: 8px;
}

.pga3-card-info p {
  font-size: 1.35rem;
  color: var(--pga3-mist);
  line-height: 1.6;
}

.pga3-faq-item {
  background: var(--pga3-bg-soft);
  border-radius: 10px;
  margin-bottom: 10px;
  padding: 14px;
  border: 1px solid rgba(135, 206, 235, 0.12);
}

.pga3-faq-item h3 {
  font-size: 1.45rem;
  color: var(--pga3-teal);
  margin-bottom: 6px;
}

.pga3-faq-item p { font-size: 1.3rem; color: var(--pga3-mist); }

/* ===== Testimonials ===== */
.pga3-testimonial {
  background: var(--pga3-bg-soft);
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 10px;
  border-left: 3px solid var(--pga3-warning);
}

.pga3-testimonial-name {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--pga3-sky);
  margin-bottom: 4px;
}

.pga3-testimonial-text { font-size: 1.3rem; color: var(--pga3-mist); font-style: italic; }

.pga3-stars { color: var(--pga3-warning); font-size: 1.3rem; margin-bottom: 4px; }

/* ===== Payment methods ===== */
.pga3-pay-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.pga3-pay-chip {
  background: rgba(176, 224, 230, 0.14);
  border: 1px solid rgba(135, 206, 235, 0.3);
  color: var(--pga3-cloud);
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

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

.pga3-reveal.pga3-revealed { opacity: 1; transform: translateY(0); }

/* ===== Footer ===== */
.pga3-footer {
  background: rgba(14, 22, 38, 0.92);
  border-top: 1px solid rgba(135, 206, 235, 0.18);
  padding: 24px 0 20px;
  margin-top: 10px;
}

.pga3-footer p { font-size: 1.3rem; color: var(--pga3-text-muted); margin-bottom: 12px; line-height: 1.6; }

.pga3-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.pga3-footer-link {
  flex: 1 1 45%;
  background: rgba(0, 206, 209, 0.12);
  color: var(--pga3-cloud);
  border: 1px solid rgba(0, 206, 209, 0.3);
  border-radius: 8px;
  padding: 10px;
  text-align: center;
  font-size: 1.25rem;
  font-weight: 600;
}

.pga3-footer-copy {
  font-size: 1.2rem;
  color: var(--pga3-text-muted);
  text-align: center;
  margin-top: 12px;
  opacity: 0.8;
}

/* ===== Bottom Nav ===== */
.pga3-bottomnav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: var(--pga3-bottomnav-h);
  background: rgba(27, 38, 59, 0.98);
  border-top: 1px solid rgba(135, 206, 235, 0.22);
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  z-index: 1000;
  box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.35);
}

.pga3-bottomnav-btn {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--pga3-text-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  cursor: pointer;
  padding: 6px 2px;
  min-width: 60px;
  min-height: 60px;
  transition: color 0.18s ease, transform 0.18s ease;
  text-decoration: none;
  font-family: inherit;
}

.pga3-bottomnav-btn:active { transform: scale(0.92); }

.pga3-bottomnav-btn .pga3-nav-icon { font-size: 2.2rem; line-height: 1; }
.pga3-bottomnav-btn .material-icons.pga3-nav-icon { font-size: 24px; }
.pga3-bottomnav-btn .pga3-nav-label { font-size: 1.05rem; line-height: 1; }

.pga3-bottomnav-btn.pga3-nav-promo {
  color: var(--pga3-warning);
}

.pga3-bottomnav-btn.pga3-nav-current,
.pga3-bottomnav-btn:active {
  color: var(--pga3-teal);
}

.pga3-nav-badge {
  position: absolute;
  top: 6px; right: 50%;
  transform: translateX(16px);
  background: #ff5b5b;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 1px 6px;
}

.pga3-bottomnav-btn { position: relative; }

/* ===== Desktop ===== */
@media (min-width: 769px) {
  .pga3-bottomnav { display: none; }
  main.pga3-main { padding-bottom: 30px; }
  .pga3-container { max-width: 760px; }
  .pga3-grid { grid-template-columns: repeat(5, 1fr); }
  .pga3-menu-btn { display: none; }
}

/* ===== Small phones ===== */
@media (max-width: 360px) {
  .pga3-grid { grid-template-columns: repeat(2, 1fr); }
  .pga3-logo-text { font-size: 1.5rem; }
  .pga3-btn { padding: 7px 12px; font-size: 1.2rem; }
}
