/**
 * 2010 JL88 - Core Stylesheet
 * Prefix: va37-
 * Color Palette: #20B2AA | #B2DFDB | #7FFF00 | #9AFF9A | #1E1E1E
 */

/* CSS Variables */
:root {
  --va37-primary: #20B2AA;
  --va37-secondary: #7FFF00;
  --va37-accent: #B2DFDB;
  --va37-highlight: #9AFF9A;
  --va37-bg: #1E1E1E;
  --va37-bg-dark: #141414;
  --va37-bg-card: #2A2A2A;
  --va37-text: #E8F5E9;
  --va37-text-dim: #A5D6A7;
  --va37-border: #37474F;
  --va37-gold: #FFD700;
  --va37-radius: 1.2rem;
  --va37-shadow: 0 4px 16px rgba(32, 178, 170, 0.15);
  font-size: 62.5%;
}

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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: var(--va37-bg);
  color: var(--va37-text);
  font-size: 1.5rem;
  line-height: 1.5;
  overflow-x: hidden;
  max-width: 430px;
  margin: 0 auto;
  -webkit-tap-highlight-color: transparent;
}

a { color: var(--va37-secondary); text-decoration: none; }
a:hover { color: var(--va37-highlight); }

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

/* === HEADER === */
.va37-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  border-bottom: 2px solid var(--va37-primary);
  z-index: 1000;
  padding: 0.8rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.va37-logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.va37-logo-wrap img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}

.va37-logo-wrap span {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--va37-primary);
  letter-spacing: 0.5px;
}

.va37-header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.va37-btn-register {
  background: linear-gradient(135deg, var(--va37-primary), #16a085);
  color: #fff;
  border: none;
  padding: 0.6rem 1.4rem;
  border-radius: 2rem;
  font-size: 1.3rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.va37-btn-register:hover {
  transform: scale(1.05);
  box-shadow: 0 2px 12px rgba(32, 178, 170, 0.4);
}

.va37-btn-login {
  background: transparent;
  color: var(--va37-primary);
  border: 1.5px solid var(--va37-primary);
  padding: 0.55rem 1.4rem;
  border-radius: 2rem;
  font-size: 1.3rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.va37-btn-login:hover {
  background: var(--va37-primary);
  color: #fff;
}

.va37-menu-toggle {
  background: none;
  border: none;
  color: var(--va37-text);
  font-size: 2.2rem;
  cursor: pointer;
  padding: 0.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* === MOBILE MENU === */
.va37-menu-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  z-index: 9998;
  opacity: 0;
  transition: opacity 0.3s;
}

.va37-mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 260px;
  height: 100%;
  background: var(--va37-bg-dark);
  z-index: 9999;
  transform: translateX(-100%);
  visibility: hidden;
  transition: transform 0.3s ease, visibility 0.3s;
  padding: 2rem 0;
  overflow-y: auto;
}

.va37-mobile-menu.va37-menu-open {
  transform: translateX(0);
  visibility: visible;
}

.va37-menu-header {
  padding: 0 1.6rem 1.6rem;
  border-bottom: 1px solid var(--va37-border);
  margin-bottom: 1rem;
}

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

.va37-menu-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 1.6rem;
  color: var(--va37-text);
  font-size: 1.4rem;
  transition: background 0.2s, color 0.2s;
}

.va37-menu-link:hover {
  background: rgba(32, 178, 170, 0.1);
  color: var(--va37-secondary);
}

.va37-menu-link i,
.va37-menu-link .material-icons {
  font-size: 2rem;
  width: 2.4rem;
  text-align: center;
}

/* === CAROUSEL === */
.va37-carousel {
  position: relative;
  width: 100%;
  margin-top: 52px;
  overflow: hidden;
  border-radius: 0 0 1rem 1rem;
}

.va37-slides-wrap {
  display: flex;
  transition: transform 0.5s ease;
}

.va37-slide {
  min-width: 100%;
  display: none;
  cursor: pointer;
}

.va37-slide-active {
  display: block;
}

.va37-slide img {
  width: 100%;
  height: auto;
  aspect-ratio: 16/7;
  object-fit: cover;
}

.va37-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.va37-slide-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: background 0.3s;
}

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

/* === CONTENT AREA === */
.va37-main {
  padding: 1.6rem;
  padding-top: 0.8rem;
}

.va37-section {
  margin-bottom: 2.4rem;
}

.va37-section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--va37-primary);
  margin-bottom: 1.2rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--va37-border);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.va37-section-title i,
.va37-section-title .material-icons {
  font-size: 2rem;
}

/* === GAME GRID === */
.va37-game-cat-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--va37-secondary);
  margin: 1.4rem 0 0.8rem;
  padding-left: 0.4rem;
  border-left: 3px solid var(--va37-primary);
}

.va37-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
}

.va37-game-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: transform 0.2s;
  text-align: center;
}

.va37-game-item:hover {
  transform: scale(1.06);
}

.va37-game-item img {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  object-fit: cover;
  margin-bottom: 0.3rem;
  border: 2px solid var(--va37-border);
  transition: border-color 0.2s;
}

.va37-game-item:hover img {
  border-color: var(--va37-primary);
}

.va37-game-item span {
  font-size: 1.1rem;
  color: var(--va37-text-dim);
  line-height: 1.2;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

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

.va37-card-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--va37-primary);
  margin-bottom: 0.8rem;
}

.va37-card p {
  color: var(--va37-text-dim);
  font-size: 1.4rem;
  line-height: 1.6;
  margin-bottom: 0.8rem;
}

/* === PROMO CTA === */
.va37-cta-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--va37-primary), var(--va37-secondary));
  color: #1E1E1E;
  font-weight: 700;
  font-size: 1.5rem;
  padding: 1rem 2.4rem;
  border-radius: 2.5rem;
  cursor: pointer;
  border: none;
  transition: transform 0.2s, box-shadow 0.2s;
  text-align: center;
  width: 100%;
}

.va37-cta-btn:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 20px rgba(127, 255, 0, 0.3);
}

.va37-text-link {
  color: var(--va37-secondary);
  font-weight: 600;
  cursor: pointer;
  border-bottom: 1px dashed var(--va37-secondary);
  transition: color 0.2s;
}

.va37-text-link:hover {
  color: var(--va37-highlight);
}

/* === STATS GRID === */
.va37-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.va37-stat-item {
  background: var(--va37-bg-card);
  border-radius: 1rem;
  padding: 1.2rem;
  text-align: center;
  border: 1px solid var(--va37-border);
}

.va37-stat-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--va37-secondary);
}

.va37-stat-label {
  font-size: 1.2rem;
  color: var(--va37-text-dim);
  margin-top: 0.3rem;
}

/* === TESTIMONIALS === */
.va37-testimonial {
  background: var(--va37-bg-card);
  border-radius: var(--va37-radius);
  padding: 1.4rem;
  margin-bottom: 1rem;
  border-left: 3px solid var(--va37-primary);
}

.va37-testimonial-name {
  font-weight: 600;
  color: var(--va37-primary);
  font-size: 1.3rem;
}

.va37-testimonial-text {
  color: var(--va37-text-dim);
  font-size: 1.3rem;
  margin-top: 0.5rem;
  line-height: 1.5;
}

/* === FOOTER === */
.va37-footer {
  background: var(--va37-bg-dark);
  padding: 2rem 1.6rem 8rem;
  border-top: 2px solid var(--va37-primary);
}

.va37-footer-brand {
  color: var(--va37-text-dim);
  font-size: 1.3rem;
  line-height: 1.6;
  margin-bottom: 1.4rem;
}

.va37-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.4rem;
}

.va37-footer-link {
  background: var(--va37-bg-card);
  color: var(--va37-text);
  padding: 0.5rem 1rem;
  border-radius: 1.5rem;
  font-size: 1.2rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  border: 1px solid var(--va37-border);
}

.va37-footer-link:hover {
  background: var(--va37-primary);
  color: #fff;
}

.va37-footer-copy {
  color: #666;
  font-size: 1.1rem;
  text-align: center;
  margin-top: 1.2rem;
}

/* === BOTTOM NAV === */
.va37-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: 60px;
  background: linear-gradient(180deg, #1a2a28 0%, #141414 100%);
  border-top: 2px solid var(--va37-primary);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  padding: 0 0.4rem;
}

.va37-bnav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 54px;
  cursor: pointer;
  border: none;
  background: transparent;
  color: var(--va37-text-dim);
  transition: color 0.2s, transform 0.15s;
  gap: 2px;
}

.va37-bnav-btn:hover,
.va37-bnav-btn.va37-bnav-active {
  color: var(--va37-primary);
  transform: scale(1.08);
}

.va37-bnav-btn i,
.va37-bnav-btn .material-icons {
  font-size: 22px;
}

.va37-bnav-btn span {
  font-size: 1rem;
  font-weight: 500;
}

/* === DESKTOP: HIDE BOTTOM NAV === */
@media (min-width: 769px) {
  .va37-bottom-nav {
    display: none;
  }
}

/* === MOBILE: BOTTOM PADDING === */
@media (max-width: 768px) {
  .va37-main {
    padding-bottom: 80px;
  }
  .va37-footer {
    padding-bottom: 8rem;
  }
}

/* === FAQ ACCORDION === */
.va37-faq-item {
  background: var(--va37-bg-card);
  border-radius: 1rem;
  margin-bottom: 0.8rem;
  overflow: hidden;
  border: 1px solid var(--va37-border);
}

.va37-faq-q {
  padding: 1.2rem 1.4rem;
  font-weight: 600;
  color: var(--va37-text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.4rem;
}

.va37-faq-q::after {
  content: '+';
  font-size: 1.8rem;
  color: var(--va37-primary);
  transition: transform 0.3s;
}

.va37-faq-item.open .va37-faq-q::after {
  transform: rotate(45deg);
}

.va37-faq-a {
  padding: 0 1.4rem 1.2rem;
  color: var(--va37-text-dim);
  font-size: 1.3rem;
  line-height: 1.6;
  display: none;
}

.va37-faq-item.open .va37-faq-a {
  display: block;
}

/* === STEP LIST === */
.va37-step {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.2rem;
  align-items: flex-start;
}

.va37-step-num {
  background: var(--va37-primary);
  color: #fff;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.va37-step-text {
  color: var(--va37-text-dim);
  font-size: 1.4rem;
  line-height: 1.6;
}

/* === UTILITY === */
.va37-text-center { text-align: center; }
.va37-mt-1 { margin-top: 0.8rem; }
.va37-mt-2 { margin-top: 1.6rem; }
.va37-mb-1 { margin-bottom: 0.8rem; }
.va37-mb-2 { margin-bottom: 1.6rem; }

/* === PARTNER LOGOS === */
.va37-partners {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin: 1rem 0;
}

.va37-partner-logo {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  object-fit: contain;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.va37-partner-logo:hover {
  opacity: 1;
}

/* === WINNERS TICKER === */
.va37-winners-list {
  max-height: 200px;
  overflow: hidden;
}

.va37-winner-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.va37-winner-name {
  color: var(--va37-primary);
  font-weight: 600;
  font-size: 1.3rem;
}

.va37-winner-game {
  color: var(--va37-text-dim);
  font-size: 1.2rem;
}

.va37-winner-amount {
  color: var(--va37-gold);
  font-weight: 700;
  font-size: 1.3rem;
}
