/**
 * Nusta Core CSS Stylesheet
 * Prefix: s837-
 * Colors: #00FF00 (primary), #0A0A0A (background), #9AFF9A (secondary text)
 */

/* CSS Variables */
:root {
  --s837-primary: #00FF00;
  --s837-bg: #0A0A0A;
  --s837-text: #9AFF9A;
  --s837-white: #FFFFFF;
  --s837-gray: #333333;
  --s837-dark-gray: #1A1A1A;
  --s837-light-gray: #2A2A2A;
  --s837-accent: #00CC00;
  --s837-glow: rgba(0, 255, 0, 0.15);
  --s837-radius: 8px;
  --s837-radius-lg: 12px;
  --s837-shadow: 0 2px 12px rgba(0, 255, 0, 0.1);
  --s837-transition: all 0.3s ease;
  font-size: 62.5%;
}

/* Reset & Base */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background-color: var(--s837-bg);
  color: var(--s837-text);
  font-size: 1.6rem;
  line-height: 1.5;
  max-width: 430px;
  margin: 0 auto;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: var(--s837-primary);
  text-decoration: none;
  transition: var(--s837-transition);
}

a:hover {
  color: var(--s837-white);
}

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

/* Container */
.s837-container {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1.2rem;
}

.s837-wrapper {
  padding: 1.6rem 0;
}

/* ===== HEADER ===== */
.s837-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 1000;
  background: linear-gradient(180deg, #0A0A0A 0%, #111111 100%);
  border-bottom: 1px solid rgba(0, 255, 0, 0.2);
  padding: 0.8rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.s837-header-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.s837-header-logo {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
}

.s837-header-name {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--s837-primary);
  letter-spacing: 0.5px;
}

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

.s837-btn-register {
  background: var(--s837-primary);
  color: var(--s837-bg);
  border: none;
  padding: 0.6rem 1.2rem;
  border-radius: var(--s837-radius);
  font-size: 1.3rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--s837-transition);
  min-height: 36px;
  min-width: 72px;
}

.s837-btn-register:hover {
  background: #33FF33;
  transform: scale(1.05);
}

.s837-btn-login {
  background: transparent;
  color: var(--s837-primary);
  border: 1.5px solid var(--s837-primary);
  padding: 0.6rem 1.2rem;
  border-radius: var(--s837-radius);
  font-size: 1.3rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--s837-transition);
  min-height: 36px;
  min-width: 72px;
}

.s837-btn-login:hover {
  background: rgba(0, 255, 0, 0.1);
}

.s837-menu-toggle {
  background: none;
  border: none;
  color: var(--s837-primary);
  font-size: 2.2rem;
  cursor: pointer;
  padding: 0.4rem;
  min-width: 36px;
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== MOBILE MENU ===== */
.s837-mobile-menu {
  position: fixed;
  top: 0;
  right: -280px;
  width: 280px;
  height: 100vh;
  background: var(--s837-dark-gray);
  z-index: 9999;
  transition: right 0.3s ease;
  padding: 2rem 1.6rem;
  overflow-y: auto;
}

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

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

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

.s837-menu-close {
  background: none;
  border: none;
  color: var(--s837-primary);
  font-size: 2.4rem;
  cursor: pointer;
  position: absolute;
  top: 1rem;
  right: 1rem;
}

.s837-menu-links {
  list-style: none;
  margin-top: 2rem;
}

.s837-menu-links li {
  margin-bottom: 0.6rem;
}

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

.s837-menu-links a:hover {
  background: rgba(0, 255, 0, 0.1);
  color: var(--s837-primary);
}

/* ===== MAIN CONTENT ===== */
.s837-main {
  padding-top: 6rem;
}

@media (max-width: 768px) {
  .s837-main {
    padding-bottom: 8rem;
  }
}

/* ===== SLIDER / CAROUSEL ===== */
.s837-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: var(--s837-radius-lg);
  margin-bottom: 1.6rem;
}

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

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

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

.s837-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.s837-slider-dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.6rem;
  z-index: 10;
}

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

.s837-dot-active {
  background: var(--s837-primary);
  transform: scale(1.3);
}

/* ===== SECTIONS ===== */
.s837-section {
  padding: 2rem 0;
}

.s837-section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--s837-primary);
  margin-bottom: 1.2rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid rgba(0, 255, 0, 0.3);
}

.s837-section-subtitle {
  font-size: 1.4rem;
  color: var(--s837-text);
  opacity: 0.8;
  margin-bottom: 1.4rem;
}

/* ===== GAME GRID ===== */
.s837-game-category-title {
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--s837-primary);
  margin: 1.4rem 0 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

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

.s837-game-card {
  background: var(--s837-dark-gray);
  border-radius: var(--s837-radius);
  overflow: hidden;
  cursor: pointer;
  transition: var(--s837-transition);
  border: 1px solid rgba(0, 255, 0, 0.1);
}

.s837-game-card:hover {
  transform: translateY(-2px);
  border-color: var(--s837-primary);
  box-shadow: var(--s837-shadow);
}

.s837-game-card-img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.s837-game-card-name {
  padding: 0.4rem;
  font-size: 1.1rem;
  color: var(--s837-text);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ===== CONTENT CARDS ===== */
.s837-card {
  background: var(--s837-dark-gray);
  border-radius: var(--s837-radius-lg);
  padding: 1.6rem;
  margin-bottom: 1.2rem;
  border: 1px solid rgba(0, 255, 0, 0.1);
}

.s837-card-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--s837-primary);
  margin-bottom: 1rem;
}

.s837-card-text {
  font-size: 1.4rem;
  line-height: 1.6;
  color: var(--s837-text);
}

/* ===== PROMO BUTTONS ===== */
.s837-promo-btn {
  display: inline-block;
  background: var(--s837-primary);
  color: var(--s837-bg);
  padding: 1rem 2rem;
  border-radius: var(--s837-radius);
  font-size: 1.5rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: var(--s837-transition);
  text-align: center;
  min-height: 44px;
}

.s837-promo-btn:hover {
  background: #33FF33;
  transform: scale(1.03);
}

.s837-promo-btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--s837-primary);
  border: 2px solid var(--s837-primary);
  padding: 1rem 2rem;
  border-radius: var(--s837-radius);
  font-size: 1.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--s837-transition);
  text-align: center;
  min-height: 44px;
}

.s837-promo-btn-outline:hover {
  background: rgba(0, 255, 0, 0.1);
}

/* ===== FAQ ===== */
.s837-faq-item {
  background: var(--s837-dark-gray);
  border-radius: var(--s837-radius);
  padding: 1.4rem;
  margin-bottom: 1rem;
  border-left: 3px solid var(--s837-primary);
}

.s837-faq-question {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--s837-primary);
  margin-bottom: 0.6rem;
}

.s837-faq-answer {
  font-size: 1.3rem;
  color: var(--s837-text);
  line-height: 1.6;
}

/* ===== FEATURES LIST ===== */
.s837-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.s837-feature-item {
  background: var(--s837-dark-gray);
  border-radius: var(--s837-radius);
  padding: 1.2rem;
  text-align: center;
  border: 1px solid rgba(0, 255, 0, 0.1);
  transition: var(--s837-transition);
}

.s837-feature-item:hover {
  border-color: var(--s837-primary);
}

.s837-feature-icon {
  font-size: 2.4rem;
  color: var(--s837-primary);
  margin-bottom: 0.6rem;
}

.s837-feature-label {
  font-size: 1.3rem;
  color: var(--s837-text);
  font-weight: 600;
}

/* ===== WINNER TABLE ===== */
.s837-winner-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1rem;
  background: var(--s837-dark-gray);
  border-radius: var(--s837-radius);
  margin-bottom: 0.5rem;
}

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

.s837-winner-game {
  font-size: 1.2rem;
  color: var(--s837-text);
  opacity: 0.8;
}

.s837-winner-amount {
  font-size: 1.4rem;
  color: var(--s837-primary);
  font-weight: 700;
}

/* ===== FOOTER ===== */
.s837-footer {
  background: var(--s837-dark-gray);
  padding: 2rem 1.2rem;
  border-top: 2px solid rgba(0, 255, 0, 0.2);
}

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

.s837-footer-buttons {
  display: flex;
  gap: 0.8rem;
  margin-bottom: 1.4rem;
  flex-wrap: wrap;
}

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

.s837-footer-links a {
  font-size: 1.2rem;
  color: var(--s837-text);
  transition: var(--s837-transition);
}

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

.s837-footer-copy {
  font-size: 1.2rem;
  color: var(--s837-text);
  opacity: 0.6;
  text-align: center;
  padding-top: 1rem;
  border-top: 1px solid rgba(0, 255, 0, 0.1);
}

/* ===== BOTTOM NAVIGATION ===== */
.s837-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: 60px;
  background: linear-gradient(180deg, #111111 0%, #0A0A0A 100%);
  border-top: 1px solid rgba(0, 255, 0, 0.25);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  padding: 0 0.4rem;
}

@media (min-width: 769px) {
  .s837-bottom-nav {
    display: none;
  }
}

.s837-bottom-nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 52px;
  background: none;
  border: none;
  color: var(--s837-text);
  cursor: pointer;
  transition: var(--s837-transition);
  border-radius: var(--s837-radius);
  padding: 0.4rem 0.2rem;
}

.s837-bottom-nav-btn:hover,
.s837-bottom-nav-btn.s837-nav-active {
  color: var(--s837-primary);
  transform: scale(1.08);
}

.s837-bottom-nav-btn .s837-nav-icon {
  font-size: 2.2rem;
  margin-bottom: 0.2rem;
}

.s837-bottom-nav-btn .s837-nav-label {
  font-size: 1rem;
  font-weight: 500;
}

.s837-nav-active .s837-nav-icon {
  filter: drop-shadow(0 0 4px var(--s837-primary));
}

/* ===== TESTIMONIAL ===== */
.s837-testimonial {
  background: var(--s837-dark-gray);
  border-radius: var(--s837-radius-lg);
  padding: 1.4rem;
  margin-bottom: 1rem;
  border: 1px solid rgba(0, 255, 0, 0.1);
}

.s837-testimonial-text {
  font-size: 1.3rem;
  color: var(--s837-text);
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 0.8rem;
}

.s837-testimonial-author {
  font-size: 1.2rem;
  color: var(--s837-primary);
  font-weight: 600;
}

/* ===== PAYMENT ICONS ===== */
.s837-payment-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: center;
}

.s837-payment-item {
  background: var(--s837-dark-gray);
  border-radius: var(--s837-radius);
  padding: 0.8rem 1.2rem;
  font-size: 1.3rem;
  color: var(--s837-text);
  border: 1px solid rgba(0, 255, 0, 0.1);
}

/* ===== CTA SECTION ===== */
.s837-cta-section {
  background: linear-gradient(135deg, #0A0A0A 0%, #1A2A1A 100%);
  border-radius: var(--s837-radius-lg);
  padding: 2rem 1.4rem;
  text-align: center;
  margin: 1.6rem 0;
  border: 1px solid rgba(0, 255, 0, 0.2);
}

.s837-cta-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--s837-primary);
  margin-bottom: 0.8rem;
}

.s837-cta-text {
  font-size: 1.4rem;
  color: var(--s837-text);
  margin-bottom: 1.4rem;
  line-height: 1.6;
}

/* ===== DESKTOP ADJUSTMENTS ===== */
@media (min-width: 769px) {
  .s837-main {
    padding-bottom: 2rem;
  }
}

/* ===== UTILITY CLASSES ===== */
.s837-text-center { text-align: center; }
.s837-text-primary { color: var(--s837-primary); }
.s837-text-white { color: var(--s837-white); }
.s837-mb-1 { margin-bottom: 1rem; }
.s837-mb-2 { margin-bottom: 2rem; }
.s837-mt-1 { margin-top: 1rem; }
.s837-mt-2 { margin-top: 2rem; }

/* Inline link style for internal SEO links */
.s837-inline-link {
  color: var(--s837-primary);
  text-decoration: underline;
  font-weight: 500;
}

.s837-inline-link:hover {
  color: var(--s837-white);
}
