/* 399be.click - Core Stylesheet */
/* All classes use "pga9-" prefix for namespace isolation */

/* CSS Variables */
:root {
  --pga9-primary: #BDB76B;
  --pga9-bg: #0F0F23;
  --pga9-text: #FFC0CB;
  --pga9-muted: #5D5D5D;
  --pga9-card-bg: #1a1a3e;
  --pga9-accent: #BDB76B;
  --pga9-hover: #d4cf82;
  --pga9-border: #2a2a5a;
  --pga9-success: #4ade80;
  --pga9-radius: 0.8rem;
  --pga9-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

/* Base Reset & Typography */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 62.5%; scroll-behavior: smooth; }
body {
  font-family: 'Segoe UI', 'Noto Sans Bengali', Tahoma, sans-serif;
  background: var(--pga9-bg);
  color: var(--pga9-text);
  line-height: 1.5rem;
  min-height: 100vh;
  -webkit-text-size-adjust: 100%;
}
a { color: var(--pga9-primary); text-decoration: none; }
a:hover { color: var(--pga9-hover); text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
h1,h2,h3,h4 { color: var(--pga9-primary); line-height: 1.3; }

/* Container */
.pga9-container { max-width: 430px; margin: 0 auto; padding: 0 1.2rem; }
.pga9-wrapper { width: 100%; overflow: hidden; }

/* Header */
.pga9-header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  background: linear-gradient(135deg, #0F0F23 0%, #1a1a3e 100%);
  border-bottom: 1px solid var(--pga9-border);
  padding: 0.6rem 0.8rem;
  display: flex; align-items: center; justify-content: space-between;
}
.pga9-header-logo {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 1.6rem; font-weight: 700; color: var(--pga9-primary);
}
.pga9-header-logo img { width: 28px; height: 28px; border-radius: 50%; }
.pga9-header-btns { display: flex; gap: 0.5rem; align-items: center; }
.pga9-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.5rem 1.2rem; border-radius: var(--pga9-radius);
  font-size: 1.2rem; font-weight: 600; cursor: pointer; border: none;
  transition: all 0.2s; min-height: 36px;
}
.pga9-btn-register {
  background: var(--pga9-primary); color: var(--pga9-bg);
}
.pga9-btn-register:hover { background: var(--pga9-hover); transform: scale(1.03); }
.pga9-btn-login {
  background: transparent; color: var(--pga9-primary);
  border: 1px solid var(--pga9-primary);
}
.pga9-btn-login:hover { background: rgba(189,183,107,0.1); }
.pga9-menu-btn {
  background: none; border: none; color: var(--pga9-primary);
  font-size: 2rem; cursor: pointer; padding: 0.4rem;
  display: flex; align-items: center;
}

/* Mobile Menu Overlay */
.pga9-overlay {
  display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.6); z-index: 9998;
}
.pga9-overlay.pga9-overlay-show { display: block; }
.pga9-mobile-menu {
  position: fixed; top: 0; right: -280px; width: 280px; height: 100%;
  background: var(--pga9-bg); z-index: 9999;
  transition: right 0.3s ease; padding: 2rem 1.5rem; overflow-y: auto;
}
.pga9-mobile-menu.pga9-menu-open { right: 0; }
.pga9-mobile-menu a {
  display: block; padding: 1rem 0; border-bottom: 1px solid var(--pga9-border);
  font-size: 1.4rem; color: var(--pga9-text);
}
.pga9-mobile-menu a:hover { color: var(--pga9-primary); }
.pga9-menu-close {
  position: absolute; top: 1rem; right: 1rem; background: none;
  border: none; color: var(--pga9-text); font-size: 2.4rem; cursor: pointer;
}

/* Main Content */
.pga9-main { padding-top: 5.5rem; }
@media (max-width: 768px) {
  .pga9-main { padding-bottom: 72px; }
}

/* Carousel */
.pga9-carousel {
  position: relative; overflow: hidden; border-radius: var(--pga9-radius);
  margin: 1rem 0;
}
.pga9-slide {
  display: none; width: 100%; cursor: pointer;
}
.pga9-slide-active { display: block; }
.pga9-slide img { width: 100%; height: auto; }
.pga9-dots {
  display: flex; justify-content: center; gap: 0.6rem; margin-top: 0.8rem;
}
.pga9-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--pga9-muted); cursor: pointer; border: none;
  transition: background 0.3s;
}
.pga9-dot-active { background: var(--pga9-primary); }

/* Section */
.pga9-section {
  padding: 2rem 0;
}
.pga9-section-title {
  font-size: 1.8rem; font-weight: 700; margin-bottom: 1.2rem;
  padding-bottom: 0.6rem; border-bottom: 2px solid var(--pga9-primary);
  color: var(--pga9-primary);
}
.pga9-section-subtitle {
  font-size: 1.4rem; font-weight: 600; margin: 1rem 0 0.6rem;
  color: var(--pga9-accent);
}

/* Game Grid */
.pga9-game-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}
.pga9-game-item {
  display: flex; flex-direction: column; align-items: center;
  cursor: pointer; transition: transform 0.2s;
}
.pga9-game-item:hover { transform: translateY(-3px); }
.pga9-game-item img {
  width: 100%; border-radius: var(--pga9-radius);
  border: 1px solid var(--pga9-border);
}
.pga9-game-item span {
  font-size: 1.1rem; text-align: center; margin-top: 0.3rem;
  color: var(--pga9-text); line-height: 1.3;
}

/* Card Component */
.pga9-card {
  background: var(--pga9-card-bg); border-radius: var(--pga9-radius);
  padding: 1.5rem; margin-bottom: 1.2rem;
  border: 1px solid var(--pga9-border);
}
.pga9-card h3 {
  font-size: 1.4rem; margin-bottom: 0.8rem; color: var(--pga9-primary);
}
.pga9-card p {
  font-size: 1.2rem; color: var(--pga9-text); line-height: 1.6;
}

/* Promo Link Styles */
.pga9-promo-link {
  color: var(--pga9-primary); font-weight: 700; cursor: pointer;
  text-decoration: underline;
}
.pga9-promo-link:hover { color: var(--pga9-hover); }

.pga9-promo-btn {
  display: inline-block; background: var(--pga9-primary); color: var(--pga9-bg);
  padding: 0.8rem 2rem; border-radius: var(--pga9-radius); font-weight: 700;
  font-size: 1.3rem; cursor: pointer; border: none;
  transition: all 0.2s; text-align: center;
}
.pga9-promo-btn:hover {
  background: var(--pga9-hover); transform: scale(1.03);
  text-decoration: none;
}

/* Winner List */
.pga9-winner-list { list-style: none; }
.pga9-winner-item {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.6rem 0; border-bottom: 1px solid var(--pga9-border);
  font-size: 1.2rem;
}
.pga9-winner-name { color: var(--pga9-primary); font-weight: 600; }
.pga9-winner-amount { color: var(--pga9-success); font-weight: 700; }

/* Payment Icons */
.pga9-payment-grid {
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center;
  padding: 1rem 0;
}
.pga9-payment-item {
  background: var(--pga9-card-bg); border-radius: var(--pga9-radius);
  padding: 0.6rem 1rem; font-size: 1.2rem; color: var(--pga9-text);
  border: 1px solid var(--pga9-border);
}

/* FAQ Accordion */
.pga9-faq-item {
  background: var(--pga9-card-bg); margin-bottom: 0.8rem;
  border-radius: var(--pga9-radius); overflow: hidden;
  border: 1px solid var(--pga9-border);
}
.pga9-faq-q {
  padding: 1rem 1.2rem; font-weight: 600; font-size: 1.3rem;
  cursor: pointer; color: var(--pga9-primary);
  display: flex; justify-content: space-between; align-items: center;
}
.pga9-faq-a {
  padding: 0 1.2rem 1rem; font-size: 1.2rem; color: var(--pga9-text);
  line-height: 1.6;
}

/* Footer */
.pga9-footer {
  background: linear-gradient(135deg, #0a0a1e, #1a1a3e);
  padding: 2rem 0 1rem; border-top: 2px solid var(--pga9-primary);
}
.pga9-footer-brand {
  font-size: 1.2rem; color: var(--pga9-text); line-height: 1.6;
  margin-bottom: 1.5rem;
}
.pga9-footer-links {
  display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center;
  margin-bottom: 1.5rem;
}
.pga9-footer-links a {
  background: var(--pga9-card-bg); color: var(--pga9-primary);
  padding: 0.5rem 1rem; border-radius: var(--pga9-radius);
  font-size: 1.1rem; border: 1px solid var(--pga9-border);
}
.pga9-footer-links a:hover {
  background: var(--pga9-primary); color: var(--pga9-bg);
  text-decoration: none;
}
.pga9-footer-copy {
  text-align: center; font-size: 1rem; color: var(--pga9-muted);
  padding-top: 1rem; border-top: 1px solid var(--pga9-border);
}

/* Bottom Navigation */
.pga9-bottom-nav {
  display: none; position: fixed; bottom: 0; left: 0; width: 100%;
  background: linear-gradient(135deg, #0F0F23, #1a1a3e);
  border-top: 2px solid var(--pga9-primary); z-index: 1000;
  height: 60px;
}
.pga9-bottom-nav-inner {
  display: flex; justify-content: space-around; align-items: center;
  height: 100%; max-width: 430px; margin: 0 auto;
}
.pga9-bottom-btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 60px; min-height: 56px; cursor: pointer;
  color: var(--pga9-muted); transition: color 0.2s; border: none;
  background: none; padding: 0.3rem;
}
.pga9-bottom-btn:hover, .pga9-bottom-btn-active {
  color: var(--pga9-primary);
}
.pga9-bottom-btn i,
.pga9-bottom-btn span.material-symbols-outlined,
.pga9-bottom-btn ion-icon {
  font-size: 22px; line-height: 1;
}
.pga9-bottom-btn span.pga9-nav-label {
  font-size: 1rem; margin-top: 0.2rem; line-height: 1.2;
}
@media (max-width: 768px) {
  .pga9-bottom-nav { display: block; }
}

/* Back to Top */
.pga9-back-top {
  display: none; position: fixed; bottom: 72px; right: 1rem;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--pga9-primary); color: var(--pga9-bg);
  font-size: 1.6rem; border: none; cursor: pointer; z-index: 999;
  align-items: center; justify-content: center; box-shadow: var(--pga9-shadow);
}

/* Achievement */
.pga9-achieve-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem;
}
.pga9-achieve-card {
  background: var(--pga9-card-bg); border-radius: var(--pga9-radius);
  padding: 1rem; text-align: center; border: 1px solid var(--pga9-border);
}
.pga9-achieve-card .pga9-achieve-icon { font-size: 2rem; margin-bottom: 0.4rem; }
.pga9-achieve-card .pga9-achieve-title {
  font-size: 1.2rem; color: var(--pga9-primary); font-weight: 600;
}
.pga9-achieve-card .pga9-achieve-desc { font-size: 1rem; color: var(--pga9-text); }

/* Tricks */
.pga9-trick-list { list-style: none; padding: 0; }
.pga9-trick-item {
  padding: 0.8rem 0; border-bottom: 1px solid var(--pga9-border);
  font-size: 1.2rem; color: var(--pga9-text); line-height: 1.5;
}
.pga9-trick-item strong { color: var(--pga9-primary); }

/* Testimonials */
.pga9-testimonial {
  background: var(--pga9-card-bg); border-radius: var(--pga9-radius);
  padding: 1rem; margin-bottom: 0.8rem; border: 1px solid var(--pga9-border);
}
.pga9-testimonial p { font-size: 1.2rem; color: var(--pga9-text); line-height: 1.5; }
.pga9-testimonial-author {
  margin-top: 0.5rem; font-size: 1.1rem; color: var(--pga9-primary); font-weight: 600;
}

/* Responsive helpers */
@media (min-width: 769px) {
  .pga9-bottom-nav { display: none !important; }
}
@media (max-width: 768px) {
  .pga9-main { padding-bottom: 72px; }
}