/*!
 * JL68 design stylesheet (design-76ff.css)
 * Brand palette: #8B4513 | #BA55D3 | #8B7355 | #141414 | #DEB887
 * All custom class names use the `s76f-` prefix.
 * Mobile-first container capped at max-width: 430px.
 * Comments are in English only.
 */

:root {
  --s76f-primary: #8B4513;      /* Saddle brown - brand base */
  --s76f-accent: #BA55D3;       /* Medium orchid - premium accent */
  --s76f-bronze: #8B7355;       /* Muted bronze - secondary */
  --s76f-bg: #141414;           /* Deep charcoal - background */
  --s76f-cream: #DEB887;        /* Burlywood - light text */
  --s76f-bg-soft: #1f1a17;
  --s76f-bg-card: #2a221d;
  --s76f-text: #f3e7d3;
  --s76f-text-dim: #c9b8a0;
  --s76f-border: #3a2e25;
  --s76f-gold: #e7b04a;
  --s76f-shadow: 0 6px 18px rgba(0,0,0,0.45);
  --s76f-radius: 14px;
  --s76f-radius-sm: 10px;
}

/* ---------- Reset ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 62.5%; -webkit-text-size-adjust: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--s76f-bg);
  color: var(--s76f-text);
  line-height: 1.5rem;
  font-size: 1.5rem;
  overflow-x: hidden;
  padding-bottom: 84px;
}
img { max-width: 100%; display: block; }
a { color: var(--s76f-cream); text-decoration: none; }
a:hover { color: var(--s76f-accent); }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* ---------- Layout containers ---------- */
.s76f-container {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1.2rem;
  position: relative;
}
.s76f-wrapper { width: 100%; position: relative; }
.s76f-section { padding: 2.2rem 0; }
.s76f-section-title {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--s76f-cream);
  margin: 1.6rem 0 1.2rem;
  letter-spacing: 0.2px;
}
.s76f-section-title i { color: var(--s76f-gold); font-size: 2.2rem; }
.s76f-eyebrow {
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 1.15rem;
  color: var(--s76f-accent);
  font-weight: 700;
  margin-bottom: 0.4rem;
}

/* ---------- Header / Top nav ---------- */
.s76f-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: linear-gradient(180deg, #1a1410 0%, #141414 100%);
  border-bottom: 1px solid var(--s76f-border);
  box-shadow: 0 2px 10px rgba(0,0,0,0.5);
}
.s76f-header-inner {
  max-width: 430px;
  margin: 0 auto;
  padding: 0.8rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 56px;
}
.s76f-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex: 1;
  min-width: 0;
}
.s76f-logo {
  width: 30px; height: 30px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--s76f-primary), var(--s76f-accent));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 1.5rem;
  flex-shrink: 0;
}
.s76f-brand-name {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--s76f-cream);
  white-space: nowrap;
}
.s76f-brand-name span { color: var(--s76f-gold); }
.s76f-menu-toggle {
  width: 38px; height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--s76f-bg-card);
  color: var(--s76f-cream);
  font-size: 1.9rem;
}
.s76f-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-weight: 700;
  font-size: 1.35rem;
  padding: 0.7rem 1.1rem;
  border-radius: 10px;
  min-height: 36px;
  transition: transform 0.15s ease, filter 0.15s ease;
}
.s76f-btn:active { transform: scale(0.96); }
.s76f-btn-register {
  background: linear-gradient(135deg, var(--s76f-primary), #b56a2a);
  color: #fff;
  box-shadow: 0 3px 0 #5a2d0a;
}
.s76f-btn-login {
  background: transparent;
  color: var(--s76f-cream);
  border: 1px solid var(--s76f-gold);
}
.s76f-btn-promo {
  background: linear-gradient(135deg, var(--s76f-accent), #8e3fae);
  color: #fff;
  box-shadow: 0 3px 0 #5a2a6e;
}
.s76f-btn-block {
  display: flex;
  width: 100%;
  padding: 1rem;
  font-size: 1.6rem;
}

/* ---------- Mobile slide menu ---------- */
#s76f-mobile-menu {
  position: fixed;
  top: 0; right: -82%;
  width: 78%;
  height: 100vh;
  background: var(--s76f-bg-soft);
  z-index: 9999;
  padding: 1.6rem 1.4rem;
  overflow-y: auto;
  transition: right 0.28s ease;
  border-left: 1px solid var(--s76f-border);
}
#s76f-mobile-menu.s76f-menu-open { right: 0; }
#s76f-menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease;
}
#s76f-menu-backdrop.s76f-backdrop-show { opacity: 1; visibility: visible; }
.s76f-menu-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 1.2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--s76f-border);
}
.s76f-menu-title { font-size: 1.7rem; font-weight: 800; color: var(--s76f-cream); }
.s76f-menu-close {
  width: 34px; height: 34px;
  border-radius: 8px;
  background: var(--s76f-bg-card);
  color: var(--s76f-cream);
  font-size: 1.8rem;
}
.s76f-menu-list { list-style: none; }
.s76f-menu-list li a {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1.1rem 0.6rem;
  border-bottom: 1px solid var(--s76f-border);
  color: var(--s76f-text);
  font-size: 1.45rem;
}
.s76f-menu-list li a i { color: var(--s76f-gold); font-size: 1.7rem; }
.s76f-menu-cta {
  margin-top: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

/* ---------- Hero / Carousel ---------- */
.s76f-main { padding-top: 64px; }
.s76f-carousel {
  position: relative;
  border-radius: var(--s76f-radius);
  overflow: hidden;
  margin: 1rem 0 1.4rem;
  box-shadow: var(--s76f-shadow);
}
.s76f-slides { position: relative; }
.s76f-slide {
  display: none;
  position: relative;
  height: 190px;
}
.s76f-slide img { width: 100%; height: 100%; object-fit: cover; }
.s76f-slide.s76f-slide-active { display: block; }
.s76f-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,20,20,0.1) 0%, rgba(20,20,20,0.78) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.1rem;
}
.s76f-slide-title {
  font-size: 1.7rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.3rem;
}
.s76f-slide-sub {
  font-size: 1.25rem;
  color: var(--s76f-cream);
  margin-bottom: 0.6rem;
}
.s76f-prev, .s76f-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(0,0,0,0.5);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
}
.s76f-prev { left: 8px; }
.s76f-next { right: 8px; }
.s76f-dots {
  display: flex; justify-content: center; gap: 0.5rem;
  padding: 0.6rem 0;
}
.s76f-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(222,184,135,0.4);
}
.s76f-dot.s76f-dot-active { background: var(--s76f-gold); width: 22px; border-radius: 4px; }

/* ---------- Hero banner CTA ---------- */
.s76f-hero-cta {
  background: linear-gradient(135deg, rgba(139,69,19,0.55), rgba(186,85,211,0.45));
  border: 1px solid var(--s76f-border);
  border-radius: var(--s76f-radius);
  padding: 1.2rem;
  margin-bottom: 1.2rem;
  text-align: center;
}
.s76f-hero-cta h1 {
  font-size: 2.1rem;
  line-height: 2.6rem;
  color: var(--s76f-cream);
  margin-bottom: 0.6rem;
  font-weight: 800;
}
.s76f-hero-cta p { font-size: 1.3rem; color: var(--s76f-text-dim); margin-bottom: 0.9rem; }

/* ---------- Game grid ---------- */
.s76f-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}
.s76f-grid-4 { grid-template-columns: repeat(4, 1fr); }
.s76f-card {
  background: var(--s76f-bg-card);
  border: 1px solid var(--s76f-border);
  border-radius: var(--s76f-radius-sm);
  overflow: hidden;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  position: relative;
}
.s76f-card:active { transform: scale(0.96); }
.s76f-card-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #0f0c0a;
}
.s76f-card-name {
  font-size: 1.15rem;
  color: var(--s76f-text);
  text-align: center;
  padding: 0.4rem 0.3rem 0.55rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.s76f-card-badge {
  position: absolute;
  top: 4px; left: 4px;
  background: var(--s76f-accent);
  color: #fff;
  font-size: 0.95rem;
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  font-weight: 700;
}
.s76f-card-badge.hot { background: #c0392b; }
.s76f-card-badge.new { background: var(--s76f-gold); color: #000; }

/* ---------- Category tabs (visual only) ---------- */
.s76f-cat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 1.6rem 0 1rem;
}
.s76f-cat-tag {
  font-size: 1.2rem;
  color: var(--s76f-text-dim);
}

/* ---------- Feature / promo blocks ---------- */
.s76f-feature {
  background: var(--s76f-bg-card);
  border: 1px solid var(--s76f-border);
  border-radius: var(--s76f-radius);
  padding: 1.3rem;
  margin-bottom: 1rem;
}
.s76f-feature h3 {
  font-size: 1.55rem;
  color: var(--s76f-cream);
  margin-bottom: 0.5rem;
  display: flex; align-items: center; gap: 0.5rem;
}
.s76f-feature h3 i { color: var(--s76f-gold); }
.s76f-feature p { font-size: 1.3rem; color: var(--s76f-text-dim); margin-bottom: 0.6rem; }
.s76f-feature ul { list-style: none; padding-left: 0; }
.s76f-feature li {
  padding: 0.45rem 0;
  font-size: 1.3rem;
  color: var(--s76f-text);
  border-bottom: 1px dashed var(--s76f-border);
  display: flex; align-items: flex-start; gap: 0.5rem;
}
.s76f-feature li i { color: var(--s76f-accent); margin-top: 0.3rem; }

.s76f-inline-link {
  color: var(--s76f-gold);
  font-weight: 700;
  border-bottom: 1px dashed var(--s76f-gold);
}

/* ---------- Steps list ---------- */
.s76f-steps { list-style: none; counter-reset: step; padding: 0; }
.s76f-steps li {
  position: relative;
  padding: 0.7rem 0 0.7rem 3.2rem;
  border-bottom: 1px solid var(--s76f-border);
  font-size: 1.3rem;
}
.s76f-steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0; top: 0.5rem;
  width: 2.4rem; height: 2.4rem;
  background: linear-gradient(135deg, var(--s76f-primary), var(--s76f-accent));
  color: #fff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.3rem;
}

/* ---------- RTP table ---------- */
.s76f-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--s76f-bg-card);
  border-radius: var(--s76f-radius-sm);
  overflow: hidden;
  font-size: 1.25rem;
}
.s76f-table th, .s76f-table td {
  padding: 0.7rem 0.6rem;
  text-align: left;
  border-bottom: 1px solid var(--s76f-border);
}
.s76f-table th { background: rgba(186,85,211,0.18); color: var(--s76f-cream); font-weight: 700; }
.s76f-table td.s76f-num { color: var(--s76f-gold); font-weight: 700; }

/* ---------- Testimonials ---------- */
.s76f-testi {
  background: var(--s76f-bg-card);
  border: 1px solid var(--s76f-border);
  border-left: 3px solid var(--s76f-accent);
  border-radius: var(--s76f-radius-sm);
  padding: 1rem;
  margin-bottom: 0.8rem;
}
.s76f-testi-stars { color: var(--s76f-gold); margin-bottom: 0.3rem; font-size: 1.2rem; }
.s76f-testi p { font-size: 1.25rem; color: var(--s76f-text); margin-bottom: 0.4rem; }
.s76f-testi-author { font-size: 1.15rem; color: var(--s76f-text-dim); }

/* ---------- Winners ticker ---------- */
.s76f-winner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0.8rem;
  background: var(--s76f-bg-card);
  border-radius: 8px;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}
.s76f-winner-name { color: var(--s76f-cream); font-weight: 700; }
.s76f-winner-amount { color: var(--s76f-gold); font-weight: 800; }

/* ---------- Payment grid ---------- */
.s76f-pay-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
}
.s76f-pay-item {
  background: var(--s76f-bg-card);
  border: 1px solid var(--s76f-border);
  border-radius: 8px;
  padding: 0.8rem;
  text-align: center;
  font-size: 1.15rem;
}
.s76f-pay-item i { color: var(--s76f-accent); font-size: 1.9rem; display: block; margin-bottom: 0.3rem; }

/* ---------- FAQ ---------- */
.s76f-faq-item {
  background: var(--s76f-bg-card);
  border: 1px solid var(--s76f-border);
  border-radius: var(--s76f-radius-sm);
  padding: 0.9rem 1rem;
  margin-bottom: 0.7rem;
}
.s76f-faq-item h4 { font-size: 1.35rem; color: var(--s76f-cream); margin-bottom: 0.35rem; }
.s76f-faq-item p { font-size: 1.25rem; color: var(--s76f-text-dim); }

/* ---------- Achievements ---------- */
.s76f-ach {
  display: flex; gap: 0.7rem;
  background: var(--s76f-bg-card);
  border-radius: var(--s76f-radius-sm);
  padding: 0.8rem;
  margin-bottom: 0.6rem;
  align-items: center;
}
.s76f-ach-icon {
  width: 38px; height: 38px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--s76f-gold), #c8861c);
  color: #141414;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.7rem;
  flex-shrink: 0;
}
.s76f-ach-text strong { color: var(--s76f-cream); font-size: 1.3rem; display: block; }
.s76f-ach-text span { color: var(--s76f-text-dim); font-size: 1.15rem; }

/* ---------- App download CTA ---------- */
.s76f-app-cta {
  background: linear-gradient(135deg, rgba(139,69,19,0.45), rgba(186,85,211,0.35));
  border: 1px solid var(--s76f-border);
  border-radius: var(--s76f-radius);
  padding: 1.3rem;
  text-align: center;
  margin-bottom: 1rem;
}
.s76f-app-cta h3 { color: var(--s76f-cream); font-size: 1.7rem; margin-bottom: 0.5rem; }
.s76f-app-cta p { color: var(--s76f-text-dim); font-size: 1.25rem; margin-bottom: 0.9rem; }
.s76f-app-row { display: flex; gap: 0.6rem; justify-content: center; flex-wrap: wrap; }

/* ---------- Play Now CTA strip ---------- */
.s76f-cta-strip {
  background: linear-gradient(135deg, var(--s76f-primary), var(--s76f-accent));
  border-radius: var(--s76f-radius);
  padding: 1.2rem;
  text-align: center;
  color: #fff;
  margin: 1.2rem 0;
}
.s76f-cta-strip h3 { font-size: 1.7rem; margin-bottom: 0.4rem; }
.s76f-cta-strip p { font-size: 1.25rem; opacity: 0.9; margin-bottom: 0.8rem; }
.s76f-cta-strip .s76f-btn { background: #fff; color: var(--s76f-primary); }

/* ---------- Footer ---------- */
.s76f-footer {
  background: #0f0c0a;
  border-top: 1px solid var(--s76f-border);
  padding: 1.6rem 1.2rem 2rem;
  margin-top: 1.5rem;
}
.s76f-footer-inner { max-width: 430px; margin: 0 auto; }
.s76f-footer-brand { font-size: 1.3rem; color: var(--s76f-text-dim); margin-bottom: 1rem; line-height: 1.7rem; }
.s76f-footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.s76f-footer-links a {
  font-size: 1.2rem;
  color: var(--s76f-text-dim);
  padding: 0.3rem 0;
}
.s76f-footer-promos {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  margin-bottom: 1rem;
}
.s76f-footer-promos .s76f-btn { font-size: 1.15rem; padding: 0.5rem 0.7rem; }
.s76f-footer-copy {
  font-size: 1.1rem;
  color: #6f5f4d;
  text-align: center;
  border-top: 1px solid var(--s76f-border);
  padding-top: 1rem;
}

/* ---------- Back to top ---------- */
.s76f-to-top {
  position: fixed;
  bottom: 92px;
  right: 14px;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--s76f-accent);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  z-index: 900;
  box-shadow: var(--s76f-shadow);
}

/* ---------- Bottom navigation (mobile only) ---------- */
.s76f-bottomnav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: 62px;
  background: linear-gradient(180deg, #1a1410 0%, #0c0a08 100%);
  border-top: 1px solid var(--s76f-border);
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  z-index: 1000;
  padding-bottom: env(safe-area-inset-bottom);
}
.s76f-bottomnav a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  color: var(--s76f-text-dim);
  font-size: 1rem;
  min-width: 60px;
  min-height: 60px;
  position: relative;
  transition: color 0.15s ease;
}
.s76f-bottomnav a i { font-size: 2.2rem; }
.s76f-bottomnav a.s76f-bottomnav-active { color: var(--s76f-gold); }
.s76f-bottomnav a.s76f-bottomnav-active::after {
  content: '';
  position: absolute; top: 0;
  width: 26px; height: 3px;
  background: var(--s76f-gold);
  border-radius: 0 0 3px 3px;
}
.s76f-bottomnav a:active { transform: scale(0.92); }
.s76f-bottomnav .s76f-nav-promo {
  color: #fff;
  background: linear-gradient(135deg, var(--s76f-primary), var(--s76f-accent));
  margin: 6px 4px;
  border-radius: 10px;
}

/* ---------- Desktop: hide bottom nav, widen container ---------- */
@media (min-width: 769px) {
  .s76f-bottomnav { display: none; }
  body { padding-bottom: 0; }
  .s76f-header-inner, .s76f-footer-inner, .s76f-container { max-width: 720px; }
}
@media (min-width: 481px) and (max-width: 768px) {
  .s76f-header-inner, .s76f-footer-inner, .s76f-container { max-width: 430px; }
}

/* High contrast focus rings for accessibility */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--s76f-gold);
  outline-offset: 2px;
}
