/* k7777b.css - Mobile-first styles for k7777b.click */
/* All custom classes use the g8ac- prefix. Color palette: #48D1CC | #20B2AA | #141414 | #B2DFDB */

:root {
  --g8ac-primary: #48D1CC;
  --g8ac-secondary: #20B2AA;
  --g8ac-bg: #141414;
  --g8ac-surface: #1c2222;
  --g8ac-surface-2: #232a2a;
  --g8ac-text: #B2DFDB;
  --g8ac-text-light: #E6F7F5;
  --g8ac-text-muted: #7fa8a4;
  --g8ac-gold: #FFD479;
  --g8ac-danger: #FF6B6B;
  --g8ac-radius: 10px;
  --g8ac-radius-sm: 6px;
  --g8ac-shadow: 0 4px 14px rgba(0,0,0,0.45);
  --g8ac-header-h: 56px;
  --g8ac-bottomnav-h: 62px;
  --g8ac-maxw: 430px;
}

* { 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", Roboto, sans-serif;
  background: var(--g8ac-bg);
  color: var(--g8ac-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  -webkit-font-smoothing: antialiased;
}

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

.g8ac-wrapper {
  max-width: var(--g8ac-maxw);
  margin: 0 auto;
  min-height: 100vh;
  background: linear-gradient(180deg, #111515 0%, var(--g8ac-bg) 40%, #0f1313 100%);
  position: relative;
}

/* ===== Header ===== */
.g8ac-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  max-width: var(--g8ac-maxw);
  margin: 0 auto;
  height: var(--g8ac-header-h);
  background: rgba(18,24,24,0.96);
  border-bottom: 1px solid rgba(72,209,204,0.18);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.2rem;
  z-index: 1000;
  backdrop-filter: blur(6px);
}
.g8ac-brand {
  display: flex; align-items: center; gap: 0.8rem;
  color: var(--g8ac-text-light);
  font-weight: 700;
  font-size: 1.7rem;
}
.g8ac-brand img { width: 30px; height: 30px; border-radius: 6px; }
.g8ac-brand .g8ac-brand-name {
  background: linear-gradient(90deg, var(--g8ac-primary), var(--g8ac-gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.g8ac-header-actions { display: flex; align-items: center; gap: 0.6rem; }
.g8ac-btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.4rem;
  border: none; cursor: pointer;
  font-family: inherit; font-weight: 600;
  border-radius: var(--g8ac-radius-sm);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  -webkit-tap-highlight-color: transparent;
}
.g8ac-btn:active { transform: scale(0.95); }
.g8ac-btn-login {
  background: transparent;
  color: var(--g8ac-primary);
  border: 1px solid var(--g8ac-primary);
  padding: 0.5rem 1rem; font-size: 1.3rem;
}
.g8ac-btn-register {
  background: linear-gradient(90deg, var(--g8ac-secondary), var(--g8ac-primary));
  color: #0a1414;
  padding: 0.55rem 1.2rem; font-size: 1.3rem;
  box-shadow: 0 3px 10px rgba(72,209,204,0.35);
}
.g8ac-menu-btn {
  background: transparent; color: var(--g8ac-primary);
  border: 1px solid rgba(72,209,204,0.35);
  width: 38px; height: 38px; border-radius: 8px;
  font-size: 1.6rem; display: inline-flex; align-items: center; justify-content: center;
}

/* ===== Mobile expandable menu ===== */
.g8ac-mobile-menu {
  position: fixed;
  top: var(--g8ac-header-h); left: 0; right: 0;
  max-width: var(--g8ac-maxw); margin: 0 auto;
  background: var(--g8ac-surface);
  border-bottom: 1px solid rgba(72,209,204,0.18);
  max-height: 0; overflow: hidden;
  transition: max-height .28s ease;
  z-index: 9999;
}
.g8ac-mobile-menu.g8ac-menu-open { max-height: 420px; box-shadow: var(--g8ac-shadow); }
.g8ac-mobile-menu ul { padding: 0.6rem 0; }
.g8ac-mobile-menu li a {
  display: block; padding: 1.1rem 1.6rem;
  color: var(--g8ac-text);
  border-bottom: 1px solid rgba(72,209,204,0.08);
  font-size: 1.4rem;
}
.g8ac-mobile-menu li a:active { background: rgba(72,209,204,0.08); }

/* ===== Main / sections ===== */
.g8ac-main {
  padding-top: calc(var(--g8ac-header-h) + 6px);
  padding-bottom: calc(var(--g8ac-bottomnav-h) + 20px);
}
.g8ac-section { padding: 1.6rem 1.2rem; }
.g8ac-section-title {
  font-size: 1.8rem; font-weight: 700; color: var(--g8ac-text-light);
  margin-bottom: 1rem; padding-left: 0.8rem;
  border-left: 4px solid var(--g8ac-primary);
}
.g8ac-section-title .g8ac-h2-sub { color: var(--g8ac-gold); }

/* ===== Carousel ===== */
.g8ac-carousel {
  position: relative; overflow: hidden;
  border-radius: var(--g8ac-radius);
  margin-bottom: 1.2rem;
}
.g8ac-slides { position: relative; height: 180px; }
.g8ac-slide {
  position: absolute; inset: 0;
  opacity: 0; transition: opacity .6s ease;
  cursor: pointer;
}
.g8ac-slide.g8ac-slide-active { opacity: 1; }
.g8ac-slide img { width: 100%; height: 100%; object-fit: cover; }
.g8ac-slide-cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 0.8rem 1rem; font-size: 1.3rem; font-weight: 600;
  color: var(--g8ac-text-light);
  background: linear-gradient(transparent, rgba(0,0,0,0.75));
}
.g8ac-dots {
  position: absolute; bottom: 8px; right: 10px;
  display: flex; gap: 6px; z-index: 5;
}
.g8ac-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.4); cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.g8ac-dot.g8ac-dot-active { background: var(--g8ac-primary); transform: scale(1.25); }

/* ===== Hero / CTA ===== */
.g8ac-hero {
  text-align: center; padding: 1.4rem 1.2rem;
}
.g8ac-hero h1 {
  font-size: 2.1rem; line-height: 2.6rem; color: var(--g8ac-text-light);
  margin-bottom: 0.8rem;
}
.g8ac-hero h1 .g8ac-hl { color: var(--g8ac-primary); }
.g8ac-hero p { color: var(--g8ac-text-muted); font-size: 1.35rem; margin-bottom: 1.2rem; }
.g8ac-cta-row { display: flex; gap: 0.8rem; justify-content: center; flex-wrap: wrap; }
.g8ac-cta-big {
  background: linear-gradient(90deg, var(--g8ac-secondary), var(--g8ac-primary));
  color: #0a1414; font-weight: 700; font-size: 1.5rem;
  padding: 0.9rem 2rem; border-radius: 999px;
  box-shadow: 0 4px 16px rgba(72,209,204,0.4);
}
.g8ac-cta-ghost {
  background: transparent; color: var(--g8ac-primary);
  border: 1px solid var(--g8ac-primary);
  padding: 0.9rem 1.8rem; border-radius: 999px; font-size: 1.4rem;
}

/* ===== Category tabs / labels ===== */
.g8ac-cat-label {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 1.5rem; font-weight: 700; color: var(--g8ac-gold);
  margin: 1.4rem 0 0.8rem 0.2rem;
}
.g8ac-cat-label i { font-size: 1.8rem; color: var(--g8ac-primary); }

/* ===== Game grid ===== */
.g8ac-game-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}
.g8ac-game-card {
  background: var(--g8ac-surface);
  border: 1px solid rgba(72,209,204,0.12);
  border-radius: var(--g8ac-radius-sm);
  overflow: hidden; cursor: pointer;
  transition: transform .15s ease, border-color .15s ease;
  text-align: center;
}
.g8ac-game-card:active { transform: scale(0.96); border-color: var(--g8ac-primary); }
.g8ac-game-thumb {
  width: 100%; aspect-ratio: 1 / 1;
  background: #0f1414; overflow: hidden;
}
.g8ac-game-thumb img { width: 100%; height: 100%; object-fit: cover; }
.g8ac-game-name {
  font-size: 1.15rem; color: var(--g8ac-text);
  padding: 0.4rem 0.2rem 0.5rem;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* ===== Info cards / features ===== */
.g8ac-card {
  background: var(--g8ac-surface);
  border: 1px solid rgba(72,209,204,0.12);
  border-radius: var(--g8ac-radius);
  padding: 1.2rem;
  margin-bottom: 1rem;
}
.g8ac-card h2, .g8ac-card h3 { color: var(--g8ac-text-light); margin-bottom: 0.6rem; }
.g8ac-card h2 { font-size: 1.7rem; }
.g8ac-card h3 { font-size: 1.45rem; }
.g8ac-card p { color: var(--g8ac-text-muted); font-size: 1.3rem; margin-bottom: 0.6rem; }
.g8ac-card a.g8ac-inline-link { color: var(--g8ac-primary); font-weight: 600; }

.g8ac-feature-list { display: grid; gap: 0.7rem; }
.g8ac-feature-item {
  display: flex; gap: 0.8rem; align-items: flex-start;
  background: var(--g8ac-surface-2);
  padding: 0.9rem; border-radius: var(--g8ac-radius-sm);
}
.g8ac-feature-item .g8ac-fi-icon {
  width: 36px; height: 36px; flex: 0 0 36px;
  border-radius: 8px; background: rgba(72,209,204,0.15);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--g8ac-primary); font-size: 1.8rem;
}
.g8ac-feature-item h4 { color: var(--g8ac-text-light); font-size: 1.35rem; margin-bottom: 0.2rem; }
.g8ac-feature-item p { color: var(--g8ac-text-muted); font-size: 1.2rem; margin: 0; }

/* ===== RTP / stats compact ===== */
.g8ac-stats-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 0.7rem; }
.g8ac-stat-box {
  background: var(--g8ac-surface-2); border-radius: var(--g8ac-radius-sm);
  padding: 0.9rem; text-align: center;
  border: 1px solid rgba(72,209,204,0.1);
}
.g8ac-stat-num {
  font-size: 1.9rem; font-weight: 700;
  color: var(--g8ac-gold); line-height: 2rem;
}
.g8ac-stat-label { font-size: 1.15rem; color: var(--g8ac-text-muted); }

/* ===== Testimonials ===== */
.g8ac-testi {
  background: var(--g8ac-surface-2); border-radius: var(--g8ac-radius-sm);
  padding: 1rem; margin-bottom: 0.8rem;
}
.g8ac-testi-head { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 0.5rem; }
.g8ac-testi-avatar {
  width: 34px; height: 34px; border-radius: 50%;
  background: linear-gradient(135deg, var(--g8ac-primary), var(--g8ac-gold));
  color: #0a1414; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
}
.g8ac-testi-name { color: var(--g8ac-text-light); font-weight: 600; font-size: 1.3rem; }
.g8ac-testi-stars { color: var(--g8ac-gold); font-size: 1.1rem; margin-left: auto; }
.g8ac-testi-text { color: var(--g8ac-text-muted); font-size: 1.25rem; }

/* ===== Payment / winners ===== */
.g8ac-chip-row { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.g8ac-chip {
  background: var(--g8ac-surface-2); border: 1px solid rgba(72,209,204,0.15);
  padding: 0.5rem 0.9rem; border-radius: 999px;
  color: var(--g8ac-text); font-size: 1.2rem;
  display: inline-flex; align-items: center; gap: 0.4rem;
}
.g8ac-winner {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--g8ac-surface-2); border-radius: var(--g8ac-radius-sm);
  padding: 0.7rem 0.9rem; margin-bottom: 0.5rem;
}
.g8ac-winner-name { color: var(--g8ac-text-light); font-size: 1.25rem; }
.g8ac-winner-amount { color: var(--g8ac-gold); font-weight: 700; font-size: 1.3rem; }

/* ===== App download CTA ===== */
.g8ac-app-cta {
  background: linear-gradient(135deg, rgba(32,178,170,0.22), rgba(72,209,204,0.12));
  border: 1px solid rgba(72,209,204,0.25);
  border-radius: var(--g8ac-radius);
  padding: 1.2rem; text-align: center; margin-bottom: 1rem;
}
.g8ac-app-cta h3 { color: var(--g8ac-text-light); font-size: 1.6rem; margin-bottom: 0.4rem; }
.g8ac-app-cta p { color: var(--g8ac-text-muted); font-size: 1.25rem; margin-bottom: 0.9rem; }

/* ===== Footer ===== */
.g8ac-footer {
  background: #0c1010; border-top: 1px solid rgba(72,209,204,0.15);
  padding: 1.6rem 1.2rem 2rem;
}
.g8ac-footer-brand { color: var(--g8ac-text-muted); font-size: 1.25rem; margin-bottom: 1rem; line-height: 1.8rem; }
.g8ac-footer-links { display: flex; flex-wrap: wrap; gap: 0.6rem 1rem; margin-bottom: 1rem; }
.g8ac-footer-links a { color: var(--g8ac-text); font-size: 1.2rem; }
.g8ac-footer-promo { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1rem; }
.g8ac-footer-promo .g8ac-btn {
  background: rgba(72,209,204,0.12); color: var(--g8ac-primary);
  border: 1px solid rgba(72,209,204,0.3);
  padding: 0.5rem 1rem; font-size: 1.2rem; border-radius: 999px;
}
.g8ac-footer-copy { color: var(--g8ac-text-muted); font-size: 1.1rem; border-top: 1px solid rgba(255,255,255,0.06); padding-top: 0.9rem; }

/* ===== Mobile bottom nav ===== */
.g8ac-bottomnav {
  position: fixed; bottom: 0; left: 0; right: 0;
  max-width: var(--g8ac-maxw); margin: 0 auto;
  height: var(--g8ac-bottomnav-h);
  background: rgba(16,22,22,0.98);
  border-top: 1px solid rgba(72,209,204,0.2);
  display: flex; justify-content: space-around; align-items: center;
  z-index: 1000;
  box-shadow: 0 -4px 14px rgba(0,0,0,0.5);
}
.g8ac-navbtn {
  flex: 1; min-width: 60px; min-height: 60px;
  background: transparent; border: none;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px; color: var(--g8ac-text-muted);
  font-family: inherit; font-size: 1.05rem;
  cursor: pointer;
  transition: color .15s ease, transform .15s ease;
  -webkit-tap-highlight-color: transparent;
}
.g8ac-navbtn i, .g8ac-navbtn .material-icons-outlined,
.g8ac-navbtn .ionicon { font-size: 22px; }
.g8ac-navbtn:active { transform: scale(0.9); }
.g8ac-navbtn.g8ac-navbtn-active { color: var(--g8ac-primary); }
.g8ac-navbtn-promo { color: var(--g8ac-gold); }
.g8ac-navbtn-promo i { font-size: 24px; }
.g8ac-navbtn-badge {
  position: absolute; top: 6px; right: 18px;
  background: var(--g8ac-danger); color: #fff;
  font-size: 0.9rem; font-weight: 700;
  min-width: 16px; height: 16px; padding: 0 4px;
  border-radius: 999px; display: inline-flex; align-items: center; justify-content: center;
}
.g8ac-navbtn { position: relative; }

/* ===== Desktop ===== */
@media (min-width: 769px) {
  .g8ac-bottomnav { display: none; }
  .g8ac-wrapper { box-shadow: 0 0 30px rgba(0,0,0,0.4); }
  .g8ac-main { padding-bottom: 30px; }
}
@media (max-width: 768px) {
  .g8ac-main { padding-bottom: calc(var(--g8ac-bottomnav-h) + 18px); }
}
