/**
 * jili333 com app - Core Site Stylesheet
 * Class prefix: wade0-
 * Palette: #2C2C2C bg | #BDB76B accent | #CCCCCC text
 * Mobile-first, max-width 430px on primary layout.
 */

:root {
  --wade0-primary: #BDB76B;
  --wade0-primary-dark: #9b954f;
  --wade0-bg: #2C2C2C;
  --wade0-bg-light: #3a3a3a;
  --wade0-bg-deep: #1f1f1f;
  --wade0-text: #CCCCCC;
  --wade0-text-light: #f1f1f1;
  --wade0-border: rgba(189, 183, 107, 0.25);
  --wade0-shadow: 0 0.4rem 1.2rem rgba(0, 0, 0, 0.45);
  --wade0-radius: 1.2rem;
  --wade0-radius-sm: 0.8rem;
  --wade0-gradient: linear-gradient(135deg, #BDB76B 0%, #8a854a 100%);
}

/* ===== Reset & Base ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 62.5%; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--wade0-bg);
  color: var(--wade0-text);
  font-size: 1.5rem;
  line-height: 1.5rem;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--wade0-primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--wade0-text-light); }
ul, ol { list-style: none; }
h1, h2, h3, h4 { line-height: 2.2rem; color: var(--wade0-text-light); font-weight: 700; }

/* ===== Layout Containers ===== */
.wade0-wrapper { max-width: 430px; margin: 0 auto; position: relative; min-height: 100vh; }
.wade0-container { padding: 0 1.2rem; }
.wade0-section { padding: 2rem 1.2rem; }

/* ===== Header ===== */
.wade0-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: linear-gradient(180deg, rgba(31,31,31,0.96) 0%, rgba(44,44,44,0.96) 100%);
  border-bottom: 1px solid var(--wade0-border);
  backdrop-filter: blur(10px);
}
.wade0-header-inner {
  max-width: 430px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.8rem 1rem; gap: 0.6rem;
}
.wade0-logo {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 1.6rem; font-weight: 700; color: var(--wade0-text-light);
  flex: 1; min-width: 0;
}
.wade0-logo img { width: 28px; height: 28px; border-radius: 0.5rem; }
.wade0-logo span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wade0-logo b { color: var(--wade0-primary); }
.wade0-header-actions { display: flex; align-items: center; gap: 0.5rem; }

.wade0-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  padding: 0.7rem 1.2rem; font-size: 1.3rem; font-weight: 600;
  border-radius: 2rem; border: none; cursor: pointer;
  transition: transform 0.15s ease, filter 0.2s;
  min-height: 36px; font-family: inherit;
}
.wade0-btn:active { transform: scale(0.96); }
.wade0-btn-register { background: var(--wade0-gradient); color: #1f1f1f; }
.wade0-btn-login { background: transparent; color: var(--wade0-primary); border: 1px solid var(--wade0-primary); }
.wade0-btn-ghost { background: rgba(189, 183, 107, 0.12); color: var(--wade0-primary); }

.wade0-menu-toggle {
  width: 36px; height: 36px; border-radius: 0.6rem; background: transparent;
  border: 1px solid var(--wade0-border); color: var(--wade0-primary);
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 1.6rem;
}

/* ===== Mobile Slide-down Menu ===== */
.wade0-mobile-menu {
  max-height: 0; overflow: hidden;
  background: var(--wade0-bg-deep);
  transition: max-height 0.35s ease;
  border-top: 1px solid var(--wade0-border);
}
.wade0-menu-open { max-height: 520px; }
.wade0-mobile-menu .wade0-container { padding: 1rem 1.2rem 1.4rem; }
.wade0-mobile-menu a {
  display: block; padding: 0.9rem 1rem; border-radius: 0.6rem; margin-bottom: 0.4rem;
  background: rgba(189, 183, 107, 0.08); color: var(--wade0-text-light); font-size: 1.4rem;
}
.wade0-mobile-menu a:hover { background: rgba(189, 183, 107, 0.18); }

/* ===== Hero / Carousel ===== */
.wade0-carousel {
  position: relative; margin-top: 60px;
  border-radius: 0 0 1.5rem 1.5rem; overflow: hidden;
  background: var(--wade0-bg-deep);
}
.wade0-slides { position: relative; }
.wade0-slide { display: none; position: relative; cursor: pointer; }
.wade0-slide-active { display: block; }
.wade0-slide img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.wade0-slide-caption {
  position: absolute; left: 1.2rem; bottom: 1.2rem; right: 1.2rem;
  color: #fff; background: linear-gradient(transparent, rgba(0,0,0,0.7));
  padding: 1rem 0;
}
.wade0-slide-caption h3 { color: var(--wade0-primary); font-size: 1.6rem; margin-bottom: 0.3rem; }
.wade0-slide-caption p { font-size: 1.2rem; color: #eee; line-height: 1.6rem; }
.wade0-dots { position: absolute; bottom: 0.8rem; right: 1.2rem; display: flex; gap: 0.4rem; }
.wade0-dots span { width: 0.7rem; height: 0.7rem; border-radius: 50%; background: rgba(255,255,255,0.4); cursor: pointer; }
.wade0-dots span.wade0-dot-active { background: var(--wade0-primary); }

/* ===== Headings ===== */
.wade0-section-title {
  font-size: 1.7rem; margin-bottom: 1rem;
  padding-left: 0.8rem; border-left: 4px solid var(--wade0-primary);
  color: var(--wade0-text-light);
}
.wade0-section-subtitle { font-size: 1.4rem; margin: 1.2rem 0 0.6rem; color: var(--wade0-primary); }
.wade0-text p { margin-bottom: 1rem; line-height: 2.3rem; color: var(--wade0-text); }
.wade0-promo-link { color: var(--wade0-primary); font-weight: 700; text-decoration: underline; cursor: pointer; }

/* ===== Filter Buttons ===== */
.wade0-filter-bar {
  display: flex; gap: 0.6rem; overflow-x: auto;
  padding: 0.8rem 1.2rem; scrollbar-width: none;
}
.wade0-filter-bar::-webkit-scrollbar { display: none; }
.wade0-filter-btn {
  padding: 0.5rem 1rem; border-radius: 1.6rem;
  background: var(--wade0-bg-light); color: var(--wade0-text);
  font-size: 1.2rem; border: 1px solid transparent;
  cursor: pointer; white-space: nowrap; font-family: inherit;
}
.wade0-filter-active { background: var(--wade0-primary); color: #1f1f1f; font-weight: 600; }

/* ===== Game Grid ===== */
.wade0-game-section { padding: 1rem 1.2rem; }
.wade0-game-section h3 { font-size: 1.5rem; margin-bottom: 0.8rem; color: var(--wade0-text-light); }
.wade0-game-section h3 i { color: var(--wade0-primary); margin-right: 0.4rem; }
.wade0-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.8rem; }
.wade0-game-card {
  background: var(--wade0-bg-light); border: 1px solid var(--wade0-border);
  border-radius: var(--wade0-radius-sm); padding: 0.6rem;
  text-align: center; cursor: pointer;
  transition: transform 0.18s, box-shadow 0.18s;
}
.wade0-game-card:hover, .wade0-game-card:active {
  transform: translateY(-2px); box-shadow: var(--wade0-shadow);
  border-color: var(--wade0-primary);
}
.wade0-game-card img {
  width: 100%; aspect-ratio: 1/1; object-fit: cover;
  border-radius: 0.6rem; margin-bottom: 0.4rem;
}
.wade0-game-card span {
  display: -webkit-box; font-size: 1.1rem; color: var(--wade0-text);
  line-height: 1.4rem; height: 2.8rem; overflow: hidden;
  text-overflow: ellipsis; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}

/* ===== Info / Feature Cards ===== */
.wade0-card {
  background: var(--wade0-bg-light); border: 1px solid var(--wade0-border);
  border-radius: var(--wade0-radius); padding: 1.2rem; margin-bottom: 1rem;
}
.wade0-card h3 { font-size: 1.5rem; margin-bottom: 0.6rem; color: var(--wade0-primary); }
.wade0-card p { line-height: 2.2rem; color: var(--wade0-text); }
.wade0-card-list li {
  position: relative; padding: 0.6rem 0 0.6rem 2rem;
  line-height: 2.1rem; border-bottom: 1px dashed rgba(189, 183, 107, 0.15);
}
.wade0-card-list li:last-child { border-bottom: 0; }
.wade0-card-list li::before {
  content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900;
  position: absolute; left: 0; top: 0.7rem;
  color: var(--wade0-primary); font-size: 1.1rem;
}

/* ===== Stats / RTP ===== */
.wade0-stat-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.8rem; margin: 1rem 0; }
.wade0-stat {
  background: var(--wade0-bg-deep); border-radius: var(--wade0-radius-sm);
  padding: 1rem; text-align: center; border: 1px solid var(--wade0-border);
}
.wade0-stat .wade0-stat-value { display: block; color: var(--wade0-primary); font-size: 1.9rem; font-weight: 700; }
.wade0-stat .wade0-stat-label { display: block; font-size: 1.2rem; color: var(--wade0-text); margin-top: 0.2rem; }

/* ===== Testimonials ===== */
.wade0-testimonials { display: grid; gap: 0.8rem; }
.wade0-testimonial {
  background: var(--wade0-bg-light); border-left: 3px solid var(--wade0-primary);
  border-radius: 0.6rem; padding: 1rem 1.2rem;
}
.wade0-testimonial p { font-style: italic; line-height: 2.1rem; color: var(--wade0-text); }
.wade0-testimonial .wade0-stars { color: var(--wade0-primary); margin: 0.3rem 0; }
.wade0-testimonial .wade0-author { font-size: 1.2rem; color: var(--wade0-text-light); font-weight: 600; }

/* ===== Payment Logos ===== */
.wade0-payment-row { display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; padding: 1rem 0; }
.wade0-payment-row span {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: var(--wade0-bg-light); border: 1px solid var(--wade0-border);
  border-radius: 1.6rem; padding: 0.5rem 1rem; font-size: 1.2rem; color: var(--wade0-text);
}
.wade0-payment-row i { color: var(--wade0-primary); }

/* ===== CTA Banner ===== */
.wade0-cta {
  background: var(--wade0-gradient); color: #1f1f1f;
  border-radius: var(--wade0-radius); padding: 1.6rem 1.4rem;
  text-align: center; margin: 1.2rem 0;
}
.wade0-cta h3 { color: #1f1f1f; font-size: 1.8rem; margin-bottom: 0.5rem; }
.wade0-cta p { color: #2c2c2c; margin-bottom: 1rem; line-height: 2rem; }
.wade0-cta .wade0-btn { background: #2C2C2C; color: var(--wade0-primary); }

/* ===== Footer ===== */
.wade0-footer {
  background: var(--wade0-bg-deep); border-top: 1px solid var(--wade0-border);
  padding: 2rem 1.2rem 9rem; margin-top: 2rem;
}
.wade0-footer-brand { font-size: 1.6rem; font-weight: 700; color: var(--wade0-primary); margin-bottom: 0.6rem; }
.wade0-footer p { color: var(--wade0-text); line-height: 2.1rem; margin-bottom: 1rem; }
.wade0-footer-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.6rem; margin: 1rem 0; }
.wade0-footer-links a {
  display: block; padding: 0.5rem 0.8rem; background: var(--wade0-bg-light);
  border-radius: 0.5rem; font-size: 1.2rem; color: var(--wade0-text-light);
}
.wade0-footer-links a:hover { color: var(--wade0-primary); }
.wade0-footer-copy {
  text-align: center; font-size: 1.2rem; color: #777;
  margin-top: 1.2rem; padding-top: 1rem; border-top: 1px solid var(--wade0-border);
}

/* ===== Mobile Bottom Nav ===== */
.wade0-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
  background: linear-gradient(180deg, rgba(31,31,31,0.98), #1a1a1a);
  border-top: 1px solid var(--wade0-border);
  display: flex; justify-content: space-around; align-items: stretch; height: 60px;
}
.wade0-bottom-nav-btn {
  flex: 1; min-width: 60px; min-height: 60px;
  background: transparent; border: none; color: var(--wade0-text);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.2rem; cursor: pointer; font-size: 1.1rem; font-family: inherit;
  padding: 0.3rem; position: relative; transition: color 0.2s;
}
.wade0-bottom-nav-btn .material-icons,
.wade0-bottom-nav-btn .material-icons-outlined,
.wade0-bottom-nav-btn ion-icon,
.wade0-bottom-nav-btn i { font-size: 22px; color: var(--wade0-text); transition: color 0.2s, transform 0.2s; }
.wade0-bottom-nav-btn:hover,
.wade0-bottom-nav-btn:active { color: var(--wade0-primary); }
.wade0-bottom-nav-btn:hover .material-icons,
.wade0-bottom-nav-btn:hover .material-icons-outlined,
.wade0-bottom-nav-btn:hover ion-icon,
.wade0-bottom-nav-btn:hover i,
.wade0-bottom-nav-btn:active .material-icons,
.wade0-bottom-nav-btn:active .material-icons-outlined,
.wade0-bottom-nav-btn:active ion-icon,
.wade0-bottom-nav-btn:active i { color: var(--wade0-primary); transform: translateY(-2px) scale(1.05); }
.wade0-nav-current { color: var(--wade0-primary) !important; }
.wade0-nav-current .material-icons,
.wade0-nav-current .material-icons-outlined,
.wade0-nav-current ion-icon,
.wade0-nav-current i { color: var(--wade0-primary) !important; }
.wade0-nav-current::before {
  content: ""; position: absolute; top: 0; left: 25%; right: 25%;
  height: 3px; background: var(--wade0-primary); border-radius: 0 0 3px 3px;
}

/* ===== Reveal Animation & Back-to-top ===== */
.wade0-reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.wade0-reveal-visible { opacity: 1; transform: translateY(0); }
.wade0-top-btn {
  position: fixed; right: 1.2rem; bottom: 76px;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--wade0-primary); color: #1f1f1f; border: none;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; z-index: 900; box-shadow: var(--wade0-shadow); opacity: 0.9;
}

/* ===== Responsive Breakpoints ===== */
@media (min-width: 769px) {
  .wade0-bottom-nav { display: none; }
  .wade0-wrapper { max-width: 768px; }
  .wade0-footer { padding-bottom: 2rem; }
  main { padding-bottom: 0 !important; }
}
@media (min-width: 431px) and (max-width: 768px) {
  .wade0-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 768px) {
  main { padding-bottom: 80px; }
  .wade0-grid { grid-template-columns: repeat(3, 1fr); }
}
