/**
 * Super Scatter - Theme Stylesheet
 * CSS prefix: pg2c-
 * Palette: #0000FF (electric blue), #7CFC00 (neon green), #141414 (dark bg), #00FF7F (spring green)
 */

:root {
  --pg2c-primary: #0000FF;
  --pg2c-accent: #7CFC00;
  --pg2c-bg: #141414;
  --pg2c-bg-alt: #1a1a2e;
  --pg2c-surface: #1e1e30;
  --pg2c-highlight: #00FF7F;
  --pg2c-text: #e8e8e8;
  --pg2c-text-muted: #a0a0b0;
  --pg2c-border: #2a2a40;
  --pg2c-danger: #ff4757;
  --pg2c-gold: #ffd700;
  --pg2c-radius: 8px;
  --pg2c-radius-lg: 14px;
  --pg2c-shadow: 0 2px 12px rgba(0, 0, 255, 0.15);
  --pg2c-transition: all 0.3s ease;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
  background-color: var(--pg2c-bg);
  color: var(--pg2c-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--pg2c-highlight);
  text-decoration: none;
  transition: var(--pg2c-transition);
}

a:hover {
  color: var(--pg2c-accent);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ========== HEADER ========== */
.pg2c-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(135deg, #0d0d1a 0%, #141428 100%);
  border-bottom: 1px solid var(--pg2c-primary);
  box-shadow: 0 2px 10px rgba(0, 0, 255, 0.2);
  padding: 0 1rem;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pg2c-header-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.pg2c-header-logo img {
  width: 28px;
  height: 28px;
  border-radius: 4px;
}

.pg2c-header-logo span {
  font-size: 1.6rem;
  font-weight: 700;
  background: linear-gradient(90deg, var(--pg2c-primary), var(--pg2c-highlight));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.pg2c-header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pg2c-btn-register {
  background: linear-gradient(135deg, var(--pg2c-primary), #0033cc);
  color: #fff;
  border: none;
  padding: 0.5rem 1.2rem;
  border-radius: var(--pg2c-radius);
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--pg2c-transition);
  min-height: 34px;
}

.pg2c-btn-register:hover {
  transform: scale(1.05);
  box-shadow: 0 0 12px rgba(0, 0, 255, 0.5);
}

.pg2c-btn-login {
  background: transparent;
  color: var(--pg2c-highlight);
  border: 1px solid var(--pg2c-highlight);
  padding: 0.5rem 1.2rem;
  border-radius: var(--pg2c-radius);
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--pg2c-transition);
  min-height: 34px;
}

.pg2c-btn-login:hover {
  background: var(--pg2c-highlight);
  color: var(--pg2c-bg);
}

.pg2c-menu-toggle {
  background: none;
  border: none;
  color: var(--pg2c-text);
  font-size: 2.2rem;
  cursor: pointer;
  padding: 0.4rem;
  margin-left: 0.3rem;
  line-height: 1;
}

/* ========== MOBILE MENU ========== */
.pg2c-mobile-menu {
  position: fixed;
  top: 0;
  right: -280px;
  width: 280px;
  height: 100%;
  background: var(--pg2c-bg-alt);
  z-index: 9999;
  transition: right 0.3s ease;
  padding: 1.5rem;
  overflow-y: auto;
}

.pg2c-menu-active {
  right: 0 !important;
}

.pg2c-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.pg2c-overlay-active {
  opacity: 1;
  pointer-events: auto;
}

.pg2c-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--pg2c-border);
}

.pg2c-menu-header span {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--pg2c-primary);
}

.pg2c-menu-close {
  background: none;
  border: none;
  color: var(--pg2c-text);
  font-size: 2rem;
  cursor: pointer;
}

.pg2c-menu-links {
  list-style: none;
}

.pg2c-menu-links li {
  margin-bottom: 0.3rem;
}

.pg2c-menu-links a {
  display: block;
  padding: 1rem;
  color: var(--pg2c-text);
  border-radius: var(--pg2c-radius);
  font-size: 1.4rem;
  transition: var(--pg2c-transition);
}

.pg2c-menu-links a:hover {
  background: var(--pg2c-surface);
  color: var(--pg2c-highlight);
}

/* ========== MAIN CONTENT ========== */
.pg2c-main {
  padding-top: 52px;
  min-height: 100vh;
}

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

.pg2c-container {
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* ========== CAROUSEL ========== */
.pg2c-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: var(--pg2c-radius-lg);
  margin: 1rem 0;
}

.pg2c-slides-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16/7;
}

.pg2c-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.6s ease;
  cursor: pointer;
}

.pg2c-slide-active {
  opacity: 1;
}

.pg2c-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--pg2c-radius-lg);
}

.pg2c-dots {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.6rem 0;
}

.pg2c-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pg2c-border);
  cursor: pointer;
  transition: var(--pg2c-transition);
  border: none;
}

.pg2c-dot-active {
  background: var(--pg2c-primary);
  width: 20px;
  border-radius: 4px;
}

/* ========== SECTIONS ========== */
.pg2c-section {
  padding: 1.5rem 0;
}

.pg2c-section-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--pg2c-text);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.pg2c-section-title i {
  color: var(--pg2c-primary);
}

/* ========== GAME GRID ========== */
.pg2c-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
}

.pg2c-game-item {
  text-align: center;
  cursor: pointer;
  transition: var(--pg2c-transition);
  border-radius: var(--pg2c-radius);
  padding: 0.4rem;
}

.pg2c-game-item:hover {
  background: var(--pg2c-surface);
  transform: translateY(-2px);
}

.pg2c-game-item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--pg2c-radius);
  margin-bottom: 0.3rem;
  border: 1px solid var(--pg2c-border);
}

.pg2c-game-item span {
  font-size: 1rem;
  color: var(--pg2c-text-muted);
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ========== CATEGORY TABS ========== */
.pg2c-cat-tabs {
  display: flex;
  gap: 0.4rem;
  overflow-x: auto;
  padding: 0.5rem 0;
  margin-bottom: 1rem;
  -webkit-overflow-scrolling: touch;
}

.pg2c-cat-tab {
  padding: 0.5rem 1.2rem;
  border-radius: 20px;
  background: var(--pg2c-surface);
  color: var(--pg2c-text-muted);
  font-size: 1.2rem;
  cursor: pointer;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: var(--pg2c-transition);
}

.pg2c-cat-tab-active,
.pg2c-cat-tab:hover {
  background: var(--pg2c-primary);
  color: #fff;
  border-color: var(--pg2c-primary);
}

.pg2c-cat-panel {
  display: none;
}

.pg2c-cat-panel-active {
  display: block;
}

/* ========== CARDS ========== */
.pg2c-card {
  background: var(--pg2c-surface);
  border-radius: var(--pg2c-radius-lg);
  padding: 1.2rem;
  margin-bottom: 1rem;
  border: 1px solid var(--pg2c-border);
}

.pg2c-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.6rem;
  color: var(--pg2c-highlight);
}

.pg2c-card p {
  color: var(--pg2c-text-muted);
  line-height: 1.6;
  font-size: 1.3rem;
}

/* ========== CTA BUTTON ========== */
.pg2c-cta {
  display: inline-block;
  background: linear-gradient(135deg, var(--pg2c-primary), #0055ff);
  color: #fff;
  padding: 1rem 2.5rem;
  border-radius: 30px;
  font-size: 1.5rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: var(--pg2c-transition);
  text-align: center;
}

.pg2c-cta:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(0, 0, 255, 0.4);
}

.pg2c-cta-green {
  background: linear-gradient(135deg, var(--pg2c-accent), #5cbf00);
  color: #000;
}

.pg2c-cta-center {
  display: flex;
  justify-content: center;
  margin: 1.5rem 0;
}

/* ========== PROMO TEXT LINK ========== */
.pg2c-promo-link {
  color: var(--pg2c-accent);
  font-weight: 700;
  cursor: pointer;
  border-bottom: 1px dashed var(--pg2c-accent);
  transition: var(--pg2c-transition);
}

.pg2c-promo-link:hover {
  color: var(--pg2c-highlight);
  border-color: var(--pg2c-highlight);
}

/* ========== WINNERS TABLE ========== */
.pg2c-winners-list {
  list-style: none;
}

.pg2c-winners-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--pg2c-border);
  font-size: 1.2rem;
}

.pg2c-winners-list .pg2c-winner-name {
  color: var(--pg2c-text);
  font-weight: 600;
}

.pg2c-winners-list .pg2c-winner-amount {
  color: var(--pg2c-gold);
  font-weight: 700;
}

.pg2c-winners-list .pg2c-winner-game {
  color: var(--pg2c-text-muted);
  font-size: 1.1rem;
}

/* ========== PAYMENT METHODS ========== */
.pg2c-payment-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
}

.pg2c-payment-item {
  background: var(--pg2c-surface);
  border: 1px solid var(--pg2c-border);
  border-radius: var(--pg2c-radius);
  padding: 0.6rem 1rem;
  font-size: 1.2rem;
  color: var(--pg2c-text);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* ========== TESTIMONIALS ========== */
.pg2c-testimonial {
  background: var(--pg2c-surface);
  border-left: 3px solid var(--pg2c-primary);
  border-radius: var(--pg2c-radius);
  padding: 1rem;
  margin-bottom: 0.8rem;
}

.pg2c-testimonial p {
  font-size: 1.2rem;
  color: var(--pg2c-text-muted);
  font-style: italic;
  margin-bottom: 0.4rem;
}

.pg2c-testimonial .pg2c-testimonial-author {
  color: var(--pg2c-highlight);
  font-weight: 600;
  font-style: normal;
  font-size: 1.1rem;
}

/* ========== FOOTER ========== */
.pg2c-footer {
  background: var(--pg2c-bg-alt);
  border-top: 1px solid var(--pg2c-border);
  padding: 2rem 1rem 1rem;
  text-align: center;
}

.pg2c-footer-desc {
  font-size: 1.2rem;
  color: var(--pg2c-text-muted);
  margin-bottom: 1.2rem;
  line-height: 1.6;
}

.pg2c-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  margin-bottom: 1.2rem;
}

.pg2c-footer-links a {
  background: var(--pg2c-surface);
  border: 1px solid var(--pg2c-border);
  border-radius: var(--pg2c-radius);
  padding: 0.4rem 1rem;
  font-size: 1.1rem;
  color: var(--pg2c-text-muted);
  transition: var(--pg2c-transition);
}

.pg2c-footer-links a:hover {
  border-color: var(--pg2c-primary);
  color: var(--pg2c-primary);
}

.pg2c-footer-copy {
  font-size: 1.1rem;
  color: var(--pg2c-text-muted);
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--pg2c-border);
}

/* ========== BOTTOM NAVIGATION ========== */
.pg2c-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 60px;
  background: linear-gradient(180deg, #0f0f22 0%, #0a0a18 100%);
  border-top: 1px solid var(--pg2c-primary);
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 0 0.3rem;
  box-shadow: 0 -2px 10px rgba(0, 0, 255, 0.15);
}

.pg2c-bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 58px;
  min-height: 58px;
  cursor: pointer;
  color: var(--pg2c-text-muted);
  transition: var(--pg2c-transition);
  border: none;
  background: none;
  gap: 0.2rem;
  -webkit-tap-highlight-color: transparent;
}

.pg2c-bottom-nav-item:hover,
.pg2c-bottom-nav-item:focus {
  color: var(--pg2c-accent);
  transform: scale(1.08);
}

.pg2c-bottom-nav-item .pg2c-nav-icon {
  font-size: 22px;
  line-height: 1;
}

.pg2c-bottom-nav-item .pg2c-nav-label {
  font-size: 1rem;
  line-height: 1;
  font-weight: 500;
}

.pg2c-bottom-nav-item.pg2c-nav-active {
  color: var(--pg2c-highlight);
}

.pg2c-bottom-nav-item.pg2c-nav-active .pg2c-nav-icon {
  filter: drop-shadow(0 0 4px rgba(0, 255, 127, 0.5));
}

/* Hide bottom nav on desktop */
@media (min-width: 769px) {
  .pg2c-bottom-nav {
    display: none;
  }
}

/* ========== DESKTOP NAV (hidden on mobile) ========== */
.pg2c-desktop-nav {
  display: none;
}

@media (min-width: 769px) {
  .pg2c-desktop-nav {
    display: flex;
    gap: 1.5rem;
    align-items: center;
  }

  .pg2c-desktop-nav a {
    color: var(--pg2c-text-muted);
    font-size: 1.3rem;
    transition: var(--pg2c-transition);
  }

  .pg2c-desktop-nav a:hover {
    color: var(--pg2c-highlight);
  }
}

/* ========== UTILITIES ========== */
.pg2c-text-center {
  text-align: center;
}

.pg2c-mt-1 {
  margin-top: 0.8rem;
}

.pg2c-mt-2 {
  margin-top: 1.6rem;
}

.pg2c-mb-1 {
  margin-bottom: 0.8rem;
}

.pg2c-mb-2 {
  margin-bottom: 1.6rem;
}

.pg2c-hidden {
  display: none;
}

/* ========== RESPONSIVE HELPERS ========== */
@media (max-width: 430px) {
  .pg2c-game-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 0.4rem;
  }

  .pg2c-game-item span {
    font-size: 0.9rem;
  }
}

@media (min-width: 431px) and (max-width: 768px) {
  .pg2c-game-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* ========== APP DOWNLOAD ========== */
.pg2c-app-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--pg2c-surface);
  border: 1px solid var(--pg2c-primary);
  border-radius: var(--pg2c-radius);
  padding: 0.8rem 1.5rem;
  cursor: pointer;
  transition: var(--pg2c-transition);
  margin: 0.4rem;
}

.pg2c-app-badge:hover {
  border-color: var(--pg2c-highlight);
  transform: translateY(-2px);
}

.pg2c-app-badge i {
  font-size: 2rem;
  color: var(--pg2c-primary);
}

.pg2c-app-badge span {
  font-size: 1.2rem;
  color: var(--pg2c-text);
}

/* ========== RTP BARS ========== */
.pg2c-rtp-bar {
  background: var(--pg2c-surface);
  border-radius: var(--pg2c-radius);
  padding: 0.6rem 1rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.pg2c-rtp-bar-label {
  font-size: 1.1rem;
  color: var(--pg2c-text-muted);
  min-width: 70px;
}

.pg2c-rtp-bar-track {
  flex: 1;
  height: 6px;
  background: var(--pg2c-border);
  border-radius: 3px;
  overflow: hidden;
}

.pg2c-rtp-bar-fill {
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--pg2c-primary), var(--pg2c-highlight));
}

.pg2c-rtp-bar-value {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--pg2c-highlight);
  min-width: 40px;
  text-align: right;
}

/* ========== FAQ ========== */
.pg2c-faq-item {
  background: var(--pg2c-surface);
  border-radius: var(--pg2c-radius);
  padding: 1rem;
  margin-bottom: 0.6rem;
  border: 1px solid var(--pg2c-border);
}

.pg2c-faq-item h3 {
  font-size: 1.3rem;
  color: var(--pg2c-highlight);
  margin-bottom: 0.4rem;
}

.pg2c-faq-item p {
  font-size: 1.2rem;
  color: var(--pg2c-text-muted);
  line-height: 1.5;
}

/* ========== BREADCRUMB ========== */
.pg2c-breadcrumb {
  font-size: 1.1rem;
  color: var(--pg2c-text-muted);
  padding: 0.8rem 0;
}

.pg2c-breadcrumb a {
  color: var(--pg2c-text-muted);
}

.pg2c-breadcrumb a:hover {
  color: var(--pg2c-highlight);
}

/* ========== GLOW ACCENT ========== */
.pg2c-glow {
  text-shadow: 0 0 10px rgba(0, 0, 255, 0.4);
}
