/* DK Game - style-843f.css - All classes use s843- prefix */

/* CSS Variables */
:root {
  --s843-primary: #7FFF00;
  --s843-accent: #00FF00;
  --s843-bg: #262626;
  --s843-bg-dark: #1a1a1a;
  --s843-bg-card: #2d2d2d;
  --s843-text: #f0f0f0;
  --s843-text-muted: #a0a0a0;
  --s843-border: #3a3a3a;
  --s843-radius: 8px;
  --s843-radius-lg: 12px;
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 62.5%; scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: var(--s843-bg);
  color: var(--s843-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--s843-primary); text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

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

/* Header */
.s843-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: var(--s843-bg-dark);
  border-bottom: 1px solid var(--s843-border);
  height: 56px;
}
.s843-header-inner {
  max-width: 430px; margin: 0 auto; height: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 1.2rem;
}
.s843-logo-area { display: flex; align-items: center; gap: 0.8rem; }
.s843-logo-area img { width: 28px; height: 28px; border-radius: 6px; }
.s843-logo-area span { font-size: 1.6rem; font-weight: 700; color: var(--s843-primary); }
.s843-header-btns { display: flex; align-items: center; gap: 0.6rem; }
.s843-btn-register, .s843-btn-login {
  border: none; border-radius: var(--s843-radius); padding: 0.6rem 1.4rem;
  font-size: 1.2rem; font-weight: 600; cursor: pointer; transition: all 0.2s;
  min-height: 36px;
}
.s843-btn-register {
  background: var(--s843-primary); color: #1a1a1a;
}
.s843-btn-register:hover { background: var(--s843-accent); transform: scale(1.03); }
.s843-btn-login {
  background: transparent; color: var(--s843-primary);
  border: 1px solid var(--s843-primary);
}
.s843-btn-login:hover { background: rgba(127,255,0,0.1); }
.s843-menu-toggle {
  background: none; border: none; color: var(--s843-text); cursor: pointer;
  font-size: 2rem; padding: 0.4rem; display: flex; align-items: center;
}

/* Mobile Menu */
.s843-mobile-menu {
  position: fixed; top: 0; right: -280px; width: 280px; height: 100vh;
  background: var(--s843-bg-dark); z-index: 9999;
  transition: right 0.3s ease; padding: 2rem 1.6rem;
  overflow-y: auto;
}
.s843-mobile-menu.s843-menu-active { right: 0; }
.s843-menu-overlay {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.6); z-index: 9998;
  display: none;
}
.s843-menu-overlay.s843-overlay-active { display: block; }
.s843-menu-close {
  background: none; border: none; color: var(--s843-text);
  font-size: 2.4rem; cursor: pointer; position: absolute; top: 1rem; right: 1rem;
}
.s843-menu-links { margin-top: 3rem; list-style: none; }
.s843-menu-links li { margin-bottom: 0.2rem; }
.s843-menu-links a {
  display: block; padding: 1rem 1.2rem; color: var(--s843-text);
  font-size: 1.4rem; border-radius: var(--s843-radius); transition: all 0.2s;
}
.s843-menu-links a:hover { background: rgba(127,255,0,0.1); color: var(--s843-primary); }

/* Main Content */
.s843-main { padding-top: 56px; }

/* Carousel */
.s843-carousel { position: relative; overflow: hidden; border-radius: var(--s843-radius-lg); margin: 1rem 0; }
.s843-slide {
  display: none; width: 100%; cursor: pointer;
}
.s843-slide.s843-slide-active { display: block; }
.s843-slide img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: var(--s843-radius-lg); }
.s843-dots { display: flex; justify-content: center; gap: 0.6rem; padding: 0.8rem 0; }
.s843-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--s843-border);
  cursor: pointer; transition: all 0.2s; border: none;
}
.s843-dot.s843-dot-active { background: var(--s843-primary); width: 20px; border-radius: 4px; }

/* Section Titles */
.s843-section-title {
  font-size: 1.8rem; font-weight: 700; color: var(--s843-text);
  margin: 2rem 0 1rem; padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--s843-primary);
}
.s843-section-title i, .s843-section-title .material-icons {
  margin-right: 0.6rem; color: var(--s843-primary);
}

/* Category Title */
.s843-cat-title {
  font-size: 1.6rem; font-weight: 600; color: var(--s843-primary);
  margin: 1.6rem 0 1rem; display: flex; align-items: center; gap: 0.6rem;
}

/* Game Grid */
.s843-game-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem; margin-bottom: 1rem;
}
.s843-game-item {
  text-align: center; cursor: pointer; transition: transform 0.2s;
}
.s843-game-item:hover { transform: scale(1.05); }
.s843-game-item img {
  width: 100%; aspect-ratio: 1/1; object-fit: cover;
  border-radius: var(--s843-radius); border: 1px solid var(--s843-border);
}
.s843-game-item span {
  display: block; font-size: 1.1rem; color: var(--s843-text-muted);
  margin-top: 0.3rem; line-height: 1.3; overflow: hidden;
  text-overflow: ellipsis; white-space: nowrap;
}

/* Content Cards */
.s843-card {
  background: var(--s843-bg-card); border-radius: var(--s843-radius-lg);
  padding: 1.6rem; margin-bottom: 1.2rem;
  border: 1px solid var(--s843-border);
}
.s843-card h3 { font-size: 1.6rem; color: var(--s843-primary); margin-bottom: 0.8rem; }
.s843-card p { font-size: 1.3rem; color: var(--s843-text-muted); line-height: 1.8rem; }

/* Promo Link */
.s843-promo-link {
  color: var(--s843-primary); font-weight: 600; cursor: pointer;
  text-decoration: underline; transition: color 0.2s;
}
.s843-promo-link:hover { color: var(--s843-accent); }

/* CTA Button */
.s843-cta {
  display: block; width: 100%; padding: 1.2rem;
  background: linear-gradient(135deg, var(--s843-primary), var(--s843-accent));
  color: #1a1a1a; font-size: 1.6rem; font-weight: 700;
  text-align: center; border: none; border-radius: var(--s843-radius-lg);
  cursor: pointer; margin: 1.6rem 0; transition: all 0.2s;
}
.s843-cta:hover { transform: scale(1.02); box-shadow: 0 4px 15px rgba(127,255,0,0.3); }

/* FAQ */
.s843-faq-item { margin-bottom: 0.8rem; }
.s843-faq-q {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1rem 1.2rem; background: var(--s843-bg-card);
  border-radius: var(--s843-radius); cursor: pointer;
  font-size: 1.3rem; font-weight: 600; color: var(--s843-text);
  border: 1px solid var(--s843-border);
}
.s843-faq-icon { transition: transform 0.3s; font-size: 1.2rem; }
.s843-faq-icon.s843-faq-open { transform: rotate(180deg); }
.s843-faq-a {
  display: none; padding: 1rem 1.2rem; font-size: 1.3rem;
  color: var(--s843-text-muted); line-height: 1.8rem;
  background: rgba(45,45,45,0.5); border-radius: 0 0 var(--s843-radius) var(--s843-radius);
}

/* Footer */
.s843-footer {
  background: var(--s843-bg-dark); border-top: 1px solid var(--s843-border);
  padding: 2rem 0 8rem;
}
.s843-footer-inner { max-width: 430px; margin: 0 auto; padding: 0 1.2rem; }
.s843-footer-brand { font-size: 1.3rem; color: var(--s843-text-muted); line-height: 1.8rem; margin-bottom: 1.2rem; }
.s843-footer-links { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-bottom: 1.2rem; }
.s843-footer-links a {
  font-size: 1.2rem; color: var(--s843-primary); padding: 0.4rem 0.8rem;
  background: rgba(127,255,0,0.08); border-radius: var(--s843-radius);
  transition: background 0.2s;
}
.s843-footer-links a:hover { background: rgba(127,255,0,0.2); }
.s842-footer-copy { font-size: 1.1rem; color: var(--s843-text-muted); text-align: center; margin-top: 1rem; }

/* Bottom Nav */
.s843-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
  background: var(--s843-bg-dark); border-top: 1px solid var(--s843-border);
  height: 60px;
}
.s843-bottom-nav-inner {
  max-width: 430px; margin: 0 auto; height: 100%;
  display: flex; justify-content: space-around; align-items: center;
}
.s843-nav-btn {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 0.2rem; background: none; border: none;
  color: var(--s843-text-muted); cursor: pointer; min-width: 60px;
  min-height: 56px; transition: all 0.2s; padding: 0.4rem;
}
.s843-nav-btn:hover, .s843-nav-btn.s843-nav-active { color: var(--s843-primary); }
.s843-nav-btn i, .s843-nav-btn .material-icons, .s843-nav-btn ion-icon, .s843-nav-btn bi {
  font-size: 22px;
}
.s843-nav-btn span { font-size: 1rem; }

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

/* Testimonials */
.s843-testimonial {
  background: var(--s843-bg-card); border-radius: var(--s843-radius-lg);
  padding: 1.2rem; margin-bottom: 1rem; border-left: 3px solid var(--s843-primary);
}
.s843-testimonial p { font-size: 1.2rem; color: var(--s843-text-muted); font-style: italic; }
.s843-testimonial .s843-testi-name { font-size: 1.1rem; color: var(--s843-primary); margin-top: 0.6rem; font-style: normal; }

/* Winners */
.s843-winner-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.8rem 1rem; background: var(--s843-bg-card);
  border-radius: var(--s843-radius); margin-bottom: 0.6rem;
}
.s843-winner-name { font-size: 1.2rem; color: var(--s843-text); }
.s843-winner-game { font-size: 1.1rem; color: var(--s843-text-muted); }
.s843-winner-amount { font-size: 1.3rem; color: var(--s843-primary); font-weight: 700; }

/* Payment icons */
.s843-payment-grid { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
.s843-payment-item {
  background: var(--s843-bg-card); padding: 0.8rem 1.2rem; border-radius: var(--s843-radius);
  font-size: 1.2rem; color: var(--s843-text); border: 1px solid var(--s843-border);
}

/* Responsive: hide bottom nav on desktop */
@media (min-width: 769px) {
  .s843-bottom-nav { display: none; }
}
@media (max-width: 768px) {
  .s843-main { padding-bottom: 80px; }
}

/* Highlight badge */
.s843-badge {
  display: inline-block; padding: 0.2rem 0.6rem; font-size: 1rem;
  background: var(--s843-primary); color: #1a1a1a; border-radius: 4px; font-weight: 600;
}

/* Feature list */
.s843-feature-list { list-style: none; padding: 0; }
.s843-feature-list li {
  padding: 0.6rem 0; font-size: 1.3rem; color: var(--s843-text-muted);
  display: flex; align-items: flex-start; gap: 0.6rem;
}
.s843-feature-list li i { color: var(--s843-primary); margin-top: 0.2rem; }
