/* 999bt design - English comments only
   Core basefile stylesheet. Mobile-first, max-width 430px. */

:root {
  --g6cc-primary: #FF4500;
  --g6cc-bg: #0F0F23;
  --g6cc-accent: #A0522D;
  --g6cc-text: #F8F8FF;
  --g6cc-bg-soft: #181833;
  --g6cc-bg-card: #1f1f3d;
  --g6cc-border: #2a2a52;
  --g6cc-gold: #FFD27A;
  --g6cc-green: #2ECC71;
  --g6cc-red: #FF5C5C;
}

* { 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", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--g6cc-bg);
  color: var(--g6cc-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  overflow-x: hidden;
  max-width: 430px;
  margin: 0 auto;
}

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

.g6cc-container { width: 100%; padding: 0 1.2rem; }
.g6cc-wrapper { max-width: 430px; margin: 0 auto; position: relative; }

/* ===== Header ===== */
.g6cc-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: linear-gradient(180deg, #14143a, #0F0F23);
  border-bottom: 1px solid var(--g6cc-border);
  max-width: 430px;
  margin: 0 auto;
}
.g6cc-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 1rem;
  min-height: 5.2rem;
}
.g6cc-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex: 1;
  min-width: 0;
}
.g6cc-logo img { width: 3rem; height: 3rem; border-radius: 0.6rem; }
.g6cc-logo span {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--g6cc-primary);
  letter-spacing: 0.5px;
}
.g6cc-logo small { color: var(--g6cc-text); font-size: 1rem; font-weight: 400; opacity: 0.7; }

.g6cc-header-actions { display: flex; align-items: center; gap: 0.5rem; }
.g6cc-btn {
  border: none;
  border-radius: 0.7rem;
  padding: 0.7rem 1.2rem;
  font-size: 1.3rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  min-height: 3.6rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.g6cc-btn:active { transform: scale(0.95); }
.g6cc-btn-login {
  background: transparent;
  color: var(--g6cc-text);
  border: 1px solid var(--g6cc-border);
}
.g6cc-btn-register {
  background: linear-gradient(135deg, var(--g6cc-primary), #ff7a3d);
  color: #fff;
  box-shadow: 0 2px 8px rgba(255,69,0,0.35);
}
.g6cc-menu-toggle {
  background: transparent;
  border: none;
  color: var(--g6cc-text);
  font-size: 2rem;
  cursor: pointer;
  padding: 0.4rem 0.6rem;
  min-width: 4rem;
  min-height: 4rem;
}

/* ===== Slide-out mobile menu ===== */
.g6cc-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.g6cc-menu-overlay.g6cc-show { opacity: 1; pointer-events: auto; }
.g6cc-mobile-menu {
  position: fixed;
  top: 0; right: -80%;
  width: 80%;
  max-width: 320px;
  height: 100%;
  background: var(--g6cc-bg-soft);
  z-index: 9999;
  transition: right 0.3s ease;
  padding: 1.6rem 1.2rem;
  overflow-y: auto;
}
.g6cc-mobile-menu.g6cc-open { right: 0; }
.g6cc-mobile-menu h3 { color: var(--g6cc-primary); font-size: 1.6rem; margin-bottom: 1rem; }
.g6cc-mobile-menu a {
  display: block;
  padding: 1rem 0.8rem;
  color: var(--g6cc-text);
  border-bottom: 1px solid var(--g6cc-border);
  font-size: 1.4rem;
}
.g6cc-mobile-menu a:active { background: var(--g6cc-bg-card); }
.g6cc-menu-close { position: absolute; top: 1rem; right: 1rem; background: transparent; border: none; color: var(--g6cc-text); font-size: 2rem; cursor: pointer; }

/* ===== Main ===== */
.g6cc-main { padding-top: 6rem; }
@media (max-width: 768px) {
  .g6cc-main { padding-bottom: 8rem; }
}

/* ===== Carousel ===== */
.g6cc-carousel {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  margin: 1rem 0;
}
.g6cc-carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}
.g6cc-carousel-slide {
  min-width: 100%;
  position: relative;
  cursor: pointer;
}
.g6cc-carousel-slide img { width: 100%; height: 18rem; object-fit: cover; }
.g6cc-carousel-caption {
  position: absolute;
  left: 1rem; bottom: 1rem;
  background: rgba(15,15,35,0.7);
  padding: 0.5rem 0.9rem;
  border-radius: 0.5rem;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--g6cc-gold);
}
.g6cc-dots {
  position: absolute;
  bottom: 0.6rem; right: 1rem;
  display: flex; gap: 0.4rem;
}
.g6cc-dot {
  width: 0.7rem; height: 0.7rem;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: none; cursor: pointer;
}
.g6cc-dot.g6cc-active { background: var(--g6cc-primary); }

/* ===== Section titles ===== */
.g6cc-section { margin: 2rem 0; }
.g6cc-section-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--g6cc-primary);
  border-left: 4px solid var(--g6cc-gold);
  padding-left: 0.8rem;
  margin-bottom: 1rem;
}
.g6cc-section-sub {
  font-size: 1.4rem; color: var(--g6cc-text); opacity: 0.85; margin-bottom: 0.8rem;
}

.g6cc-h1 {
  font-size: 2rem; font-weight: 800; color: var(--g6cc-gold);
  text-align: center; margin: 1.4rem 0; line-height: 2.6rem;
}

/* ===== Filter buttons ===== */
.g6cc-filter-bar {
  display: flex; gap: 0.5rem; overflow-x: auto; padding-bottom: 0.4rem;
  margin-bottom: 1rem;
}
.g6cc-filter-btn {
  background: var(--g6cc-bg-card);
  border: 1px solid var(--g6cc-border);
  color: var(--g6cc-text);
  padding: 0.6rem 1.1rem;
  border-radius: 2rem;
  font-size: 1.2rem;
  white-space: nowrap;
  cursor: pointer;
}
.g6cc-filter-btn.g6cc-filter-active {
  background: var(--g6cc-primary);
  border-color: var(--g6cc-primary);
  color: #fff;
  font-weight: 700;
}

/* ===== Game grid ===== */
.g6cc-game-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
}
.g6cc-game-card {
  background: var(--g6cc-bg-card);
  border: 1px solid var(--g6cc-border);
  border-radius: 0.8rem;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease;
  text-align: center;
}
.g6cc-game-card:active { transform: scale(0.96); border-color: var(--g6cc-primary); }
.g6cc-game-card img {
  width: 100%; height: 7.5rem; object-fit: cover; background: #000;
}
.g6cc-game-name {
  font-size: 1.05rem;
  color: var(--g6cc-text);
  padding: 0.4rem 0.2rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.g6cc-game-badge {
  font-size: 0.9rem; color: var(--g6cc-gold); padding: 0.2rem; font-weight: 600;
}

/* ===== Promo CTA ===== */
.g6cc-cta {
  background: linear-gradient(135deg, #A0522D, #FF4500);
  border-radius: 1rem;
  padding: 1.2rem;
  text-align: center;
  margin: 1.2rem 0;
}
.g6cc-cta h3 { color: #fff; font-size: 1.6rem; margin-bottom: 0.4rem; }
.g6cc-cta p { color: #fff; opacity: 0.9; font-size: 1.2rem; margin-bottom: 0.8rem; }
.g6cc-cta .g6cc-btn { background: #fff; color: var(--g6cc-primary); }

.g6cc-link-text {
  color: var(--g6cc-primary);
  font-weight: 700;
  text-decoration: underline;
}

/* ===== Info blocks ===== */
.g6cc-info-card {
  background: var(--g6cc-bg-card);
  border: 1px solid var(--g6cc-border);
  border-radius: 0.8rem;
  padding: 1.1rem;
  margin-bottom: 1rem;
}
.g6cc-info-card h3 { color: var(--g6cc-gold); font-size: 1.5rem; margin-bottom: 0.6rem; }
.g6cc-info-card p { font-size: 1.25rem; line-height: 1.9rem; color: var(--g6cc-text); opacity: 0.92; }
.g6cc-info-card ul { list-style: none; padding-left: 0; }
.g6cc-info-card li { padding: 0.4rem 0; font-size: 1.2rem; border-bottom: 1px dashed var(--g6cc-border); }
.g6cc-info-card li:last-child { border-bottom: none; }

.g6cc-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.7rem;
}
.g6cc-feature-item {
  background: var(--g6cc-bg-card);
  border-radius: 0.7rem;
  padding: 1rem;
  text-align: center;
}
.g6cc-feature-item .g6cc-feature-ico { font-size: 2rem; color: var(--g6cc-primary); margin-bottom: 0.4rem; }
.g6cc-feature-item h4 { color: var(--g6cc-gold); font-size: 1.3rem; margin-bottom: 0.3rem; }
.g6cc-feature-item p { font-size: 1.1rem; opacity: 0.85; }

/* ===== Winners ===== */
.g6cc-winner {
  display: flex; justify-content: space-between; align-items: center;
  background: var(--g6cc-bg-card); border-radius: 0.6rem; padding: 0.7rem 1rem; margin-bottom: 0.5rem;
}
.g6cc-winner span { font-size: 1.15rem; }
.g6cc-winner .g6cc-win-amt { color: var(--g6cc-green); font-weight: 800; }

/* ===== Payment ===== */
.g6cc-pay-row { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.g6cc-pay-chip {
  background: var(--g6cc-bg-card); border: 1px solid var(--g6cc-border);
  border-radius: 0.5rem; padding: 0.5rem 0.9rem; font-size: 1.1rem;
}

/* ===== Testimonials ===== */
.g6cc-testi {
  background: var(--g6cc-bg-card); border-left: 3px solid var(--g6cc-primary);
  border-radius: 0.6rem; padding: 0.9rem 1rem; margin-bottom: 0.7rem;
}
.g6cc-testi p { font-size: 1.2rem; font-style: italic; margin-bottom: 0.4rem; }
.g6cc-testi .g6cc-testi-author { font-size: 1.05rem; color: var(--g6cc-gold); }

/* ===== Footer ===== */
.g6cc-footer {
  background: #0a0a1c;
  border-top: 1px solid var(--g6cc-border);
  padding: 1.6rem 1.2rem 7rem;
  margin-top: 1.5rem;
}
.g6cc-footer-about { font-size: 1.2rem; opacity: 0.8; line-height: 1.8rem; margin-bottom: 1rem; }
.g6cc-footer-links {
  display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; margin-bottom: 1rem;
}
.g6cc-footer-links a { color: var(--g6cc-text); font-size: 1.15rem; opacity: 0.85; }
.g6cc-footer-links a:hover { color: var(--g6cc-primary); }
.g6cc-footer-promo { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; }
.g6cc-footer-promo .g6cc-btn { font-size: 1.15rem; padding: 0.5rem 0.9rem; min-height: 3rem; }
.g6cc-footer-copy { font-size: 1.05rem; opacity: 0.6; text-align: center; border-top: 1px solid var(--g6cc-border); padding-top: 1rem; }

/* ===== Bottom nav ===== */
.g6cc-bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 1000;
  height: 6rem;
  background: linear-gradient(180deg, #14143a, #0a0a1c);
  border-top: 1px solid var(--g6cc-border);
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  max-width: 430px;
  margin: 0 auto;
}
.g6cc-nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: var(--g6cc-text);
  font-size: 1rem;
  min-width: 60px;
  min-height: 60px;
  cursor: pointer;
  text-decoration: none;
  gap: 0.1rem;
  position: relative;
  opacity: 0.8;
  transition: color 0.15s ease, transform 0.15s ease;
}
.g6cc-nav-item .material-icons-outlined,
.g6cc-nav-item .material-icons { font-size: 2.4rem; }
.g6cc-nav-item i { font-size: 2.2rem; }
.g6cc-nav-item:active { transform: scale(0.92); }
.g6cc-nav-item.g6cc-current { color: var(--g6cc-primary); opacity: 1; }
.g6cc-nav-item.g6cc-current::before {
  content: ""; position: absolute; top: 0; left: 25%; right: 25%; height: 3px;
  background: var(--g6cc-primary); border-radius: 0 0 4px 4px;
}
.g6cc-nav-badge {
  position: absolute; top: 0.4rem; right: 1.2rem;
  background: var(--g6cc-red); color: #fff; font-size: 0.85rem;
  border-radius: 1rem; padding: 0 0.35rem; min-width: 1.4rem; text-align: center;
}

/* ===== Back to top ===== */
.g6cc-top-btn {
  position: fixed;
  bottom: 7rem; right: 1.2rem;
  z-index: 999;
  width: 4rem; height: 4rem;
  border-radius: 50%;
  background: var(--g6cc-primary);
  color: #fff;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  display: none;
  box-shadow: 0 2px 10px rgba(255,69,0,0.4);
}
.g6cc-top-btn.g6cc-show { display: block; }

/* ===== Desktop: hide bottom nav ===== */
@media (min-width: 769px) {
  .g6cc-bottom-nav { display: none; }
  .g6cc-footer { padding-bottom: 2rem; }
  .g6cc-main { padding-bottom: 2rem; }
  body { max-width: 430px; }
}

@media (max-width: 360px) {
  .g6cc-game-grid { grid-template-columns: repeat(2, 1fr); }
  .g6cc-logo small { display: none; }
}
