/* =========================================================
   jili333 login - theme-7008.css
   Shared CSS module (prefix: s700-)
   Palette: #36454F | #9400D3 | #D3D3D3 | #34495E | #273746
   Dark backgrounds, light text. Mobile-first, rem units.
   ========================================================= */

:root {
  --s700-bg: #273746;
  --s700-bg-2: #36454F;
  --s700-bg-3: #34495E;
  --s700-primary: #9400D3;
  --s700-text: #D3D3D3;
  --s700-text-strong: #FFFFFF;
  --s700-muted: #8FA3B0;
  --s700-border: rgba(211, 211, 211, 0.12);
  --s700-radius: 14px;
  --s700-radius-sm: 9px;
  --s700-shadow: 0 6px 22px rgba(0, 0, 0, 0.32);
  --s700-header-h: 58px;
  --s700-bottom-h: 62px;
  --s700-max: 430px;
}

* { box-sizing: border-box; }
html { font-size: 62.5%; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  background: radial-gradient(1200px 600px at 50% -10%, #3A4F63 0%, var(--s700-bg) 60%);
  color: var(--s700-text);
  font-size: 1.5rem;
  line-height: 1.5;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--s700-text-strong); text-decoration: none; }

.s700-container {
  width: 100%;
  max-width: var(--s700-max);
  margin: 0 auto;
  padding: 0 14px;
}
.s700-wrapper {
  width: 100%;
  max-width: var(--s700-max);
  margin: 0 auto;
}

/* ---------- Header ---------- */
.s700-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(90deg, var(--s700-bg-2), var(--s700-bg-3));
  border-bottom: 1px solid var(--s700-border);
  box-shadow: var(--s700-shadow);
}
.s700-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--s700-header-h);
  padding: 0 12px;
}
.s700-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--s700-text-strong);
  font-weight: 800;
  font-size: 1.7rem;
  letter-spacing: 0.3px;
}
.s700-logo .s700-logo-icon {
  width: 30px; height: 30px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--s700-primary), #C159F5);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.4rem;
  box-shadow: 0 2px 8px rgba(148, 0, 211, 0.55);
}
.s700-header-actions { display: flex; align-items: center; gap: 8px; }
.s700-btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 6px;
  border: none;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1.3rem;
  padding: 9px 16px;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  min-height: 38px;
  line-height: 1;
  font-family: inherit;
}
.s700-btn:active { transform: scale(0.96); }
.s700-btn-primary {
  background: linear-gradient(135deg, var(--s700-primary), #B14BE0);
  color: #fff;
  box-shadow: 0 4px 14px rgba(148, 0, 211, 0.5);
}
.s700-btn-ghost {
  background: transparent;
  color: var(--s700-text-strong);
  border: 1.5px solid var(--s700-primary);
}
.s700-btn-block { width: 100%; padding: 13px; font-size: 1.45rem; }

.s700-menu-btn {
  background: transparent;
  border: none;
  color: var(--s700-text-strong);
  font-size: 1.9rem;
  padding: 6px 8px;
  cursor: pointer;
  border-radius: 8px;
}
.s700-menu-btn:hover { background: rgba(148, 0, 211, 0.18); }

/* Expandable nav menu */
.s700-nav-menu {
  display: none;
  position: absolute;
  top: var(--s700-header-h);
  left: 0; right: 0;
  background: var(--s700-bg-2);
  border-bottom: 1px solid var(--s700-border);
  padding: 10px 14px 16px;
  box-shadow: var(--s700-shadow);
}
.s700-nav-menu.s700-open { display: block; }
.s700-nav-menu a {
  display: block;
  padding: 11px 12px;
  border-radius: var(--s700-radius-sm);
  color: var(--s700-text);
  font-size: 1.35rem;
  border-bottom: 1px dashed var(--s700-border);
}
.s700-nav-menu a:active { background: rgba(148, 0, 211, 0.15); color: #fff; }
.s700-nav-title {
  font-size: 1.1rem; color: var(--s700-muted); margin: 6px 2px;
  text-transform: uppercase; letter-spacing: 0.6px;
}

/* ---------- Main ---------- */
main { padding-bottom: calc(var(--s700-bottom-h) + 24px); }
.s700-section { padding: 18px 0; }
.s700-section-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 10px;
}
.s700-section-title {
  font-size: 1.55rem; font-weight: 800; color: var(--s700-text-strong);
  margin: 0;
  display: flex; align-items: center; gap: 8px;
}
.s700-section-title::before {
  content: ""; width: 4px; height: 18px; border-radius: 4px;
  background: linear-gradient(var(--s700-primary), #C159F5);
}
.s700-section-link { color: var(--s700-primary); font-size: 1.2rem; font-weight: 700; }

/* ---------- Hero / Carousel ---------- */
.s700-hero { padding-top: 14px; }
.s700-carousel {
  position: relative;
  border-radius: var(--s700-radius);
  overflow: hidden;
  box-shadow: var(--s700-shadow);
}
.s700-slides { position: relative; }
.s700-slide {
  display: none;
  cursor: pointer;
  position: relative;
}
.s700-slide.s700-active { display: block; }
.s700-slide img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.s700-slide-overlay {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 14px;
  background: linear-gradient(0deg, rgba(0,0,0,.78) 0%, rgba(0,0,0,0) 100%);
  color: #fff;
}
.s700-slide-overlay h2 {
  margin: 0 0 4px; font-size: 1.7rem; font-weight: 800;
  color: var(--s700-text-strong);
}
.s700-slide-overlay p { margin: 0; font-size: 1.2rem; color: var(--s700-text); }
.s700-dots {
  position: absolute; bottom: 8px; left: 0; right: 0;
  display: flex; justify-content: center; gap: 6px;
}
.s700-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(255,255,255,.45);
  cursor: pointer; border: none; padding: 0;
}
.s700-dot.s700-active { background: var(--s700-primary); width: 18px; border-radius: 999px; }

/* ---------- H1 ---------- */
.s700-h1 {
  font-size: 2rem; font-weight: 900; color: var(--s700-text-strong);
  margin: 16px 0 6px; line-height: 1.25;
}
.s700-h1 .s700-accent { color: var(--s700-primary); }
.s700-lead { font-size: 1.35rem; color: var(--s700-text); margin: 0 0 8px; }

/* ---------- Game grid ---------- */
.s700-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
}
.s700-card {
  background: var(--s700-bg-3);
  border: 1px solid var(--s700-border);
  border-radius: var(--s700-radius-sm);
  overflow: hidden;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, border-color .2s;
  text-align: center;
}
.s700-card:active {
  transform: scale(0.96);
  border-color: var(--s700-primary);
  box-shadow: 0 4px 14px rgba(148,0,211,.4);
}
.s700-card-img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover;
  background: #1f2c37;
}
.s700-card-name {
  font-size: 1.05rem; color: var(--s700-text);
  padding: 5px 4px 7px; font-weight: 600;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.s700-category-tag {
  display: inline-block;
  font-size: 1rem;
  color: var(--s700-primary);
  font-weight: 800;
  margin: 4px 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

/* ---------- Info / content blocks ---------- */
.s700-card-box {
  background: var(--s700-bg-3);
  border: 1px solid var(--s700-border);
  border-radius: var(--s700-radius);
  padding: 16px;
  box-shadow: var(--s700-shadow);
  margin-bottom: 14px;
}
.s700-card-box h2 {
  color: var(--s700-text-strong); font-size: 1.6rem; margin: 0 0 8px; font-weight: 800;
}
.s700-card-box h3 {
  color: var(--s700-text-strong); font-size: 1.4rem; margin: 14px 0 6px; font-weight: 700;
}
.s700-card-box p { margin: 0 0 10px; color: var(--s700-text); }
.s700-card-box ul { margin: 0 0 10px; padding-left: 18px; color: var(--s700-text); }
.s700-card-box li { margin-bottom: 6px; }

.s700-inline-link {
  color: var(--s700-primary);
  font-weight: 700;
  border-bottom: 1px dotted rgba(148,0,211,.6);
}
.s700-inline-link:active { color: #C159F5; }

.s700-text-promo {
  color: #FFD479; font-weight: 800;
}

/* ---------- Feature list ---------- */
.s700-feature-grid {
  display: grid; gap: 10px;
  grid-template-columns: 1fr;
}
.s700-feature {
  display: flex; gap: 10px; align-items: flex-start;
  background: var(--s700-bg-3);
  padding: 12px; border-radius: var(--s700-radius-sm);
  border: 1px solid var(--s700-border);
}
.s700-feature .s700-ic {
  font-size: 2.2rem; color: var(--s700-primary); min-width: 30px;
}
.s700-feature h3 { margin: 0 0 4px; font-size: 1.35rem; color: var(--s700-text-strong); }
.s700-feature p { margin: 0; font-size: 1.2rem; color: var(--s700-text); }

/* ---------- Testimonials ---------- */
.s700-testimonials { display: grid; gap: 10px; }
.s700-testimonial {
  background: var(--s700-bg-3); border-radius: var(--s700-radius-sm);
  padding: 12px; border-left: 3px solid var(--s700-primary);
}
.s700-testimonial p { margin: 0 0 6px; color: var(--s700-text); font-size: 1.25rem; }
.s700-testimonial .s700-author { font-size: 1.1rem; color: var(--s700-muted); font-weight: 700; }

/* ---------- Payment ---------- */
.s700-pay-row {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.s700-pay-chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--s700-bg-2); border: 1px solid var(--s700-border);
  color: var(--s700-text-strong);
  padding: 7px 12px; border-radius: 999px; font-size: 1.15rem; font-weight: 700;
}

/* ---------- Winners ---------- */
.s700-winner-row {
  display: grid; gap: 8px; grid-template-columns: 1fr;
}
.s700-winner {
  display: flex; justify-content: space-between; align-items: center;
  background: var(--s700-bg-3); padding: 10px 12px;
  border-radius: var(--s700-radius-sm); border: 1px solid var(--s700-border);
}
.s700-winner .s700-name { font-weight: 700; color: var(--s700-text-strong); font-size: 1.2rem; }
.s700-winner .s700-amount { color: #6CF0B0; font-weight: 900; font-size: 1.3rem; }

/* ---------- CTA ---------- */
.s700-cta {
  background: linear-gradient(135deg, rgba(148,0,211,.18), rgba(148,0,211,.05));
  border: 1px solid var(--s700-primary);
  border-radius: var(--s700-radius);
  padding: 18px; text-align: center; margin: 10px 0;
}
.s700-cta h3 { margin: 0 0 6px; color: var(--s700-text-strong); font-size: 1.7rem; }
.s700-cta p { margin: 0 0 12px; color: var(--s700-text); }

/* ---------- Footer ---------- */
.s700-footer {
  background: var(--s700-bg-2);
  border-top: 1px solid var(--s700-border);
  padding: 22px 14px 90px;
  color: var(--s700-text);
  font-size: 1.25rem;
}
.s700-footer-brand { color: var(--s700-text-strong); font-weight: 800; font-size: 1.5rem; margin-bottom: 4px; }
.s700-footer-desc { color: var(--s700-muted); margin: 0 0 14px; font-size: 1.2rem; }
.s700-footer-promo {
  display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px;
}
.s700-footer-promo .s700-btn { flex: 1 1 auto; }
.s700-footer-links {
  display: flex; flex-wrap: wrap; gap: 6px 14px; margin-bottom: 10px;
}
.s700-footer-links a {
  color: var(--s700-text); font-size: 1.15rem;
  border-bottom: 1px dashed var(--s700-border);
}
.s700-footer-copy { color: var(--s700-muted); font-size: 1.05rem; margin-top: 8px; }

/* ---------- Bottom nav ---------- */
.s700-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0;
  height: var(--s700-bottom-h);
  background: linear-gradient(180deg, var(--s700-bg-3), var(--s700-bg-2));
  border-top: 1px solid var(--s700-border);
  display: flex; justify-content: space-around; align-items: stretch;
  z-index: 1000;
  padding-bottom: env(safe-area-inset-bottom);
}
.s700-nav-btn {
  flex: 1 1 0;
  min-width: 60px; min-height: 60px;
  background: transparent; border: none; color: var(--s700-text);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 3px; cursor: pointer; padding: 4px;
  font-family: inherit;
  transition: color .18s ease, transform .15s ease;
}
.s700-nav-btn .s700-ic { font-size: 2.3rem; line-height: 1; }
.s700-nav-btn .s700-lbl { font-size: 1rem; line-height: 1; }
.s700-nav-btn.s700-current { color: var(--s700-primary); }
.s700-nav-btn.s700-current .s700-ic { transform: translateY(-1px); }
.s700-nav-btn:active { transform: scale(0.92); color: var(--s700-primary); }
.s700-nav-btn.s700-promo {
  color: #FFD479;
}
.s700-nav-btn.s700-promo .s700-ic {
  background: linear-gradient(135deg, var(--s700-primary), #C159F5);
  color: #fff; width: 38px; height: 38px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 3px 10px rgba(148,0,211,.55);
  margin-top: -10px;
}

/* ---------- Back to top ---------- */
.s700-to-top {
  position: fixed; right: 14px; bottom: calc(var(--s700-bottom-h) + 14px);
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--s700-primary); color: #fff; border: none;
  font-size: 1.9rem; cursor: pointer;
  opacity: 0; pointer-events: none;
  transition: opacity .2s ease, transform .15s ease;
  z-index: 999;
  box-shadow: 0 4px 14px rgba(148,0,211,.6);
}
.s700-to-top.s700-show { opacity: 1; pointer-events: auto; }
.s700-to-top:active { transform: scale(0.9); }

/* ---------- Desktop / wide screens ---------- */
@media (min-width: 769px) {
  body { background: radial-gradient(1500px 700px at 50% -10%, #3A4F63 0%, var(--s700-bg) 60%); }
  .s700-container, .s700-wrapper { max-width: 960px; }
  .s700-grid { grid-template-columns: repeat(6, 1fr); }
  .s700-feature-grid { grid-template-columns: repeat(3, 1fr); }
  .s700-testimonials { grid-template-columns: repeat(3, 1fr); }
  .s700-winner-row { grid-template-columns: repeat(2, 1fr); }
  .s700-bottom-nav { display: none; }
  main { padding-bottom: 30px; }
  .s700-footer { padding-bottom: 28px; }
  .s700-menu-btn { display: none; }
  .s700-nav-menu {
    display: block !important;
    position: static;
    box-shadow: none;
    border-bottom: none;
    padding: 0;
    background: transparent;
  }
  .s700-nav-menu .s700-nav-title { display: none; }
  .s700-nav-menu a {
    display: inline-block;
    border-bottom: none;
    padding: 6px 12px;
    margin: 0 2px;
    font-size: 1.2rem;
    color: var(--s700-text);
  }
  .s700-nav-menu a:hover { color: #fff; background: rgba(148,0,211,.18); }
  .s700-desktop-nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
}

.s700-desktop-nav { display: none; }
@media (min-width: 769px) {
  .s700-desktop-nav { display: flex; }
}
