/* play zone - shared stylesheet */
/* All custom classes use the pga6- prefix. Color palette: #FFB347 #00BFFF #1E1E1E #87CEFA #4169E1 */

:root {
  --pga6-primary: #00BFFF;
  --pga6-secondary: #FFB347;
  --pga6-accent: #4169E1;
  --pga6-light: #87CEFA;
  --pga6-bg: #1E1E1E;
  --pga6-bg-soft: #232a36;
  --pga6-bg-card: #2a2f3d;
  --pga6-text: #f5f8ff;
  --pga6-text-muted: #b9c4d6;
  --pga6-border: rgba(135, 206, 250, 0.22);
  --pga6-radius: 12px;
  --pga6-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
  --pga6-header-h: 60px;
  --pga6-bottomnav-h: 62px;
}

* { box-sizing: border-box; }

html {
  font-size: 62.5%;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, "PingFang SC", sans-serif;
  background: var(--pga6-bg);
  color: var(--pga6-text);
  line-height: 1.5;
  max-width: 430px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  overflow-x: hidden;
}

a { color: var(--pga6-secondary); text-decoration: none; }
a:hover, a:focus { color: var(--pga6-light); }
img { max-width: 100%; display: block; }

h1, h2, h3, h4 { margin: 0 0 .6rem; line-height: 1.3; font-weight: 700; }
h1 { font-size: 2.0rem; color: var(--pga6-text); }
h2 { font-size: 1.7rem; color: var(--pga6-light); }
h3 { font-size: 1.45rem; color: var(--pga6-secondary); }
p  { margin: 0 0 1rem; color: var(--pga6-text-muted); font-size: 1.35rem; }

/* ---------- Layout helpers ---------- */
.pga6-container { width: 100%; max-width: 430px; margin: 0 auto; padding: 0 1.2rem; }
.pga6-wrapper { padding: 1.6rem 0; }
.pga6-section { padding: 2.2rem 0; border-top: 1px solid var(--pga6-border); }
.pga6-section-alt { background: linear-gradient(180deg, #1b2230 0%, #1E1E1E 100%); }
.pga6-grid { display: grid; gap: 1rem; }
.pga6-text-center { text-align: center; }
.pga6-mt { margin-top: 1.4rem; }
.pga6-mb { margin-bottom: 1.4rem; }

/* ---------- Header ---------- */
.pga6-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(90deg, #14171f 0%, #1f2940 100%);
  border-bottom: 1px solid var(--pga6-border);
  box-shadow: 0 2px 10px rgba(0,0,0,.45);
}
.pga6-header-row {
  display: flex;
  align-items: center;
  gap: .8rem;
  padding: .55rem 1rem;
  min-height: var(--pga6-header-h);
}
.pga6-logo { display: flex; align-items: center; gap: .6rem; flex: 1; min-width: 0; }
.pga6-logo-icon {
  width: 34px; height: 34px; border-radius: 9px;
  background: linear-gradient(135deg, var(--pga6-secondary), var(--pga6-primary));
  display: flex; align-items: center; justify-content: center;
  color: #0d1320; font-weight: 800; font-size: 1.5rem;
  box-shadow: 0 3px 8px rgba(0,191,255,.35);
}
.pga6-logo-text { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.pga6-logo-text strong { color: var(--pga6-text); font-size: 1.4rem; letter-spacing: .2px; }
.pga6-logo-text span { color: var(--pga6-secondary); font-size: 1rem; }

.pga6-btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .35rem;
  border: none; border-radius: 999px;
  padding: .7rem 1.1rem;
  font-size: 1.25rem; font-weight: 700;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .2s ease;
  min-height: 38px; touch-action: manipulation;
}
.pga6-btn:active { transform: scale(.96); }
.pga6-btn-register {
  background: linear-gradient(135deg, var(--pga6-secondary), #ff8a3d);
  color: #1a1102;
  box-shadow: 0 4px 12px rgba(255,179,71,.45);
}
.pga6-btn-login {
  background: linear-gradient(135deg, var(--pga6-primary), var(--pga6-accent));
  color: #fff;
  box-shadow: 0 4px 12px rgba(0,191,255,.4);
}
.pga6-btn-promo {
  background: linear-gradient(135deg, var(--pga6-secondary), var(--pga6-primary));
  color: #14171f; padding: .9rem 1.4rem; font-size: 1.35rem;
}
.pga6-menu-toggle {
  background: transparent; border: none; color: var(--pga6-text);
  font-size: 1.6rem; cursor: pointer; padding: .4rem .6rem; min-width: 40px; min-height: 40px;
}

/* ---------- Mobile slide-down menu ---------- */
.pga6-mobile-menu {
  display: none;
  background: #161b27;
  border-bottom: 1px solid var(--pga6-border);
  padding: .6rem 1rem 1rem;
}
.pga6-mobile-menu.pga6-menu-open { display: block; }
.pga6-mobile-menu a {
  display: block; padding: .8rem .6rem;
  color: var(--pga6-text); font-size: 1.3rem;
  border-bottom: 1px dashed rgba(135,206,250,.15);
}
.pga6-mobile-menu a:last-child { border-bottom: none; }
.pga6-mobile-menu a:hover { background: rgba(0,191,255,.08); color: var(--pga6-secondary); }
.pga6-mobile-menu .pga6-menu-promo {
  margin-top: .6rem; text-align: center;
  background: linear-gradient(135deg, var(--pga6-secondary), var(--pga6-primary));
  color: #14171f; font-weight: 700; border-radius: 10px;
}

/* ---------- Carousel ---------- */
.pga6-carousel {
  position: relative;
  width: 100%;
  border-radius: var(--pga6-radius);
  overflow: hidden;
  box-shadow: var(--pga6-shadow);
  background: #0f1320;
}
.pga6-carousel-track { position: relative; width: 100%; aspect-ratio: 16 / 9; }
.pga6-carousel-slide {
  position: absolute; inset: 0;
  opacity: 0; transition: opacity .6s ease;
  display: flex; align-items: flex-end;
}
.pga6-carousel-slide img { width: 100%; height: 100%; object-fit: cover; }
.pga6-carousel-slide.pga6-active { opacity: 1; }
.pga6-carousel-cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1.2rem 1rem 1.4rem;
  background: linear-gradient(0deg, rgba(0,0,0,.78), transparent);
  color: #fff; font-size: 1.3rem; font-weight: 600;
}
.pga6-carousel-cap small { display: block; color: var(--pga6-secondary); font-size: 1.05rem; font-weight: 500; margin-top: .25rem; }
.pga6-carousel-dots {
  position: absolute; bottom: .6rem; right: .8rem;
  display: flex; gap: .35rem;
}
.pga6-carousel-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,.45); cursor: pointer; border: none; padding: 0;
}
.pga6-carousel-dot.pga6-active { background: var(--pga6-secondary); }

/* ---------- Hero text / banners ---------- */
.pga6-hero { padding: 1.2rem 0 0; }
.pga6-hero h1 { font-size: 2.1rem; }
.pga6-banner-btns { display: flex; gap: .7rem; flex-wrap: wrap; margin-top: 1rem; }
.pga6-pill {
  display: inline-block; padding: .3rem .8rem; border-radius: 999px;
  background: rgba(0,191,255,.12); color: var(--pga6-light);
  font-size: 1.05rem; margin: .2rem .25rem .2rem 0;
  border: 1px solid rgba(0,191,255,.25);
}

/* ---------- Game grid ---------- */
.pga6-cat-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: .9rem; gap: .6rem;
}
.pga6-cat-head h2 { margin: 0; font-size: 1.55rem; }
.pga6-cat-head .pga6-cat-link { font-size: 1.15rem; color: var(--pga6-secondary); white-space: nowrap; }
.pga6-cat-icon { width: 30px; height: 30px; border-radius: 8px; display:inline-flex; align-items:center; justify-content:center; background: rgba(255,179,71,.15); color: var(--pga6-secondary); }

.pga6-game-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .65rem;
}
.pga6-game-card {
  background: var(--pga6-bg-card);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--pga6-border);
  cursor: pointer;
  transition: transform .15s ease, border-color .2s ease, box-shadow .2s ease;
  display: block;
  text-align: center;
}
.pga6-game-card:hover, .pga6-game-card:focus {
  transform: translateY(-2px);
  border-color: var(--pga6-secondary);
  box-shadow: 0 6px 16px rgba(255,179,71,.18);
}
.pga6-game-card img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover;
  background: #0f1320;
}
.pga6-game-name {
  font-size: 1.05rem; color: var(--pga6-text);
  padding: .35rem .25rem .5rem; line-height: 1.2;
  min-height: 32px;
  display: flex; align-items: center; justify-content: center;
}
.pga6-game-tag {
  font-size: .95rem; color: var(--pga6-light);
  padding: 0 .25rem .4rem;
}

/* ---------- Feature / promo blocks ---------- */
.pga6-card {
  background: var(--pga6-bg-card);
  border: 1px solid var(--pga6-border);
  border-radius: var(--pga6-radius);
  padding: 1.2rem;
  margin-bottom: 1rem;
  box-shadow: var(--pga6-shadow);
}
.pga6-card h3 { margin-top: 0; }
.pga6-feature-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: .8rem; }
.pga6-feature-item {
  background: rgba(0,191,255,.06);
  border: 1px solid var(--pga6-border);
  border-radius: 10px; padding: .9rem;
  text-align: center;
}
.pga6-feature-item .ico { font-size: 1.8rem; color: var(--pga6-secondary); display:block; margin-bottom:.3rem; }
.pga6-feature-item strong { display:block; color: var(--pga6-text); font-size:1.2rem; }
.pga6-feature-item span { color: var(--pga6-text-muted); font-size:1.05rem; }

/* ---------- RTP table ---------- */
.pga6-rtp-table { width: 100%; border-collapse: collapse; font-size: 1.2rem; }
.pga6-rtp-table th, .pga6-rtp-table td {
  border: 1px solid var(--pga6-border);
  padding: .55rem .6rem; text-align: left;
}
.pga6-rtp-table th { background: rgba(0,191,255,.12); color: var(--pga6-light); }
.pga6-rtp-table td:first-child { color: var(--pga6-secondary); font-weight: 600; }

/* ---------- Testimonials ---------- */
.pga6-testimonial {
  background: linear-gradient(135deg, #20283b, #2a2f3d);
  border-left: 3px solid var(--pga6-secondary);
  border-radius: 8px; padding: .9rem 1rem; margin-bottom: .8rem;
}
.pga6-testimonial strong { color: var(--pga6-secondary); }
.pga6-testimonial .stars { color: #ffd66b; }

/* ---------- Winners / payment lists ---------- */
.pga6-list { list-style: none; padding: 0; margin: 0; }
.pga6-list li {
  padding: .55rem .2rem;
  border-bottom: 1px dashed rgba(135,206,250,.15);
  font-size: 1.2rem; color: var(--pga6-text-muted);
  display: flex; justify-content: space-between; gap: .6rem;
}
.pga6-list li:last-child { border-bottom: none; }
.pga6-list .amt { color: var(--pga6-secondary); font-weight: 700; }

.pga6-pay-grid { display:grid; grid-template-columns: repeat(3,1fr); gap:.6rem; }
.pga6-pay-item {
  background: #232a36; border:1px solid var(--pga6-border); border-radius: 8px;
  padding: .8rem .4rem; text-align:center; color: var(--pga6-light); font-size: 1.1rem;
}

/* ---------- FAQ ---------- */
.pga6-faq-item {
  background: var(--pga6-bg-card); border: 1px solid var(--pga6-border);
  border-radius: 8px; padding: .9rem 1rem; margin-bottom: .7rem;
}
.pga6-faq-item h4 { margin: 0 0 .4rem; color: var(--pga6-secondary); font-size: 1.25rem; }
.pga6-faq-item p { margin: 0; }

/* ---------- CTA banners ---------- */
.pga6-cta {
  background: linear-gradient(135deg, var(--pga6-secondary), var(--pga6-primary));
  border-radius: var(--pga6-radius);
  padding: 1.3rem; color: #14171f; text-align: center;
  margin: 1.2rem 0;
}
.pga6-cta h3 { color: #14171f; margin-bottom: .3rem; }
.pga6-cta p { color: #1a1102; }
.pga6-cta .pga6-btn { background: #14171f; color: var(--pga6-secondary); }

/* ---------- Footer ---------- */
.pga6-footer {
  background: #14171f; border-top: 1px solid var(--pga6-border);
  padding: 1.6rem 1rem 1rem; margin-top: 1.6rem;
}
.pga6-footer-links {
  display: grid; grid-template-columns: repeat(2,1fr); gap: .5rem;
  margin-bottom: 1rem;
}
.pga6-footer-links a { color: var(--pga6-text-muted); font-size: 1.15rem; }
.pga6-footer-promos {
  display: grid; grid-template-columns: repeat(2,1fr); gap:.5rem; margin: .8rem 0;
}
.pga6-footer-promos .pga6-btn { width: 100%; }
.pga6-footer p { font-size: 1.1rem; color: var(--pga6-text-muted); }
.pga6-footer .pga6-copy { text-align:center; padding-top:.8rem; border-top:1px solid var(--pga6-border); font-size:1.05rem; }

/* ---------- Bottom nav (mobile) ---------- */
.pga6-bottomnav {
  position: fixed; left: 0; right: 0; bottom: 0;
  z-index: 1000;
  max-width: 430px; margin: 0 auto;
  height: var(--pga6-bottomnav-h);
  background: linear-gradient(180deg, #1a2233, #11151f);
  border-top: 1px solid var(--pga6-border);
  display: flex; justify-content: space-around; align-items: stretch;
  box-shadow: 0 -3px 12px rgba(0,0,0,.5);
}
.pga6-bottomnav-btn {
  flex: 1; min-width: 60px; min-height: 60px;
  background: transparent; border: none;
  color: var(--pga6-text-muted);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .15rem; cursor: pointer;
  font-size: 1rem; padding: .35rem .2rem;
  transition: color .2s ease, transform .15s ease, background .2s ease;
}
.pga6-bottomnav-btn .ico { font-size: 2.0rem; line-height: 1; }
.pga6-bottomnav-btn .label { font-size: 1rem; }
.pga6-bottomnav-btn:hover { color: var(--pga6-light); }
.pga6-bottomnav-btn.pga6-active { color: var(--pga6-secondary); }
.pga6-bottomnav-btn.pga6-flash { transform: scale(1.08); color: var(--pga6-secondary); }
.pga6-bottomnav-btn .badge {
  position: absolute; transform: translate(8px,-6px);
  background: var(--pga6-secondary); color: #14171f;
  border-radius: 999px; padding: 0 .35rem; font-size: .9rem;
}

/* ---------- Flash utility ---------- */
.pga6-flash { animation: pga6flashAnim .35s ease; }
@keyframes pga6flashAnim {
  0% { transform: scale(1); }
  50% { transform: scale(1.04); }
  100% { transform: scale(1); }
}

/* ---------- Desktop / tablet rules ---------- */
@media (min-width: 769px) {
  body { max-width: 760px; }
  .pga6-bottomnav { display: none; }
  .pga6-game-grid { grid-template-columns: repeat(5, 1fr); }
  .pga6-feature-grid { grid-template-columns: repeat(4,1fr); }
}

/* Mobile bottom padding so content is not covered by fixed bottom nav. */
@media (max-width: 768px) {
  main.pga6-main { padding-bottom: 84px; }
}
