/* 3444.click - Core Design Stylesheet */
/* All classes use s931- prefix for namespace isolation */

:root {
  --s931-primary: #8FBC8F;
  --s931-accent: #00FF00;
  --s931-secondary: #6495ED;
  --s931-bg: #0A0A0A;
  --s931-highlight: #00FF7F;
  --s931-text: #E8F5E8;
  --s931-muted: #7A8B7A;
  --s931-card: #141E14;
  --s931-border: #1E3A1E;
  --s931-danger: #FF4444;
  --s931-gold: #FFD700;
  --s931-radius: 8px;
}

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

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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: var(--s931-bg);
  color: var(--s931-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  max-width: 430px;
  margin: 0 auto;
  -webkit-text-size-adjust: 100%;
}

/* Header */
.s931-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(180deg, #0d1a0d 0%, #0A0A0A 100%);
  border-bottom: 1px solid var(--s931-border);
  max-width: 430px;
  margin: 0 auto;
  padding: 0.8rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 52px;
}

.s931-header-left {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.s931-logo {
  width: 28px;
  height: 28px;
  border-radius: 4px;
}

.s931-site-name {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--s931-highlight);
  text-decoration: none;
}

.s931-header-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.s931-btn-register {
  background: var(--s931-highlight);
  color: #0A0A0A;
  border: none;
  padding: 0.5rem 1.2rem;
  border-radius: var(--s931-radius);
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.s931-btn-register:hover { background: var(--s931-accent); transform: scale(1.05); }

.s931-btn-login {
  background: transparent;
  color: var(--s931-highlight);
  border: 1px solid var(--s931-highlight);
  padding: 0.5rem 1.2rem;
  border-radius: var(--s931-radius);
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

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

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

/* Mobile menu */
.s931-menu-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.7);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.s931-overlay-active { opacity: 1; pointer-events: all; }

.s931-mobile-menu {
  position: fixed;
  top: 0;
  right: -280px;
  width: 280px;
  height: 100%;
  background: #0d1a0d;
  z-index: 9999;
  transition: right 0.3s ease;
  padding: 2rem 1.5rem;
  overflow-y: auto;
}

.s931-menu-active { right: 0; }

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

.s931-menu-list {
  list-style: none;
  margin-top: 3rem;
}

.s931-menu-list li {
  margin-bottom: 0.5rem;
}

.s931-menu-list a {
  color: var(--s931-text);
  text-decoration: none;
  font-size: 1.4rem;
  padding: 1rem;
  display: block;
  border-bottom: 1px solid var(--s931-border);
  transition: color 0.2s;
}

.s931-menu-list a:hover { color: var(--s931-highlight); }

/* Main content area */
.s931-main {
  padding-top: 60px;
  min-height: 100vh;
}

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

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

/* Carousel */
.s931-carousel {
  position: relative;
  width: 100%;
  height: 180px;
  overflow: hidden;
  border-radius: var(--s931-radius);
  margin: 0.8rem 0;
}

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

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

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

.s931-slide-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 2;
}

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

.s931-dot-active { background: var(--s931-highlight); }

/* Section titles */
.s931-section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--s931-highlight);
  margin: 1.6rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--s931-border);
}

.s931-section-title i {
  margin-right: 0.5rem;
  color: var(--s931-gold);
}

/* Game grid */
.s931-game-section { margin: 1rem 0; }

.s931-cat-label {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--s931-gold);
  margin: 1.2rem 0 0.6rem;
  padding-left: 0.5rem;
  border-left: 3px solid var(--s931-highlight);
}

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

.s931-game-item {
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s;
  background: var(--s931-card);
  border-radius: var(--s931-radius);
  padding: 0.4rem;
  border: 1px solid var(--s931-border);
}

.s931-game-item:hover { transform: scale(1.05); border-color: var(--s931-highlight); }

.s931-game-item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 6px;
}

.s931-game-name {
  font-size: 1rem;
  color: var(--s931-text);
  margin-top: 0.3rem;
  line-height: 1.2rem;
  height: 2.4rem;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* Content modules */
.s931-module {
  background: var(--s931-card);
  border: 1px solid var(--s931-border);
  border-radius: var(--s931-radius);
  padding: 1.2rem;
  margin: 1rem 0;
}

.s931-module h2 {
  font-size: 1.6rem;
  color: var(--s931-highlight);
  margin-bottom: 0.8rem;
}

.s931-module h3 {
  font-size: 1.4rem;
  color: var(--s931-secondary);
  margin: 0.8rem 0 0.4rem;
}

.s931-module p {
  font-size: 1.3rem;
  line-height: 1.8rem;
  color: var(--s931-text);
  margin-bottom: 0.6rem;
}

.s931-promo-link {
  color: var(--s931-highlight);
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
  transition: color 0.2s;
}

.s931-promo-link:hover { color: var(--s931-accent); }

.s931-cta-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--s931-highlight), var(--s931-accent));
  color: #0A0A0A;
  padding: 1rem 2rem;
  border-radius: var(--s931-radius);
  font-size: 1.5rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  margin: 0.8rem 0;
  transition: transform 0.2s;
  text-align: center;
  width: 100%;
}

.s931-cta-btn:hover { transform: scale(1.03); }

/* Payment methods */
.s931-payment-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
}

.s931-payment-item {
  background: #1a2a1a;
  border: 1px solid var(--s931-border);
  border-radius: 6px;
  padding: 0.6rem 1rem;
  font-size: 1.2rem;
  color: var(--s931-text);
}

/* Winners showcase */
.s931-winner-list {
  list-style: none;
}

.s931-winner-item {
  display: flex;
  justify-content: space-between;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--s931-border);
  font-size: 1.2rem;
}

.s931-winner-name { color: var(--s931-secondary); }
.s931-winner-amount { color: var(--s931-gold); font-weight: 700; }

/* Testimonials */
.s931-testimonial {
  background: #162016;
  border-left: 3px solid var(--s931-highlight);
  padding: 0.8rem 1rem;
  margin: 0.6rem 0;
  border-radius: 0 var(--s931-radius) var(--s931-radius) 0;
}

.s931-testimonial p { font-size: 1.2rem; font-style: italic; }
.s931-testimonial-author { color: var(--s931-gold); font-size: 1.1rem; margin-top: 0.4rem; }

/* Footer */
.s931-footer {
  background: linear-gradient(180deg, #0d1a0d, #050a05);
  border-top: 1px solid var(--s931-border);
  padding: 1.5rem 1rem 2rem;
  text-align: center;
  margin-top: 2rem;
}

.s931-footer-brand {
  color: var(--s931-muted);
  font-size: 1.2rem;
  line-height: 1.6rem;
  margin-bottom: 1rem;
}

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

.s931-footer-links a {
  color: var(--s931-highlight);
  text-decoration: none;
  font-size: 1.2rem;
  padding: 0.4rem 0.8rem;
  background: var(--s931-card);
  border: 1px solid var(--s931-border);
  border-radius: 4px;
  transition: all 0.2s;
}

.s931-footer-links a:hover { background: var(--s931-border); }

.s931-footer-copy {
  color: var(--s931-muted);
  font-size: 1.1rem;
  margin-top: 0.8rem;
}

/* Bottom mobile nav */
.s931-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(180deg, #0d1a0d, #050805);
  border-top: 2px solid var(--s931-highlight);
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 60px;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 0.3rem;
}

.s931-bottom-nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--s931-muted);
  font-size: 1rem;
  cursor: pointer;
  min-width: 60px;
  min-height: 56px;
  transition: all 0.2s;
  padding: 0.3rem;
}

.s931-bottom-nav-btn i, .s931-bottom-nav-btn .material-icons {
  font-size: 22px;
  margin-bottom: 2px;
}

.s931-bottom-nav-btn span {
  font-size: 1rem;
  line-height: 1.1rem;
}

.s931-bottom-nav-btn:hover, .s931-bottom-nav-btn.s931-nav-active {
  color: var(--s931-highlight);
  transform: scale(1.1);
}

.s931-bottom-nav-btn.s931-nav-active {
  background: rgba(0,255,127,0.08);
  border-radius: 8px;
}

/* Desktop: hide bottom nav */
@media (min-width: 769px) {
  .s931-bottom-nav { display: none; }
}

/* Desktop: show desktop nav */
@media (min-width: 769px) {
  .s931-header { max-width: 430px; }
}

/* Help page styles */
.s931-help-section { margin: 1.2rem 0; }

.s931-help-section h2 {
  font-size: 1.6rem;
  color: var(--s931-highlight);
  margin-bottom: 0.8rem;
}

.s931-faq-item {
  background: var(--s931-card);
  border: 1px solid var(--s931-border);
  border-radius: var(--s931-radius);
  padding: 1rem;
  margin: 0.6rem 0;
}

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

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

.s931-step-item {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  margin: 0.8rem 0;
}

.s931-step-num {
  background: var(--s931-highlight);
  color: #0A0A0A;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.s931-step-text {
  font-size: 1.3rem;
  line-height: 1.6rem;
}

/* Utility */
.s931-text-center { text-align: center; }
.s931-mt-1 { margin-top: 1rem; }
.s931-mb-1 { margin-bottom: 1rem; }
.s931-hidden { display: none; }
