/**
 * Betso - Theme Stylesheet
 * File: css/theme.css
 * Prefix: w959f-
 * Palette: #20B2AA | #DEB887 | #32CD32 | #9AFF9A | #1E1E1E | #EEEEEE
 */

/* CSS Variables */
:root {
  --w959f-primary: #20B2AA;
  --w959f-secondary: #DEB887;
  --w959f-accent: #32CD32;
  --w959f-light-green: #9AFF9A;
  --w959f-bg-dark: #1E1E1E;
  --w959f-bg-card: #2A2A2A;
  --w959f-bg-card-hover: #333333;
  --w959f-text-light: #EEEEEE;
  --w959f-text-muted: #AAAAAA;
  --w959f-border: #3A3A3A;
  --w959f-gradient: linear-gradient(135deg, #20B2AA, #32CD32);
  --w959f-radius: 0.8rem;
  --w959f-radius-sm: 0.4rem;
  --w959f-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
  --w959f-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;
  -webkit-text-size-adjust: 100%;
}

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

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

a:hover {
  color: var(--w959f-light-green);
}

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

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

.w959f-wrapper {
  padding: 1.5rem 0;
}

/* Header */
.w959f-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: 5.6rem;
  background: var(--w959f-bg-dark);
  border-bottom: 1px solid var(--w959f-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.2rem;
  z-index: 1000;
}

.w959f-logo-area {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.w959f-logo-area img {
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 0.4rem;
}

.w959f-logo-text {
  font-size: 2rem;
  font-weight: 700;
  color: var(--w959f-primary);
  letter-spacing: 0.05rem;
}

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

.w959f-btn-register, .w959f-btn-login {
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: var(--w959f-radius-sm);
  font-size: 1.3rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--w959f-transition);
  white-space: nowrap;
}

.w959f-btn-register {
  background: var(--w959f-gradient);
  color: #fff;
}

.w959f-btn-register:hover {
  opacity: 0.9;
  transform: scale(1.03);
}

.w959f-btn-login {
  background: transparent;
  color: var(--w959f-primary);
  border: 1px solid var(--w959f-primary);
}

.w959f-btn-login:hover {
  background: rgba(32, 178, 170, 0.15);
}

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

/* Mobile Menu */
.w959f-mobile-menu {
  position: fixed;
  top: 0;
  right: -280px;
  width: 280px;
  height: 100%;
  background: var(--w959f-bg-dark);
  border-left: 1px solid var(--w959f-border);
  z-index: 9999;
  transition: right 0.3s ease;
  overflow-y: auto;
  padding: 2rem 1.5rem;
}

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

.w959f-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9998;
  display: none;
}

.w959f-overlay-active {
  display: block;
}

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

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

.w959f-menu-links li {
  border-bottom: 1px solid var(--w959f-border);
}

.w959f-menu-links a {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 0;
  color: var(--w959f-text-light);
  font-size: 1.5rem;
  transition: var(--w959f-transition);
}

.w959f-menu-links a:hover {
  color: var(--w959f-primary);
  padding-left: 0.5rem;
}

.w959f-menu-links .material-icons,
.w959f-menu-links .material-symbols-outlined {
  font-size: 2rem;
  color: var(--w959f-secondary);
}

/* Main Content */
.w959f-main {
  padding-top: 5.6rem;
  min-height: 100vh;
}

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

/* Carousel */
.w959f-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: var(--w959f-radius);
  margin: 1rem 0;
}

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

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

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

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

.w959f-slide-dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.6rem;
}

.w959f-slide-dot {
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: var(--w959f-transition);
}

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

/* Section */
.w959f-section {
  padding: 2rem 1.2rem;
}

.w959f-section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  color: var(--w959f-text-light);
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.w959f-section-title .material-icons {
  color: var(--w959f-primary);
  font-size: 2.4rem;
}

/* Game Grid */
.w959f-game-section {
  padding: 1.5rem 1.2rem;
}

.w959f-game-section-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--w959f-primary);
  text-transform: capitalize;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  border-left: 3px solid var(--w959f-accent);
  padding-left: 1rem;
}

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

.w959f-game-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: var(--w959f-transition);
  border-radius: var(--w959f-radius-sm);
  padding: 0.5rem;
}

.w959f-game-card:hover {
  transform: translateY(-2px);
  background: var(--w959f-bg-card-hover);
}

.w959f-game-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--w959f-radius-sm);
  border: 1px solid var(--w959f-border);
}

.w959f-game-card span {
  font-size: 1.1rem;
  color: var(--w959f-text-muted);
  text-align: center;
  margin-top: 0.3rem;
  line-height: 1.2;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* Buttons */
.w959f-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1rem 2rem;
  border: none;
  border-radius: var(--w959f-radius);
  font-size: 1.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--w959f-transition);
  text-decoration: none;
}

.w959f-btn-primary {
  background: var(--w959f-gradient);
  color: #fff;
}

.w959f-btn-primary:hover {
  opacity: 0.9;
  transform: scale(1.02);
}

.w959f-btn-outline {
  background: transparent;
  color: var(--w959f-primary);
  border: 2px solid var(--w959f-primary);
}

.w959f-btn-outline:hover {
  background: rgba(32, 178, 170, 0.15);
}

.w959f-btn-block {
  display: flex;
  width: 100%;
}

/* Card */
.w959f-card {
  background: var(--w959f-bg-card);
  border-radius: var(--w959f-radius);
  padding: 1.5rem;
  margin-bottom: 1.2rem;
  border: 1px solid var(--w959f-border);
  transition: var(--w959f-transition);
}

.w959f-card:hover {
  border-color: var(--w959f-primary);
}

.w959f-card-title {
  font-size: 1.7rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
  color: var(--w959f-text-light);
}

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

/* Promo Banner */
.w959f-promo-banner {
  background: linear-gradient(135deg, #1a3a38, #2a4a3a);
  border: 1px solid var(--w959f-primary);
  border-radius: var(--w959f-radius);
  padding: 2rem 1.5rem;
  text-align: center;
  margin: 1.5rem 0;
}

.w959f-promo-banner h3 {
  font-size: 1.8rem;
  color: var(--w959f-secondary);
  margin-bottom: 0.8rem;
}

.w959f-promo-banner p {
  font-size: 1.4rem;
  color: var(--w959f-text-muted);
  margin-bottom: 1.2rem;
}

/* Footer */
.w959f-footer {
  background: var(--w959f-bg-card);
  border-top: 1px solid var(--w959f-border);
  padding: 2.5rem 1.2rem 8rem;
}

.w959f-footer-brand {
  text-align: center;
  margin-bottom: 2rem;
}

.w959f-footer-brand p {
  font-size: 1.3rem;
  color: var(--w959f-text-muted);
  line-height: 1.6;
  margin-top: 0.8rem;
}

.w959f-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}

.w959f-footer-links a {
  padding: 0.6rem 1.2rem;
  background: var(--w959f-bg-dark);
  border: 1px solid var(--w959f-border);
  border-radius: var(--w959f-radius-sm);
  font-size: 1.2rem;
  color: var(--w959f-text-muted);
  transition: var(--w959f-transition);
}

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

.w959f-footer-promo {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

.w959f-footer-promo .w959f-btn {
  font-size: 1.2rem;
  padding: 0.6rem 1.2rem;
}

.w959f-footer-copyright {
  text-align: center;
  font-size: 1.2rem;
  color: var(--w959f-text-muted);
  border-top: 1px solid var(--w959f-border);
  padding-top: 1.5rem;
}

/* Bottom Navigation */
.w959f-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: 6rem;
  background: var(--w959f-bg-dark);
  border-top: 1px solid var(--w959f-border);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  padding: 0 0.3rem;
}

.w959f-bottom-nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 6rem;
  min-height: 5.6rem;
  background: none;
  border: none;
  color: var(--w959f-text-muted);
  cursor: pointer;
  transition: var(--w959f-transition);
  border-radius: var(--w959f-radius-sm);
  padding: 0.4rem;
  gap: 0.2rem;
}

.w959f-bottom-nav-btn:hover,
.w959f-nav-active {
  color: var(--w959f-primary);
  background: rgba(32, 178, 170, 0.1);
}

.w959f-nav-active .w959f-nav-icon {
  transform: scale(1.15);
}

.w959f-nav-icon {
  font-size: 2.4rem;
  transition: var(--w959f-transition);
  line-height: 1;
}

.w959f-bottom-nav-btn i,
.w959f-bottom-nav-btn .material-icons,
.w959f-bottom-nav-btn .material-symbols-outlined,
.w959f-bottom-nav-btn bi {
  font-size: 2.2rem;
}

.w959f-nav-label {
  font-size: 1rem;
  font-weight: 500;
  white-space: nowrap;
}

/* Hide bottom nav on desktop */
@media (min-width: 769px) {
  .w959f-bottom-nav {
    display: none;
  }
}

/* Content module styles */
.w959f-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

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

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

.w959f-feature-item i,
.w959f-feature-item .material-icons {
  font-size: 2.4rem;
  color: var(--w959f-primary);
  margin-bottom: 0.5rem;
}

.w959f-feature-item h4 {
  font-size: 1.3rem;
  color: var(--w959f-text-light);
  margin-bottom: 0.3rem;
}

.w959f-feature-item p {
  font-size: 1.1rem;
  color: var(--w959f-text-muted);
}

/* Testimonials */
.w959f-testimonial {
  background: var(--w959f-bg-card);
  border-radius: var(--w959f-radius);
  padding: 1.2rem;
  margin-bottom: 1rem;
  border-left: 3px solid var(--w959f-accent);
}

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

.w959f-testimonial-text {
  font-size: 1.3rem;
  color: var(--w959f-text-muted);
  margin-top: 0.4rem;
  line-height: 1.5;
}

.w959f-stars {
  color: var(--w959f-secondary);
  font-size: 1.2rem;
}

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

.w959f-payment-item {
  background: var(--w959f-bg-card);
  border: 1px solid var(--w959f-border);
  border-radius: var(--w959f-radius-sm);
  padding: 0.8rem 1.2rem;
  font-size: 1.3rem;
  color: var(--w959f-text-light);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Winners showcase */
.w959f-winner-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.w959f-winner-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--w959f-bg-card);
  padding: 0.8rem 1.2rem;
  border-radius: var(--w959f-radius-sm);
  font-size: 1.3rem;
}

.w959f-winner-name {
  color: var(--w959f-text-light);
  font-weight: 500;
}

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

.w959f-winner-amount {
  color: var(--w959f-accent);
  font-weight: 700;
}

/* Security badges */
.w959f-security-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  text-align: center;
}

.w959f-security-item {
  padding: 1rem;
  background: var(--w959f-bg-card);
  border-radius: var(--w959f-radius);
  border: 1px solid var(--w959f-border);
}

.w959f-security-item i,
.w959f-security-item .material-icons {
  font-size: 2.8rem;
  color: var(--w959f-primary);
}

.w959f-security-item span {
  display: block;
  font-size: 1.1rem;
  color: var(--w959f-text-muted);
  margin-top: 0.4rem;
}

/* Achievements */
.w959f-achievement-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--w959f-border);
}

.w959f-achievement-icon {
  width: 3.5rem;
  height: 3.5rem;
  background: var(--w959f-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.6rem;
  flex-shrink: 0;
}

.w959f-achievement-text {
  flex: 1;
}

.w959f-achievement-text strong {
  color: var(--w959f-secondary);
  font-size: 1.4rem;
}

.w959f-achievement-text span {
  display: block;
  color: var(--w959f-text-muted);
  font-size: 1.2rem;
}

/* Download CTA */
.w959f-download-cta {
  background: linear-gradient(135deg, #1a3a38, #1E1E1E);
  border: 1px solid var(--w959f-primary);
  border-radius: var(--w959f-radius);
  padding: 2rem 1.5rem;
  text-align: center;
}

.w959f-download-cta h3 {
  color: var(--w959f-primary);
  font-size: 1.8rem;
  margin-bottom: 0.8rem;
}

.w959f-download-cta p {
  color: var(--w959f-text-muted);
  font-size: 1.3rem;
  margin-bottom: 1.2rem;
}

/* Text helpers */
.w959f-text-center { text-align: center; }
.w959f-text-primary { color: var(--w959f-primary); }
.w959f-text-accent { color: var(--w959f-accent); }
.w959f-text-muted { color: var(--w959f-text-muted); }
.w959f-text-secondary { color: var(--w959f-secondary); }
.w959f-mt-1 { margin-top: 1rem; }
.w959f-mb-1 { margin-bottom: 1rem; }
.w959f-mb-2 { margin-bottom: 2rem; }
