/* Super Scatter - Core Stylesheet */
/* All classes prefixed with s052- to avoid conflicts */

/* CSS Variables */
:root {
  --s052-primary: #FF8C00;
  --s052-secondary: #20B2AA;
  --s052-light: #98FB98;
  --s052-bg: #1E1E1E;
  --s052-accent: #00FF00;
  --s052-text: #E0E0E0;
  --s052-text-muted: #A0A0A0;
  --s052-card-bg: #2A2A2A;
  --s052-card-border: #3A3A3A;
  --s052-font-size: 62.5%;
}

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

html {
  font-size: var(--s052-font-size);
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--s052-bg);
  color: var(--s052-text);
  line-height: 1.6;
  max-width: 430px;
  margin: 0 auto;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
}

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

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

/* Header */
.s052-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  border-bottom: 2px solid var(--s052-primary);
  z-index: 1000;
  padding: 0.8rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.s052-logo-area img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}

.s052-logo-area span {
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(90deg, var(--s052-primary), var(--s052-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.s052-btn-register, .s052-btn-login {
  padding: 0.5rem 1.2rem;
  border-radius: 20px;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
}

.s052-btn-register {
  background: linear-gradient(135deg, var(--s052-primary), #FF6B00);
  color: #fff;
}

.s052-btn-register:hover {
  transform: scale(1.05);
  box-shadow: 0 0 12px rgba(255, 140, 0, 0.5);
}

.s052-btn-login {
  background: transparent;
  border: 1.5px solid var(--s052-secondary);
  color: var(--s052-secondary);
}

.s052-btn-login:hover {
  background: var(--s052-secondary);
  color: #1E1E1E;
}

.s052-hamburger {
  background: none;
  border: none;
  color: var(--s052-text);
  font-size: 2rem;
  cursor: pointer;
  padding: 0.2rem;
  line-height: 1;
}

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

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

/* Slider / Banner */
.s052-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 0 0 12px 12px;
  margin-bottom: 1.5rem;
}

.s052-slide {
  display: none;
  width: 100%;
  cursor: pointer;
  transition: opacity 0.5s ease;
}

.s052-slide-active {
  display: block;
}

.s052-slide img {
  width: 100%;
  height: auto;
  border-radius: 0 0 12px 12px;
}

.s052-slider-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}

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

.s052-dot-active {
  background: var(--s052-primary);
  width: 20px;
  border-radius: 4px;
}

/* Section Titles */
.s052-section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--s052-light);
  margin: 2rem 0 1rem;
  padding-left: 1rem;
  border-left: 3px solid var(--s052-primary);
}

.s052-section-title span {
  color: var(--s052-primary);
}

/* Game Grid */
.s052-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
  padding: 0.5rem 0;
}

.s052-game-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.s052-game-item:hover {
  transform: scale(1.05);
}

.s052-game-item img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 10px;
  border: 1.5px solid var(--s052-card-border);
  margin-bottom: 0.3rem;
}

.s052-game-item span {
  font-size: 1rem;
  color: var(--s052-text-muted);
  text-align: center;
  line-height: 1.3;
  max-height: 2.6rem;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

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

.s052-card h3 {
  font-size: 1.6rem;
  color: var(--s052-primary);
  margin-bottom: 0.8rem;
}

.s052-card p {
  font-size: 1.3rem;
  color: var(--s052-text);
  line-height: 1.6;
  margin-bottom: 0.6rem;
}

/* Promo Buttons & Links */
.s052-promo-btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  background: linear-gradient(135deg, var(--s052-primary), #FF6B00);
  color: #fff;
  font-size: 1.4rem;
  font-weight: 700;
  border-radius: 25px;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  text-align: center;
}

.s052-promo-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 16px rgba(255, 140, 0, 0.6);
}

.s052-promo-link {
  color: var(--s052-accent);
  font-weight: 600;
  cursor: pointer;
  transition: color 0.2s ease;
}

.s052-promo-link:hover {
  color: var(--s052-primary);
  text-decoration: underline;
}

.s052-promo-link-secondary {
  color: var(--s052-secondary);
  font-weight: 600;
  cursor: pointer;
}

/* CTA Section */
.s052-cta {
  background: linear-gradient(135deg, #2a1a00, #1a2a1a);
  border: 2px solid var(--s052-primary);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-align: center;
  margin: 2rem 0;
}

.s052-cta h2 {
  font-size: 2rem;
  color: var(--s052-primary);
  margin-bottom: 1rem;
}

.s052-cta p {
  font-size: 1.3rem;
  color: var(--s052-text);
  margin-bottom: 1.5rem;
}

/* Footer */
.s052-footer {
  background: #141414;
  border-top: 2px solid var(--s052-card-border);
  padding: 2rem 1.2rem 3rem;
  margin-top: 2rem;
}

.s052-footer-brand {
  font-size: 1.3rem;
  color: var(--s052-text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.s052-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}

.s052-footer-links a {
  color: var(--s052-secondary);
  font-size: 1.2rem;
  padding: 0.3rem 0.6rem;
  background: var(--s052-card-bg);
  border-radius: 6px;
  transition: all 0.2s ease;
}

.s052-footer-links a:hover {
  background: var(--s052-secondary);
  color: #1E1E1E;
}

.s052-footer-promo {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

.s052-footer-promo-btn {
  padding: 0.6rem 1.2rem;
  background: var(--s052-primary);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
}

.s052-footer-promo-btn:hover {
  background: #FF6B00;
}

.s052-footer-copy {
  font-size: 1.1rem;
  color: #666;
  text-align: center;
  padding-top: 1rem;
  border-top: 1px solid #333;
}

/* Bottom Navigation */
.s052-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  background: linear-gradient(180deg, #2a2a2a, #1a1a1a);
  border-top: 2px solid var(--s052-primary);
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 60px;
  z-index: 1000;
  padding: 0 0.3rem;
}

.s052-bottom-nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 56px;
  background: none;
  border: none;
  color: var(--s052-text-muted);
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0.4rem;
  border-radius: 8px;
}

.s052-bottom-nav-btn:hover {
  color: var(--s052-primary);
  background: rgba(255, 140, 0, 0.1);
}

.s052-bottom-nav-btn.active {
  color: var(--s052-primary);
}

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

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

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

/* Mobile Menu */
#s052-mobile-menu {
  position: fixed;
  top: 0;
  right: -280px;
  width: 280px;
  height: 100vh;
  background: #1a1a1a;
  z-index: 9999;
  transition: right 0.3s ease;
  padding: 2rem 1.5rem;
  overflow-y: auto;
}

.s052-menu-open {
  right: 0 !important;
}

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

.s052-overlay-active {
  display: block !important;
}

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

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

.s052-menu-links li {
  margin-bottom: 0.5rem;
}

.s052-menu-links a {
  display: block;
  padding: 1rem;
  color: var(--s052-text);
  font-size: 1.4rem;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.s052-menu-links a:hover {
  background: var(--s052-card-bg);
  color: var(--s052-primary);
}

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

.s052-testimonial p {
  font-size: 1.2rem;
  color: var(--s052-text);
  font-style: italic;
  margin-bottom: 0.4rem;
}

.s052-testimonial cite {
  font-size: 1.1rem;
  color: var(--s052-secondary);
  font-style: normal;
}

/* Winner Table */
.s052-winner-row {
  display: flex;
  justify-content: space-between;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--s052-card-border);
  font-size: 1.2rem;
}

.s052-winner-row:last-child {
  border-bottom: none;
}

.s052-winner-name {
  color: var(--s052-light);
}

.s052-winner-game {
  color: var(--s052-text-muted);
}

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

/* FAQ */
.s052-faq-item {
  background: var(--s052-card-bg);
  border-radius: 8px;
  padding: 1rem 1.2rem;
  margin-bottom: 0.8rem;
}

.s052-faq-item strong {
  display: block;
  color: var(--s052-primary);
  font-size: 1.3rem;
  margin-bottom: 0.4rem;
}

.s052-faq-item p {
  font-size: 1.2rem;
  color: var(--s052-text);
}

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

.s052-payment-item {
  background: var(--s052-card-bg);
  border: 1px solid var(--s052-card-border);
  border-radius: 8px;
  padding: 0.6rem 1.2rem;
  font-size: 1.1rem;
  color: var(--s052-text);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* Stats Bar */
.s052-stats-bar {
  display: flex;
  justify-content: space-around;
  padding: 1rem 0;
  background: var(--s052-card-bg);
  border-radius: 10px;
  margin: 1rem 0;
}

.s052-stat-item {
  text-align: center;
}

.s052-stat-num {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--s052-primary);
}

.s052-stat-label {
  font-size: 1rem;
  color: var(--s052-text-muted);
}

/* App Download */
.s052-app-box {
  background: linear-gradient(135deg, #1a2a00, #0a1a0a);
  border: 1.5px solid var(--s052-accent);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
}

.s052-app-box h3 {
  color: var(--s052-accent);
  font-size: 1.6rem;
  margin-bottom: 0.6rem;
}

.s052-app-box p {
  color: var(--s052-text);
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

/* Help page styles */
.s052-help-section {
  margin-bottom: 1.5rem;
}

.s052-help-section h2 {
  font-size: 1.7rem;
  color: var(--s052-primary);
  margin-bottom: 0.8rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--s052-card-border);
}

.s052-help-section p {
  font-size: 1.3rem;
  color: var(--s052-text);
  line-height: 1.7;
  margin-bottom: 0.6rem;
}

.s052-help-section ul {
  list-style: none;
  padding: 0;
}

.s052-help-section ul li {
  padding: 0.5rem 0;
  font-size: 1.3rem;
  color: var(--s052-text);
  padding-left: 1.2rem;
  position: relative;
}

.s052-help-section ul li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--s052-accent);
  font-size: 1.1rem;
}

.s052-internal-link {
  color: var(--s052-secondary);
  text-decoration: underline;
  transition: color 0.2s ease;
}

.s052-internal-link:hover {
  color: var(--s052-primary);
}

/* Responsive Utilities */
@media (max-width: 360px) {
  .s052-game-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 769px) {
  body {
    max-width: 430px;
  }
}
