/* ax88 58win - core stylesheet (mobile-first, max 430px)
   Class prefix: s1ac-  |  Variables: --s1ac-*
   Palette: #808080 | #333333 | #FF1493 | #E9967A | #D3D3D3
   Dark = background, light = text.  English comments only. */

:root {
  --s1ac-primary: #FF1493;       /* deep pink - brand accent */
  --s1ac-secondary: #E9967A;     /* dark salmon - soft accent */
  --s1ac-bg: #1a1a1a;            /* deep neutral background */
  --s1ac-bg-2: #242424;          /* card background */
  --s1ac-bg-3: #333333;          /* elevated surface */
  --s1ac-text: #FFFFFF;          /* primary text */
  --s1ac-muted: #D3D3D3;         /* secondary text */
  --s1ac-grey: #808080;          /* tertiary text / borders */
  --s1ac-border: rgba(211, 211, 211, 0.12);
  --s1ac-shadow: 0 6px 24px rgba(0, 0, 0, 0.45);
  --s1ac-radius: 14px;
  --s1ac-header-h: 58px;
  --s1ac-bottomnav-h: 62px;
}

* { box-sizing: border-box; }

html { font-size: 62.5%; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: "Segoe UI", "Roboto", "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  background: radial-gradient(circle at 20% 0%, #2a1a22 0%, var(--s1ac-bg) 55%);
  color: var(--s1ac-text);
  line-height: 1.5;
  font-size: 1.5rem;
  overflow-x: hidden;
}

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

a { color: var(--s1ac-secondary); text-decoration: none; }
a:hover { color: var(--s1ac-primary); }

.s1ac-container { width: 100%; max-width: 430px; margin: 0 auto; padding: 0 14px; }
.s1ac-wrapper { padding: 14px 0; }

/* ============ Header / Top Nav ============ */
.s1ac-header {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--s1ac-header-h);
  background: linear-gradient(90deg, #1a1a1a 0%, #2d1822 100%);
  border-bottom: 2px solid var(--s1ac-primary);
  z-index: 1000;
  box-shadow: 0 2px 14px rgba(0,0,0,0.55);
}
.s1ac-header-inner {
  height: 100%; max-width: 430px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 12px;
}
.s1ac-brand { display: flex; align-items: center; gap: 8px; color: var(--s1ac-text); }
.s1ac-brand-logo {
  width: 30px; height: 30px; border-radius: 8px;
  background: linear-gradient(135deg, var(--s1ac-primary), var(--s1ac-secondary));
  display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 1.4rem;
}
.s1ac-brand-name { font-weight: 800; font-size: 1.7rem; letter-spacing: .3px; line-height: 1.1; }
.s1ac-brand-name b { color: var(--s1ac-primary); }

.s1ac-header-actions { display: flex; align-items: center; gap: 8px; }
.s1ac-btn {
  border: 0; cursor: pointer; border-radius: 999px;
  padding: 9px 16px; font-size: 1.35rem; font-weight: 700;
  transition: transform .12s ease, box-shadow .12s ease, filter .12s ease;
  min-height: 36px;
}
.s1ac-btn:active { transform: scale(0.94); }
.s1ac-btn-primary {
  background: linear-gradient(135deg, var(--s1ac-primary), #ff5fa2);
  color: #fff; box-shadow: 0 4px 14px rgba(255, 20, 147, 0.45);
}
.s1ac-btn-ghost {
  background: transparent; color: var(--s1ac-text);
  border: 1.5px solid var(--s1ac-secondary);
}
.s1ac-btn-block { display: block; width: 100%; padding: 12px; font-size: 1.5rem; }

.s1ac-menu-toggle {
  background: transparent; border: 0; color: var(--s1ac-text);
  font-size: 2rem; cursor: pointer; padding: 4px 8px; line-height: 1;
}

/* ============ Expandable Mobile Menu ============ */
.s1ac-backdrop {
  position: fixed; inset: 0; background: rgba(0,0,0,0.6);
  opacity: 0; visibility: hidden; transition: opacity .2s ease; z-index: 9998;
}
.s1ac-backdrop.s1ac-show { opacity: 1; visibility: visible; }
.s1ac-mobile-menu {
  position: fixed; top: 0; right: -85%; width: 80%; max-width: 340px;
  height: 100%; background: #1d1620; padding: 80px 18px 24px;
  transform: translateX(0); transition: right .25s ease; z-index: 9999;
  overflow-y: auto; border-left: 1px solid var(--s1ac-border);
}
.s1ac-mobile-menu.s1ac-open { right: 0; }
.s1ac-mobile-menu h4 {
  font-size: 1.3rem; text-transform: uppercase; color: var(--s1ac-secondary);
  margin: 18px 0 8px; letter-spacing: 1px;
}
.s1ac-mobile-menu a {
  display: block; padding: 10px 8px; border-bottom: 1px solid var(--s1ac-border);
  color: var(--s1ac-text); font-size: 1.45rem;
}
.s1ac-mobile-menu a:active { background: rgba(255,20,147,0.12); }
.s1ac-menu-close {
  position: absolute; top: 14px; right: 14px;
  background: transparent; border: 0; color: #fff; font-size: 2.2rem; cursor: pointer;
}

/* ============ Hero Carousel ============ */
main { padding-top: calc(var(--s1ac-header-h) + 12px); }
.s1ac-hero {
  position: relative; border-radius: var(--s1ac-radius); overflow: hidden;
  box-shadow: var(--s1ac-shadow); margin: 6px 0 14px;
}
.s1ac-slides { position: relative; }
.s1ac-slide {
  position: relative; display: none; cursor: pointer;
}
.s1ac-slide.s1ac-active { display: block; animation: s1ac-fade .6s ease; }
.s1ac-slide img { width: 100%; height: 180px; object-fit: cover; }
.s1ac-slide-overlay {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 18px 14px 14px;
  background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
  color: #fff;
}
.s1ac-slide-overlay h2 { margin: 0 0 4px; font-size: 1.7rem; color: var(--s1ac-secondary); }
.s1ac-slide-overlay p { margin: 0; font-size: 1.3rem; color: var(--s1ac-muted); }
@keyframes s1ac-fade { from { opacity: 0; } to { opacity: 1; } }

.s1ac-dots {
  position: absolute; bottom: 8px; left: 0; right: 0;
  display: flex; justify-content: center; gap: 6px;
}
.s1ac-dot {
  width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,0.4);
  border: 0; cursor: pointer; padding: 0;
}
.s1ac-dot.s1ac-active { background: var(--s1ac-primary); transform: scale(1.25); }

/* ============ Section headings ============ */
.s1ac-section { margin: 22px 0; }
.s1ac-section-head {
  display: flex; align-items: center; justify-content: space-between;
  margin: 0 0 10px;
}
.s1ac-section-title {
  font-size: 1.7rem; font-weight: 800; color: #fff;
  border-left: 4px solid var(--s1ac-primary); padding-left: 10px;
}
.s1ac-section-title em { color: var(--s1ac-secondary); font-style: normal; }
.s1ac-more { font-size: 1.25rem; color: var(--s1ac-secondary); }

/* ============ Game grid (compact icon layout) ============ */
.s1ac-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
}
.s1ac-card {
  background: var(--s1ac-bg-2); border-radius: 12px; overflow: hidden;
  border: 1px solid var(--s1ac-border); cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}
.s1ac-card:active { transform: scale(0.96); border-color: var(--s1ac-primary); }
.s1ac-card:hover { box-shadow: 0 6px 18px rgba(255,20,147,0.25); }
.s1ac-card-img {
  position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: #111;
}
.s1ac-card-img img { width: 100%; height: 100%; object-fit: cover; }
.s1ac-card-tag {
  position: absolute; top: 6px; left: 6px;
  background: var(--s1ac-primary); color: #fff;
  font-size: 1rem; font-weight: 700; padding: 2px 6px; border-radius: 6px;
}
.s1ac-card-name {
  font-size: 1.2rem; color: var(--s1ac-muted); padding: 6px 8px;
  text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* ============ Info / promo blocks ============ */
.s1ac-info {
  background: var(--s1ac-bg-2); border-radius: var(--s1ac-radius);
  padding: 16px; border: 1px solid var(--s1ac-border); margin: 14px 0;
}
.s1ac-info h3 { margin: 0 0 8px; font-size: 1.5rem; color: var(--s1ac-secondary); }
.s1ac-info p { margin: 0 0 10px; color: var(--s1ac-muted); font-size: 1.35rem; }
.s1ac-info .s1ac-link {
  color: var(--s1ac-primary); font-weight: 700; text-decoration: underline;
}

.s1ac-features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.s1ac-feature {
  background: var(--s1ac-bg-2); padding: 14px 12px; border-radius: 12px;
  text-align: center; border: 1px solid var(--s1ac-border);
}
.s1ac-feature .material-icons,
.s1ac-feature .s1ac-ico { font-size: 26px; color: var(--s1ac-primary); }
.s1ac-feature h4 { margin: 6px 0 2px; font-size: 1.3rem; color: #fff; }
.s1ac-feature p { margin: 0; font-size: 1.15rem; color: var(--s1ac-muted); }

/* Testimonials */
.s1ac-testi { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x mandatory; }
.s1ac-testi-card {
  flex: 0 0 80%; background: var(--s1ac-bg-2); border-radius: 12px;
  padding: 12px; border: 1px solid var(--s1ac-border); scroll-snap-align: start;
}
.s1ac-testi-head { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.s1ac-testi-ava { width: 28px; height: 28px; border-radius: 50%; background: var(--s1ac-secondary); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 1.2rem; }
.s1ac-testi-name { font-size: 1.3rem; color: #fff; font-weight: 700; }
.s1ac-testi-stars { color: #FFD700; font-size: 1.1rem; margin-bottom: 4px; }
.s1ac-testi-text { font-size: 1.25rem; color: var(--s1ac-muted); margin: 0; }

/* Payment pills */
.s1ac-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.s1ac-pill {
  background: var(--s1ac-bg-3); color: var(--s1ac-muted);
  padding: 8px 12px; border-radius: 999px; font-size: 1.2rem; border: 1px solid var(--s1ac-border);
  display: inline-flex; align-items: center; gap: 6px;
}

/* Winners ticker */
.s1ac-winners {
  background: linear-gradient(90deg, #2a1320, #1d1620);
  border: 1px solid var(--s1ac-primary); border-radius: 12px;
  padding: 10px 12px; margin: 12px 0;
}
.s1ac-winner-row { display: flex; justify-content: space-between; font-size: 1.25rem; padding: 3px 0; border-bottom: 1px dashed var(--s1ac-border); }
.s1ac-winner-row:last-child { border-bottom: 0; }
.s1ac-winner-name { color: var(--s1ac-secondary); font-weight: 700; }
.s1ac-winner-amount { color: #FFD700; font-weight: 800; }

/* FAQ */
.s1ac-faq-item {
  background: var(--s1ac-bg-2); border: 1px solid var(--s1ac-border);
  border-radius: 10px; margin-bottom: 8px; overflow: hidden;
}
.s1ac-faq-q {
  width: 100%; text-align: left; background: transparent; border: 0;
  padding: 12px 14px; color: #fff; font-size: 1.4rem; font-weight: 700;
  display: flex; justify-content: space-between; align-items: center; cursor: pointer;
}
.s1ac-faq-q .s1ac-faq-icon { color: var(--s1ac-primary); transition: transform .2s; }
.s1ac-faq-item.s1ac-open .s1ac-faq-icon { transform: rotate(45deg); }
.s1ac-faq-a { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.s1ac-faq-item.s1ac-open .s1ac-faq-a { max-height: 320px; }
.s1ac-faq-a p { margin: 0; padding: 0 14px 12px; color: var(--s1ac-muted); font-size: 1.3rem; }

/* CTA */
.s1ac-cta {
  background: linear-gradient(135deg, var(--s1ac-primary), var(--s1ac-secondary));
  border-radius: var(--s1ac-radius); padding: 18px; text-align: center; margin: 16px 0;
  color: #fff;
}
.s1ac-cta h3 { margin: 0 0 6px; font-size: 1.7rem; }
.s1ac-cta p { margin: 0 0 12px; font-size: 1.3rem; }
.s1ac-cta .s1ac-btn { background: #fff; color: var(--s1ac-primary); }

/* ============ Footer ============ */
.s1ac-footer {
  background: #141014; border-top: 2px solid var(--s1ac-primary);
  padding: 22px 14px calc(var(--s1ac-bottomnav-h) + 24px);
  margin-top: 22px; color: var(--s1ac-muted); font-size: 1.25rem;
}
.s1ac-footer-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.s1ac-footer h5 { color: #fff; font-size: 1.35rem; margin: 6px 0; }
.s1ac-footer a { color: var(--s1ac-muted); display: block; padding: 4px 0; }
.s1ac-footer a:hover { color: var(--s1ac-primary); }
.s1ac-footer-brand { margin-bottom: 10px; line-height: 1.6; }
.s1ac-footer-bottom { border-top: 1px solid var(--s1ac-border); margin-top: 14px; padding-top: 10px; text-align: center; color: var(--s1ac-grey); }

/* ============ Bottom Nav ============ */
.s1ac-bottomnav {
  position: fixed; bottom: 0; left: 0; right: 0;
  height: var(--s1ac-bottomnav-h);
  background: rgba(20, 16, 20, 0.97);
  backdrop-filter: blur(8px);
  border-top: 2px solid var(--s1ac-primary);
  display: flex; justify-content: space-around; align-items: stretch;
  z-index: 1000;
}
.s1ac-bottomnav-btn {
  flex: 1; min-width: 60px; min-height: 60px;
  background: transparent; border: 0; color: var(--s1ac-muted);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px; cursor: pointer; padding: 4px 2px;
  transition: color .15s ease, transform .12s ease;
  font-family: inherit;
}
.s1ac-bottomnav-btn:active { transform: scale(0.92); }
.s1ac-bottomnav-btn .material-icons,
.s1ac-bottomnav-btn .fas,
.s1ac-bottomnav-btn .far,
.s1ac-bottomnav-btn .ion { font-size: 22px; }
.s1ac-bottomnav-btn span.lbl { font-size: 1.05rem; line-height: 1; }
.s1ac-bottomnav-btn.s1ac-current,
.s1ac-bottomnav-btn:active { color: var(--s1ac-primary); }
.s1ac-bottomnav-btn.s1ac-promo { color: var(--s1ac-secondary); }
.s1ac-bottomnav-btn.s1ac-promo .fas,
.s1ac-bottomnav-btn.s1ac-promo .material-icons { filter: drop-shadow(0 0 6px rgba(255,20,147,0.5)); }

/* ============ Reveal animation ============ */
.s1ac-reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; }
.s1ac-reveal.s1ac-visible { opacity: 1; transform: translateY(0); }

/* ============ Desktop / larger screens ============ */
@media (min-width: 769px) {
  .s1ac-bottomnav { display: none; }
  .s1ac-menu-toggle { display: none; }
  .s1ac-container { max-width: 960px; }
  .s1ac-grid { grid-template-columns: repeat(6, 1fr); }
  .s1ac-features { grid-template-columns: repeat(4, 1fr); }
  .s1ac-footer { padding-bottom: 24px; }
  .s1ac-footer-cols { grid-template-columns: repeat(4, 1fr); }
  main { padding-bottom: 0; }
}

/* Mobile bottom padding clearance */
@media (max-width: 768px) {
  main { padding-bottom: calc(var(--s1ac-bottomnav-h) + 18px); }
}

/* Accessibility - reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
