/* jile.click layout styles
   All custom class names use the g498- prefix.
   Palette: #0E1621 (bg) | #DA70D6 (primary) | #CC99FF (light) */

:root {
  --g498-bg: #0E1621;
  --g498-bg-alt: #141d2e;
  --g498-bg-card: #1a2538;
  --g498-primary: #DA70D6;
  --g498-light: #CC99FF;
  --g498-text: #f3e9ff;
  --g498-text-mute: #9aa6c2;
  --g498-border: #28324a;
  --g498-success: #4cd964;
  --g498-warning: #ffd23f;
  --g498-radius: 1.2rem;
  --g498-header-h: 5.4rem;
  --g498-bottom-h: 6.2rem;
  --g498-shadow: 0 4px 18px rgba(0,0,0,.35);
}

*, *::before, *::after { box-sizing: border-box; }
html { font-size: 62.5%; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Hind Siliguri","Noto Sans Bengali",system-ui,-apple-system,Segoe UI,Roboto,sans-serif;
  background: var(--g498-bg);
  color: var(--g498-text);
  line-height: 1.5rem;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--g498-light); text-decoration: none; }
h1,h2,h3 { line-height: 1.2; margin: 0 0 .6rem; font-weight: 700; }

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

/* Header */
.g498-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: linear-gradient(180deg, #0b1119 0%, var(--g498-bg) 100%);
  border-bottom: 1px solid var(--g498-border);
  box-shadow: var(--g498-shadow);
}
.g498-header-inner {
  max-width: 430px; margin: 0 auto; height: var(--g498-header-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 1rem; gap: .8rem;
}
.g498-logo { display: flex; align-items: center; gap: .6rem; min-width: 0; }
.g498-logo img { width: 2.8rem; height: 2.8rem; border-radius: .6rem; }
.g498-logo b { color: var(--g498-primary); font-size: 1.6rem; font-weight: 800; letter-spacing: .03em; }
.g498-logo span { color: var(--g498-light); font-size: 1.05rem; display: block; line-height: 1.1rem; }
.g498-header-actions { display: flex; align-items: center; gap: .6rem; }
.g498-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  min-height: 3.2rem; padding: 0 1.2rem; border: 0; border-radius: 2rem;
  font-size: 1.25rem; font-weight: 700; cursor: pointer; transition: transform .15s, box-shadow .15s;
  text-decoration: none; white-space: nowrap;
}
.g498-btn:active { transform: scale(.96); }
.g498-btn-primary { background: linear-gradient(135deg, var(--g498-primary), var(--g498-light)); color: #0E1621; box-shadow: 0 3px 10px rgba(218,112,214,.4); }
.g498-btn-ghost { background: transparent; color: var(--g498-light); border: 1px solid var(--g498-border); }
.g498-menu-btn {
  width: 3.2rem; height: 3.2rem; border-radius: .8rem; background: var(--g498-bg-card);
  border: 1px solid var(--g498-border); color: var(--g498-light); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; font-size: 1.6rem;
}

/* Mobile slide-down menu */
.g498-mobile-menu {
  position: fixed; top: var(--g498-header-h); left: 0; right: 0; z-index: 9999;
  max-width: 430px; margin: 0 auto; background: var(--g498-bg-alt);
  border-bottom: 1px solid var(--g498-border); box-shadow: var(--g498-shadow);
  max-height: 0; overflow: hidden; transition: max-height .25s ease;
}
.g498-mobile-menu.g498-menu-open { max-height: 48rem; overflow-y: auto; }
.g498-mobile-menu ul { list-style: none; margin: 0; padding: .6rem 1rem; }
.g498-mobile-menu li a {
  display: flex; align-items: center; gap: .8rem; padding: 1rem .6rem;
  color: var(--g498-text); border-bottom: 1px dashed var(--g498-border); font-size: 1.3rem;
}
.g498-mobile-menu li a:active { color: var(--g498-primary); }
.g498-mobile-menu li a i { color: var(--g498-light); width: 2rem; text-align: center; }

/* Main content spacer for fixed header */
.g498-main { padding-top: var(--g498-header-h); padding-bottom: var(--g498-bottom-h); }

/* Hero carousel */
.g498-carousel { position: relative; width: 100%; border-radius: var(--g498-radius); overflow: hidden; margin: 1rem 0; }
.g498-slides { position: relative; width: 100%; aspect-ratio: 16/9; }
.g498-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity .5s ease;
  display: flex; align-items: flex-end; padding: 1.2rem;
}
.g498-slide.g498-active { opacity: 1; }
.g498-slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.g498-slide-caption {
  position: relative; z-index: 2; background: rgba(14,22,33,.72);
  padding: .8rem 1rem; border-radius: 1rem; max-width: 90%;
}
.g498-slide-caption b { color: var(--g498-light); font-size: 1.4rem; display: block; }
.g498-slide-caption p { margin: .2rem 0 0; font-size: 1.1rem; color: var(--g498-text-mute); }
.g498-dots { position: absolute; bottom: .8rem; right: 1rem; z-index: 3; display: flex; gap: .4rem; }
.g498-dot { width: .8rem; height: .8rem; border-radius: 50%; background: rgba(255,255,255,.4); cursor: pointer; border: 0; padding: 0; }
.g498-dot.g498-active { background: var(--g498-primary); }

/* Section blocks */
.g498-section { padding: 1.4rem 0; }
.g498-section-title {
  display: flex; align-items: center; gap: .6rem; margin-bottom: 1rem;
  font-size: 1.55rem; color: var(--g498-text);
}
.g498-section-title i { color: var(--g498-primary); font-size: 1.6rem; }
.g498-section-title em { color: var(--g498-primary); font-style: normal; }
.g498-lead { color: var(--g498-text-mute); font-size: 1.25rem; }

/* Promo CTA strip */
.g498-cta {
  display: flex; align-items: center; gap: .8rem; padding: 1.2rem;
  background: linear-gradient(135deg, rgba(218,112,214,.18), rgba(204,153,255,.12));
  border: 1px solid var(--g498-border); border-radius: var(--g498-radius); margin: 1rem 0;
}
.g498-cta p { margin: 0; flex: 1; color: var(--g498-text); font-size: 1.2rem; }

/* Game grid */
.g498-game-group { margin-bottom: 1.6rem; }
.g498-game-group h2 { font-size: 1.5rem; color: var(--g498-light); margin-bottom: .8rem; display: flex; align-items: center; gap: .5rem; }
.g498-game-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem;
}
.g498-game-card { display: block; background: var(--g498-bg-card); border: 1px solid var(--g498-border); border-radius: 1rem; overflow: hidden; transition: transform .15s; }
.g498-game-card:active { transform: scale(.96); }
.g498-game-card img { width: 100%; aspect-ratio: 1; object-fit: cover; background: #000; }
.g498-game-card span { display: block; padding: .5rem .4rem; font-size: 1.05rem; text-align: center; color: var(--g498-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Info cards */
.g498-card { background: var(--g498-bg-card); border: 1px solid var(--g498-border); border-radius: var(--g498-radius); padding: 1.2rem; margin-bottom: 1rem; }
.g498-card h3 { color: var(--g498-primary); font-size: 1.35rem; margin-bottom: .5rem; }
.g498-card p { margin: 0 0 .6rem; font-size: 1.2rem; color: var(--g498-text-mute); }
.g498-card ul { margin: .4rem 0 0; padding-left: 1.4rem; color: var(--g498-text); font-size: 1.2rem; }
.g498-card li { margin-bottom: .4rem; }

/* Stat / RTP compact grid */
.g498-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem; }
.g498-stat { background: var(--g498-bg-alt); border: 1px solid var(--g498-border); border-radius: 1rem; padding: .9rem; text-align: center; }
.g498-stat b { display: block; color: var(--g498-primary); font-size: 1.6rem; }
.g498-stat span { color: var(--g498-text-mute); font-size: 1.05rem; }

/* Winner / testimonial list */
.g498-list { list-style: none; margin: 0; padding: 0; }
.g498-list li { display: flex; align-items: center; gap: .8rem; padding: .8rem 0; border-bottom: 1px dashed var(--g498-border); font-size: 1.2rem; }
.g498-list li:last-child { border-bottom: 0; }
.g498-list .g498-badge { background: var(--g498-primary); color: #0E1621; border-radius: .6rem; padding: .2rem .6rem; font-size: 1rem; font-weight: 700; }

/* Payment chips */
.g498-chips { display: flex; flex-wrap: wrap; gap: .6rem; }
.g498-chip { background: var(--g498-bg-alt); border: 1px solid var(--g498-border); border-radius: .8rem; padding: .6rem .9rem; font-size: 1.1rem; color: var(--g498-light); display: inline-flex; align-items: center; gap: .4rem; }

/* Footer */
.g498-footer { background: var(--g498-bg-alt); border-top: 1px solid var(--g498-border); padding: 1.6rem 1.2rem 2rem; margin-top: 1.6rem; }
.g498-footer p { color: var(--g498-text-mute); font-size: 1.15rem; line-height: 1.6; margin: 0 0 1rem; }
.g498-footer-links { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1rem; }
.g498-footer-links a { background: var(--g498-bg-card); border: 1px solid var(--g498-border); border-radius: .8rem; padding: .5rem .8rem; font-size: 1.1rem; color: var(--g498-light); }
.g498-footer-copy { color: var(--g498-text-mute); font-size: 1.05rem; border-top: 1px solid var(--g498-border); padding-top: 1rem; }

/* Mobile bottom navigation */
.g498-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
  max-width: 430px; margin: 0 auto; height: var(--g498-bottom-h);
  background: linear-gradient(180deg, var(--g498-bg) 0%, #0b1119 100%);
  border-top: 1px solid var(--g498-border);
  display: flex; justify-content: space-around; align-items: stretch;
  box-shadow: 0 -4px 18px rgba(0,0,0,.35);
}
.g498-nav-btn {
  flex: 1; min-width: 60px; min-height: 60px; background: transparent; border: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .2rem;
  color: var(--g498-text-mute); font-size: 1.05rem; cursor: pointer; text-decoration: none;
  transition: color .15s, transform .15s;
}
.g498-nav-btn i, .g498-nav-btn .material-icons-outlined, .g498-nav-btn .icon { font-size: 2.4rem; line-height: 1; }
.g498-nav-btn:active { transform: scale(.92); }
.g498-nav-btn.g498-nav-active { color: var(--g498-primary); }
.g498-nav-btn.g498-nav-active i { color: var(--g498-primary); }

/* Desktop: hide bottom nav and center layout */
@media (min-width: 769px) {
  .g498-bottom-nav { display: none; }
  .g498-wrapper { max-width: 760px; }
  .g498-header-inner { max-width: 760px; }
  .g498-mobile-menu { max-width: 760px; }
  .g498-game-grid { grid-template-columns: repeat(4, 1fr); }
  .g498-stats { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 768px) {
  .g498-main { padding-bottom: 8rem; }
}

/* Mobile bottom padding clearance handled by .g498-main padding-bottom */
