/* ============================================
   Nutstar Main Stylesheet
   CSS Class Prefix: v982-
   Color Palette: #8B7355 | #98FB98 | #2C2C2C | #FDF5E6 | #90EE90
   ============================================ */

/* CSS Variables */
:root {
  --v982-primary: #8B7355;
  --v982-accent: #98FB98;
  --v982-dark: #2C2C2C;
  --v982-light: #FDF5E6;
  --v982-green: #90EE90;
  --v982-primary-dark: #6B5740;
  --v982-primary-light: #A89070;
  --v982-accent-dark: #6BCB6B;
  --v982-dark-soft: #3A3A3A;
  --v982-shadow: rgba(139, 115, 85, 0.3);
  --v982-radius: 1.2rem;
  --v982-radius-sm: 0.8rem;
  --v982-transition: all 0.3s ease;
  font-size: 62.5%;
}

/* 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;
  font-size: 1.6rem;
  line-height: 1.5rem;
  background-color: var(--v982-dark);
  color: var(--v982-light);
  overflow-x: hidden;
  max-width: 430px;
  margin: 0 auto;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

/* Container */
.v982-container { width: 100%; padding: 0 1.2rem; margin: 0 auto; }
.v982-wrapper { padding: 1.5rem 1.2rem; }

/* ========== HEADER ========== */
.v982-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(135deg, var(--v982-dark) 0%, #1A1A1A 100%);
  border-bottom: 2px solid var(--v982-primary);
  max-width: 430px;
  margin: 0 auto;
}
.v982-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1rem;
  height: 5.6rem;
}
.v982-logo-area {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.v982-logo-area img { width: 3rem; height: 3rem; border-radius: 0.5rem; }
.v982-logo-text {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--v982-green);
  letter-spacing: 0.5px;
}
.v982-header-actions { display: flex; gap: 0.6rem; align-items: center; }
.v982-btn-register, .v982-btn-login {
  padding: 0.6rem 1.4rem;
  border: none;
  border-radius: var(--v982-radius-sm);
  font-size: 1.3rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--v982-transition);
  min-height: 3.6rem;
}
.v982-btn-register {
  background: linear-gradient(135deg, var(--v982-green), var(--v982-accent));
  color: var(--v982-dark);
}
.v982-btn-register:hover { transform: scale(1.05); box-shadow: 0 2px 10px rgba(144,238,144,0.4); }
.v982-btn-login {
  background: transparent;
  border: 2px solid var(--v982-primary);
  color: var(--v982-light);
}
.v982-btn-login:hover { background: var(--v982-primary); color: var(--v982-dark); }
.v982-menu-btn {
  background: none;
  border: none;
  color: var(--v982-light);
  font-size: 2.2rem;
  cursor: pointer;
  padding: 0.4rem;
  display: flex;
  align-items: center;
}

/* ========== MOBILE MENU ========== */
.v982-menu-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.7);
  z-index: 9998;
}
.v982-overlay-active { display: block; }
.v982-mobile-menu {
  position: fixed;
  top: 0; right: -280px;
  width: 280px;
  height: 100%;
  background: linear-gradient(180deg, #1A1A1A, var(--v982-dark));
  z-index: 9999;
  transition: right 0.3s ease;
  padding: 2rem 1.5rem;
  overflow-y: auto;
}
.v982-menu-active { right: 0; }
.v982-mobile-menu .v982-menu-close {
  background: none;
  border: none;
  color: var(--v982-light);
  font-size: 2.4rem;
  cursor: pointer;
  position: absolute;
  top: 1rem; right: 1rem;
}
.v982-mobile-menu nav a {
  display: block;
  padding: 1.2rem 0;
  color: var(--v982-light);
  font-size: 1.5rem;
  border-bottom: 1px solid rgba(139,115,85,0.3);
  transition: var(--v982-transition);
}
.v982-mobile-menu nav a:hover { color: var(--v982-green); padding-left: 0.8rem; }

/* ========== CAROUSEL ========== */
.v982-carousel { position: relative; overflow: hidden; margin-top: 5.6rem; }
.v982-slide { display: none; cursor: pointer; }
.v982-slide img { width: 100%; height: auto; min-height: 180px; object-fit: cover; }
.v982-dots { display: flex; justify-content: center; gap: 0.8rem; padding: 1rem 0; }
.v982-dot {
  width: 1rem; height: 1rem;
  border-radius: 50%;
  background: rgba(253,245,230,0.4);
  cursor: pointer;
  transition: var(--v982-transition);
  border: none;
}
.v982-dot-active { background: var(--v982-green); transform: scale(1.2); }

/* ========== GAME GRID ========== */
.v982-section { padding: 2rem 1.2rem; }
.v982-section-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--v982-green);
  margin-bottom: 1.5rem;
  padding-bottom: 0.8rem;
  border-bottom: 2px solid var(--v982-primary);
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.v982-section-title i { font-size: 2.2rem; color: var(--v982-primary-light); }
.v982-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
}
.v982-game-card {
  text-align: center;
  cursor: pointer;
  transition: var(--v982-transition);
  border-radius: var(--v982-radius-sm);
  padding: 0.5rem;
  background: rgba(255,255,255,0.04);
}
.v982-game-card:hover { transform: translateY(-3px); background: rgba(144,238,144,0.1); }
.v982-game-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 0.6rem;
  border: 2px solid rgba(139,115,85,0.3);
}
.v982-game-name {
  font-size: 1.1rem;
  color: var(--v982-light);
  margin-top: 0.4rem;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ========== CONTENT SECTIONS ========== */
.v982-content-block {
  background: linear-gradient(135deg, rgba(139,115,85,0.15), rgba(44,44,44,0.9));
  border-radius: var(--v982-radius);
  padding: 2rem 1.5rem;
  margin: 1.5rem 1.2rem;
  border: 1px solid rgba(139,115,85,0.25);
}
.v982-content-block h2 {
  font-size: 1.8rem;
  color: var(--v982-green);
  margin-bottom: 1.2rem;
  font-weight: 700;
}
.v982-content-block h3 {
  font-size: 1.5rem;
  color: var(--v982-accent);
  margin: 1rem 0 0.6rem;
}
.v982-content-block p {
  font-size: 1.4rem;
  line-height: 1.6;
  color: rgba(253,245,230,0.85);
  margin-bottom: 1rem;
}
.v982-content-block ul { padding-left: 1.5rem; margin-bottom: 1rem; }
.v982-content-block ul li {
  font-size: 1.4rem;
  line-height: 1.6;
  color: rgba(253,245,230,0.85);
  margin-bottom: 0.5rem;
  position: relative;
  padding-left: 1rem;
}
.v982-content-block ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.7rem;
  width: 0.5rem; height: 0.5rem;
  border-radius: 50%;
  background: var(--v982-green);
}

/* Promo link styles */
.v982-promo-link {
  color: var(--v982-green);
  font-weight: 700;
  cursor: pointer;
  border-bottom: 1px dashed var(--v982-green);
  transition: var(--v982-transition);
}
.v982-promo-link:hover { color: #fff; border-color: #fff; }
.v982-promo-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--v982-green), var(--v982-accent));
  color: var(--v982-dark);
  padding: 1rem 2.5rem;
  border-radius: var(--v982-radius);
  font-size: 1.5rem;
  font-weight: 800;
  cursor: pointer;
  transition: var(--v982-transition);
  border: none;
  text-align: center;
}
.v982-promo-btn:hover { transform: scale(1.05); box-shadow: 0 4px 15px rgba(144,238,144,0.4); }
.v982-text-center { text-align: center; }

/* Stats grid */
.v982-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 1rem 0;
}
.v982-stat-card {
  background: rgba(139,115,85,0.2);
  border-radius: var(--v982-radius-sm);
  padding: 1.2rem;
  text-align: center;
  border: 1px solid rgba(139,115,85,0.3);
}
.v982-stat-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--v982-green);
}
.v982-stat-label {
  font-size: 1.2rem;
  color: rgba(253,245,230,0.7);
  margin-top: 0.3rem;
}

/* Testimonial cards */
.v982-testimonial {
  background: rgba(139,115,85,0.12);
  border-radius: var(--v982-radius-sm);
  padding: 1.2rem;
  margin-bottom: 1rem;
  border-left: 3px solid var(--v982-green);
}
.v982-testimonial p { font-style: italic; margin-bottom: 0.5rem; }
.v982-testimonial-author { font-size: 1.2rem; color: var(--v982-primary-light); font-weight: 600; }

/* Payment icons */
.v982-payment-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin: 1rem 0;
}
.v982-payment-item {
  background: rgba(255,255,255,0.08);
  border-radius: var(--v982-radius-sm);
  padding: 0.8rem 1.5rem;
  font-size: 1.3rem;
  color: var(--v982-light);
  border: 1px solid rgba(139,115,85,0.3);
}

/* Winner showcase */
.v982-winner-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(139,115,85,0.15);
  font-size: 1.3rem;
}
.v982-winner-name { color: var(--v982-accent); font-weight: 600; }
.v982-winner-game { color: rgba(253,245,230,0.7); }
.v982-winner-amount { color: var(--v982-green); font-weight: 800; }

/* App download CTA */
.v982-app-cta {
  background: linear-gradient(135deg, var(--v982-primary), var(--v982-primary-dark));
  border-radius: var(--v982-radius);
  padding: 2rem;
  text-align: center;
  margin: 1.5rem 1.2rem;
}
.v982-app-cta h2 { color: var(--v982-green); font-size: 1.8rem; margin-bottom: 1rem; }
.v982-app-cta p { color: var(--v982-light); font-size: 1.4rem; margin-bottom: 1.5rem; }
.v982-app-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* FAQ */
.v982-faq-item { margin-bottom: 1.2rem; }
.v982-faq-q {
  font-weight: 700;
  color: var(--v982-green);
  font-size: 1.4rem;
  margin-bottom: 0.4rem;
}
.v982-faq-a {
  font-size: 1.3rem;
  color: rgba(253,245,230,0.8);
  line-height: 1.5;
  padding-left: 1rem;
  border-left: 2px solid var(--v982-primary);
}

/* Internal link */
.v982-internal-link {
  color: var(--v982-accent);
  text-decoration: underline;
  transition: var(--v982-transition);
}
.v982-internal-link:hover { color: var(--v982-green); }

/* ========== FOOTER ========== */
.v982-footer {
  background: linear-gradient(180deg, #1A1A1A, #111);
  padding: 2rem 1.2rem 10rem;
  border-top: 2px solid var(--v982-primary);
}
.v982-footer-brand { margin-bottom: 1.5rem; }
.v982-footer-brand p {
  font-size: 1.3rem;
  color: rgba(253,245,230,0.7);
  line-height: 1.5;
  margin-bottom: 0.5rem;
}
.v982-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}
.v982-footer-link {
  font-size: 1.2rem;
  color: var(--v982-light);
  padding: 0.5rem 1rem;
  background: rgba(139,115,85,0.2);
  border-radius: var(--v982-radius-sm);
  transition: var(--v982-transition);
}
.v982-footer-link:hover { background: var(--v982-primary); color: var(--v982-dark); }
.v982-footer-copy {
  font-size: 1.2rem;
  color: rgba(253,245,230,0.5);
  text-align: center;
  border-top: 1px solid rgba(139,115,85,0.2);
  padding-top: 1.5rem;
}

/* ========== BOTTOM NAVIGATION ========== */
.v982-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(180deg, #1A1A1A, #111);
  border-top: 2px solid var(--v982-primary);
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 60px;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 0.3rem;
}
.v982-nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 56px;
  background: none;
  border: none;
  color: rgba(253,245,230,0.6);
  cursor: pointer;
  transition: var(--v982-transition);
  padding: 0.4rem;
  border-radius: 0.8rem;
  position: relative;
}
.v982-nav-btn:hover, .v982-nav-btn:active {
  color: var(--v982-green);
  background: rgba(144,238,144,0.08);
}
.v982-nav-btn .v982-nav-icon { font-size: 2.4rem; line-height: 1; }
.v982-nav-btn .material-icons.v982-nav-icon { font-size: 2.4rem; }
.v982-nav-btn .v982-nav-label { font-size: 1rem; margin-top: 0.2rem; }
.v982-nav-btn.v982-active { color: var(--v982-green); }
.v982-nav-btn.v982-active::after {
  content: '';
  position: absolute;
  top: -2px; left: 25%; right: 25%;
  height: 2px;
  background: var(--v982-green);
  border-radius: 2px;
}

/* Category badge */
.v982-cat-badge {
  display: inline-block;
  background: var(--v982-primary);
  color: var(--v982-light);
  font-size: 1.1rem;
  padding: 0.3rem 0.8rem;
  border-radius: 2rem;
  margin-bottom: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* H1 style */
.v982-h1 {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--v982-light);
  margin: 1.5rem 0;
  line-height: 1.3;
  padding: 0 1.2rem;
}

/* Featured highlight */
.v982-highlight {
  color: var(--v982-green);
  font-weight: 700;
}

/* ========== RESPONSIVE ========== */
@media (min-width: 769px) {
  body { max-width: 430px; }
  .v982-bottom-nav { display: none; }
  .v982-footer { padding-bottom: 2rem; }
}
@media (max-width: 768px) {
  .v982-main-content { padding-bottom: 80px; }
}
