/* ============================================================
   sc887 - theme-7593.css
   All custom classes use the s759- prefix.
   Palette: #FF7F50 (coral primary) | #3A3A3A (dark bg) |
            #FFC0CB (pink accent) | #FDF5E6 (cream) | #FAF0E6 (linen)
   Mobile-first, max-width 430px, rem units (root 62.5%).
   ============================================================ */

:root {
  --s759-primary: #FF7F50;
  --s759-primary-dark: #e8633a;
  --s759-bg: #3A3A3A;
  --s759-bg-2: #2c2c2c;
  --s759-bg-3: #4a4a4a;
  --s759-pink: #FFC0CB;
  --s759-cream: #FDF5E6;
  --s759-linen: #FAF0E6;
  --s759-text: #FDF5E6;
  --s759-text-muted: #d8d2c4;
  --s759-gold: #f5c451;
  --s759-radius: 1.2rem;
  --s759-shadow: 0 4px 14px rgba(0,0,0,0.35);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  background: var(--s759-bg);
  color: var(--s759-text);
  line-height: 1.5rem;
  max-width: 430px;
  margin: 0 auto;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--s759-primary); text-decoration: none; }
img { max-width: 100%; display: block; }

/* ---------- Layout ---------- */
.s759-container { width: 100%; padding: 0 1.2rem; }
.s759-wrapper { max-width: 430px; margin: 0 auto; }
.s759-main { padding-bottom: 8rem; }

/* ---------- Header ---------- */
.s759-header {
  position: fixed; top: 0; left: 0; right: 0;
  max-width: 430px; margin: 0 auto;
  background: linear-gradient(135deg, var(--s759-bg-2), var(--s759-bg));
  border-bottom: 2px solid var(--s759-primary);
  z-index: 1000;
  box-shadow: var(--s759-shadow);
}
.s759-header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.8rem 1.2rem; min-height: 5.2rem;
}
.s759-logo {
  display: flex; align-items: center; gap: 0.8rem;
  color: var(--s759-cream); font-weight: 800; font-size: 1.8rem;
}
.s759-logo img { width: 2.8rem; height: 2.8rem; border-radius: 0.6rem; }
.s759-logo span { color: var(--s759-primary); }

.s759-header-actions { display: flex; align-items: center; gap: 0.6rem; }
.s759-menu-btn {
  background: transparent; border: 1px solid var(--s759-primary);
  color: var(--s759-primary); width: 3.6rem; height: 3.6rem;
  border-radius: 0.8rem; font-size: 1.6rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}

/* ---------- Auth buttons ---------- */
.s759-btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.4rem; border: none; cursor: pointer;
  font-weight: 700; font-size: 1.3rem; padding: 0.7rem 1.2rem;
  border-radius: 0.8rem; transition: transform .15s, background .2s;
  min-height: 3.6rem; line-height: 1;
}
.s759-btn:hover { transform: translateY(-1px); }
.s759-btn-register {
  background: var(--s759-primary); color: #fff;
  box-shadow: 0 3px 8px rgba(255,127,80,.4);
}
.s759-btn-login {
  background: transparent; color: var(--s759-cream);
  border: 1.5px solid var(--s759-cream);
}
.s759-btn-block {
  width: 100%; padding: 1rem; font-size: 1.5rem; margin: 0.4rem 0;
}
.s759-btn-gold {
  background: var(--s759-gold); color: #3A3A3A;
}

/* ---------- Mobile menu ---------- */
.s759-mobile-menu {
  max-height: 0; overflow: hidden;
  background: var(--s759-bg-2);
  transition: max-height .3s ease;
}
.s759-mobile-menu.s759-menu-open { max-height: 60rem; }
.s759-mobile-menu ul { list-style: none; padding: 0.6rem 1.2rem 1rem; }
.s759-mobile-menu li { border-bottom: 1px solid var(--s759-bg-3); }
.s759-mobile-menu a {
  display: block; padding: 1rem 0.4rem; color: var(--s759-cream);
  font-size: 1.4rem; font-weight: 600;
}
.s759-mobile-menu a:hover { color: var(--s759-primary); }

/* ---------- Hero / Carousel ---------- */
.s759-carousel {
  position: relative; margin-top: 6rem; overflow: hidden;
  border-radius: 0 0 1.2rem 1.2rem;
}
.s759-carousel-track {
  display: flex; transition: transform .5s ease;
}
.s759-carousel-slide {
  min-width: 100%; position: relative; cursor: pointer;
}
.s759-carousel-slide img {
  width: 100%; height: 17rem; object-fit: cover;
}
.s759-carousel-cap {
  position: absolute; left: 1.2rem; bottom: 1rem; right: 1.2rem;
  background: rgba(0,0,0,0.45); padding: 0.8rem 1rem;
  border-radius: 0.8rem; color: #fff; font-weight: 700; font-size: 1.4rem;
}
.s759-carousel-dots {
  position: absolute; bottom: 0.6rem; left: 50%; transform: translateX(-50%);
  display: flex; gap: 0.5rem;
}
.s759-carousel-dot {
  width: 0.8rem; height: 0.8rem; border-radius: 50%;
  background: rgba(255,255,255,.5); cursor: pointer; border: none;
}
.s759-carousel-dot.s759-dot-active { background: var(--s759-primary); }

/* ---------- Section / Headings ---------- */
.s759-section { padding: 1.6rem 1.2rem; }
.s759-section-title {
  font-size: 1.9rem; font-weight: 800; color: var(--s759-cream);
  margin-bottom: 0.6rem; border-left: 4px solid var(--s759-primary);
  padding-left: 0.8rem;
}
.s759-section-title span { color: var(--s759-primary); }
.s759-subtitle {
  font-size: 1.5rem; color: var(--s759-pink); font-weight: 700;
  margin: 1.2rem 0 0.4rem;
}
.s759-lead { color: var(--s759-text-muted); font-size: 1.35rem; }

/* ---------- Filter pills ---------- */
.s759-filters {
  display: flex; gap: 0.6rem; flex-wrap: wrap; margin-bottom: 1rem;
  overflow-x: auto; padding-bottom: 0.3rem;
}
.s759-filter-pill {
  padding: 0.5rem 1.1rem; border-radius: 2rem; font-size: 1.2rem;
  background: var(--s759-bg-3); color: var(--s759-cream);
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
}
.s759-filter-pill.s759-filter-active {
  background: var(--s759-primary); color: #fff; border-color: var(--s759-primary);
}

/* ---------- Game grid ---------- */
.s759-game-group { margin-bottom: 1.6rem; }
.s759-game-group-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 0.8rem;
}
.s759-game-group-head h3 {
  font-size: 1.6rem; color: var(--s759-gold); font-weight: 800;
}
.s759-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.7rem;
}
.s759-card {
  background: var(--s759-bg-2); border-radius: 0.9rem; overflow: hidden;
  cursor: pointer; transition: transform .15s, box-shadow .2s;
  border: 1px solid var(--s759-bg-3); text-align: center;
}
.s759-card:hover { transform: translateY(-2px); box-shadow: var(--s759-shadow); }
.s759-card img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.s759-card-name {
  font-size: 1rem; color: var(--s759-cream); padding: 0.4rem 0.2rem;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.2;
}

/* ---------- Info / feature cards ---------- */
.s759-info-card {
  background: var(--s759-bg-2); border-radius: var(--s759-radius);
  padding: 1.2rem; margin-bottom: 1rem; border: 1px solid var(--s759-bg-3);
}
.s759-info-card h3 { color: var(--s759-primary); font-size: 1.5rem; margin-bottom: 0.4rem; }
.s759-info-card p { color: var(--s759-text-muted); font-size: 1.3rem; }

.s759-feature-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.8rem;
}
.s759-feature-item {
  background: var(--s759-bg-2); padding: 1rem; border-radius: 0.9rem;
  text-align: center; border: 1px solid var(--s759-bg-3);
}
.s759-feature-item i { color: var(--s759-primary); font-size: 2.2rem; }
.s759-feature-item h4 { color: var(--s759-cream); font-size: 1.3rem; margin: 0.4rem 0; }
.s759-feature-item p { color: var(--s759-text-muted); font-size: 1.1rem; }

/* ---------- RTP / stats ---------- */
.s759-stat-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.7rem 0; border-bottom: 1px dashed var(--s759-bg-3);
}
.s759-stat-row span:first-child { color: var(--s759-cream); font-size: 1.3rem; }
.s759-stat-row span:last-child { color: var(--s759-gold); font-weight: 700; font-size: 1.3rem; }
.s759-bar { height: 0.7rem; background: var(--s759-bg-3); border-radius: 1rem; overflow: hidden; margin-top: 0.4rem; }
.s759-bar-fill { height: 100%; background: linear-gradient(90deg, var(--s759-primary), var(--s759-gold)); }

/* ---------- Testimonials ---------- */
.s759-testimonial {
  background: var(--s759-bg-2); padding: 1.2rem; border-radius: 1rem;
  margin-bottom: 0.8rem; border-left: 3px solid var(--s759-pink);
}
.s759-testimonial p { color: var(--s759-text-muted); font-size: 1.25rem; }
.s759-testimonial .s759-author { color: var(--s759-gold); font-weight: 700; margin-top: 0.4rem; font-size: 1.2rem; }

/* ---------- Winners ---------- */
.s759-winner {
  display: flex; align-items: center; gap: 0.8rem;
  background: var(--s759-bg-2); padding: 0.7rem 1rem; border-radius: 0.8rem;
  margin-bottom: 0.5rem;
}
.s759-winner img { width: 3.2rem; height: 3.2rem; border-radius: 50%; }
.s759-winner .s759-wname { color: var(--s759-cream); font-size: 1.2rem; flex: 1; }
.s759-winner .s759-wamount { color: var(--s759-gold); font-weight: 800; font-size: 1.3rem; }

/* ---------- Payment ---------- */
.s759-pay-row { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.s759-pay-item {
  background: var(--s759-bg-2); border: 1px solid var(--s759-bg-3);
  padding: 0.8rem 1rem; border-radius: 0.7rem; color: var(--s759-cream);
  font-size: 1.1rem; display: flex; align-items: center; gap: 0.4rem;
}

/* ---------- Promo CTA ---------- */
.s759-cta {
  background: linear-gradient(135deg, var(--s759-primary), var(--s759-gold));
  color: #fff; padding: 1.4rem; border-radius: var(--s759-radius);
  text-align: center; margin: 1.2rem 0;
}
.s759-cta h3 { font-size: 1.7rem; margin-bottom: 0.4rem; }
.s759-cta p { font-size: 1.25rem; margin-bottom: 0.8rem; opacity: .95; }

/* ---------- Promo text link ---------- */
.s759-promo-link {
  color: var(--s759-primary); font-weight: 800; cursor: pointer;
  text-decoration: underline;
}
.s759-promo-link:hover { color: var(--s759-gold); }

/* ---------- FAQ ---------- */
.s759-faq-item {
  background: var(--s759-bg-2); border-radius: 0.8rem; padding: 1rem;
  margin-bottom: 0.6rem; border: 1px solid var(--s759-bg-3);
}
.s759-faq-item h4 { color: var(--s759-primary); font-size: 1.35rem; margin-bottom: 0.3rem; }
.s759-faq-item p { color: var(--s759-text-muted); font-size: 1.2rem; }

/* ---------- Footer ---------- */
.s759-footer {
  background: var(--s759-bg-2); padding: 1.6rem 1.2rem 2rem;
  border-top: 2px solid var(--s759-primary);
}
.s759-footer-brand { color: var(--s759-cream); font-size: 1.3rem; margin-bottom: 1rem; }
.s759-footer-links {
  display: flex; flex-wrap: wrap; gap: 0.6rem 1rem; margin-bottom: 1rem;
}
.s759-footer-links a { color: var(--s759-text-muted); font-size: 1.15rem; }
.s759-footer-links a:hover { color: var(--s759-primary); }
.s759-footer-promo { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 0.8rem 0; }
.s759-footer-copy { color: var(--s759-text-muted); font-size: 1.1rem; border-top: 1px solid var(--s759-bg-3); padding-top: 0.8rem; }

/* ---------- Mobile bottom nav ---------- */
.s759-bottomnav {
  position: fixed; bottom: 0; left: 0; right: 0;
  max-width: 430px; margin: 0 auto;
  height: 6rem; background: var(--s759-bg-2);
  border-top: 2px solid var(--s759-primary);
  display: flex; justify-content: space-around; align-items: center;
  z-index: 1000; box-shadow: 0 -4px 14px rgba(0,0,0,.4);
}
.s759-bottomnav-btn {
  flex: 1; min-width: 6rem; min-height: 6rem;
  background: transparent; border: none; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.2rem; color: var(--s759-text-muted); font-size: 1rem; font-weight: 600;
  transition: transform .15s, color .2s; text-decoration: none;
}
.s759-bottomnav-btn i, .s759-bottomnav-btn .material-icons-outlined,
.s759-bottomnav-btn ion-icon { font-size: 2.2rem; }
.s759-bottomnav-btn:active { transform: scale(.92); }
.s759-bottomnav-btn.s759-nav-active { color: var(--s759-primary); }
.s759-bottomnav-btn.s759-nav-promo { color: var(--s759-gold); }

/* ---------- Desktop: hide bottom nav, widen layout ---------- */
@media (min-width: 769px) {
  .s759-bottomnav { display: none; }
  body { max-width: 768px; }
  .s759-grid { grid-template-columns: repeat(6, 1fr); }
  .s759-feature-grid { grid-template-columns: repeat(4, 1fr); }
  .s759-main { padding-bottom: 2rem; }
}
