/* phl999-sbs Theme Stylesheet */
/* All classes prefixed with pgd6- for namespace isolation */
/* Color Palette: #0F0F23 | #DA70D6 | #FAF0E6 | #800080 | #BA55D3 */

/* Root Variables */
:root {
  --pgd6-bg-dark: #0F0F23;
  --pgd6-bg-card: #1a1a3e;
  --pgd6-bg-card-hover: #252550;
  --pgd6-accent: #DA70D6;
  --pgd6-text-light: #FAF0E6;
  --pgd6-purple-deep: #800080;
  --pgd6-purple-mid: #BA55D3;
  --pgd6-gradient: linear-gradient(135deg, #800080, #DA70D6);
  --pgd6-gradient-btn: linear-gradient(135deg, #BA55D3, #DA70D6);
  --pgd6-radius: 8px;
  --pgd6-radius-lg: 12px;
  --pgd6-shadow: 0 4px 15px rgba(218, 112, 214, 0.2);
  --pgd6-transition: all 0.3s ease;
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 62.5%; scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--pgd6-bg-dark);
  color: var(--pgd6-text-light);
  font-size: 1.5rem;
  line-height: 1.5rem;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  overflow-x: hidden;
}
a { color: var(--pgd6-accent); text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* Header */
.pgd6-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: 56px;
  background: var(--pgd6-bg-dark);
  border-bottom: 1px solid rgba(218, 112, 214, 0.3);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  z-index: 1000;
}
.pgd6-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 2rem;
  font-weight: 700;
  color: var(--pgd6-accent);
}
.pgd6-logo img { width: 32px; height: 32px; }
.pgd6-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.pgd6-btn-register, .pgd6-btn-login {
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 1.3rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--pgd6-transition);
}
.pgd6-btn-register {
  background: var(--pgd6-gradient-btn);
  color: #fff;
}
.pgd6-btn-register:hover { transform: scale(1.05); box-shadow: var(--pgd6-shadow); }
.pgd6-btn-login {
  background: transparent;
  color: var(--pgd6-accent);
  border: 1px solid var(--pgd6-accent);
}
.pgd6-btn-login:hover { background: rgba(218, 112, 214, 0.1); }
.pgd6-hamburger {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--pgd6-accent);
  font-size: 2rem;
  background: none;
  border: none;
}

/* Mobile Menu */
.pgd6-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 15, 35, 0.85);
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.pgd6-overlay-active { opacity: 1; pointer-events: auto; }
.pgd6-mobile-menu {
  position: fixed;
  top: 0;
  right: -280px;
  width: 280px;
  height: 100%;
  background: var(--pgd6-bg-dark);
  border-left: 1px solid rgba(218, 112, 214, 0.3);
  z-index: 9999;
  transition: right 0.3s ease;
  overflow-y: auto;
  padding: 20px;
}
.pgd6-menu-open { right: 0; }
.pgd6-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(218, 112, 214, 0.2);
}
.pgd6-menu-title { font-size: 1.8rem; font-weight: 700; color: var(--pgd6-accent); }
.pgd6-menu-close {
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  color: var(--pgd6-text-light);
  font-size: 2rem;
  cursor: pointer;
}
.pgd6-menu-link {
  display: block;
  padding: 12px 0;
  color: var(--pgd6-text-light);
  font-size: 1.5rem;
  border-bottom: 1px solid rgba(218, 112, 214, 0.1);
  transition: var(--pgd6-transition);
}
.pgd6-menu-link:hover { color: var(--pgd6-accent); padding-left: 8px; }
.pgd6-menu-section {
  font-size: 1.2rem;
  text-transform: uppercase;
  color: var(--pgd6-purple-mid);
  margin-top: 16px;
  margin-bottom: 8px;
  letter-spacing: 1px;
}

/* Bottom Navigation */
.pgd6-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: 60px;
  background: var(--pgd6-bg-dark);
  border-top: 1px solid rgba(218, 112, 214, 0.3);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  padding: 0 4px;
}
.pgd6-bottom-nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 52px;
  background: none;
  border: none;
  color: rgba(250, 240, 230, 0.6);
  cursor: pointer;
  transition: var(--pgd6-transition);
  border-radius: var(--pgd6-radius);
  padding: 4px 2px;
}
.pgd6-bottom-nav-btn:hover,
.pgd6-bottom-nav-btn:focus {
  color: var(--pgd6-accent);
  transform: scale(1.08);
}
.pgd6-bottom-nav-btn.active { color: var(--pgd6-accent); }
.pgd6-bottom-nav-btn .pgd6-nav-icon { font-size: 22px; margin-bottom: 2px; }
.pgd6-bottom-nav-btn .pgd6-nav-label { font-size: 1rem; line-height: 1.2; }
@media (min-width: 769px) {
  .pgd6-bottom-nav { display: none; }
}

/* Main Content */
.pgd6-main {
  padding-top: 56px;
  padding-bottom: 20px;
}
@media (max-width: 768px) {
  .pgd6-main { padding-bottom: 80px; }
}

/* Carousel */
.pgd6-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 0 0 var(--pgd6-radius-lg) var(--pgd6-radius-lg);
}
.pgd6-slide {
  display: none;
  width: 100%;
  cursor: pointer;
}
.pgd6-slide-active { display: block; }
.pgd6-slide img {
  width: 100%;
  height: auto;
  min-height: 180px;
  object-fit: cover;
}
.pgd6-carousel-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}
.pgd6-carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(250, 240, 230, 0.4);
  border: none;
  cursor: pointer;
  transition: var(--pgd6-transition);
}
.pgd6-dot-active { background: var(--pgd6-accent); transform: scale(1.3); }

/* Section Styles */
.pgd6-section {
  padding: 20px 16px;
}
.pgd6-section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--pgd6-text-light);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--pgd6-accent);
  display: inline-block;
}
.pgd6-section-subtitle {
  font-size: 1.4rem;
  color: rgba(250, 240, 230, 0.7);
  margin-bottom: 14px;
  line-height: 1.6;
}

/* Category Tabs */
.pgd6-cat-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 10px;
  margin-bottom: 16px;
  -webkit-overflow-scrolling: touch;
}
.pgd6-cat-tabs::-webkit-scrollbar { display: none; }
.pgd6-cat-btn {
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 1.3rem;
  font-weight: 600;
  background: var(--pgd6-bg-card);
  color: var(--pgd6-text-light);
  border: 1px solid rgba(218, 112, 214, 0.2);
  cursor: pointer;
  white-space: nowrap;
  transition: var(--pgd6-transition);
}
.pgd6-cat-btn:hover { border-color: var(--pgd6-accent); }
.pgd6-cat-active {
  background: var(--pgd6-gradient) !important;
  color: #fff !important;
  border-color: transparent !important;
}

/* Game Grid */
.pgd6-game-panel {
  display: none;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.pgd6-game-item {
  text-align: center;
  cursor: pointer;
  transition: var(--pgd6-transition);
  border-radius: var(--pgd6-radius);
  padding: 6px;
  background: var(--pgd6-bg-card);
}
.pgd6-game-item:hover {
  transform: translateY(-3px);
  background: var(--pgd6-bg-card-hover);
  box-shadow: var(--pgd6-shadow);
}
.pgd6-game-item img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--pgd6-radius);
  margin-bottom: 4px;
}
.pgd6-game-name {
  font-size: 1.1rem;
  color: var(--pgd6-text-light);
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Content Cards */
.pgd6-card {
  background: var(--pgd6-bg-card);
  border-radius: var(--pgd6-radius-lg);
  padding: 20px 16px;
  margin-bottom: 16px;
  border: 1px solid rgba(218, 112, 214, 0.15);
}
.pgd6-card h2 {
  font-size: 1.8rem;
  color: var(--pgd6-accent);
  margin-bottom: 12px;
}
.pgd6-card h3 {
  font-size: 1.5rem;
  color: var(--pgd6-purple-mid);
  margin-bottom: 8px;
}
.pgd6-card p {
  font-size: 1.4rem;
  line-height: 1.6;
  color: rgba(250, 240, 230, 0.85);
  margin-bottom: 10px;
}

/* CTA Buttons */
.pgd6-cta {
  display: inline-block;
  padding: 12px 28px;
  background: var(--pgd6-gradient-btn);
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  border-radius: 25px;
  border: none;
  cursor: pointer;
  transition: var(--pgd6-transition);
  text-align: center;
}
.pgd6-cta:hover {
  transform: scale(1.05);
  box-shadow: var(--pgd6-shadow);
}
.pgd6-cta-outline {
  background: transparent;
  border: 2px solid var(--pgd6-accent);
  color: var(--pgd6-accent);
}
.pgd6-cta-outline:hover {
  background: rgba(218, 112, 214, 0.15);
}

/* Feature Grid */
.pgd6-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.pgd6-feature-item {
  background: var(--pgd6-bg-card);
  border-radius: var(--pgd6-radius);
  padding: 16px;
  text-align: center;
  border: 1px solid rgba(218, 112, 214, 0.15);
  transition: var(--pgd6-transition);
}
.pgd6-feature-item:hover {
  border-color: var(--pgd6-accent);
  box-shadow: var(--pgd6-shadow);
}
.pgd6-feature-icon {
  font-size: 2.8rem;
  color: var(--pgd6-accent);
  margin-bottom: 8px;
}
.pgd6-feature-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--pgd6-text-light);
  margin-bottom: 4px;
}
.pgd6-feature-desc {
  font-size: 1.2rem;
  color: rgba(250, 240, 230, 0.6);
  line-height: 1.4;
}

/* FAQ Accordion */
.pgd6-faq-item {
  background: var(--pgd6-bg-card);
  border-radius: var(--pgd6-radius);
  margin-bottom: 10px;
  overflow: hidden;
  border: 1px solid rgba(218, 112, 214, 0.1);
}
.pgd6-faq-q {
  padding: 14px 16px;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--pgd6-text-light);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.pgd6-faq-a {
  padding: 0 16px 14px;
  font-size: 1.3rem;
  color: rgba(250, 240, 230, 0.75);
  line-height: 1.6;
}

/* Steps List */
.pgd6-steps { counter-reset: step-counter; }
.pgd6-step-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  padding: 12px;
  background: var(--pgd6-bg-card);
  border-radius: var(--pgd6-radius);
  border-left: 3px solid var(--pgd6-accent);
}
.pgd6-step-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--pgd6-accent);
  min-width: 32px;
}
.pgd6-step-content h4 {
  font-size: 1.4rem;
  color: var(--pgd6-text-light);
  margin-bottom: 4px;
}
.pgd6-step-content p {
  font-size: 1.2rem;
  color: rgba(250, 240, 230, 0.7);
  line-height: 1.5;
}

/* Footer */
.pgd6-footer {
  background: var(--pgd6-bg-card);
  padding: 24px 16px;
  border-top: 1px solid rgba(218, 112, 214, 0.2);
  margin-top: 20px;
}
.pgd6-footer-brand {
  text-align: center;
  margin-bottom: 16px;
}
.pgd6-footer-brand h3 {
  font-size: 1.8rem;
  color: var(--pgd6-accent);
  margin-bottom: 8px;
}
.pgd6-footer-brand p {
  font-size: 1.2rem;
  color: rgba(250, 240, 230, 0.6);
  line-height: 1.5;
}
.pgd6-footer-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 16px;
}
.pgd6-footer-link {
  display: inline-block;
  padding: 6px 14px;
  font-size: 1.2rem;
  color: var(--pgd6-text-light);
  background: rgba(218, 112, 214, 0.15);
  border-radius: 16px;
  transition: var(--pgd6-transition);
}
.pgd6-footer-link:hover {
  background: rgba(218, 112, 214, 0.3);
  color: var(--pgd6-accent);
}
.pgd6-footer-sitemap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 16px;
}
.pgd6-footer-sitemap a {
  font-size: 1.2rem;
  color: rgba(250, 240, 230, 0.5);
}
.pgd6-footer-sitemap a:hover { color: var(--pgd6-accent); }
.pgd6-copyright {
  text-align: center;
  font-size: 1.1rem;
  color: rgba(250, 240, 230, 0.4);
  padding-top: 12px;
  border-top: 1px solid rgba(218, 112, 214, 0.1);
}

/* Testimonial Cards */
.pgd6-testimonial {
  background: var(--pgd6-bg-card);
  border-radius: var(--pgd6-radius-lg);
  padding: 16px;
  margin-bottom: 12px;
  border: 1px solid rgba(218, 112, 214, 0.15);
}
.pgd6-testimonial-text {
  font-size: 1.3rem;
  color: rgba(250, 240, 230, 0.85);
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 10px;
}
.pgd6-testimonial-author {
  font-size: 1.2rem;
  color: var(--pgd6-purple-mid);
  font-weight: 600;
}

/* Winner Ticker */
.pgd6-winner-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pgd6-winner-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  background: var(--pgd6-bg-card);
  border-radius: var(--pgd6-radius);
  font-size: 1.3rem;
}
.pgd6-winner-game { color: var(--pgd6-text-light); font-weight: 600; }
.pgd6-winner-amount { color: #FFD700; font-weight: 700; }
.pgd6-winner-player { color: rgba(250, 240, 230, 0.5); font-size: 1.2rem; }

/* Promo Banner */
.pgd6-promo-banner {
  background: var(--pgd6-gradient);
  border-radius: var(--pgd6-radius-lg);
  padding: 20px;
  text-align: center;
  margin-bottom: 16px;
}
.pgd6-promo-banner h3 {
  font-size: 2rem;
  color: #fff;
  margin-bottom: 8px;
}
.pgd6-promo-banner p {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 14px;
}

/* Responsive adjustments */
@media (min-width: 431px) {
  body { border-left: 1px solid rgba(218, 112, 214, 0.2); border-right: 1px solid rgba(218, 112, 214, 0.2); }
}
