/*!
 * aq9.click - design-a567.css
 * Mobile-first styles for aq9 basefiles. All custom classes use the pga5- prefix.
 * Palette: #C71585 (primary) | #FFB6C1 (soft pink) | #2D2D2D (dark bg) | #FFDFBA (warm sand) | #EE82EE (violet)
 * Root font 62.5% -> 1rem = 10px.
 */
:root {
  --pga5-primary: #C71585;
  --pga5-pink: #FFB6C1;
  --pga5-bg: #2D2D2D;
  --pga5-bg-deep: #1f1f1f;
  --pga5-sand: #FFDFBA;
  --pga5-violet: #EE82EE;
  --pga5-text: #ffffff;
  --pga5-text-muted: #d9d9d9;
  --pga5-card: #3a3a3a;
  --pga5-border: rgba(255, 223, 186, 0.18);
  --pga5-shadow: 0 0.4rem 1.2rem rgba(0, 0, 0, 0.45);
  --pga5-radius: 1.2rem;
  --pga5-radius-sm: 0.8rem;
  --pga5-header-h: 6rem;
  --pga5-bottom-h: 6.2rem;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 62.5%; -webkit-text-size-adjust: 100%; }
body {
  font-family: "Segoe UI", "Noto Sans Bengali", "SolaimanLipi", system-ui, sans-serif;
  background: var(--pga5-bg);
  color: var(--pga5-text);
  line-height: 1.5;
  font-size: 1.5rem;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--pga5-violet); text-decoration: none; }
a:hover { color: var(--pga5-pink); }

.pga5-container { width: 100%; max-width: 430px; margin: 0 auto; padding: 0 1.2rem; }
.pga5-wrapper { min-height: 100vh; display: flex; flex-direction: column; }
main.pga5-main { flex: 1; padding-top: var(--pga5-header-h); }

/* ===== Header ===== */
.pga5-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: linear-gradient(135deg, var(--pga5-bg-deep), #3a1f33);
  border-bottom: 0.2rem solid var(--pga5-primary);
  box-shadow: var(--pga5-shadow);
}
.pga5-header-inner {
  max-width: 430px; margin: 0 auto; height: var(--pga5-header-h);
  display: flex; align-items: center; justify-content: space-between; padding: 0 1rem;
}
.pga5-logo { display: flex; align-items: center; gap: 0.6rem; color: var(--pga5-text); font-weight: 800; font-size: 1.8rem; }
.pga5-logo img { width: 2.8rem; height: 2.8rem; border-radius: 0.6rem; }
.pga5-logo .pga5-logo-text { background: linear-gradient(90deg, var(--pga5-violet), var(--pga5-pink)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pga5-header-actions { display: flex; align-items: center; gap: 0.6rem; }
.pga5-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  padding: 0.7rem 1.2rem; border: none; border-radius: 2rem; font-size: 1.3rem;
  font-weight: 700; cursor: pointer; transition: transform 0.15s ease, box-shadow 0.15s ease; min-height: 4rem;
}
.pga5-btn:active { transform: scale(0.96); }
.pga5-btn-register { background: linear-gradient(90deg, var(--pga5-primary), var(--pga5-violet)); color: #fff; box-shadow: 0 0.4rem 1rem rgba(199, 21, 133, 0.4); }
.pga5-btn-login { background: transparent; color: var(--pga5-sand); border: 0.15rem solid var(--pga5-sand); }
.pga5-btn-login:hover { background: var(--pga5-sand); color: var(--pga5-bg-deep); }
.pga5-menu-btn {
  background: transparent; border: none; color: var(--pga5-text); font-size: 2.2rem; cursor: pointer;
  width: 4rem; height: 4rem; border-radius: 0.6rem; display: flex; align-items: center; justify-content: center;
}
.pga5-menu-btn:hover { background: rgba(255, 255, 255, 0.08); }

/* ===== Mobile nav drawer ===== */
.pga5-mobile-nav {
  position: fixed; top: var(--pga5-header-h); left: 0; right: 0; z-index: 9999;
  background: var(--pga5-bg-deep); border-bottom: 0.2rem solid var(--pga5-primary);
  max-height: 0; overflow: hidden; transition: max-height 0.3s ease;
}
.pga5-mobile-nav.pga5-menu-open { max-height: 60rem; }
.pga5-mobile-nav-inner { max-width: 430px; margin: 0 auto; padding: 1rem 1.2rem 1.6rem; display: flex; flex-direction: column; gap: 0.4rem; }
.pga5-mobile-nav a {
  display: flex; align-items: center; gap: 0.8rem; padding: 1rem 1rem; color: var(--pga5-text);
  border-radius: 0.8rem; font-size: 1.4rem; font-weight: 600;
}
.pga5-mobile-nav a:hover { background: rgba(238, 130, 238, 0.15); color: var(--pga5-violet); }
.pga5-mobile-nav a i { width: 2.4rem; text-align: center; color: var(--pga5-pink); }

/* ===== Hero carousel ===== */
.pga5-carousel { position: relative; width: 100%; max-width: 430px; margin: 1.2rem auto 0; border-radius: var(--pga5-radius); overflow: hidden; box-shadow: var(--pga5-shadow); }
.pga5-carousel-viewport { overflow: hidden; }
.pga5-carousel-track { display: flex; transition: transform 0.5s ease; }
.pga5-carousel-slide { min-width: 100%; position: relative; cursor: pointer; }
.pga5-carousel-slide img { width: 100%; height: 18rem; object-fit: cover; }
.pga5-carousel-slide .pga5-slide-caption {
  position: absolute; left: 1rem; bottom: 1rem; right: 1rem; text-align: left;
  background: linear-gradient(90deg, rgba(0,0,0,0.65), rgba(0,0,0,0.1)); padding: 0.6rem 1rem; border-radius: 0.6rem;
  font-size: 1.3rem; color: #fff; font-weight: 700;
}
.pga5-carousel-dots { position: absolute; bottom: 0.8rem; left: 50%; transform: translateX(-50%); display: flex; gap: 0.5rem; }
.pga5-carousel-dot { width: 0.8rem; height: 0.8rem; border-radius: 50%; background: rgba(255, 255, 255, 0.4); border: none; cursor: pointer; }
.pga5-carousel-dot.pga5-dot-active { background: var(--pga5-violet); width: 2rem; border-radius: 0.5rem; }

/* ===== Section & headings ===== */
.pga5-section { padding: 2rem 0 1rem; }
.pga5-section-title {
  font-size: 2rem; font-weight: 800; margin-bottom: 1rem; padding-bottom: 0.6rem;
  border-bottom: 0.15rem solid var(--pga5-border); display: flex; align-items: center; gap: 0.6rem;
}
.pga5-section-title i { color: var(--pga5-violet); }
.pga5-section-title .pga5-title-accent { color: var(--pga5-pink); }
.pga5-intro { color: var(--pga5-text-muted); font-size: 1.4rem; margin-bottom: 1.4rem; }
.pga5-para { color: var(--pga5-text-muted); margin-bottom: 1rem; font-size: 1.4rem; line-height: 1.6; }

/* ===== Filter chips ===== */
.pga5-filter-bar { display: flex; gap: 0.6rem; overflow-x: auto; padding: 0.4rem 0 1rem; -webkit-overflow-scrolling: touch; }
.pga5-filter-bar::-webkit-scrollbar { display: none; }
.pga5-filter-chip {
  flex: 0 0 auto; padding: 0.6rem 1.2rem; border-radius: 2rem; background: var(--pga5-card);
  color: var(--pga5-text); font-size: 1.2rem; font-weight: 600; border: 0.15rem solid transparent; cursor: pointer;
}
.pga5-filter-chip.pga5-chip-active { background: var(--pga5-primary); border-color: var(--pga5-violet); }

/* ===== Game grid ===== */
.pga5-game-section { margin-bottom: 1.6rem; }
.pga5-game-section h3 { font-size: 1.6rem; color: var(--pga5-sand); margin-bottom: 0.8rem; display: flex; align-items: center; gap: 0.5rem; }
.pga5-game-section h3 .material-icons, .pga5-game-section h3 i { color: var(--pga5-violet); font-size: 2rem; }
.pga5-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.8rem; }
.pga5-game-card {
  background: var(--pga5-card); border-radius: var(--pga5-radius-sm); overflow: hidden; cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease; border: 0.1rem solid transparent;
}
.pga5-game-card:hover { transform: translateY(-0.3rem); border-color: var(--pga5-violet); box-shadow: 0 0.6rem 1.4rem rgba(238, 130, 238, 0.25); }
.pga5-game-card img { width: 100%; height: 7.5rem; object-fit: cover; }
.pga5-game-card .pga5-game-name { padding: 0.5rem 0.4rem; font-size: 1.1rem; text-align: center; color: var(--pga5-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ===== Info / feature blocks ===== */
.pga5-features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.8rem; margin: 1rem 0; }
.pga5-feature-card { background: var(--pga5-card); border-radius: var(--pga5-radius-sm); padding: 1.2rem; border-left: 0.3rem solid var(--pga5-violet); }
.pga5-feature-card .pga5-feature-icon { font-size: 2.4rem; color: var(--pga5-pink); margin-bottom: 0.4rem; }
.pga5-feature-card h4 { font-size: 1.4rem; margin-bottom: 0.4rem; color: var(--pga5-sand); }
.pga5-feature-card p { font-size: 1.2rem; color: var(--pga5-text-muted); line-height: 1.5; }

.pga5-rtp-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.6rem; margin: 1rem 0; }
.pga5-rtp-item { background: var(--pga5-card); border-radius: var(--pga5-radius-sm); padding: 0.8rem 1rem; display: flex; justify-content: space-between; align-items: center; }
.pga5-rtp-item .pga5-rtp-name { font-size: 1.2rem; color: var(--pga5-sand); }
.pga5-rtp-item .pga5-rtp-value { font-size: 1.4rem; font-weight: 800; color: var(--pga5-violet); }

/* Testimonials */
.pga5-testimonials { display: grid; gap: 0.8rem; margin: 1rem 0; }
.pga5-testimonial { background: var(--pga5-card); border-radius: var(--pga5-radius-sm); padding: 1.2rem; border-left: 0.3rem solid var(--pga5-pink); }
.pga5-testimonial .pga5-testi-head { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.5rem; }
.pga5-testimonial .pga5-testi-avatar { width: 3rem; height: 3rem; border-radius: 50%; background: linear-gradient(135deg, var(--pga5-primary), var(--pga5-violet)); display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; font-size: 1.3rem; }
.pga5-testimonial .pga5-testi-name { font-size: 1.3rem; color: var(--pga5-sand); font-weight: 700; }
.pga5-testimonial .pga5-testi-stars { color: #FFD700; font-size: 1.1rem; }
.pga5-testimonial p { font-size: 1.2rem; color: var(--pga5-text-muted); }

/* Winners strip */
.pga5-winners { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.6rem; margin: 1rem 0; }
.pga5-winner { background: var(--pga5-card); border-radius: var(--pga5-radius-sm); padding: 0.8rem; display: flex; justify-content: space-between; align-items: center; font-size: 1.2rem; }
.pga5-winner .pga5-winner-name { color: var(--pga5-sand); }
.pga5-winner .pga5-winner-amount { color: var(--pga5-violet); font-weight: 800; }

/* Payment methods */
.pga5-payments { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 1rem 0; }
.pga5-payment-chip { background: var(--pga5-card); border-radius: 0.8rem; padding: 0.6rem 1rem; font-size: 1.2rem; color: var(--pga5-text); display: flex; align-items: center; gap: 0.4rem; border: 0.1rem solid var(--pga5-border); }
.pga5-payment-chip i { color: var(--pga5-pink); }

/* App download CTA */
.pga5-app-cta { background: linear-gradient(135deg, var(--pga5-primary), #6a0d49); border-radius: var(--pga5-radius); padding: 1.6rem; margin: 1.4rem 0; text-align: center; }
.pga5-app-cta h3 { color: #fff; font-size: 1.8rem; margin-bottom: 0.6rem; }
.pga5-app-cta p { color: var(--pga5-pink); font-size: 1.3rem; margin-bottom: 1rem; }
.pga5-app-cta .pga5-btn { background: var(--pga5-sand); color: var(--pga5-bg-deep); margin: 0.2rem; }

/* Promo CTA banner */
.pga5-cta-banner { background: linear-gradient(135deg, var(--pga5-violet), var(--pga5-primary)); border-radius: var(--pga5-radius); padding: 1.6rem; margin: 1.4rem 0; text-align: center; color: #fff; }
.pga5-cta-banner h3 { font-size: 1.8rem; margin-bottom: 0.5rem; }
.pga5-cta-banner p { font-size: 1.3rem; margin-bottom: 1rem; color: #fff; }
.pga5-cta-banner .pga5-btn { background: var(--pga5-sand); color: var(--pga5-bg-deep); }

/* Inline promo link */
.pga5-promo-link { color: var(--pga5-violet); font-weight: 700; cursor: pointer; }
.pga5-promo-link:hover { color: var(--pga5-pink); text-decoration: underline; }
.pga5-promo-btn {
  display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.8rem 1.6rem; border-radius: 2rem;
  background: linear-gradient(90deg, var(--pga5-primary), var(--pga5-violet)); color: #fff; font-weight: 700;
  font-size: 1.3rem; border: none; cursor: pointer; margin: 0.4rem 0;
}
.pga5-promo-btn:hover { color: #fff; opacity: 0.92; }

/* FAQ list */
.pga5-faq-item { background: var(--pga5-card); border-radius: var(--pga5-radius-sm); padding: 1rem 1.2rem; margin-bottom: 0.6rem; }
.pga5-faq-item h4 { font-size: 1.4rem; color: var(--pga5-sand); margin-bottom: 0.4rem; }
.pga5-faq-item p { font-size: 1.3rem; color: var(--pga5-text-muted); }

/* Achievements / tricks list */
.pga5-list { list-style: none; padding: 0; margin: 1rem 0; }
.pga5-list li { background: var(--pga5-card); border-radius: var(--pga5-radius-sm); padding: 0.8rem 1rem; margin-bottom: 0.5rem; font-size: 1.3rem; color: var(--pga5-text-muted); display: flex; gap: 0.6rem; align-items: flex-start; }
.pga5-list li i { color: var(--pga5-violet); margin-top: 0.2rem; }

/* ===== Footer ===== */
.pga5-footer { background: var(--pga5-bg-deep); border-top: 0.2rem solid var(--pga5-primary); padding: 2rem 0 1rem; margin-top: 2rem; }
.pga5-footer-inner { max-width: 430px; margin: 0 auto; padding: 0 1.2rem; }
.pga5-footer-brand { font-size: 1.4rem; color: var(--pga5-text-muted); margin-bottom: 1rem; line-height: 1.5; }
.pga5-footer-links { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1rem; }
.pga5-footer-links a { background: var(--pga5-card); color: var(--pga5-text); padding: 0.5rem 1rem; border-radius: 0.6rem; font-size: 1.2rem; }
.pga5-footer-links a:hover { background: var(--pga5-primary); color: #fff; }
.pga5-footer-promos { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1.4rem; }
.pga5-footer-promos button { background: linear-gradient(90deg, var(--pga5-primary), var(--pga5-violet)); color: #fff; border: none; padding: 0.7rem 1.2rem; border-radius: 2rem; font-size: 1.2rem; font-weight: 700; cursor: pointer; }
.pga5-footer-copy { font-size: 1.1rem; color: var(--pga5-text-muted); text-align: center; border-top: 0.1rem solid var(--pga5-border); padding-top: 1rem; }

/* ===== Mobile bottom nav ===== */
.pga5-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000; height: var(--pga5-bottom-h);
  background: linear-gradient(180deg, #3a1f33, var(--pga5-bg-deep));
  border-top: 0.2rem solid var(--pga5-primary);
  display: flex; justify-content: space-around; align-items: stretch;
  box-shadow: 0 -0.4rem 1rem rgba(0, 0, 0, 0.5);
}
.pga5-bottom-nav-btn {
  flex: 1; min-width: 60px; min-height: 60px; background: transparent; border: none; color: var(--pga5-text-muted);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.2rem;
  font-size: 1.1rem; cursor: pointer; transition: color 0.18s ease, transform 0.18s ease; padding: 0.4rem;
}
.pga5-bottom-nav-btn:active { transform: scale(0.92); }
.pga5-bottom-nav-btn i, .pga5-bottom-nav-btn .material-icons { font-size: 2.4rem; }
.pga5-bottom-nav-btn .pga5-bn-icon { font-size: 2.4rem; line-height: 1; }
.pga5-bottom-nav-btn .pga5-bn-text { font-size: 1.05rem; font-weight: 600; }
.pga5-bottom-nav-btn:hover { color: var(--pga5-pink); }
.pga5-bottom-nav-btn.pga5-bn-active { color: var(--pga5-violet); }
.pga5-bottom-nav-btn.pga5-bn-active .pga5-bn-icon { color: var(--pga5-violet); }
.pga5-bottom-nav-btn.pga5-bn-promo { color: var(--pga5-sand); }
.pga5-bottom-nav-btn.pga5-bn-promo .pga5-bn-icon { color: var(--pga5-sand); }

/* Back to top */
.pga5-to-top {
  position: fixed; right: 1.2rem; bottom: calc(var(--pga5-bottom-h) + 1rem); z-index: 999;
  width: 4rem; height: 4rem; border-radius: 50%; background: var(--pga5-primary); color: #fff; border: none;
  display: flex; align-items: center; justify-content: center; font-size: 2rem; cursor: pointer;
  opacity: 0; pointer-events: none; transition: opacity 0.25s ease, transform 0.25s ease;
}
.pga5-to-top.pga5-to-top-show { opacity: 1; pointer-events: auto; }

/* ===== Mobile bottom padding so content is not hidden ===== */
@media (max-width: 768px) {
  main.pga5-main { padding-bottom: calc(var(--pga5-bottom-h) + 1.2rem); }
  .pga5-to-top { bottom: calc(var(--pga5-bottom-h) + 1rem); }
}

/* ===== Desktop: hide bottom nav, widen container ===== */
@media (min-width: 769px) {
  .pga5-bottom-nav { display: none; }
  .pga5-container, .pga5-footer-inner, .pga5-header-inner, .pga5-carousel, .pga5-mobile-nav-inner { max-width: 900px; }
  .pga5-grid { grid-template-columns: repeat(6, 1fr); }
  .pga5-features { grid-template-columns: repeat(4, 1fr); }
  .pga5-rtp-grid { grid-template-columns: repeat(4, 1fr); }
  .pga5-winners { grid-template-columns: repeat(4, 1fr); }
  .pga5-carousel-slide img { height: 28rem; }
  main.pga5-main { padding-bottom: 2rem; }
}
