/**
 * mpl pg - Main Stylesheet
 * All classes use va32- prefix for namespace isolation
 * Color Palette: #20B2AA | #0D1117 | #EEE8AA | #FFB347 | #7FFF00
 */

/* CSS Variables */
:root {
  --va32-primary: #20B2AA;
  --va32-bg: #0D1117;
  --va32-text-light: #EEE8AA;
  --va32-accent: #FFB347;
  --va32-highlight: #7FFF00;
  --va32-bg-card: #161b22;
  --va32-bg-dark: #0a0e14;
  --va32-border: #21262d;
  --va32-text: #c9d1d9;
  --va32-text-muted: #8b949e;
  --va32-font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 62.5%; scroll-behavior: smooth; }
body {
  font-family: var(--va32-font);
  background: var(--va32-bg);
  color: var(--va32-text);
  line-height: 1.6;
  font-size: 1.6rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

/* Container */
.va32-container {
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1.6rem;
}
.va32-wrapper {
  max-width: 430px;
  margin: 0 auto;
}

/* Header */
.va32-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(13, 17, 23, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--va32-border);
  height: 56px;
}
.va32-header-inner {
  max-width: 430px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.2rem;
  height: 56px;
}
.va32-logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.va32-logo img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}
.va32-logo-text {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--va32-primary);
  letter-spacing: 0.5px;
}
.va32-header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.va32-btn-register {
  background: var(--va32-primary);
  color: var(--va32-bg);
  border: none;
  padding: 0.5rem 1.2rem;
  border-radius: 6px;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.va32-btn-register:hover {
  background: #1a9e97;
  transform: scale(1.03);
}
.va32-btn-login {
  background: transparent;
  color: var(--va32-primary);
  border: 1.5px solid var(--va32-primary);
  padding: 0.5rem 1.2rem;
  border-radius: 6px;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.va32-btn-login:hover {
  background: rgba(32, 178, 170, 0.1);
}
.va32-menu-toggle {
  background: none;
  border: none;
  color: var(--va32-text);
  font-size: 2.2rem;
  cursor: pointer;
  padding: 0.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Mobile Menu */
.va32-mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 280px;
  height: 100vh;
  z-index: 9999;
  background: var(--va32-bg-dark);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  padding: 2rem 1.6rem;
  overflow-y: auto;
  border-left: 1px solid var(--va32-border);
}
.va32-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9998;
  background: rgba(0, 0, 0, 0.6);
  display: none;
}
.va32-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--va32-border);
}
.va32-menu-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--va32-primary);
}
.va32-menu-close {
  background: none;
  border: none;
  color: var(--va32-text);
  font-size: 2.4rem;
  cursor: pointer;
}
.va32-menu-link {
  display: block;
  padding: 1.2rem 0;
  font-size: 1.5rem;
  color: var(--va32-text);
  border-bottom: 1px solid var(--va32-border);
  transition: color 0.2s;
}
.va32-menu-link:hover {
  color: var(--va32-primary);
}

/* Carousel */
.va32-carousel {
  position: relative;
  overflow: hidden;
  border-radius: 0 0 12px 12px;
}
.va32-carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}
.va32-slide {
  min-width: 100%;
  cursor: pointer;
}
.va32-slide img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.va32-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}
.va32-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  border: none;
  transition: background 0.3s;
}
.va32-dot-active {
  background: var(--va32-primary);
  width: 20px;
  border-radius: 4px;
}

/* Sections */
.va32-section {
  padding: 2.5rem 0;
}
.va32-section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--va32-text-light);
  margin-bottom: 1.6rem;
  position: relative;
  padding-left: 1.2rem;
}
.va32-section-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.3rem;
  bottom: 0.3rem;
  width: 4px;
  border-radius: 2px;
  background: var(--va32-primary);
}

/* Game Grid */
.va32-game-category-title {
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--va32-accent);
  margin: 2rem 0 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.va32-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.va32-game-item {
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s;
}
.va32-game-item:hover {
  transform: translateY(-3px);
}
.va32-game-item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--va32-border);
}
.va32-game-name {
  font-size: 1.1rem;
  color: var(--va32-text);
  margin-top: 0.4rem;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Cards */
.va32-card {
  background: var(--va32-bg-card);
  border-radius: 12px;
  padding: 1.6rem;
  margin-bottom: 1.2rem;
  border: 1px solid var(--va32-border);
}
.va32-card-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--va32-accent);
  margin-bottom: 0.8rem;
}

/* Buttons */
.va32-btn-promo {
  display: inline-block;
  background: linear-gradient(135deg, var(--va32-primary), #1a9e97);
  color: #fff;
  padding: 1rem 2.4rem;
  border-radius: 8px;
  font-size: 1.5rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  text-align: center;
}
.va32-btn-promo:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(32, 178, 170, 0.3);
}
.va32-btn-accent {
  display: inline-block;
  background: linear-gradient(135deg, var(--va32-accent), #e09530);
  color: var(--va32-bg);
  padding: 0.8rem 2rem;
  border-radius: 8px;
  font-size: 1.4rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
}
.va32-btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(255, 179, 71, 0.3);
}

/* Promo Banner */
.va32-promo-banner {
  background: linear-gradient(135deg, rgba(32, 178, 170, 0.15), rgba(127, 255, 0, 0.1));
  border: 1px solid rgba(32, 178, 170, 0.3);
  border-radius: 12px;
  padding: 2rem 1.6rem;
  text-align: center;
  margin: 2rem 0;
}
.va32-promo-banner h3 {
  color: var(--va32-accent);
  font-size: 1.8rem;
  margin-bottom: 0.8rem;
}
.va32-promo-banner p {
  color: var(--va32-text);
  font-size: 1.3rem;
  margin-bottom: 1.2rem;
}

/* Footer */
.va32-footer {
  background: var(--va32-bg-dark);
  border-top: 1px solid var(--va32-border);
  padding: 3rem 0 8rem;
}
.va32-footer-desc {
  color: var(--va32-text-muted);
  font-size: 1.3rem;
  line-height: 1.6;
  margin-bottom: 1.6rem;
}
.va32-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.6rem;
}
.va32-footer-link {
  font-size: 1.2rem;
  color: var(--va32-primary);
  transition: color 0.2s;
}
.va32-footer-link:hover { color: var(--va32-accent); }
.va32-footer-copy {
  color: var(--va32-text-muted);
  font-size: 1.2rem;
  text-align: center;
  margin-top: 1.6rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--va32-border);
}

/* Bottom Navigation */
.va32-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(13, 17, 23, 0.97);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--va32-border);
  height: 60px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 0 0.4rem;
}
.va32-nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 56px;
  background: none;
  border: none;
  color: var(--va32-text-muted);
  cursor: pointer;
  transition: all 0.2s;
  gap: 2px;
}
.va32-nav-btn:hover, .va32-nav-btn-active {
  color: var(--va32-primary);
}
.va32-nav-btn:active {
  transform: scale(0.92);
}
.va32-nav-btn .va32-nav-icon {
  font-size: 2.2rem;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.va32-nav-btn .va32-nav-label {
  font-size: 1rem;
  font-weight: 500;
}

/* Content Text */
.va32-text-content {
  color: var(--va32-text);
  font-size: 1.4rem;
  line-height: 1.8;
}
.va32-text-content p {
  margin-bottom: 1rem;
}
.va32-text-content h2 {
  font-size: 1.8rem;
  color: var(--va32-text-light);
  margin: 2rem 0 1rem;
}
.va32-text-content h3 {
  font-size: 1.6rem;
  color: var(--va32-accent);
  margin: 1.6rem 0 0.8rem;
}
.va32-text-content ul {
  padding-left: 2rem;
  margin-bottom: 1rem;
}
.va32-text-content li {
  list-style: disc;
  margin-bottom: 0.6rem;
}
.va32-text-content a {
  color: var(--va32-primary);
  text-decoration: underline;
}
.va32-text-content strong {
  color: var(--va32-highlight);
}

/* Highlight Box */
.va32-highlight-box {
  background: rgba(32, 178, 170, 0.08);
  border-left: 3px solid var(--va32-primary);
  padding: 1.2rem 1.6rem;
  border-radius: 0 8px 8px 0;
  margin: 1.6rem 0;
}

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

/* Testimonial Card */
.va32-testimonial {
  background: var(--va32-bg-card);
  border: 1px solid var(--va32-border);
  border-radius: 10px;
  padding: 1.4rem;
  margin-bottom: 1rem;
}
.va32-testimonial-user {
  font-weight: 700;
  color: var(--va32-primary);
  font-size: 1.3rem;
}
.va32-testimonial-text {
  color: var(--va32-text);
  font-size: 1.3rem;
  margin-top: 0.6rem;
  line-height: 1.5;
}

/* Winner Showcase */
.va32-winner-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--va32-border);
}
.va32-winner-item:last-child { border-bottom: none; }
.va32-winner-name {
  font-size: 1.3rem;
  color: var(--va32-accent);
  font-weight: 600;
}
.va32-winner-game {
  font-size: 1.2rem;
  color: var(--va32-text-muted);
}
.va32-winner-amount {
  margin-left: auto;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--va32-highlight);
}

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

/* Stats Bar */
.va32-stats-bar {
  display: flex;
  justify-content: space-around;
  background: var(--va32-bg-card);
  border-radius: 10px;
  padding: 1.4rem;
  margin: 1.6rem 0;
  border: 1px solid var(--va32-border);
}
.va32-stat-item {
  text-align: center;
}
.va32-stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--va32-primary);
}
.va32-stat-label {
  font-size: 1.1rem;
  color: var(--va32-text-muted);
}

/* Desktop Hide / Mobile Adjustments */
@media (min-width: 769px) {
  .va32-bottom-nav { display: none; }
  .va32-container { max-width: 768px; }
  .va32-wrapper { max-width: 768px; }
  .va32-header-inner { max-width: 768px; }
  .va32-game-grid { grid-template-columns: repeat(5, 1fr); }
}
@media (max-width: 768px) {
  main { padding-bottom: 80px; }
  .va32-slide img { height: 180px; }
}
