/*!
 * jiliko free 100 - style.css
 * Mobile-first gaming website styles for jilikofree100.click
 * All custom classes use the s31e- prefix for namespace isolation.
 * Palette: #FAFAD2 | #FFCC33 | #2C2C2C | #5D5D5D | #FFE135
 * Dark colors are backgrounds; light colors are text.
 */

:root {
  /* Brand palette mapped to semantic tokens */
  --s31e-bg: #2C2C2C;            /* primary dark background */
  --s31e-bg-deep: #1d1d1d;       /* deeper panels */
  --s31e-bg-soft: #3a3a3a;       /* card surface */
  --s31e-text: #FAFAD2;          /* primary light text */
  --s31e-text-muted: #d8d8b8;    /* muted text */
  --s31e-primary: #FFE135;       /* bright yellow accent */
  --s31e-secondary: #FFCC33;     /* gold accent */
  --s31e-gray: #5D5D5D;          /* neutral */
  --s31e-border: rgba(250,250,210,0.12);
  --s31e-shadow: 0 0.4rem 1.2rem rgba(0,0,0,0.45);
  --s31e-radius: 1rem;
  --s31e-radius-sm: 0.6rem;
  --s31e-header-h: 6rem;
  --s31e-bottom-h: 6.4rem;
}

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

html {
  font-size: 62.5%;              /* 1rem = 10px baseline */
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  background: var(--s31e-bg);
  color: var(--s31e-text);
  line-height: 1.5rem;
  font-size: 1.5rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

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

main { padding-bottom: 8rem; }   /* clearance for bottom nav on mobile */

/* ---------- Header ---------- */
.s31e-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: linear-gradient(180deg, #1d1d1d 0%, #2C2C2C 100%);
  border-bottom: 0.1rem solid var(--s31e-border);
  transition: box-shadow .25s ease;
}
.s31e-header-scrolled { box-shadow: var(--s31e-shadow); }
.s31e-header-inner {
  max-width: 430px; margin: 0 auto; padding: 0.8rem 1.2rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.s31e-logo { display: flex; align-items: center; gap: 0.8rem; }
.s31e-logo img { width: 3rem; height: 3rem; border-radius: 0.6rem; }
.s31e-logo-text { font-size: 1.6rem; font-weight: 800; color: var(--s31e-primary); letter-spacing: .02em; }

.s31e-header-actions { display: flex; align-items: center; gap: 0.6rem; }
.s31e-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  font-size: 1.3rem; font-weight: 700; line-height: 1;
  padding: 0.9rem 1.2rem; border-radius: 2rem; border: none; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease; min-height: 3.6rem;
  font-family: inherit;
}
.s31e-btn:active { transform: scale(.96); }
.s31e-btn-register {
  background: linear-gradient(135deg, #FFE135 0%, #FFCC33 100%);
  color: #2C2C2C;
}
.s31e-btn-login {
  background: transparent; color: var(--s31e-text);
  border: 0.15rem solid var(--s31e-secondary);
}

/* Mobile menu toggle button */
.s31e-menu-toggle {
  background: transparent; border: 0.1rem solid var(--s31e-border);
  color: var(--s31e-text); width: 3.6rem; height: 3.6rem;
  border-radius: 0.8rem; cursor: pointer; display: flex;
  align-items: center; justify-content: center; font-size: 1.8rem;
}

/* ---------- Mobile expandable menu ---------- */
.s31e-menu-backdrop {
  position: fixed; inset: 0; background: rgba(0,0,0,0.55);
  z-index: 9998; opacity: 0; visibility: hidden; transition: opacity .25s ease;
}
.s31e-backdrop-show { opacity: 1; visibility: visible; }
.s31e-mobile-menu {
  position: fixed; top: 0; right: -100%; width: 80%; max-width: 320px;
  height: 100vh; background: var(--s31e-bg-deep); z-index: 9999;
  padding: 7rem 1.6rem 2rem; transition: right .3s ease;
  overflow-y: auto; box-shadow: var(--s31e-shadow);
}
.s31e-menu-open { right: 0; }
.s31e-mobile-menu h3 {
  font-size: 1.3rem; color: var(--s31e-secondary);
  text-transform: uppercase; letter-spacing: .08em; margin: 1.4rem 0 0.6rem;
}
.s31e-mobile-menu a {
  display: block; padding: 1rem 0.6rem; font-size: 1.4rem; color: var(--s31e-text);
  border-bottom: 0.1rem solid var(--s31e-border);
}
.s31e-mobile-menu a:hover { background: var(--s31e-bg-soft); text-decoration: none; }

/* ---------- Carousel ---------- */
.s31e-carousel {
  position: relative; margin-top: var(--s31e-header-h); border-radius: var(--s31e-radius);
  overflow: hidden; box-shadow: var(--s31e-shadow);
}
.s31e-carousel-slide {
  position: relative; display: none; width: 100%; aspect-ratio: 16/9; cursor: pointer;
}
.s31e-slide-active { display: block; }
.s31e-carousel-slide img { width: 100%; height: 100%; object-fit: cover; }
.s31e-carousel-caption {
  position: absolute; left: 1.2rem; bottom: 1.2rem; right: 1.2rem;
  background: linear-gradient(0deg, rgba(0,0,0,.7), transparent);
  padding: 1rem; border-radius: var(--s31e-radius-sm);
}
.s31e-carousel-caption h2 { font-size: 1.7rem; color: var(--s31e-primary); margin-bottom: 0.4rem; }
.s31e-carousel-caption p { font-size: 1.2rem; color: var(--s31e-text-muted); }
.s31e-carousel-dots {
  position: absolute; bottom: 1rem; left: 50%; transform: translateX(-50%);
  display: flex; gap: 0.6rem;
}
.s31e-carousel-dot {
  width: 0.9rem; height: 0.9rem; border-radius: 50%; background: rgba(250,250,210,.4);
  border: none; cursor: pointer; transition: background .2s ease;
}
.s31e-dot-active { background: var(--s31e-primary); }

/* ---------- Section / Headings ---------- */
.s31e-section { padding: 2rem 0; }
.s31e-section-title {
  font-size: 1.9rem; font-weight: 800; color: var(--s31e-primary);
  margin-bottom: 1rem; padding-bottom: 0.6rem; border-bottom: 0.15rem solid var(--s31e-secondary);
}
.s31e-section-title .s31e-ico { color: var(--s31e-secondary); margin-right: 0.5rem; }
.s31e-subtitle { font-size: 1.5rem; color: var(--s31e-text-muted); margin-bottom: 1rem; }

/* ---------- Hero / H1 ---------- */
.s31e-hero { padding: 2rem 0 1rem; text-align: center; }
.s31e-hero h1 { font-size: 2.4rem; line-height: 1.3; color: var(--s31e-primary); margin-bottom: 1rem; }
.s31e-hero p { font-size: 1.4rem; color: var(--s31e-text-muted); margin-bottom: 1.4rem; }
.s31e-hero-cta { display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: center; }

/* ---------- Game grid (compact tiles) ---------- */
.s31e-cat-header {
  display: flex; align-items: center; gap: 0.6rem; margin: 1.6rem 0 0.8rem;
}
.s31e-cat-header h2 { font-size: 1.7rem; color: var(--s31e-secondary); }
.s31e-cat-header .material-symbols-outlined { font-size: 2rem; color: var(--s31e-primary); }

.s31e-game-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.8rem;
}
.s31e-game-tile {
  background: var(--s31e-bg-soft); border-radius: var(--s31e-radius-sm);
  padding: 0.6rem; text-align: center; cursor: pointer; overflow: hidden;
  border: 0.1rem solid var(--s31e-border); transition: transform .15s ease;
}
.s31e-game-tile:active { transform: scale(.96); }
.s31e-game-tile img {
  width: 100%; aspect-ratio: 1/1; object-fit: cover;
  border-radius: 0.6rem; margin-bottom: 0.4rem;
}
.s31e-game-name {
  font-size: 1.15rem; color: var(--s31e-text); font-weight: 600;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* ---------- Info cards ---------- */
.s31e-card {
  background: var(--s31e-bg-soft); border-radius: var(--s31e-radius);
  padding: 1.4rem; margin-bottom: 1.2rem; border: 0.1rem solid var(--s31e-border);
}
.s31e-card h3 { font-size: 1.6rem; color: var(--s31e-primary); margin-bottom: 0.6rem; }
.s31e-card p { font-size: 1.35rem; color: var(--s31e-text-muted); margin-bottom: 0.6rem; }
.s31e-card ul { list-style: none; padding-left: 0; }
.s31e-card li { font-size: 1.3rem; padding: 0.4rem 0; color: var(--s31e-text-muted); }
.s31e-card li::before { content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900;
  color: var(--s31e-primary); margin-right: 0.6rem; }

/* ---------- Promo inline link ---------- */
.s31e-promo-link {
  color: var(--s31e-primary); font-weight: 800; cursor: pointer;
  border-bottom: 0.15rem dashed var(--s31e-secondary);
}
.s31e-promo-link:hover { color: var(--s31e-secondary); text-decoration: none; }

/* ---------- RTP table ---------- */
.s31e-rtp-table { width: 100%; border-collapse: collapse; font-size: 1.25rem; }
.s31e-rtp-table th, .s31e-rtp-table td {
  padding: 0.7rem; border-bottom: 0.1rem solid var(--s31e-border); text-align: left;
}
.s31e-rtp-table th { color: var(--s31e-primary); }
.s31e-rtp-table td { color: var(--s31e-text-muted); }

/* ---------- Testimonials ---------- */
.s31e-testimonial {
  background: var(--s31e-bg-soft); border-left: 0.4rem solid var(--s31e-primary);
  padding: 1rem 1.2rem; border-radius: 0.6rem; margin-bottom: 0.8rem;
}
.s31e-testimonial p { font-size: 1.3rem; color: var(--s31e-text); font-style: italic; }
.s31e-testimonial .s31e-author { font-size: 1.15rem; color: var(--s31e-secondary); margin-top: 0.4rem; }

/* ---------- Winners ---------- */
.s31e-winner {
  display: flex; align-items: center; gap: 0.8rem;
  background: var(--s31e-bg-soft); padding: 0.8rem; border-radius: 0.6rem; margin-bottom: 0.6rem;
}
.s31e-winner .s31e-amount { color: var(--s31e-primary); font-weight: 800; margin-left: auto; }

/* ---------- Payment icons ---------- */
.s31e-payment-row { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.s31e-payment-row .s31e-pay {
  background: #fff; color: #2C2C2C; padding: 0.5rem 1rem; border-radius: 0.5rem;
  font-size: 1.2rem; font-weight: 700;
}

/* ---------- App CTA ---------- */
.s31e-app-cta {
  background: linear-gradient(135deg, #FFCC33 0%, #FFE135 100%);
  color: #2C2C2C; padding: 1.6rem; border-radius: var(--s31e-radius); text-align: center;
}
.s31e-app-cta h3 { font-size: 1.7rem; margin-bottom: 0.6rem; }
.s31e-app-cta p { font-size: 1.3rem; margin-bottom: 1rem; }

/* ---------- FAQ ---------- */
.s31e-faq-item {
  background: var(--s31e-bg-soft); border-radius: 0.6rem; padding: 1rem 1.2rem; margin-bottom: 0.6rem;
  border: 0.1rem solid var(--s31e-border);
}
.s31e-faq-item h4 { font-size: 1.4rem; color: var(--s31e-primary); margin-bottom: 0.4rem; }
.s31e-faq-item p { font-size: 1.25rem; color: var(--s31e-text-muted); }

/* ---------- Footer ---------- */
.s31e-footer {
  background: var(--s31e-bg-deep); border-top: 0.15rem solid var(--s31e-secondary);
  padding: 2rem 1.2rem 9rem; margin-top: 2rem;
}
.s31e-footer-inner { max-width: 430px; margin: 0 auto; }
.s31e-footer h4 { font-size: 1.4rem; color: var(--s31e-secondary); margin: 1rem 0 0.5rem; }
.s31e-footer p { font-size: 1.25rem; color: var(--s31e-text-muted); margin-bottom: 0.8rem; }
.s31e-footer-links {
  display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 0.8rem 0;
}
.s31e-footer-links a {
  font-size: 1.2rem; color: var(--s31e-text); background: var(--s31e-bg-soft);
  padding: 0.5rem 0.9rem; border-radius: 0.5rem; border: 0.1rem solid var(--s31e-border);
}
.s31e-footer-links a:hover { color: var(--s31e-primary); border-color: var(--s31e-secondary); text-decoration: none; }
.s31e-footer-promos { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 1rem 0; }
.s31e-footer-copy {
  font-size: 1.15rem; color: var(--s31e-gray); text-align: center; margin-top: 1rem;
  border-top: 0.1rem solid var(--s31e-border); padding-top: 1rem;
}

/* ---------- Mobile bottom navigation ---------- */
.s31e-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
  height: var(--s31e-bottom-h); background: var(--s31e-bg-deep);
  border-top: 0.15rem solid var(--s31e-secondary);
  display: flex; justify-content: space-around; align-items: stretch;
  box-shadow: 0 -0.4rem 1rem rgba(0,0,0,.4);
}
.s31e-bottom-nav-btn {
  flex: 1; min-width: 6rem; min-height: 6rem;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.2rem; background: transparent; border: none; color: var(--s31e-text-muted);
  font-size: 1.1rem; cursor: pointer; text-decoration: none; padding: 0.4rem;
  transition: color .2s ease, transform .15s ease;
}
.s31e-bottom-nav-btn:hover { color: var(--s31e-primary); text-decoration: none; }
.s31e-bottom-nav-btn:active { transform: scale(.92); }
.s31e-bottom-nav-btn .material-symbols-outlined,
.s31e-bottom-nav-btn i { font-size: 2.4rem; }
.s31e-bottom-nav-btn ion-icon { font-size: 2.4rem; }
.s31e-bottom-nav-btn .bi { font-size: 2.2rem; }
.s31e-bottom-nav-btn.s31e-nav-active { color: var(--s31e-primary); }
.s31e-bottom-nav-btn.s31e-nav-active::before {
  content: ""; position: absolute; top: 0; width: 2.4rem; height: 0.25rem;
  background: var(--s31e-primary); border-radius: 0 0 0.4rem 0.4rem;
}
.s31e-bottom-nav-btn { position: relative; }
.s31e-nav-label { font-size: 1.05rem; }

/* ---------- Desktop ---------- */
@media (min-width: 769px) {
  .s31e-bottom-nav { display: none; }
  main { padding-bottom: 2rem; }
  .s31e-footer { padding-bottom: 2rem; }
  .s31e-wrapper { max-width: 768px; }
  .s31e-header-inner { max-width: 768px; }
}

/* ---------- Utility ---------- */
.s31e-text-center { text-align: center; }
.s31e-mt-1 { margin-top: 1rem; }
.s31e-mt-2 { margin-top: 2rem; }
.s31e-hidden { display: none !important; }
.s31e-lead { font-size: 1.4rem; color: var(--s31e-text-muted); }
