/*!
 * theme-9403.css - jiliko log in visual layer
 * Palette: #0A0A0A (background) + #8FBC8F (accent text)
 * All custom classes use the "g031-" prefix.
 */
:root {
  --g031-primary: #8FBC8F;
  --g031-primary-strong: #6FAE6F;
  --g031-primary-soft: rgba(143, 188, 143, 0.14);
  --g031-bg: #0A0A0A;
  --g031-bg-elev: #141414;
  --g031-bg-elev2: #1c1c1c;
  --g031-text: #ECECEC;
  --g031-muted: #9A9A9A;
  --g031-border: rgba(143, 188, 143, 0.22);
  --g031-gold: #E8C36A;
  --g031-danger: #E26464;
  --g031-radius: 14px;
  --g031-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  --g031-header-h: 58px;
  --g031-bottomnav-h: 62px;
  --g031-max-w: 430px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html, body {
  margin: 0;
  padding: 0;
  background: var(--g031-bg);
  color: var(--g031-text);
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5rem;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--g031-primary); text-decoration: none; }
a:hover { color: var(--g031-primary-strong); text-decoration: underline; }

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

/* ============ Header ============ */
.g031-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--g031-header-h);
  background: linear-gradient(180deg, #0d0d0d 0%, #0A0A0A 100%);
  border-bottom: 1px solid var(--g031-border);
  z-index: 1000;
  display: flex;
  align-items: center;
}
.g031-header-inner {
  width: 100%;
  max-width: var(--g031-max-w);
  margin: 0 auto;
  padding: 0 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.g031-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--g031-text);
  font-size: 1.05rem;
}
.g031-logo img { width: 28px; height: 28px; border-radius: 6px; }
.g031-logo .g031-logo-accent { color: var(--g031-primary); }

.g031-spacer { flex: 1; }

.g031-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.86rem;
  border: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  text-decoration: none;
  white-space: nowrap;
}
.g031-btn:hover { text-decoration: none; transform: translateY(-1px); }
.g031-btn-primary {
  background: linear-gradient(135deg, var(--g031-primary) 0%, var(--g031-primary-strong) 100%);
  color: #0A0A0A;
  box-shadow: 0 6px 16px rgba(143, 188, 143, 0.35);
}
.g031-btn-ghost {
  background: transparent;
  color: var(--g031-primary);
  border: 1.5px solid var(--g031-primary);
}
.g031-btn-block { width: 100%; padding: 12px; font-size: 1rem; }

.g031-menu-btn {
  background: transparent;
  border: none;
  color: var(--g031-text);
  width: 40px; height: 40px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 22px;
}
.g031-menu-btn:hover { background: var(--g031-primary-soft); }

/* ============ Expandable mobile nav ============ */
.g031-mobile-nav {
  position: fixed;
  top: var(--g031-header-h);
  left: 0; right: 0;
  background: #0d0d0d;
  border-bottom: 1px solid var(--g031-border);
  max-height: 0;
  overflow: hidden;
  transition: max-height .28s ease;
  z-index: 9999;
}
.g031-mobile-nav.g031-nav-active { max-height: 520px; box-shadow: var(--g031-shadow); }
.g031-mobile-nav ul {
  list-style: none;
  margin: 0;
  padding: 8px 14px 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.g031-mobile-nav a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--g031-bg-elev);
  color: var(--g031-text);
  font-size: 0.85rem;
  border: 1px solid transparent;
}
.g031-mobile-nav a:hover { border-color: var(--g031-border); color: var(--g031-primary); text-decoration: none; }

/* ============ Main ============ */
.g031-main {
  padding-top: calc(var(--g031-header-h) + 10px);
  padding-bottom: calc(var(--g031-bottomnav-h) + 24px);
}

/* ============ Carousel ============ */
.g031-carousel {
  position: relative;
  border-radius: var(--g031-radius);
  overflow: hidden;
  margin-bottom: 18px;
  box-shadow: var(--g031-shadow);
}
.g031-carousel-track { position: relative; height: 180px; }
.g031-carousel-slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity .5s ease;
  cursor: pointer;
}
.g031-carousel-slide.g031-slide-active { opacity: 1; }
.g031-carousel-slide img { width: 100%; height: 100%; object-fit: cover; }
.g031-carousel-dots {
  position: absolute;
  bottom: 8px; left: 0; right: 0;
  display: flex; justify-content: center; gap: 6px;
}
.g031-carousel-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: none; padding: 0; cursor: pointer;
}
.g031-carousel-dot.g031-dot-active { background: var(--g031-primary); width: 18px; border-radius: 5px; }

/* ============ Section / Headings ============ */
.g031-section { margin: 22px 0; }
.g031-h1 {
  font-size: 1.55rem;
  line-height: 1.3;
  margin: 0 0 8px;
  color: var(--g031-text);
}
.g031-h1 .g031-accent { color: var(--g031-primary); }
.g031-h2 {
  font-size: 1.2rem;
  margin: 22px 0 10px;
  color: var(--g031-primary);
  display: flex; align-items: center; gap: 8px;
}
.g031-h3 {
  font-size: 1rem;
  margin: 16px 0 8px;
  color: var(--g031-text);
}
.g031-section-intro { color: var(--g031-muted); font-size: 0.92rem; margin: 0 0 12px; }

/* ============ Card ============ */
.g031-card {
  background: var(--g031-bg-elev);
  border: 1px solid var(--g031-border);
  border-radius: var(--g031-radius);
  padding: 14px;
  box-shadow: var(--g031-shadow);
}
.g031-card h3 { margin-top: 0; }

/* ============ Game grid ============ */
.g031-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.g031-game {
  background: var(--g031-bg-elev);
  border: 1px solid var(--g031-border);
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: transform .15s ease, border-color .15s ease;
  display: block;
  color: var(--g031-text);
}
.g031-game:hover { transform: translateY(-2px); border-color: var(--g031-primary); text-decoration: none; color: var(--g031-primary); }
.g031-game img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover; background: #050505;
}
.g031-game-name {
  padding: 6px 8px;
  font-size: 0.74rem;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ============ Category label ============ */
.g031-cat-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--g031-primary-soft);
  color: var(--g031-primary);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ============ Promo banner ============ */
.g031-promo {
  background: linear-gradient(135deg, #102912 0%, #0A0A0A 100%);
  border: 1px solid var(--g031-border);
  border-radius: var(--g031-radius);
  padding: 16px;
  text-align: center;
  margin: 18px 0;
}
.g031-promo .g031-promo-title {
  font-size: 1.1rem; font-weight: 800; color: var(--g031-primary); margin-bottom: 6px;
}
.g031-promo p { color: var(--g031-muted); margin: 0 0 12px; font-size: 0.88rem; }

/* ============ Feature list ============ */
.g031-feature-list {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.g031-feature-list li {
  background: var(--g031-bg-elev);
  border: 1px solid var(--g031-border);
  border-radius: 12px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.85rem;
}
.g031-feature-list .g031-feature-ico {
  font-size: 22px; color: var(--g031-primary);
}

/* ============ Steps ============ */
.g031-steps { counter-reset: step; list-style: none; margin: 0; padding: 0; }
.g031-steps li {
  position: relative;
  padding: 10px 10px 10px 44px;
  margin-bottom: 8px;
  background: var(--g031-bg-elev);
  border-radius: 10px;
  border-left: 3px solid var(--g031-primary);
  font-size: 0.9rem;
}
.g031-steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 10px; top: 50%;
  transform: translateY(-50%);
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--g031-primary);
  color: #0A0A0A;
  font-weight: 700;
  font-size: 0.8rem;
  display: flex; align-items: center; justify-content: center;
}

/* ============ RTP table ============ */
.g031-rtp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
  background: var(--g031-bg-elev);
  border-radius: 10px;
  overflow: hidden;
}
.g031-rtp-table th, .g031-rtp-table td {
  padding: 8px 10px;
  text-align: left;
  border-bottom: 1px solid var(--g031-border);
}
.g031-rtp-table th { background: var(--g031-primary-soft); color: var(--g031-primary); font-weight: 700; }
.g031-rtp-table tr:last-child td { border-bottom: none; }
.g031-rtp-bar {
  height: 6px; border-radius: 3px;
  background: rgba(143,188,143,0.15);
  overflow: hidden; margin-top: 4px;
}
.g031-rtp-bar > span { display: block; height: 100%; background: linear-gradient(90deg, var(--g031-primary), var(--g031-gold)); }

/* ============ Testimonial / Winner ============ */
.g031-testimonial, .g031-winner {
  background: var(--g031-bg-elev);
  border: 1px solid var(--g031-border);
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 10px;
  font-size: 0.86rem;
}
.g031-testimonial .g031-t-author { font-weight: 700; color: var(--g031-primary); margin-bottom: 4px; }
.g031-winner { display: flex; align-items: center; gap: 10px; }
.g031-winner .g031-w-amount { margin-left: auto; color: var(--g031-gold); font-weight: 800; }

/* ============ Payment ============ */
.g031-pay-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.g031-pay-item {
  background: var(--g031-bg-elev);
  border: 1px solid var(--g031-border);
  border-radius: 10px;
  padding: 10px 4px;
  text-align: center;
  font-size: 0.7rem;
  color: var(--g031-muted);
}
.g031-pay-item .material-icons, .g031-pay-item i { font-size: 22px; color: var(--g031-primary); margin-bottom: 4px; display: block; }

/* ============ App download CTA ============ */
.g031-app-cta {
  background: linear-gradient(135deg, #122614 0%, #0A0A0A 100%);
  border: 1px solid var(--g031-border);
  border-radius: var(--g031-radius);
  padding: 16px;
  display: flex; flex-direction: column; gap: 10px;
  margin: 18px 0;
}
.g031-app-cta .g031-app-row { display: flex; gap: 10px; }

/* ============ FAQ ============ */
.g031-faq details {
  background: var(--g031-bg-elev);
  border: 1px solid var(--g031-border);
  border-radius: 10px;
  padding: 10px 12px;
  margin-bottom: 8px;
}
.g031-faq summary { cursor: pointer; font-weight: 700; color: var(--g031-primary); }
.g031-faq details[open] summary { margin-bottom: 6px; }
.g031-faq p { margin: 4px 0 0; color: var(--g031-muted); font-size: 0.86rem; }

/* ============ Footer ============ */
.g031-footer {
  background: #050505;
  border-top: 1px solid var(--g031-border);
  padding: 22px 14px calc(var(--g031-bottomnav-h) + 26px);
  margin-top: 24px;
}
.g031-footer p { color: var(--g031-muted); font-size: 0.82rem; line-height: 1.5rem; }
.g031-footer-links {
  display: flex; flex-wrap: wrap;
  gap: 8px 14px;
  margin: 12px 0;
}
.g031-footer-links a {
  color: var(--g031-muted);
  font-size: 0.8rem;
  text-decoration: underline;
}
.g031-footer-links a:hover { color: var(--g031-primary); }
.g031-footer-promos { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.g031-footer-copy { color: #555; font-size: 0.74rem; margin-top: 10px; }

/* ============ Bottom nav (mobile only) ============ */
.g031-bottomnav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: var(--g031-bottomnav-h);
  background: #0d0d0d;
  border-top: 1px solid var(--g031-border);
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  z-index: 1000;
  box-shadow: 0 -6px 20px rgba(0,0,0,0.45);
}
.g031-bottomnav-btn {
  flex: 1;
  min-width: 60px;
  min-height: 100%;
  background: transparent;
  border: none;
  color: var(--g031-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font-size: 0.66rem;
  cursor: pointer;
  text-decoration: none;
  padding: 4px 2px;
  transition: color .15s ease, transform .15s ease;
}
.g031-bottomnav-btn:hover { color: var(--g031-primary); transform: translateY(-1px); text-decoration: none; }
.g031-bottomnav-btn .material-icons,
.g031-bottomnav-btn i { font-size: 24px; }
.g031-bottomnav-active { color: var(--g031-primary); }
.g031-bottomnav-active::after {
  content: "";
  width: 22px; height: 2px;
  background: var(--g031-primary);
  border-radius: 2px;
  margin-top: 2px;
}

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

/* ============ Tag / chip ============ */
.g031-chip {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--g031-primary-soft);
  color: var(--g031-primary);
  font-size: 0.7rem;
  font-weight: 700;
  margin-right: 4px;
}
.g031-chip-hot { background: rgba(226,100,100,0.18); color: var(--g031-danger); }
.g031-chip-gold { background: rgba(232,195,106,0.18); color: var(--g031-gold); }

/* ============ Helpers ============ */
.g031-text-center { text-align: center; }
.g031-mt-12 { margin-top: 12px; }
.g031-text-link { color: var(--g031-primary); font-weight: 700; text-decoration: underline; }

/* ============ Responsive ============ */
@media (max-width: 430px) {
  html { font-size: 15.5px; }
  .g031-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .g031-carousel-track { height: 160px; }
  .g031-game-name { font-size: 0.7rem; }
  .g031-h1 { font-size: 1.4rem; }
}
@media (max-width: 360px) {
  .g031-grid { grid-template-columns: repeat(2, 1fr); }
  .g031-feature-list { grid-template-columns: 1fr; }
}
@media (min-width: 769px) {
  .g031-bottomnav { display: none; }
  .g031-header { display: none; }
  .g031-mobile-nav { display: none; }
  .g031-main { padding-top: 20px; padding-bottom: 30px; }
  .g031-footer { padding-bottom: 22px; }
  .g031-wrapper { max-width: 720px; }
  body { background: #0d0d0d; }
  .g031-desktop-nav {
    display: flex !important;
    gap: 18px;
    justify-content: center;
    padding: 14px;
    background: #0d0d0d;
    border-bottom: 1px solid var(--g031-border);
    flex-wrap: wrap;
  }
  .g031-desktop-nav a { color: var(--g031-muted); font-size: 0.9rem; }
  .g031-desktop-nav a:hover { color: var(--g031-primary); }
}
.g031-desktop-nav { display: none; }
