/* 888starz bet - Core stylesheet
   All custom classes use the ga3c- prefix.
   Mobile-first, max-width 430px. rem units with 62.5% root font. */

:root {
  --ga3c-bg: #2E4057;
  --ga3c-bg-deep: #1f2d3d;
  --ga3c-primary: #FFA500;
  --ga3c-accent: #48D1CC;
  --ga3c-gold: #DAA520;
  --ga3c-light: #FFEF94;
  --ga3c-text: #FFEF94;
  --ga3c-text-soft: #d8e6f0;
  --ga3c-card: #324b63;
  --ga3c-border: rgba(255, 165, 0, 0.25);
  --ga3c-shadow: 0 0.4rem 1.2rem rgba(0, 0, 0, 0.35);
}

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

html { font-size: 62.5%; }

body {
  font-family: "Hind Siliguri", "Noto Sans Bengali", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: linear-gradient(160deg, var(--ga3c-bg) 0%, var(--ga3c-bg-deep) 100%);
  color: var(--ga3c-text-soft);
  line-height: 1.5rem;
  font-size: 1.4rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.ga3c-wrapper { max-width: 430px; margin: 0 auto; min-height: 100vh; position: relative; }

a { color: var(--ga3c-accent); text-decoration: none; }
img { max-width: 100%; display: block; }

/* ===== Header ===== */
.ga3c-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: linear-gradient(90deg, var(--ga3c-bg-deep), var(--ga3c-bg));
  border-bottom: 0.2rem solid var(--ga3c-primary);
  box-shadow: var(--ga3c-shadow);
}
.ga3c-header-inner {
  max-width: 430px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.6rem 1rem; min-height: 5.4rem;
}
.ga3c-logo { display: flex; align-items: center; gap: 0.6rem; }
.ga3c-logo img { width: 2.8rem; height: 2.8rem; border-radius: 0.6rem; }
.ga3c-logo span {
  font-size: 1.6rem; font-weight: 700; color: var(--ga3c-primary);
  letter-spacing: 0.03rem;
}
.ga3c-header-actions { display: flex; align-items: center; gap: 0.5rem; }
.ga3c-menu-btn {
  background: transparent; border: 0.1rem solid var(--ga3c-border);
  color: var(--ga3c-text); width: 3.6rem; height: 3.6rem;
  border-radius: 0.6rem; font-size: 1.8rem; cursor: pointer;
}
.ga3c-btn {
  border: none; border-radius: 0.6rem; padding: 0.7rem 1.2rem;
  font-size: 1.3rem; font-weight: 700; cursor: pointer;
  transition: transform 0.15s ease, opacity 0.15s ease;
  min-height: 4rem; min-width: 4.4rem;
}
.ga3c-btn:active { transform: scale(0.96); }
.ga3c-btn-register { background: linear-gradient(90deg, var(--ga3c-primary), var(--ga3c-gold)); color: #1f2d3d; }
.ga3c-btn-login { background: transparent; color: var(--ga3c-accent); border: 0.15rem solid var(--ga3c-accent); }
.ga3c-link-text { color: var(--ga3c-primary); font-weight: 700; }

/* ===== Mobile menu ===== */
.ga3c-mobile-menu {
  position: fixed; top: 5.4rem; left: 0; right: 0; z-index: 9999;
  background: var(--ga3c-bg-deep);
  border-bottom: 0.2rem solid var(--ga3c-primary);
  max-height: 0; overflow: hidden; transition: max-height 0.3s ease;
}
.ga3c-mobile-menu.ga3c-open { max-height: 60rem; }
.ga3c-mobile-menu ul { list-style: none; max-width: 430px; margin: 0 auto; padding: 0.5rem 1rem; }
.ga3c-mobile-menu li a {
  display: block; padding: 1rem 0.5rem; color: var(--ga3c-text);
  border-bottom: 0.1rem solid rgba(255,239,148,0.12); font-size: 1.4rem;
}
.ga3c-mobile-menu li a:active { color: var(--ga3c-primary); }

/* ===== Main content ===== */
.ga3c-main { padding-top: 5.4rem; padding-bottom: 7.6rem; }
.ga3c-section { padding: 1.4rem 1rem; }
.ga3c-section h2 {
  font-size: 1.8rem; color: var(--ga3c-primary); margin-bottom: 0.6rem;
  border-left: 0.3rem solid var(--ga3c-accent); padding-left: 0.6rem;
}
.ga3c-section h3 { font-size: 1.5rem; color: var(--ga3c-accent); margin: 0.8rem 0 0.4rem; }
.ga3c-section p { margin-bottom: 0.6rem; font-size: 1.35rem; line-height: 1.6rem; }

/* ===== Carousel ===== */
.ga3c-carousel { position: relative; margin: 0.8rem 0; border-radius: 1rem; overflow: hidden; }
.ga3c-slides { position: relative; height: 18rem; }
.ga3c-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity 0.6s ease;
  cursor: pointer;
}
.ga3c-slide.ga3c-active { opacity: 1; }
.ga3c-slide img { width: 100%; height: 100%; object-fit: cover; }
.ga3c-slide-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  color: var(--ga3c-light); padding: 1.4rem 1rem 0.8rem; font-weight: 700;
}
.ga3c-dots { display: flex; justify-content: center; gap: 0.4rem; padding: 0.5rem; }
.ga3c-dot { width: 0.8rem; height: 0.8rem; border-radius: 50%; background: rgba(255,239,148,0.4); border: none; cursor: pointer; }
.ga3c-dot.ga3c-active { background: var(--ga3c-primary); }

/* ===== Hero CTA ===== */
.ga3c-hero-cta {
  display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center;
  margin: 0.8rem 0;
}
.ga3c-hero-cta .ga3c-btn { padding: 1rem 1.6rem; font-size: 1.4rem; }

/* ===== Game grid ===== */
.ga3c-cat-title {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 1.6rem; color: var(--ga3c-primary); margin: 1rem 0 0.6rem;
}
.ga3c-cat-title i { color: var(--ga3c-accent); font-size: 1.8rem; }
.ga3c-game-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem;
}
.ga3c-game-card {
  background: var(--ga3c-card); border-radius: 0.8rem; overflow: hidden;
  border: 0.1rem solid var(--ga3c-border); cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.ga3c-game-card:active { transform: scale(0.96); border-color: var(--ga3c-primary); }
.ga3c-game-card img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.ga3c-game-card .ga3c-game-name {
  font-size: 1.05rem; color: var(--ga3c-light); text-align: center;
  padding: 0.35rem 0.2rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* ===== Info / feature cards ===== */
.ga3c-card-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.6rem; }
.ga3c-info-card {
  background: var(--ga3c-card); border-radius: 0.8rem; padding: 0.8rem;
  border: 0.1rem solid var(--ga3c-border);
}
.ga3c-info-card h3 { font-size: 1.3rem; color: var(--ga3c-primary); margin-bottom: 0.3rem; }
.ga3c-info-card p { font-size: 1.2rem; line-height: 1.5rem; }

/* ===== RTP compact ===== */
.ga3c-rtp-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.5rem 0; border-bottom: 0.1rem solid rgba(255,239,148,0.1);
}
.ga3c-rtp-bar { flex: 1; height: 0.6rem; background: rgba(255,255,255,0.1); border-radius: 0.3rem; margin: 0 0.6rem; overflow: hidden; }
.ga3c-rtp-fill { height: 100%; background: linear-gradient(90deg, var(--ga3c-accent), var(--ga3c-primary)); }

/* ===== Testimonials ===== */
.ga3c-testimonial {
  background: var(--ga3c-card); border-radius: 0.8rem; padding: 0.8rem;
  margin-bottom: 0.6rem; border-left: 0.25rem solid var(--ga3c-accent);
}
.ga3c-testimonial .ga3c-tname { color: var(--ga3c-primary); font-weight: 700; font-size: 1.25rem; }
.ga3c-testimonial p { font-size: 1.25rem; }

/* ===== Winners ===== */
.ga3c-winner {
  display: flex; justify-content: space-between; padding: 0.4rem 0;
  border-bottom: 0.1rem solid rgba(255,239,148,0.1); font-size: 1.2rem;
}
.ga3c-winner .ga3c-amount { color: var(--ga3c-primary); font-weight: 700; }

/* ===== Payment ===== */
.ga3c-pay-row { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.ga3c-pay-chip {
  background: var(--ga3c-card); border: 0.1rem solid var(--ga3c-border);
  border-radius: 1.2rem; padding: 0.4rem 0.9rem; font-size: 1.15rem; color: var(--ga3c-light);
}

/* ===== Footer ===== */
.ga3c-footer {
  background: var(--ga3c-bg-deep); padding: 1.4rem 1rem 1rem;
  border-top: 0.2rem solid var(--ga3c-primary);
}
.ga3c-footer-brand { color: var(--ga3c-light); font-size: 1.25rem; margin-bottom: 0.6rem; line-height: 1.5rem; }
.ga3c-footer-links { display: flex; flex-wrap: wrap; gap: 0.4rem 0.8rem; margin: 0.6rem 0; }
.ga3c-footer-links a { color: var(--ga3c-accent); font-size: 1.15rem; }
.ga3c-footer-promo { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0.6rem 0; }
.ga3c-footer-copy { color: rgba(255,239,148,0.6); font-size: 1.1rem; margin-top: 0.6rem; }

/* ===== Mobile bottom nav ===== */
.ga3c-bnav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
  background: var(--ga3c-bg-deep); border-top: 0.2rem solid var(--ga3c-primary);
  height: 6rem; display: flex; justify-content: space-around; align-items: stretch;
}
.ga3c-bnav-btn {
  flex: 1; min-width: 6rem; min-height: 6rem;
  background: transparent; border: none; color: var(--ga3c-text-soft);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.2rem; cursor: pointer; transition: color 0.15s ease, transform 0.15s ease;
}
.ga3c-bnav-btn:active { transform: scale(0.92); }
.ga3c-bnav-btn i, .ga3c-bnav-btn .material-icons-outlined, .ga3c-bnav-btn .ionicon { font-size: 2.2rem; }
.ga3c-bnav-btn span { font-size: 1rem; }
.ga3c-bnav-active { color: var(--ga3c-primary); }
.ga3c-bnav-active span { color: var(--ga3c-primary); font-weight: 700; }
.ga3c-bnav-promo { color: var(--ga3c-gold); }

/* ===== Desktop ===== */
@media (min-width: 769px) {
  .ga3c-bnav { display: none; }
  .ga3c-wrapper { max-width: 768px; box-shadow: var(--ga3c-shadow); }
}
@media (max-width: 768px) {
  .ga3c-main { padding-bottom: 7.6rem; }
}
