/* 8777bet apk login - stylesheet
   All custom classes use the g9c3- prefix to avoid collisions.
   Comments in English. Mobile-first design, max-width 430px.
*/

:root {
  --g9c3-primary: #00FF00;
  --g9c3-accent: #CD853F;
  --g9c3-gold: #FFDEAD;
  --g9c3-silver: #C0C0C0;
  --g9c3-bg: #273746;
  --g9c3-bg-dark: #1c2833;
  --g9c3-bg-deep: #141d26;
  --g9c3-lavender: #E6E6FA;
  --g9c3-text: #FFDEAD;
  --g9c3-text-light: #E6E6FA;
  --g9c3-text-muted: #C0C0C0;
  --g9c3-danger: #ff4d4d;
  --g9c3-radius: 10px;
  --g9c3-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

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

html { font-size: 62.5%; -webkit-text-size-adjust: 100%; }

body {
  font-family: "Hind Siliguri", "Noto Sans Bengali", "Segoe UI", Tahoma, sans-serif;
  background: var(--g9c3-bg-deep);
  color: var(--g9c3-text-light);
  line-height: 1.5rem;
  font-size: 1.5rem;
  max-width: 430px;
  margin: 0 auto;
  overflow-x: hidden;
}

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

/* ===== Header ===== */
.g9c3-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  max-width: 430px;
  margin: 0 auto;
  background: linear-gradient(135deg, var(--g9c3-bg-dark), var(--g9c3-bg));
  border-bottom: 2px solid var(--g9c3-accent);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1rem;
  box-shadow: var(--g9c3-shadow);
}
.g9c3-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex: 1;
  min-width: 0;
}
.g9c3-logo img { width: 30px; height: 30px; border-radius: 6px; }
.g9c3-logo .g9c3-sitename {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--g9c3-gold);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.g9c3-header-btns { display: flex; gap: 0.5rem; align-items: center; }
.g9c3-menu-btn {
  background: none; border: none; color: var(--g9c3-gold);
  font-size: 2.2rem; cursor: pointer; padding: 0.3rem;
  display: flex; align-items: center;
}
.g9c3-btn {
  display: inline-block;
  padding: 0.7rem 1.3rem;
  border-radius: var(--g9c3-radius);
  font-weight: 700;
  font-size: 1.3rem;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
  text-align: center;
  min-height: 38px;
}
.g9c3-btn:hover { transform: translateY(-1px); box-shadow: var(--g9c3-shadow); }
.g9c3-btn-register {
  background: linear-gradient(135deg, var(--g9c3-primary), #00b300);
  color: var(--g9c3-bg-deep);
}
.g9c3-btn-login {
  background: linear-gradient(135deg, var(--g9c3-accent), #a0522d);
  color: var(--g9c3-gold);
}

/* ===== Nav Menu ===== */
.g9c3-nav {
  position: fixed;
  top: 56px; left: 0; right: 0;
  max-width: 430px; margin: 0 auto;
  background: var(--g9c3-bg-dark);
  border-bottom: 2px solid var(--g9c3-accent);
  max-height: 0; overflow: hidden;
  transition: max-height 0.3s ease;
  z-index: 999;
}
.g9c3-nav-open { max-height: 480px; }
.g9c3-nav ul { list-style: none; padding: 0.5rem 0; }
.g9c3-nav li { border-bottom: 1px solid rgba(205,133,63,0.15); }
.g9c3-nav a {
  display: block; padding: 1.1rem 1.5rem;
  color: var(--g9c3-gold); font-size: 1.4rem; font-weight: 600;
}
.g9c3-nav a:hover { background: rgba(0,255,0,0.08); color: var(--g9c3-primary); }
.g9c3-nav a i { width: 24px; color: var(--g9c3-accent); margin-right: 0.5rem; }

/* ===== Layout ===== */
.g9c3-main { padding-top: 60px; padding-bottom: 80px; }
.g9c3-container { padding: 1.2rem; }
.g9c3-section { margin-bottom: 2rem; }
.g9c3-section-title {
  font-size: 1.9rem; font-weight: 700; color: var(--g9c3-gold);
  border-left: 4px solid var(--g9c3-primary);
  padding-left: 0.8rem; margin-bottom: 1rem;
}

/* ===== Hero / Carousel ===== */
.g9c3-carousel {
  position: relative; width: 100%; height: 180px;
  border-radius: 12px; overflow: hidden;
  box-shadow: var(--g9c3-shadow); margin-bottom: 1.2rem;
}
.g9c3-slide {
  position: absolute; inset: 0; opacity: 0;
  transition: opacity 0.6s ease; cursor: pointer;
}
.g9c3-slide.g9c3-active { opacity: 1; }
.g9c3-slide img { width: 100%; height: 100%; object-fit: cover; }
.g9c3-slide .g9c3-slide-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  color: var(--g9c3-gold); padding: 1.5rem 1rem 0.8rem;
  font-weight: 700; font-size: 1.4rem;
}
.g9c3-dots {
  position: absolute; bottom: 8px; left: 50%;
  transform: translateX(-50%); display: flex; gap: 6px; z-index: 2;
}
.g9c3-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.4); cursor: pointer;
}
.g9c3-dot.g9c3-active { background: var(--g9c3-primary); }

/* ===== Game Grid ===== */
.g9c3-cat-title {
  font-size: 1.7rem; font-weight: 700; color: var(--g9c3-accent);
  margin: 1.5rem 0 0.8rem; display: flex; align-items: center; gap: 0.6rem;
}
.g9c3-cat-title i { color: var(--g9c3-primary); }
.g9c3-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.7rem;
}
.g9c3-game {
  text-align: center; cursor: pointer;
  background: var(--g9c3-bg-dark); border-radius: 10px;
  padding: 0.5rem; transition: transform 0.15s;
  border: 1px solid rgba(205,133,63,0.2);
}
.g9c3-game:hover { transform: translateY(-2px); border-color: var(--g9c3-primary); }
.g9c3-game img {
  width: 100%; aspect-ratio: 1; object-fit: cover;
  border-radius: 8px; margin-bottom: 0.4rem;
}
.g9c3-game-name {
  font-size: 1.1rem; color: var(--g9c3-gold); font-weight: 600;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  line-height: 1.3;
}

/* ===== Cards / Content blocks ===== */
.g9c3-card {
  background: var(--g9c3-bg); border-radius: 12px;
  padding: 1.2rem; margin-bottom: 1rem;
  border: 1px solid rgba(205,133,63,0.25);
  box-shadow: var(--g9c3-shadow);
}
.g9c3-card h3 { color: var(--g9c3-gold); font-size: 1.6rem; margin-bottom: 0.6rem; }
.g9c3-card p { color: var(--g9c3-text-light); font-size: 1.35rem; margin-bottom: 0.6rem; line-height: 1.6; }
.g9c3-card a { color: var(--g9c3-primary); font-weight: 700; }

.g9c3-promo-link {
  color: var(--g9c3-primary); font-weight: 700; cursor: pointer;
  text-decoration: underline;
}
.g9c3-promo-btn {
  display: inline-block; padding: 1rem 2rem;
  background: linear-gradient(135deg, var(--g9c3-primary), #00b300);
  color: var(--g9c3-bg-deep); font-weight: 700; font-size: 1.5rem;
  border-radius: 30px; border: none; cursor: pointer;
  margin: 0.8rem 0; box-shadow: 0 4px 12px rgba(0,255,0,0.3);
}
.g9c3-promo-btn:hover { transform: scale(1.03); }

/* RTP table */
.g9c3-rpt-table { width: 100%; border-collapse: collapse; font-size: 1.25rem; }
.g9c3-rpt-table th, .g9c3-rpt-table td {
  padding: 0.6rem; border-bottom: 1px solid rgba(205,133,63,0.2);
  text-align: left;
}
.g9c3-rpt-table th { color: var(--g9c3-accent); }
.g9c3-rpt-table td .g9c3-rtl-val { color: var(--g9c3-primary); font-weight: 700; }

/* Testimonials */
.g9c3-testimonial {
  background: var(--g9c3-bg); border-left: 3px solid var(--g9c3-primary);
  padding: 0.8rem 1rem; border-radius: 6px; margin-bottom: 0.7rem;
}
.g9c3-testimonial .g9c3-user { color: var(--g9c3-gold); font-weight: 700; font-size: 1.2rem; }
.g9c3-testimonial p { font-size: 1.25rem; color: var(--g9c3-text-muted); margin-top: 0.3rem; }

/* Winners */
.g9c3-winner {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.6rem 0.8rem; background: var(--g9c3-bg-dark);
  border-radius: 6px; margin-bottom: 0.4rem; font-size: 1.2rem;
}
.g9c3-winner .g9c3-amount { color: var(--g9c3-primary); font-weight: 700; }

/* Payment icons */
.g9c3-pay { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.g9c3-pay-item {
  background: var(--g9c3-bg-dark); padding: 0.6rem 1rem; border-radius: 8px;
  border: 1px solid rgba(205,133,63,0.3); font-size: 1.2rem; color: var(--g9c3-gold);
  display: flex; align-items: center; gap: 0.4rem;
}

/* Feature list */
.g9c3-feature {
  display: flex; gap: 0.8rem; margin-bottom: 0.8rem; align-items: flex-start;
}
.g9c3-feature i { color: var(--g9c3-primary); font-size: 1.8rem; margin-top: 0.2rem; }
.g9c3-feature .g9c3-feat-title { color: var(--g9c3-gold); font-weight: 700; font-size: 1.3rem; }
.g9c3-feature p { font-size: 1.25rem; color: var(--g9c3-text-muted); }

/* FAQ */
.g9c3-faq { margin-bottom: 0.8rem; }
.g9c3-faq h4 { color: var(--g9c3-accent); font-size: 1.35rem; margin-bottom: 0.3rem; }
.g9c3-faq p { font-size: 1.25rem; color: var(--g9c3-text-light); }

/* ===== Footer ===== */
.g9c3-footer {
  background: var(--g9c3-bg-dark);
  border-top: 3px solid var(--g9c3-accent);
  padding: 1.5rem 1.2rem 2rem;
  margin-top: 2rem;
}
.g9c3-footer-brand { color: var(--g9c3-gold); font-weight: 700; font-size: 1.5rem; margin-bottom: 0.5rem; }
.g9c3-footer-desc { font-size: 1.25rem; color: var(--g9c3-text-muted); margin-bottom: 1rem; line-height: 1.6; }
.g9c3-footer-promo { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; }
.g9c3-footer-promo .g9c3-btn { font-size: 1.2rem; padding: 0.6rem 1rem; }
.g9c3-footer-links {
  display: flex; flex-wrap: wrap; gap: 0.4rem 1rem;
  margin-bottom: 1rem; font-size: 1.2rem;
}
.g9c3-footer-links a { color: var(--g9c3-silver); }
.g9c3-footer-links a:hover { color: var(--g9c3-primary); }
.g9c3-copyright {
  border-top: 1px solid rgba(205,133,63,0.2); padding-top: 0.8rem;
  font-size: 1.1rem; color: var(--g9c3-text-muted); text-align: center;
}

/* ===== Bottom Nav ===== */
.g9c3-bottomnav {
  position: fixed; bottom: 0; left: 0; right: 0;
  max-width: 430px; margin: 0 auto;
  height: 60px; background: var(--g9c3-bg-dark);
  border-top: 2px solid var(--g9c3-accent);
  display: flex; justify-content: space-around; align-items: center;
  z-index: 1000; box-shadow: 0 -2px 10px rgba(0,0,0,0.4);
}
.g9c3-bottomnav-btn {
  flex: 1; min-width: 60px; min-height: 60px;
  background: none; border: none; color: var(--g9c3-silver);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  cursor: pointer; font-size: 1rem; gap: 2px;
  transition: color 0.15s, transform 0.15s;
}
.g9c3-bottomnav-btn i, .g9c3-bottomnav-btn .material-icons-outlined,
.g9c3-bottomnav-btn .ion-icon { font-size: 22px; }
.g9c3-bottomnav-btn span { font-size: 1rem; }
.g9c3-bottomnav-btn:hover { color: var(--g9c3-primary); transform: translateY(-2px); }
.g9c3-bottomnav-active { color: var(--g9c3-primary) !important; }
.g9c3-bottomnav-active i, .g9c3-bottomnav-active .material-icons-outlined { color: var(--g9c3-primary); }

/* ===== Desktop: hide bottom nav ===== */
@media (min-width: 769px) {
  .g9c3-bottomnav { display: none; }
  .g9c3-main { padding-bottom: 2rem; }
}
@media (min-width: 431px) and (max-width: 768px) {
  body { max-width: 100%; }
  .g9c3-header, .g9c3-nav, .g9c3-bottomnav { max-width: 430px; }
}
