/*!
 * f222bet.click core stylesheet
 * Mobile-first responsive layout (max-width: 430px).
 * Every custom class uses the "g5a9-" prefix for namespace isolation.
 * Palette: #F0FDFF (cream) | #B2DFDB (mint) | #2D2D2D (ink) | #FFFFBA (highlight) | #F08080 (coral)
 */

:root {
  --g5a9-primary: #F08080;      /* coral accent */
  --g5a9-bg: #2D2D2D;            /* dark ink background */
  --g5a9-bg-2: #1c1c1c;          /* deeper panel */
  --g5a9-text: #F0FDFF;          /* near-white text */
  --g5a9-text-soft: #B2DFDB;     /* mint soft text */
  --g5a9-highlight: #FFFFBA;     /* warm highlight */
  --g5a9-mint: #B2DFDB;
  --g5a9-cream: #F0FDFF;
  --g5a9-border: rgba(178, 223, 219, 0.18);
  --g5a9-shadow: 0 8px 26px rgba(0, 0, 0, 0.34);
  --g5a9-radius: 14px;
  --g5a9-radius-sm: 10px;
  font-size: 62.5%;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--g5a9-bg);
  color: var(--g5a9-text);
  font-family: "Hind Siliguri", "Noto Sans Bengali", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 1.6rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

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

/* ---------- Layout ---------- */
.g5a9-wrapper {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  position: relative;
  background: linear-gradient(180deg, #2D2D2D 0%, #232323 60%, #1c1c1c 100%);
  overflow-x: hidden;
}

.g5a9-container {
  width: 100%;
  padding: 0 14px;
}

main { padding-bottom: 96px; }

/* ---------- Header ---------- */
.g5a9-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  max-width: 430px;
  margin: 0 auto;
  background: rgba(45, 45, 45, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--g5a9-border);
  transition: box-shadow .25s ease, background .25s ease;
}
.g5a9-header-scrolled { box-shadow: 0 4px 18px rgba(0,0,0,.45); }

.g5a9-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 58px;
  padding: 0 12px;
}

.g5a9-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--g5a9-cream);
  font-weight: 800;
  font-size: 1.8rem;
  letter-spacing: .3px;
}
.g5a9-brand img { width: 30px; height: 30px; border-radius: 8px; }
.g5a9-brand-dot { color: var(--g5a9-primary); }

.g5a9-header-actions { display: flex; align-items: center; gap: 8px; }

.g5a9-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: none;
  cursor: pointer;
  font-weight: 700;
  font-family: inherit;
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 1.35rem;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  min-height: 38px;
}
.g5a9-btn:active { transform: scale(0.95); }
.g5a9-btn-register {
  background: linear-gradient(135deg, #F08080, #ff5e62);
  color: #fff;
  box-shadow: 0 4px 12px rgba(240,128,128,.4);
}
.g5a9-btn-login {
  background: transparent;
  color: var(--g5a9-mint);
  border: 1.5px solid var(--g5a9-mint);
}

.g5a9-menu-toggle {
  background: transparent;
  border: none;
  color: var(--g5a9-cream);
  font-size: 2rem;
  cursor: pointer;
  padding: 4px 6px;
  line-height: 1;
}

/* ---------- Mobile expandable menu ---------- */
.g5a9-mobile-menu {
  position: fixed;
  top: 0; right: -100%;
  width: 78%;
  max-width: 320px;
  height: 100vh;
  background: var(--g5a9-bg-2);
  z-index: 9999;
  padding: 80px 18px 30px;
  transition: right .3s ease;
  border-left: 1px solid var(--g5a9-border);
  overflow-y: auto;
}
.g5a9-mobile-menu.g5a9-menu-open { right: 0; }
.g5a9-mobile-menu a {
  display: block;
  padding: 13px 12px;
  color: var(--g5a9-cream);
  border-bottom: 1px solid var(--g5a9-border);
  font-size: 1.5rem;
  font-weight: 500;
}
.g5a9-mobile-menu a:hover { background: rgba(240,128,128,.12); color: var(--g5a9-highlight); }
.g5a9-menu-close {
  position: absolute;
  top: 16px; right: 16px;
  background: transparent;
  border: none;
  color: var(--g5a9-cream);
  font-size: 2.4rem;
  cursor: pointer;
}
.g5a9-menu-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 9998;
  display: none;
}
.g5a9-menu-overlay.g5a9-menu-open { display: block; }
.g5a9-no-scroll { overflow: hidden; }

/* ---------- Hero ---------- */
.g5a9-hero {
  margin-top: 58px;
  padding: 18px 14px 6px;
  text-align: center;
}
.g5a9-hero h1 {
  font-size: 2.4rem;
  line-height: 1.25;
  margin: 6px 0 8px;
  color: var(--g5a9-highlight);
  font-weight: 800;
}
.g5a9-hero p { color: var(--g5a9-text-soft); font-size: 1.45rem; margin: 0 0 12px; }
.g5a9-hero-cta { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.g5a9-hero-cta .g5a9-btn { padding: 11px 22px; font-size: 1.5rem; }

/* ---------- Carousel ---------- */
.g5a9-carousel {
  position: relative;
  width: 100%;
  border-radius: var(--g5a9-radius);
  overflow: hidden;
  margin: 14px 0;
  box-shadow: var(--g5a9-shadow);
}
.g5a9-carousel-track { position: relative; }
.g5a9-carousel-slide {
  display: none;
  width: 100%;
}
.g5a9-carousel-slide img { width: 100%; height: 180px; object-fit: cover; }
.g5a9-carousel-slide.g5a9-slide-active { display: block; }
.g5a9-carousel-dots {
  position: absolute;
  bottom: 8px; left: 0; right: 0;
  display: flex; justify-content: center; gap: 6px;
}
.g5a9-carousel-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(240,253,255,.5);
  border: none; cursor: pointer; padding: 0;
}
.g5a9-carousel-dot.g5a9-dot-active { background: var(--g5a9-primary); width: 20px; border-radius: 4px; }

/* ---------- Section ---------- */
.g5a9-section { padding: 18px 14px; }
.g5a9-section-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 12px;
}
.g5a9-section-title {
  font-size: 1.8rem; font-weight: 800; color: var(--g5a9-highlight);
  display: flex; align-items: center; gap: 8px; margin: 0;
}
.g5a9-section-title i { color: var(--g5a9-primary); }
.g5a9-section-more { font-size: 1.3rem; color: var(--g5a9-mint); }

/* ---------- Game grid ---------- */
.g5a9-cat-block { margin-bottom: 22px; }
.g5a9-cat-label {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(240,128,128,.16);
  color: var(--g5a9-primary);
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 1.35rem; font-weight: 700;
  margin-bottom: 10px;
}
.g5a9-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.g5a9-game-card {
  background: linear-gradient(160deg, #3a3a3a, #2a2a2a);
  border-radius: var(--g5a9-radius-sm);
  overflow: hidden;
  cursor: pointer;
  border: 1px solid var(--g5a9-border);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.g5a9-game-card:hover { transform: translateY(-3px); box-shadow: var(--g5a9-shadow); border-color: var(--g5a9-primary); }
.g5a9-game-card:active { transform: scale(0.97); }
.g5a9-game-card img {
  width: 100%; height: 92px; object-fit: cover;
  border-bottom: 1px solid var(--g5a9-border);
}
.g5a9-game-card .g5a9-game-name {
  padding: 6px 6px 8px;
  font-size: 1.15rem;
  color: var(--g5a9-cream);
  text-align: center;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.25;
}

/* ---------- Generic card / module ---------- */
.g5a9-card {
  background: linear-gradient(160deg, #353535, #262626);
  border: 1px solid var(--g5a9-border);
  border-radius: var(--g5a9-radius);
  padding: 16px;
  margin-bottom: 14px;
}
.g5a9-card h2, .g5a9-card h3 { color: var(--g5a9-highlight); margin: 0 0 8px; }
.g5a9-card h2 { font-size: 1.9rem; }
.g5a9-card h3 { font-size: 1.6rem; }
.g5a9-card p { color: var(--g5a9-text); margin: 0 0 8px; font-size: 1.4rem; }
.g5a9-card ul { margin: 0; padding-left: 18px; color: var(--g5a9-text); font-size: 1.4rem; }
.g5a9-card li { margin-bottom: 6px; }

.g5a9-features {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
}
.g5a9-feature-item {
  background: rgba(178,223,219,.08);
  border: 1px solid var(--g5a9-border);
  border-radius: var(--g5a9-radius-sm);
  padding: 12px;
  text-align: center;
}
.g5a9-feature-item i { color: var(--g5a9-primary); font-size: 2.4rem; }
.g5a9-feature-item h4 { margin: 6px 0 2px; font-size: 1.3rem; color: var(--g5a9-highlight); }
.g5a9-feature-item p { font-size: 1.2rem; color: var(--g5a9-text-soft); margin: 0; }

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

.g5a9-cta-bar {
  background: linear-gradient(135deg, #F08080, #ffb199);
  border-radius: var(--g5a9-radius);
  padding: 16px;
  text-align: center;
  color: #2D2D2D;
  margin: 14px 0;
}
.g5a9-cta-bar h3 { margin: 0 0 6px; color: #2D2D2D; font-size: 1.7rem; }
.g5a9-cta-bar p { margin: 0 0 10px; font-size: 1.35rem; color: #2D2D2D; }
.g5a9-cta-bar .g5a9-btn { background: #2D2D2D; color: var(--g5a9-highlight); }

/* ---------- Testimonial ---------- */
.g5a9-testimonials { display: grid; grid-template-columns: 1fr; gap: 10px; }
.g5a9-testimonial {
  background: rgba(255,255,186,.08);
  border-left: 3px solid var(--g5a9-primary);
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 1.35rem;
}
.g5a9-testimonial strong { color: var(--g5a9-highlight); display: block; margin-bottom: 4px; }
.g5a9-testimonial .g5a9-stars { color: var(--g5a9-highlight); font-size: 1.2rem; }

/* ---------- Payment / winners ---------- */
.g5a9-pay-row { display: flex; flex-wrap: wrap; gap: 8px; }
.g5a9-pay-chip {
  background: rgba(178,223,219,.1);
  border: 1px solid var(--g5a9-border);
  padding: 6px 12px; border-radius: 999px;
  font-size: 1.2rem; color: var(--g5a9-cream);
}

.g5a9-winners li {
  list-style: none;
  display: flex; justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px dashed var(--g5a9-border);
  font-size: 1.3rem;
}
.g5a9-winners li:last-child { border-bottom: none; }
.g5a9-winners ul { padding: 0; margin: 0; }
.g5a9-win-amount { color: var(--g5a9-primary); font-weight: 700; }

/* ---------- Footer ---------- */
.g5a9-footer {
  background: var(--g5a9-bg-2);
  border-top: 1px solid var(--g5a9-border);
  padding: 20px 14px 30px;
  color: var(--g5a9-text-soft);
}
.g5a9-footer-brand { color: var(--g5a9-cream); font-weight: 800; font-size: 1.8rem; margin-bottom: 6px; }
.g5a9-footer-desc { font-size: 1.3rem; margin-bottom: 12px; }
.g5a9-footer-promos { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.g5a9-footer-promos .g5a9-btn { padding: 7px 14px; font-size: 1.25rem; }
.g5a9-footer-links {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px;
  margin-bottom: 14px;
}
.g5a9-footer-links a { color: var(--g5a9-mint); font-size: 1.25rem; }
.g5a9-footer-copy { font-size: 1.15rem; color: rgba(240,253,255,.5); text-align: center; }

/* ---------- Mobile bottom navigation ---------- */
.g5a9-bottom-nav {
  position: fixed;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: 62px;
  background: linear-gradient(180deg, #2a2a2a, #1a1a1a);
  border-top: 1px solid var(--g5a9-border);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 -4px 18px rgba(0,0,0,.4);
}
.g5a9-bottom-btn {
  background: none; border: none;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  min-width: 60px; min-height: 60px;
  color: var(--g5a9-text-soft);
  cursor: pointer;
  font-family: inherit;
  transition: color .2s ease, transform .15s ease;
  padding: 6px 2px;
}
.g5a9-bottom-btn:active { transform: scale(0.9); }
.g5a9-bottom-btn i, .g5a9-bottom-btn .material-icons,
.g5a9-bottom-btn .ion, .g5a9-bottom-btn ion-icon { font-size: 22px; line-height: 1; }
.g5a9-bottom-btn span { font-size: 1.05rem; margin-top: 3px; }
.g5a9-bottom-btn:hover { color: var(--g5a9-highlight); }
.g5a9-bottom-btn.g5a9-active { color: var(--g5a9-primary); }
.g5a9-bottom-btn.g5a9-active span { color: var(--g5a9-primary); }
.g5a9-bottom-btn.g5a9-badge::after {
  content: "1"; position: absolute;
  background: var(--g5a9-primary); color: #fff;
  font-size: .9rem; font-weight: 700;
  padding: 1px 5px; border-radius: 999px;
  margin-left: 18px; margin-top: -8px;
}

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

/* ---------- Desktop / larger screens ---------- */
@media (min-width: 769px) {
  .g5a9-bottom-nav { display: none; }
  main { padding-bottom: 40px; }
  .g5a9-wrapper { box-shadow: 0 0 40px rgba(0,0,0,.4); }
}
