/**
 * Nino Gaming PH - Core Stylesheet
 * All classes use prefix "pg10-" for namespace isolation
 * Color palette: #0C0C0C (bg), #D3D3D3 (text), #D8BFD8 (accent), #8A2BE2 (primary)
 * Mobile-first design, max-width: 430px
 */

/* === CSS Variables === */
:root {
  --pg10-primary: #8A2BE2;
  --pg10-primary-dark: #6A1FB2;
  --pg10-primary-light: #A855F7;
  --pg10-bg: #0C0C0C;
  --pg10-bg-card: #1A1A2E;
  --pg10-bg-section: #111122;
  --pg10-text: #D3D3D3;
  --pg10-text-light: #E8E8E8;
  --pg10-text-muted: #888899;
  --pg10-accent: #D8BFD8;
  --pg10-accent-warm: #E8C8E8;
  --pg10-border: #2A2A3E;
  --pg10-success: #22C55E;
  --pg10-warning: #F59E0B;
  --pg10-danger: #EF4444;
  --pg10-radius: 8px;
  --pg10-radius-lg: 12px;
  --pg10-shadow: 0 4px 16px rgba(138, 43, 226, 0.15);
  --pg10-font: 'Segoe UI', system-ui, -apple-system, sans-serif;
  font-size: 62.5%;
}

/* === Reset & Base === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--pg10-font);
  background: var(--pg10-bg);
  color: var(--pg10-text);
  font-size: 1.6rem;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}
a { color: var(--pg10-primary-light); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--pg10-accent); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

/* === Header === */
.pg10-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: linear-gradient(135deg, #0C0C0C 0%, #1A1A2E 100%);
  border-bottom: 1px solid var(--pg10-border);
  padding: 0 1.2rem; height: 56px;
  display: flex; align-items: center; justify-content: space-between;
}
.pg10-header-left { display: flex; align-items: center; gap: 0.8rem; }
.pg10-logo { width: 28px; height: 28px; border-radius: 6px; }
.pg10-site-name {
  font-size: 1.5rem; font-weight: 700; color: var(--pg10-text-light);
  white-space: nowrap;
}
.pg10-site-name span { color: var(--pg10-primary); }
.pg10-header-right { display: flex; align-items: center; gap: 0.6rem; }
.pg10-btn-register, .pg10-btn-login {
  padding: 0.6rem 1.4rem; border-radius: var(--pg10-radius);
  font-size: 1.3rem; font-weight: 600; cursor: pointer; border: none;
  transition: all 0.3s ease;
}
.pg10-btn-register {
  background: linear-gradient(135deg, var(--pg10-primary), var(--pg10-primary-light));
  color: #fff;
}
.pg10-btn-register:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(138,43,226,0.4); }
.pg10-btn-login {
  background: transparent; color: var(--pg10-accent);
  border: 1px solid var(--pg10-primary);
}
.pg10-btn-login:hover { background: rgba(138,43,226,0.15); }

/* === Mobile Menu Toggle === */
.pg10-menu-toggle {
  background: none; border: none; color: var(--pg10-text);
  font-size: 2.2rem; cursor: pointer; padding: 0.4rem;
  display: flex; align-items: center; justify-content: center;
}
.pg10-menu-toggle:hover { color: var(--pg10-primary-light); }

/* === Mobile Menu Overlay === */
.pg10-menu-overlay {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.7); z-index: 9998;
  opacity: 0; visibility: hidden; transition: all 0.3s;
}
.pg10-overlay-active { opacity: 1; visibility: visible; }

/* === Mobile Menu Panel === */
.pg10-mobile-menu {
  position: fixed; top: 0; right: -280px; width: 280px;
  height: 100%; z-index: 9999; background: #12122A;
  transition: right 0.3s ease; padding: 2rem 1.6rem;
  overflow-y: auto;
}
.pg10-menu-active { right: 0; }
.pg10-menu-close {
  background: none; border: none; color: var(--pg10-text);
  font-size: 2.4rem; cursor: pointer; position: absolute;
  top: 1.2rem; right: 1.2rem;
}
.pg10-menu-title {
  font-size: 1.8rem; font-weight: 700; color: var(--pg10-primary-light);
  margin-bottom: 2rem; padding-bottom: 1rem; border-bottom: 1px solid var(--pg10-border);
}
.pg10-menu-link {
  display: block; padding: 1.2rem 0; font-size: 1.5rem;
  color: var(--pg10-text); border-bottom: 1px solid rgba(42,42,62,0.5);
  transition: color 0.3s, padding-left 0.3s;
}
.pg10-menu-link:hover { color: var(--pg10-primary-light); padding-left: 0.8rem; }

/* === Carousel === */
.pg10-carousel {
  position: relative; width: 100%; margin-top: 56px;
  overflow: hidden; border-radius: 0 0 var(--pg10-radius-lg) var(--pg10-radius-lg);
}
.pg10-carousel-track { position: relative; width: 100%; aspect-ratio: 16/7; }
.pg10-carousel-slide {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  opacity: 0; transition: opacity 0.8s ease; cursor: pointer;
}
.pg10-slide-active { opacity: 1; }
.pg10-carousel-slide img { width: 100%; height: 100%; object-fit: cover; }
.pg10-carousel-dots {
  position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 8px; z-index: 5;
}
.pg10-carousel-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.4); cursor: pointer;
  transition: background 0.3s;
}
.pg10-dot-active { background: var(--pg10-primary); width: 24px; border-radius: 4px; }

/* === Main Content === */
.pg10-main { padding: 0 1.2rem 2rem; max-width: 430px; margin: 0 auto; }

/* === Section Titles === */
.pg10-section-title {
  font-size: 2rem; font-weight: 700; color: var(--pg10-text-light);
  margin: 2rem 0 1.2rem; padding-left: 1rem;
  border-left: 4px solid var(--pg10-primary);
}
.pg10-section-title span { color: var(--pg10-primary-light); }

/* === Category Label === */
.pg10-category-label {
  font-size: 1.7rem; font-weight: 600; color: var(--pg10-accent);
  margin: 1.8rem 0 1rem; display: flex; align-items: center; gap: 0.6rem;
}
.pg10-category-label i { color: var(--pg10-primary); font-size: 2rem; }

/* === Game Grid === */
.pg10-game-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1rem; margin-bottom: 1rem;
}
.pg10-game-item {
  text-align: center; cursor: pointer;
  transition: transform 0.2s;
}
.pg10-game-item:hover { transform: translateY(-3px); }
.pg10-game-img {
  width: 100%; aspect-ratio: 1; border-radius: var(--pg10-radius);
  object-fit: cover; border: 2px solid var(--pg10-border);
  transition: border-color 0.3s;
}
.pg10-game-item:hover .pg10-game-img { border-color: var(--pg10-primary); }
.pg10-game-name {
  font-size: 1.1rem; color: var(--pg10-text-muted); margin-top: 0.4rem;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* === Content Sections === */
.pg10-content-block {
  background: var(--pg10-bg-card); border-radius: var(--pg10-radius-lg);
  padding: 2rem 1.6rem; margin: 1.5rem 0;
  border: 1px solid var(--pg10-border);
}
.pg10-content-block h2 {
  font-size: 1.8rem; color: var(--pg10-text-light); margin-bottom: 1rem;
}
.pg10-content-block h3 {
  font-size: 1.5rem; color: var(--pg10-accent); margin: 1.2rem 0 0.6rem;
}
.pg10-content-block p {
  font-size: 1.4rem; line-height: 1.6; color: var(--pg10-text); margin-bottom: 0.8rem;
}

/* === Promo Buttons === */
.pg10-promo-btn {
  display: inline-block; padding: 1rem 2.4rem;
  background: linear-gradient(135deg, var(--pg10-primary), var(--pg10-primary-light));
  color: #fff; font-size: 1.5rem; font-weight: 700;
  border-radius: var(--pg10-radius-lg); cursor: pointer; border: none;
  transition: all 0.3s; text-align: center;
}
.pg10-promo-btn:hover {
  transform: translateY(-2px); box-shadow: 0 6px 20px rgba(138,43,226,0.4);
}
.pg10-promo-text {
  color: var(--pg10-primary-light); font-weight: 600;
  cursor: pointer; text-decoration: underline;
  transition: color 0.3s;
}
.pg10-promo-text:hover { color: var(--pg10-accent-warm); }

/* === Footer === */
.pg10-footer {
  background: #08081A; padding: 2.5rem 1.2rem 1.5rem;
  border-top: 1px solid var(--pg10-border); text-align: center;
}
.pg10-footer-desc {
  font-size: 1.3rem; color: var(--pg10-text-muted); line-height: 1.5;
  margin-bottom: 1.5rem; max-width: 380px; margin-left: auto; margin-right: auto;
}
.pg10-footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem; margin-bottom: 1.5rem; }
.pg10-footer-link {
  padding: 0.5rem 1rem; background: rgba(138,43,226,0.12);
  border-radius: var(--pg10-radius); font-size: 1.2rem;
  color: var(--pg10-accent); transition: all 0.3s;
}
.pg10-footer-link:hover { background: rgba(138,43,226,0.25); color: var(--pg10-text-light); }
.pg10-footer-copy { font-size: 1.2rem; color: var(--pg10-text-muted); margin-top: 1rem; }

/* === Bottom Navigation (Mobile Only) === */
.pg10-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
  background: linear-gradient(180deg, #1A1A2E 0%, #0C0C0C 100%);
  border-top: 1px solid var(--pg10-border);
  display: flex; justify-content: space-around; align-items: center;
  height: 60px; padding: 0 0.4rem;
}
.pg10-bottom-nav-btn {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; min-width: 60px; min-height: 54px;
  background: none; border: none; color: var(--pg10-text-muted);
  cursor: pointer; transition: all 0.3s; position: relative;
}
.pg10-bottom-nav-btn i, .pg10-bottom-nav-btn .material-icons-outlined {
  font-size: 22px; margin-bottom: 2px;
}
.pg10-bottom-nav-btn span {
  font-size: 1rem; line-height: 1.2;
}
.pg10-bottom-nav-btn:hover, .pg10-nav-active {
  color: var(--pg10-primary-light);
}
.pg10-nav-active::after {
  content: ''; position: absolute; top: -1px;
  left: 50%; transform: translateX(-50%);
  width: 24px; height: 3px; background: var(--pg10-primary);
  border-radius: 0 0 3px 3px;
}

/* === Responsive Desktop === */
@media (min-width: 769px) {
  .pg10-bottom-nav { display: none; }
  .pg10-main { max-width: 768px; }
  .pg10-game-grid { grid-template-columns: repeat(6, 1fr); }
}
@media (max-width: 768px) {
  .pg10-main { padding-bottom: 80px; }
}

/* === Utility Classes === */
.pg10-text-center { text-align: center; }
.pg10-mt-1 { margin-top: 0.8rem; }
.pg10-mt-2 { margin-top: 1.6rem; }
.pg10-mb-1 { margin-bottom: 0.8rem; }
.pg10-mb-2 { margin-bottom: 1.6rem; }
.pg10-hidden { display: none !important; }
.pg10-flex-center { display: flex; align-items: center; justify-content: center; }
.pg10-gap-1 { gap: 0.8rem; }

/* === Testimonial Cards === */
.pg10-testimonial {
  background: var(--pg10-bg-card); border-radius: var(--pg10-radius-lg);
  padding: 1.4rem; margin-bottom: 1rem; border: 1px solid var(--pg10-border);
}
.pg10-testimonial-name {
  font-size: 1.3rem; font-weight: 600; color: var(--pg10-primary-light);
  margin-bottom: 0.4rem;
}
.pg10-testimonial-text {
  font-size: 1.3rem; color: var(--pg10-text); line-height: 1.5; font-style: italic;
}

/* === Payment Icons === */
.pg10-payment-row {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 1.2rem;
  margin: 1rem 0;
}
.pg10-payment-item {
  background: var(--pg10-bg-section); border-radius: var(--pg10-radius);
  padding: 0.8rem 1.2rem; font-size: 1.2rem; color: var(--pg10-text-muted);
  border: 1px solid var(--pg10-border);
}

/* === Winner Marquee === */
.pg10-winner-list { margin: 1rem 0; }
.pg10-winner-item {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.6rem 0; border-bottom: 1px solid rgba(42,42,62,0.3);
  font-size: 1.3rem;
}
.pg10-winner-name { color: var(--pg10-accent); }
.pg10-winner-amount { color: var(--pg10-success); font-weight: 600; }

/* === RTP Table === */
.pg10-rtp-table { width: 100%; border-collapse: collapse; margin: 1rem 0; }
.pg10-rtp-table th {
  background: var(--pg10-primary-dark); color: #fff;
  padding: 0.8rem; font-size: 1.2rem; text-align: left;
}
.pg10-rtp-table td {
  padding: 0.7rem 0.8rem; font-size: 1.2rem;
  border-bottom: 1px solid var(--pg10-border); color: var(--pg10-text);
}
.pg10-rtp-table tr:hover td { background: rgba(138,43,226,0.08); }

/* === Features Grid === */
.pg10-features-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1rem; margin: 1rem 0;
}
.pg10-feature-card {
  background: var(--pg10-bg-card); border-radius: var(--pg10-radius-lg);
  padding: 1.4rem; border: 1px solid var(--pg10-border);
  text-align: center;
}
.pg10-feature-card i {
  font-size: 2.4rem; color: var(--pg10-primary); margin-bottom: 0.6rem;
}
.pg10-feature-card h4 {
  font-size: 1.3rem; color: var(--pg10-text-light); margin-bottom: 0.4rem;
}
.pg10-feature-card p { font-size: 1.1rem; color: var(--pg10-text-muted); }

/* === FAQ Accordion === */
.pg10-faq-item {
  background: var(--pg10-bg-card); border-radius: var(--pg10-radius);
  margin-bottom: 0.8rem; border: 1px solid var(--pg10-border);
  overflow: hidden;
}
.pg10-faq-q {
  padding: 1.2rem 1.4rem; font-size: 1.4rem; font-weight: 600;
  color: var(--pg10-text-light); cursor: pointer;
}
.pg10-faq-a {
  padding: 0 1.4rem 1.2rem; font-size: 1.3rem; color: var(--pg10-text);
  line-height: 1.5;
}

/* === App Download CTA === */
.pg10-app-cta {
  background: linear-gradient(135deg, var(--pg10-primary-dark), var(--pg10-primary));
  border-radius: var(--pg10-radius-lg); padding: 2rem;
  text-align: center; margin: 1.5rem 0;
}
.pg10-app-cta h3 { font-size: 1.8rem; color: #fff; margin-bottom: 0.8rem; }
.pg10-app-cta p { font-size: 1.3rem; color: rgba(255,255,255,0.85); margin-bottom: 1.2rem; }
.pg10-app-btn {
  display: inline-block; padding: 1rem 2.5rem;
  background: #fff; color: var(--pg10-primary);
  font-size: 1.4rem; font-weight: 700;
  border-radius: var(--pg10-radius-lg); cursor: pointer; border: none;
}
