/**
 * ScatterGame Design Stylesheet
 * Prefix: w1740-
 * Site: scattergame.cfd
 */

/* CSS Variables */
:root {
  --w1740-primary: #66CDAA;
  --w1740-dark: #3C3C3C;
  --w1740-bg: #0D1117;
  --w1740-accent: #2E8B57;
  --w1740-green: #008000;
  --w1740-text: #E8E8E8;
  --w1740-text-dim: #A0A0A0;
  --w1740-card-bg: #161B22;
  --w1740-border: #2A2F38;
  --w1740-radius: 8px;
  --w1740-header-h: 56px;
  --w1740-bottom-h: 60px;
  --w1740-max-w: 430px;
  --w1740-font: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 62.5%; scroll-behavior: smooth; }
body {
  font-family: var(--w1740-font);
  background: var(--w1740-bg);
  color: var(--w1740-text);
  font-size: 1.4rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--w1740-primary); text-decoration: none; transition: color 0.3s; }
a:hover { color: #8DE8D0; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

/* Container */
.w1740-wrap {
  max-width: var(--w1740-max-w);
  margin: 0 auto;
  padding: 0 12px;
}

/* Header */
.w1740-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(135deg, #0D1117 0%, #161B22 100%);
  border-bottom: 1px solid var(--w1740-border);
  height: var(--w1740-header-h);
}
.w1740-header-inner {
  max-width: var(--w1740-max-w);
  margin: 0 auto;
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.w1740-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.w1740-logo img {
  width: 32px;
  height: 32px;
  border-radius: 6px;
}
.w1740-logo-text {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--w1740-primary);
  letter-spacing: 0.5px;
}
.w1740-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.w1740-btn-register {
  background: linear-gradient(135deg, var(--w1740-green), var(--w1740-accent));
  color: #fff;
  border: none;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}
.w1740-btn-register:hover {
  transform: scale(1.05);
  box-shadow: 0 2px 12px rgba(0,128,0,0.4);
}
.w1740-btn-login {
  background: transparent;
  color: var(--w1740-primary);
  border: 1px solid var(--w1740-primary);
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
}
.w1740-btn-login:hover {
  background: var(--w1740-primary);
  color: var(--w1740-bg);
}
.w1740-hamburger {
  background: none;
  border: none;
  color: var(--w1740-primary);
  font-size: 2.2rem;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
}

/* Mobile Menu */
.w1740-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.6);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.w1740-overlay-active { opacity: 1; pointer-events: auto; }
.w1740-mobile-menu {
  position: fixed;
  top: 0; right: -280px;
  width: 270px;
  height: 100%;
  background: #111820;
  z-index: 9999;
  transition: right 0.3s ease;
  overflow-y: auto;
  padding: 20px 16px;
}
.w1740-menu-active { right: 0; }
.w1740-menu-close {
  background: none;
  border: none;
  color: var(--w1740-primary);
  font-size: 2.4rem;
  cursor: pointer;
  display: block;
  margin-left: auto;
  margin-bottom: 16px;
}
.w1740-menu-link {
  display: block;
  padding: 12px 0;
  color: var(--w1740-text);
  font-size: 1.5rem;
  border-bottom: 1px solid var(--w1740-border);
  transition: color 0.3s, padding-left 0.3s;
}
.w1740-menu-link:hover {
  color: var(--w1740-primary);
  padding-left: 8px;
}

/* Main Content */
.w1740-main {
  margin-top: var(--w1740-header-h);
  padding-bottom: 20px;
}

/* Carousel */
.w1740-carousel {
  position: relative;
  overflow: hidden;
  border-radius: var(--w1740-radius);
  margin: 12px 0;
}
.w1740-slide {
  display: none;
  cursor: pointer;
  position: relative;
}
.w1740-slide-active { display: block; }
.w1740-slide img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--w1740-radius);
}
.w1740-carousel-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 5;
}
.w1740-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: background 0.3s;
}
.w1740-dot-active { background: var(--w1740-primary); }

/* Section */
.w1740-section {
  padding: 16px 0;
}
.w1740-section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--w1740-primary);
  margin-bottom: 12px;
  padding-left: 4px;
  border-left: 3px solid var(--w1740-accent);
  padding-left: 10px;
}

/* Game Grid */
.w1740-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.w1740-game-item {
  text-align: center;
  cursor: pointer;
  border-radius: var(--w1740-radius);
  overflow: hidden;
  transition: transform 0.2s;
  background: var(--w1740-card-bg);
}
.w1740-game-item:hover { transform: translateY(-2px); }
.w1740-game-item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}
.w1740-game-name {
  font-size: 1.1rem;
  color: var(--w1740-text-dim);
  padding: 4px 2px 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Category Tabs */
.w1740-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 8px 0 12px;
  scrollbar-width: none;
}
.w1740-tabs::-webkit-scrollbar { display: none; }
.w1740-tab {
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 1.2rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid var(--w1740-border);
  background: var(--w1740-card-bg);
  color: var(--w1740-text-dim);
  transition: all 0.3s;
}
.w1740-tab-active {
  background: linear-gradient(135deg, var(--w1740-green), var(--w1740-accent));
  color: #fff;
  border-color: transparent;
}

/* Cards */
.w1740-card {
  background: var(--w1740-card-bg);
  border: 1px solid var(--w1740-border);
  border-radius: var(--w1740-radius);
  padding: 16px;
  margin-bottom: 12px;
}
.w1740-card h3 {
  font-size: 1.6rem;
  color: var(--w1740-primary);
  margin-bottom: 8px;
}
.w1740-card p {
  font-size: 1.3rem;
  color: var(--w1740-text-dim);
  line-height: 1.7;
}

/* Buttons */
.w1740-btn-promo {
  display: inline-block;
  background: linear-gradient(135deg, var(--w1740-green), var(--w1740-accent));
  color: #fff;
  padding: 10px 24px;
  border-radius: 24px;
  font-size: 1.4rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: transform 0.2s, box-shadow 0.3s;
  text-align: center;
}
.w1740-btn-promo:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 20px rgba(0,128,0,0.4);
}

/* FAQ */
.w1740-faq-item {
  background: var(--w1740-card-bg);
  border: 1px solid var(--w1740-border);
  border-radius: var(--w1740-radius);
  margin-bottom: 8px;
  overflow: hidden;
}
.w1740-faq-q {
  padding: 12px 14px;
  font-weight: 600;
  color: var(--w1740-primary);
  font-size: 1.3rem;
  cursor: pointer;
}
.w1740-faq-a {
  padding: 0 14px 12px;
  font-size: 1.2rem;
  color: var(--w1740-text-dim);
  line-height: 1.6;
}

/* Testimonials */
.w1740-testimonial {
  background: var(--w1740-card-bg);
  border: 1px solid var(--w1740-border);
  border-radius: var(--w1740-radius);
  padding: 14px;
  margin-bottom: 10px;
}
.w1740-testimonial-name {
  font-weight: 700;
  color: var(--w1740-primary);
  font-size: 1.3rem;
}
.w1740-testimonial-stars {
  color: #FFD700;
  font-size: 1.2rem;
  margin: 4px 0;
}
.w1740-testimonial-text {
  font-size: 1.2rem;
  color: var(--w1740-text-dim);
  line-height: 1.6;
}

/* Bottom Navigation */
.w1740-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(180deg, #111820 0%, #0D1117 100%);
  border-top: 1px solid var(--w1740-border);
  height: var(--w1740-bottom-h);
  display: flex;
  justify-content: space-around;
  align-items: center;
}
.w1740-bottom-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 50px;
  background: none;
  border: none;
  color: var(--w1740-text-dim);
  cursor: pointer;
  transition: color 0.3s, transform 0.2s;
  padding: 4px 0;
}
.w1740-bottom-btn:hover,
.w1740-bottom-btn-active {
  color: var(--w1740-primary);
  transform: scale(1.08);
}
.w1740-bottom-btn .material-icons,
.w1740-bottom-btn i,
.w1740-bottom-btn .bi {
  font-size: 22px;
  margin-bottom: 2px;
}
.w1740-bottom-label {
  font-size: 1rem;
  font-weight: 500;
}

/* Footer */
.w1740-footer {
  background: #0A0D12;
  padding: 24px 0 16px;
  border-top: 1px solid var(--w1740-border);
}
.w1740-footer-brand {
  text-align: center;
  margin-bottom: 16px;
}
.w1740-footer-brand p {
  font-size: 1.2rem;
  color: var(--w1740-text-dim);
  line-height: 1.6;
  max-width: 350px;
  margin: 0 auto;
}
.w1740-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
}
.w1740-footer-link {
  color: var(--w1740-text-dim);
  font-size: 1.1rem;
  padding: 4px 8px;
  transition: color 0.3s;
}
.w1740-footer-link:hover { color: var(--w1740-primary); }
.w1740-footer-copy {
  text-align: center;
  font-size: 1.1rem;
  color: #555;
  margin-top: 12px;
}

/* Help Page Styles */
.w1740-help-content {
  padding: 16px 0;
}
.w1740-help-content h2 {
  font-size: 1.7rem;
  color: var(--w1740-primary);
  margin: 20px 0 10px;
}
.w1740-help-content h3 {
  font-size: 1.5rem;
  color: var(--w1740-primary);
  margin: 16px 0 8px;
}
.w1740-help-content p {
  font-size: 1.3rem;
  color: var(--w1740-text-dim);
  line-height: 1.7;
  margin-bottom: 10px;
}
.w1740-help-content ul {
  padding-left: 20px;
  margin-bottom: 12px;
}
.w1740-help-content li {
  font-size: 1.3rem;
  color: var(--w1740-text-dim);
  line-height: 1.7;
  margin-bottom: 6px;
  list-style: disc;
}

/* Promo CTA Section */
.w1740-cta {
  background: linear-gradient(135deg, var(--w1740-accent), var(--w1740-green));
  border-radius: var(--w1740-radius);
  padding: 20px 16px;
  text-align: center;
  margin: 16px 0;
}
.w1740-cta h3 {
  font-size: 1.8rem;
  color: #fff;
  margin-bottom: 8px;
}
.w1740-cta p {
  font-size: 1.3rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 14px;
}
.w1740-cta .w1740-btn-promo {
  background: #fff;
  color: var(--w1740-green);
}

/* Rating Stars */
.w1740-rating {
  display: flex;
  gap: 4px;
  margin: 6px 0;
}
.w1740-rating i {
  color: #FFD700;
  font-size: 1.6rem;
}

/* Pros/Cons */
.w1740-pros-cons {
  display: grid;
  gap: 10px;
  margin: 12px 0;
}
.w1740-pros, .w1740-cons {
  background: var(--w1740-card-bg);
  border: 1px solid var(--w1740-border);
  border-radius: var(--w1740-radius);
  padding: 12px;
}
.w1740-pros h4 { color: var(--w1740-green); font-size: 1.4rem; margin-bottom: 8px; }
.w1740-cons h4 { color: #E74C3C; font-size: 1.4rem; margin-bottom: 8px; }
.w1740-pros li, .w1740-cons li {
  font-size: 1.2rem;
  color: var(--w1740-text-dim);
  line-height: 1.6;
  margin-bottom: 4px;
  list-style: disc;
  padding-left: 8px;
}

/* Features Grid */
.w1740-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.w1740-feature-item {
  background: var(--w1740-card-bg);
  border: 1px solid var(--w1740-border);
  border-radius: var(--w1740-radius);
  padding: 14px 10px;
  text-align: center;
}
.w1740-feature-item i,
.w1740-feature-item .material-icons,
.w1740-feature-item .bi {
  font-size: 28px;
  color: var(--w1740-primary);
  margin-bottom: 6px;
}
.w1740-feature-item h4 {
  font-size: 1.3rem;
  color: var(--w1740-text);
  margin-bottom: 4px;
}
.w1740-feature-item p {
  font-size: 1.1rem;
  color: var(--w1740-text-dim);
}

/* Winners Ticker */
.w1740-winners {
  background: var(--w1740-card-bg);
  border: 1px solid var(--w1740-border);
  border-radius: var(--w1740-radius);
  padding: 12px;
  margin: 12px 0;
}
.w1740-winner-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--w1740-border);
}
.w1740-winner-row:last-child { border-bottom: none; }
.w1740-winner-name { font-size: 1.2rem; color: var(--w1740-primary); font-weight: 600; }
.w1740-winner-game { font-size: 1.1rem; color: var(--w1740-text-dim); }
.w1740-winner-amount { font-size: 1.3rem; color: #FFD700; font-weight: 700; }

/* Payment Icons Row */
.w1740-payments {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 12px 0;
}
.w1740-pay-icon {
  background: var(--w1740-card-bg);
  border: 1px solid var(--w1740-border);
  border-radius: var(--w1740-radius);
  padding: 8px 14px;
  font-size: 1.2rem;
  color: var(--w1740-text-dim);
}

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

/* Mobile: bottom padding for nav clearance */
@media (max-width: 768px) {
  .w1740-main {
    padding-bottom: 80px;
  }
  .w1740-footer {
    padding-bottom: 80px;
  }
}

/* H1 style */
.w1740-h1 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--w1740-primary);
  text-align: center;
  margin: 16px 0;
  line-height: 1.3;
}

/* Highlight text */
.w1740-highlight {
  color: var(--w1740-primary);
  font-weight: 600;
}

/* Promo inline link */
.w1740-promo-link {
  color: var(--w1740-accent);
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
}
.w1740-promo-link:hover {
  color: var(--w1740-primary);
}
