/**
 * Queen PH - design.css
 * Core stylesheet for queenph.cfd
 * All classes use pgc2- prefix for namespace isolation
 * Colors: #00FFFF (cyan) | #0F0F23 (dark bg) | #E0E0E0 (light text) | #FF91A4 (pink) | #F08080 (coral) | #48D1CC (teal)
 */

:root {
  --pgc2-primary: #00FFFF;
  --pgc2-dark: #0F0F23;
  --pgc2-light: #E0E0E0;
  --pgc2-pink: #FF91A4;
  --pgc2-coral: #F08080;
  --pgc2-teal: #48D1CC;
  --pgc2-bg-card: #1a1a3e;
  --pgc2-bg-hover: #252560;
  --pgc2-radius: 8px;
  --pgc2-radius-lg: 16px;
  --pgc2-shadow: 0 4px 15px rgba(0, 255, 255, 0.15);
  --pgc2-transition: all 0.3s ease;
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: var(--pgc2-dark);
  color: var(--pgc2-light);
  line-height: 1.6;
  font-size: 15px;
  overflow-x: hidden;
  max-width: 100%;
}
a { text-decoration: none; color: var(--pgc2-primary); transition: var(--pgc2-transition); }
a:hover { color: var(--pgc2-pink); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

/* Container */
.pgc2-container {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 12px;
}

/* ===== HEADER ===== */
.pgc2-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(135deg, var(--pgc2-dark) 0%, #151540 100%);
  border-bottom: 1px solid rgba(0, 255, 255, 0.2);
  height: 56px;
}
.pgc2-header-inner {
  max-width: 430px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  height: 100%;
}
.pgc2-logo-area {
  display: flex;
  align-items: center;
  gap: 8px;
}
.pgc2-logo-img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
}
.pgc2-logo-text {
  font-size: 18px;
  font-weight: 700;
  color: var(--pgc2-primary);
  letter-spacing: 0.5px;
}
.pgc2-header-btns {
  display: flex;
  gap: 8px;
}
.pgc2-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--pgc2-transition);
}
.pgc2-btn-register {
  background: linear-gradient(135deg, var(--pgc2-pink), var(--pgc2-coral));
  color: #fff;
}
.pgc2-btn-register:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(255, 145, 164, 0.5);
}
.pgc2-btn-login {
  background: transparent;
  border: 1.5px solid var(--pgc2-primary);
  color: var(--pgc2-primary);
}
.pgc2-btn-login:hover {
  background: rgba(0, 255, 255, 0.1);
}
.pgc2-menu-btn {
  background: none;
  border: none;
  color: var(--pgc2-primary);
  font-size: 22px;
  cursor: pointer;
  padding: 4px;
}

/* ===== MOBILE MENU ===== */
.pgc2-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.pgc2-overlay-active { opacity: 1; pointer-events: all; }

.pgc2-mobile-menu {
  position: fixed;
  top: 0;
  right: -280px;
  width: 280px;
  height: 100vh;
  background: var(--pgc2-dark);
  z-index: 9999;
  transition: right 0.3s ease;
  overflow-y: auto;
  padding: 20px 16px;
  border-left: 1px solid rgba(0, 255, 255, 0.15);
}
.pgc2-menu-active { right: 0; }
.pgc2-menu-close {
  background: none;
  border: none;
  color: var(--pgc2-light);
  font-size: 24px;
  cursor: pointer;
  margin-bottom: 20px;
}
.pgc2-menu-section { margin-bottom: 18px; }
.pgc2-menu-title {
  font-size: 12px;
  color: var(--pgc2-teal);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(0, 255, 255, 0.1);
}
.pgc2-menu-link {
  display: block;
  padding: 8px 12px;
  color: var(--pgc2-light);
  font-size: 14px;
  border-radius: var(--pgc2-radius);
  transition: var(--pgc2-transition);
}
.pgc2-menu-link:hover {
  background: var(--pgc2-bg-hover);
  color: var(--pgc2-primary);
}

/* ===== BOTTOM NAV ===== */
.pgc2-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 60px;
  background: linear-gradient(180deg, #151540, var(--pgc2-dark));
  border-top: 1px solid rgba(0, 255, 255, 0.2);
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 0 4px;
}
.pgc2-nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 58px;
  min-height: 54px;
  background: none;
  border: none;
  color: var(--pgc2-light);
  cursor: pointer;
  transition: var(--pgc2-transition);
  border-radius: var(--pgc2-radius);
  padding: 4px 2px;
}
.pgc2-nav-btn:hover, .pgc2-nav-btn:focus {
  color: var(--pgc2-primary);
  transform: scale(1.08);
}
.pgc2-nav-btn .pgc2-nav-icon {
  font-size: 22px;
  margin-bottom: 2px;
}
.pgc2-nav-btn .pgc2-nav-label {
  font-size: 10px;
  font-weight: 500;
}
.pgc2-nav-active {
  color: var(--pgc2-pink);
}
.pgc2-nav-active .pgc2-nav-label {
  color: var(--pgc2-pink);
}

/* ===== CAROUSEL ===== */
.pgc2-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: var(--pgc2-radius-lg);
  margin-top: 64px;
  aspect-ratio: 16/9;
}
.pgc2-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.pgc2-slide-active { opacity: 1; }
.pgc2-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pgc2-carousel-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 5;
}
.pgc2-carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  transition: var(--pgc2-transition);
}
.pgc2-dot-active {
  background: var(--pgc2-primary);
  transform: scale(1.3);
}

/* ===== GAME SECTIONS ===== */
.pgc2-section { margin: 20px 0; }
.pgc2-section-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--pgc2-primary);
  margin-bottom: 12px;
  padding-left: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.pgc2-section-title i { font-size: 20px; }
.pgc2-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.pgc2-game-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 8px 4px;
  background: var(--pgc2-bg-card);
  border-radius: var(--pgc2-radius);
  cursor: pointer;
  transition: var(--pgc2-transition);
  border: 1px solid transparent;
}
.pgc2-game-card:hover {
  border-color: var(--pgc2-primary);
  transform: translateY(-2px);
  box-shadow: var(--pgc2-shadow);
}
.pgc2-game-img {
  width: 60px;
  height: 60px;
  border-radius: var(--pgc2-radius);
  margin-bottom: 4px;
  object-fit: cover;
}
.pgc2-game-name {
  font-size: 10px;
  color: var(--pgc2-light);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ===== CONTENT MODULES ===== */
.pgc2-module {
  background: var(--pgc2-bg-card);
  border-radius: var(--pgc2-radius-lg);
  padding: 18px 16px;
  margin: 16px 0;
  border: 1px solid rgba(0, 255, 255, 0.08);
}
.pgc2-module-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--pgc2-pink);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.pgc2-module-title i { font-size: 20px; }
.pgc2-module p {
  font-size: 14px;
  color: var(--pgc2-light);
  line-height: 1.7;
  margin-bottom: 8px;
}
.pgc2-module ul {
  padding-left: 18px;
  list-style: disc;
}
.pgc2-module li {
  font-size: 13px;
  color: var(--pgc2-light);
  line-height: 1.7;
  margin-bottom: 4px;
}

/* ===== CTA BANNER ===== */
.pgc2-cta {
  background: linear-gradient(135deg, var(--pgc2-pink), var(--pgc2-coral));
  border-radius: var(--pgc2-radius-lg);
  padding: 20px 16px;
  text-align: center;
  margin: 20px 0;
  cursor: pointer;
  transition: var(--pgc2-transition);
}
.pgc2-cta:hover { transform: scale(1.02); box-shadow: 0 0 25px rgba(255, 145, 164, 0.4); }
.pgc2-cta h3 {
  font-size: 18px;
  color: #fff;
  margin-bottom: 6px;
}
.pgc2-cta p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9);
}

/* ===== FOOTER ===== */
.pgc2-footer {
  background: #0a0a1e;
  padding: 24px 12px 80px;
  margin-top: 30px;
  border-top: 1px solid rgba(0, 255, 255, 0.1);
}
.pgc2-footer-inner {
  max-width: 430px;
  margin: 0 auto;
}
.pgc2-footer-brand {
  font-size: 14px;
  color: rgba(224, 224, 224, 0.8);
  line-height: 1.7;
  margin-bottom: 16px;
}
.pgc2-footer-brand strong {
  color: var(--pgc2-primary);
}
.pgc2-footer-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.pgc2-footer-link {
  display: inline-block;
  padding: 6px 14px;
  background: var(--pgc2-bg-card);
  border-radius: 20px;
  font-size: 12px;
  color: var(--pgc2-light);
  transition: var(--pgc2-transition);
}
.pgc2-footer-link:hover {
  background: var(--pgc2-bg-hover);
  color: var(--pgc2-primary);
}
.pgc2-footer-sitemap {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin-bottom: 16px;
}
.pgc2-footer-sitemap a {
  font-size: 12px;
  color: rgba(224, 224, 224, 0.6);
}
.pgc2-footer-sitemap a:hover { color: var(--pgc2-primary); }
.pgc2-footer-copy {
  font-size: 11px;
  color: rgba(224, 224, 224, 0.4);
  text-align: center;
  margin-top: 12px;
}

/* ===== HELP PAGE STYLES ===== */
.pgc2-help-hero {
  margin-top: 56px;
  padding: 28px 12px;
  background: linear-gradient(135deg, var(--pgc2-dark), #1a1a4e);
  text-align: center;
}
.pgc2-help-hero h1 {
  font-size: 24px;
  color: var(--pgc2-primary);
  margin-bottom: 8px;
}
.pgc2-help-hero p {
  font-size: 14px;
  color: var(--pgc2-light);
}
.pgc2-help-content {
  padding: 20px 12px 80px;
  max-width: 430px;
  margin: 0 auto;
}
.pgc2-faq-item {
  background: var(--pgc2-bg-card);
  border-radius: var(--pgc2-radius);
  margin-bottom: 12px;
  padding: 14px 16px;
  border: 1px solid rgba(0, 255, 255, 0.06);
}
.pgc2-faq-q {
  font-size: 15px;
  font-weight: 600;
  color: var(--pgc2-pink);
  margin-bottom: 8px;
}
.pgc2-faq-a {
  font-size: 13px;
  color: var(--pgc2-light);
  line-height: 1.7;
}

/* ===== HELP CTA ===== */
.pgc2-help-cta {
  background: linear-gradient(135deg, var(--pgc2-teal), var(--pgc2-primary));
  border-radius: var(--pgc2-radius-lg);
  padding: 18px;
  text-align: center;
  margin: 20px 0;
  cursor: pointer;
}
.pgc2-help-cta h3 {
  color: var(--pgc2-dark);
  font-size: 17px;
  margin-bottom: 4px;
}
.pgc2-help-cta p {
  color: rgba(15, 15, 35, 0.8);
  font-size: 13px;
}

/* ===== RESPONSIVE ===== */
@media (min-width: 769px) {
  .pgc2-bottom-nav { display: none; }
  .pgc2-container { max-width: 480px; }
  .pgc2-header-inner { max-width: 480px; }
  .pgc2-footer-inner { max-width: 480px; }
  .pgc2-help-content { max-width: 480px; }
}

@media (max-width: 768px) {
  body { padding-bottom: 0; }
  main { padding-bottom: 72px; }
}

/* Utility */
.pgc2-text-cyan { color: var(--pgc2-primary); }
.pgc2-text-pink { color: var(--pgc2-pink); }
.pgc2-text-teal { color: var(--pgc2-teal); }
.pgc2-mt-1 { margin-top: 8px; }
.pgc2-mt-2 { margin-top: 16px; }
.pgc2-mb-1 { margin-bottom: 8px; }
.pgc2-mb-2 { margin-bottom: 16px; }
.pgc2-text-sm { font-size: 12px; }
.pgc2-text-center { text-align: center; }
