/**
 * jillibb.click - Core Stylesheet
 * All classes use "sdac-" prefix for namespace isolation
 * Color palette: #2C2C2C | #708090 | #CD853F | #A0522D
 * @version 1.0.0
 */

/* Root variables */
:root {
  --sdac-bg-dark: #2C2C2C;
  --sdac-bg-medium: #3A3A3A;
  --sdac-bg-light: #4A4A4A;
  --sdac-slate: #708090;
  --sdac-gold: #CD853F;
  --sdac-brown: #A0522D;
  --sdac-text: #F5F5F5;
  --sdac-text-muted: #B0B8C1;
  --sdac-text-gold: #E8C87A;
  --sdac-accent: #D4A04A;
  --sdac-success: #4CAF50;
  --sdac-white: #FFFFFF;
  --sdac-border: rgba(112,128,144,0.3);
  --sdac-shadow: rgba(0,0,0,0.4);
  --sdac-radius: 8px;
  --sdac-radius-lg: 12px;
  --sdac-transition: all 0.3s ease;
  font-size: 62.5%;
}

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

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

/* ===== HEADER ===== */
.sdac-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: linear-gradient(135deg, var(--sdac-bg-dark) 0%, var(--sdac-bg-medium) 100%);
  border-bottom: 1px solid var(--sdac-border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.sdac-header-inner {
  max-width: 430px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.8rem 1.2rem; min-height: 5.2rem;
}
.sdac-logo-wrap {
  display: flex; align-items: center; gap: 0.6rem; cursor: pointer;
}
.sdac-logo-icon { width: 28px; height: 28px; border-radius: 6px; }
.sdac-logo-text {
  font-size: 2.0rem; font-weight: 700; color: var(--sdac-gold);
  letter-spacing: -0.5px;
}
.sdac-header-actions { display: flex; align-items: center; gap: 0.6rem; }
.sdac-btn-register, .sdac-btn-login {
  border: none; cursor: pointer; font-weight: 600; border-radius: 6px;
  transition: var(--sdac-transition); font-size: 1.2rem; padding: 0.6rem 1.2rem;
}
.sdac-btn-register {
  background: linear-gradient(135deg, var(--sdac-gold) 0%, var(--sdac-brown) 100%);
  color: var(--sdac-white);
}
.sdac-btn-register:hover { transform: scale(1.05); box-shadow: 0 2px 8px var(--sdac-shadow); }
.sdac-btn-login {
  background: transparent; border: 1px solid var(--sdac-gold); color: var(--sdac-gold);
}
.sdac-btn-login:hover { background: rgba(205,133,63,0.15); }
.sdac-menu-toggle {
  background: none; border: none; color: var(--sdac-text); cursor: pointer;
  font-size: 2.2rem; padding: 0.4rem; display: flex; align-items: center;
  margin-right: 0.4rem;
}

/* ===== MOBILE MENU ===== */
.sdac-mobile-menu {
  position: fixed; top: 0; left: 0; bottom: 0; width: 75%; max-width: 300px;
  background: linear-gradient(180deg, var(--sdac-bg-medium) 0%, var(--sdac-bg-dark) 100%);
  z-index: 9999; transform: translateX(-100%); transition: transform 0.35s ease;
  visibility: hidden; padding: 2rem 0; overflow-y: auto;
}
.sdac-mobile-menu-header {
  padding: 0 1.6rem 1.6rem; border-bottom: 1px solid var(--sdac-border);
  display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem;
}
.sdac-mobile-menu-logo { width: 36px; height: 36px; border-radius: 8px; }
.sdac-mobile-menu-title { font-size: 2rem; font-weight: 700; color: var(--sdac-gold); }
.sdac-mobile-menu-close {
  margin-left: auto; background: none; border: none; color: var(--sdac-text-muted);
  font-size: 2rem; cursor: pointer; padding: 0.4rem;
}
.sdac-mobile-menu nav { padding: 0.5rem 0; }
.sdac-mobile-menu a {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.2rem 1.6rem; color: var(--sdac-text);
  border-bottom: 1px solid rgba(112,128,144,0.15);
  font-size: 1.5rem; transition: var(--sdac-transition);
}
.sdac-mobile-menu a:hover { background: rgba(205,133,63,0.1); color: var(--sdac-gold); }
.sdac-mobile-menu-icon { font-size: 2rem; width: 28px; text-align: center; color: var(--sdac-slate); }

/* Menu overlay */
.sdac-menu-overlay {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.6); z-index: 9998;
  display: none; opacity: 0; transition: opacity 0.3s ease;
}

/* ===== MAIN CONTENT ===== */
.sdac-main { padding-top: 6rem; padding-bottom: 1rem; }

/* ===== CAROUSEL ===== */
.sdac-carousel { position: relative; overflow: hidden; border-radius: var(--sdac-radius-lg); margin-bottom: 2rem; }
.sdac-slide {
  display: none; width: 100%; cursor: pointer; position: relative;
}
.sdac-slide-active { display: block; }
.sdac-slide img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: var(--sdac-radius-lg); }
.sdac-dots {
  display: flex; justify-content: center; gap: 0.6rem;
  padding: 0.8rem 0; position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.5));
}
.sdac-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.4); cursor: pointer; border: none; padding: 0;
  transition: var(--sdac-transition);
}
.sdac-dot-active { background: var(--sdac-gold); width: 20px; border-radius: 4px; }

/* ===== SECTIONS ===== */
.sdac-section { margin-bottom: 2.5rem; }
.sdac-section-title {
  font-size: 2rem; font-weight: 700; color: var(--sdac-text);
  margin-bottom: 1.2rem; padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--sdac-gold);
  display: flex; align-items: center; gap: 0.6rem;
}
.sdac-section-title i { color: var(--sdac-gold); font-size: 2rem; }

/* ===== GAME GRID ===== */
.sdac-game-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
}
.sdac-game-item {
  text-align: center; cursor: pointer; transition: var(--sdac-transition);
  border-radius: var(--sdac-radius); overflow: hidden;
  background: var(--sdac-bg-medium);
}
.sdac-game-item:hover { transform: translateY(-2px); box-shadow: 0 4px 12px var(--sdac-shadow); }
.sdac-game-img {
  width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--sdac-radius) var(--sdac-radius) 0 0;
}
.sdac-game-name {
  font-size: 1.1rem; padding: 0.3rem 0.2rem; color: var(--sdac-text-muted);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  line-height: 1.3rem;
}

/* ===== CATEGORY LABEL ===== */
.sdac-cat-label {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.3rem 0.8rem; border-radius: 4px;
  font-size: 1.1rem; font-weight: 600; text-transform: uppercase;
  margin-bottom: 0.8rem;
}
.sdac-cat-cards { background: rgba(205,133,63,0.2); color: var(--sdac-gold); }
.sdac-cat-live { background: rgba(76,175,80,0.2); color: var(--sdac-success); }
.sdac-cat-hot { background: rgba(244,67,54,0.2); color: #EF5350; }
.sdac-cat-slot { background: rgba(156,39,176,0.2); color: #CE93D8; }
.sdac-cat-fishing { background: rgba(33,150,243,0.2); color: #64B5F6; }

/* ===== PROMO BUTTON ===== */
.sdac-promo-btn {
  display: inline-block; padding: 1rem 2rem; border-radius: var(--sdac-radius);
  background: linear-gradient(135deg, var(--sdac-gold), var(--sdac-brown));
  color: var(--sdac-white); font-weight: 700; font-size: 1.5rem;
  cursor: pointer; border: none; transition: var(--sdac-transition);
  text-align: center;
}
.sdac-promo-btn:hover { transform: scale(1.03); box-shadow: 0 4px 15px rgba(205,133,63,0.4); }

.sdac-promo-text { color: var(--sdac-gold); font-weight: 600; cursor: pointer; }
.sdac-promo-text:hover { text-decoration: underline; }

/* ===== CONTENT CARDS ===== */
.sdac-card {
  background: var(--sdac-bg-medium); border-radius: var(--sdac-radius-lg);
  padding: 1.6rem; margin-bottom: 1.2rem;
  border: 1px solid var(--sdac-border);
}
.sdac-card-title { font-size: 1.7rem; font-weight: 600; color: var(--sdac-gold); margin-bottom: 0.8rem; }
.sdac-card-text { font-size: 1.4rem; color: var(--sdac-text-muted); line-height: 1.8rem; }

/* ===== FAQ ===== */
.sdac-faq-item { margin-bottom: 1rem; }
.sdac-faq-q {
  font-size: 1.5rem; font-weight: 600; color: var(--sdac-text);
  margin-bottom: 0.4rem; display: flex; align-items: flex-start; gap: 0.5rem;
}
.sdac-faq-q::before { content: 'Q:'; color: var(--sdac-gold); font-weight: 700; white-space: nowrap; }
.sdac-faq-a { font-size: 1.4rem; color: var(--sdac-text-muted); padding-left: 2rem; line-height: 1.8rem; }

/* ===== FEATURES LIST ===== */
.sdac-feature-list { display: flex; flex-direction: column; gap: 0.8rem; }
.sdac-feature-item {
  display: flex; align-items: flex-start; gap: 0.8rem;
  font-size: 1.4rem; color: var(--sdac-text-muted); line-height: 1.8rem;
}
.sdac-feature-icon { color: var(--sdac-gold); font-size: 1.8rem; flex-shrink: 0; margin-top: 0.2rem; }

/* ===== STATS BAR ===== */
.sdac-stats-row {
  display: flex; gap: 0.6rem; flex-wrap: wrap; margin-bottom: 1.2rem;
}
.sdac-stat-box {
  flex: 1; min-width: 90px; text-align: center; padding: 1rem 0.5rem;
  background: var(--sdac-bg-light); border-radius: var(--sdac-radius);
  border: 1px solid var(--sdac-border);
}
.sdac-stat-value { font-size: 2rem; font-weight: 700; color: var(--sdac-gold); }
.sdac-stat-label { font-size: 1.1rem; color: var(--sdac-text-muted); margin-top: 0.2rem; }

/* ===== TESTIMONIALS ===== */
.sdac-testimonial {
  background: var(--sdac-bg-medium); border-radius: var(--sdac-radius-lg);
  padding: 1.4rem; margin-bottom: 1rem; border-left: 3px solid var(--sdac-gold);
}
.sdac-testimonial-text { font-size: 1.4rem; color: var(--sdac-text-muted); font-style: italic; margin-bottom: 0.6rem; }
.sdac-testimonial-author { font-size: 1.2rem; color: var(--sdac-gold); font-weight: 600; }

/* ===== PAYMENT ICONS ===== */
.sdac-payment-grid { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }
.sdac-payment-item {
  display: flex; flex-direction: column; align-items: center; gap: 0.3rem;
  padding: 0.8rem; background: var(--sdac-bg-light); border-radius: var(--sdac-radius);
  min-width: 70px;
}
.sdac-payment-icon { font-size: 2.4rem; color: var(--sdac-slate); }
.sdac-payment-name { font-size: 1rem; color: var(--sdac-text-muted); }

/* ===== WINNER LIST ===== */
.sdac-winner-item {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.8rem 0; border-bottom: 1px solid rgba(112,128,144,0.15);
}
.sdac-winner-name { font-size: 1.3rem; color: var(--sdac-text); font-weight: 500; }
.sdac-winner-game { font-size: 1.1rem; color: var(--sdac-text-muted); }
.sdac-winner-amount { font-size: 1.4rem; color: var(--sdac-success); font-weight: 700; }

/* ===== FOOTER ===== */
.sdac-footer {
  background: linear-gradient(180deg, var(--sdac-bg-medium) 0%, var(--sdac-bg-dark) 100%);
  padding: 2rem 0 8rem; margin-top: 2rem;
  border-top: 1px solid var(--sdac-border);
}
.sdac-footer-brand { text-align: center; margin-bottom: 1.5rem; }
.sdac-footer-brand p { font-size: 1.3rem; color: var(--sdac-text-muted); line-height: 1.8rem; max-width: 360px; margin: 0 auto; }
.sdac-footer-links {
  display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; margin-bottom: 1.5rem;
}
.sdac-footer-link {
  padding: 0.5rem 1rem; background: var(--sdac-bg-light); border-radius: 4px;
  font-size: 1.2rem; color: var(--sdac-text-muted); cursor: pointer; transition: var(--sdac-transition);
}
.sdac-footer-link:hover { color: var(--sdac-gold); background: rgba(205,133,63,0.15); }
.sdac-footer-copy { text-align: center; font-size: 1.2rem; color: var(--sdac-slate); padding-top: 1rem; border-top: 1px solid var(--sdac-border); }

/* ===== BOTTOM NAV ===== */
.sdac-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
  background: linear-gradient(135deg, #1E1E1E 0%, var(--sdac-bg-dark) 50%, #252525 100%);
  border-top: 1px solid var(--sdac-border);
  display: flex; justify-content: space-around; align-items: center;
  height: 60px; padding: 0 0.4rem;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.3);
}
.sdac-bottom-nav-btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 60px; min-height: 56px; cursor: pointer;
  color: var(--sdac-slate); transition: var(--sdac-transition);
  background: none; border: none; padding: 0.3rem 0;
}
.sdac-bottom-nav-btn:hover, .sdac-bottom-nav-btn:focus { color: var(--sdac-gold); }
.sdac-bottom-nav-btn:active { transform: scale(0.92); }
.sdac-bottom-nav-btn i, .sdac-bottom-nav-btn .material-icons {
  font-size: 2.2rem; margin-bottom: 0.1rem;
}
.sdac-bottom-nav-btn span {
  font-size: 1rem; font-weight: 500; white-space: nowrap;
}
.sdac-bottom-nav-btn.sdac-active { color: var(--sdac-gold); }
.sdac-bottom-nav-btn.sdac-active i { text-shadow: 0 0 8px rgba(205,133,63,0.5); }

/* ===== CTA SECTION ===== */
.sdac-cta-section {
  text-align: center; padding: 2rem; margin: 2rem 0;
  background: linear-gradient(135deg, rgba(160,82,45,0.3) 0%, rgba(205,133,63,0.2) 100%);
  border-radius: var(--sdac-radius-lg); border: 1px solid rgba(205,133,63,0.3);
}
.sdac-cta-title { font-size: 2.2rem; font-weight: 700; color: var(--sdac-gold); margin-bottom: 0.8rem; }
.sdac-cta-text { font-size: 1.4rem; color: var(--sdac-text-muted); margin-bottom: 1.5rem; }

/* ===== APP DOWNLOAD ===== */
.sdac-app-section {
  display: flex; align-items: center; gap: 1.2rem;
  padding: 1.4rem; background: var(--sdac-bg-medium);
  border-radius: var(--sdac-radius-lg); border: 1px solid var(--sdac-border);
}
.sdac-app-icon { font-size: 4rem; color: var(--sdac-gold); flex-shrink: 0; }
.sdac-app-info { flex: 1; }
.sdac-app-title { font-size: 1.5rem; font-weight: 600; color: var(--sdac-text); }
.sdac-app-desc { font-size: 1.2rem; color: var(--sdac-text-muted); margin-top: 0.3rem; }
.sdac-app-btn {
  display: inline-block; padding: 0.5rem 1.2rem; border-radius: 4px;
  background: var(--sdac-gold); color: var(--sdac-bg-dark); font-weight: 700;
  font-size: 1.2rem; cursor: pointer; border: none; margin-top: 0.5rem;
}

/* ===== HELP PAGE ===== */
.sdac-help-section { margin-bottom: 1.8rem; }
.sdac-help-section h2 {
  font-size: 1.8rem; color: var(--sdac-gold); margin-bottom: 0.8rem;
  display: flex; align-items: center; gap: 0.5rem;
}
.sdac-help-section p { font-size: 1.4rem; color: var(--sdac-text-muted); line-height: 1.8rem; margin-bottom: 0.8rem; }
.sdac-help-list { padding-left: 1rem; }
.sdac-help-list li {
  font-size: 1.4rem; color: var(--sdac-text-muted); line-height: 1.8rem;
  margin-bottom: 0.5rem; position: relative; padding-left: 1.2rem;
}
.sdac-help-list li::before {
  content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900;
  position: absolute; left: 0; color: var(--sdac-gold); font-size: 1.1rem;
}

/* ===== DESKTOP HIDDEN ===== */
.sdac-desktop-show { display: none; }

/* ===== RESPONSIVE ===== */
@media (min-width: 769px) {
  .sdac-bottom-nav { display: none; }
  .sdac-menu-toggle { display: none; }
  .sdac-desktop-show { display: block; }
  .sdac-container { max-width: 480px; }
  .sdac-main { padding-bottom: 2rem; }
}
@media (max-width: 768px) {
  .sdac-main { padding-bottom: 80px; }
  .sdac-header-inner { padding: 0.6rem 1rem; min-height: 4.8rem; }
  .sdac-game-grid { grid-template-columns: repeat(4, 1fr); gap: 0.5rem; }
  .sdac-game-name { font-size: 1rem; }
}
@media (max-width: 360px) {
  .sdac-game-grid { grid-template-columns: repeat(3, 1fr); }
  .sdac-btn-register, .sdac-btn-login { padding: 0.5rem 0.8rem; font-size: 1.1rem; }
}
