/* karikya.click - style-4cac.css
 * Class prefix: gac8-
 * Palette: #004D40 (deep teal) | #40E0D0 (turquoise) | #0C0C0C (near black) | #E0FFFF (light cyan)
 * Dark colors are backgrounds, light colors are text. Mobile-first, max-width: 430px.
 */

:root {
  --gac8-primary: #004D40;
  --gac8-accent: #40E0D0;
  --gac8-bg: #0C0C0C;
  --gac8-text: #E0FFFF;
  --gac8-muted: #9fd8d2;
  --gac8-card: #14302c;
  --gac8-card-2: #0e2421;
  --gac8-border: rgba(64, 224, 208, 0.22);
  --gac8-gold: #ffd76b;
}

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

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

body {
  font-family: "Hind Siliguri", "Noto Sans Bengali", "Segoe UI", system-ui, sans-serif;
  background: var(--gac8-bg);
  color: var(--gac8-text);
  line-height: 1.55;
  font-size: 1.5rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.gac8-wrapper {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  position: relative;
  background: var(--gac8-bg);
}

/* ===== Header ===== */
.gac8-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(180deg, #00362c 0%, #004D40 100%);
  border-bottom: 1px solid var(--gac8-border);
  box-shadow: 0 2px 10px rgba(0,0,0,0.45);
}
.gac8-header-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
}
.gac8-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
}
.gac8-logo img {
  width: 30px;
  height: 30px;
  border-radius: 6px;
}
.gac8-logo strong {
  font-size: 1.7rem;
  color: var(--gac8-text);
  font-weight: 800;
  letter-spacing: 0.4px;
}
.gac8-logo span {
  color: var(--gac8-accent);
  font-size: 1.1rem;
  display: block;
  line-height: 1.2;
}
.gac8-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 0;
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 1.35rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  min-height: 38px;
}
.gac8-btn:active { transform: scale(0.96); }
.gac8-btn-login {
  background: transparent;
  color: var(--gac8-text);
  border: 1px solid var(--gac8-accent);
}
.gac8-btn-register {
  background: linear-gradient(90deg, #40E0D0 0%, #2bb6a9 100%);
  color: #06201c;
  box-shadow: 0 4px 12px rgba(64, 224, 208, 0.35);
}
.gac8-menu-toggle {
  background: transparent;
  border: 1px solid var(--gac8-border);
  color: var(--gac8-text);
  border-radius: 8px;
  width: 38px;
  height: 38px;
  font-size: 1.6rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ===== Mobile Expandable Menu ===== */
.gac8-mobile-menu {
  display: none;
  background: #082924;
  border-bottom: 1px solid var(--gac8-border);
  padding: 8px 12px 14px;
}
.gac8-mobile-menu.gac8-menu-open { display: block; }
.gac8-mobile-menu a {
  display: block;
  padding: 10px 12px;
  color: var(--gac8-text);
  border-bottom: 1px solid rgba(64,224,208,0.12);
  font-size: 1.45rem;
}
.gac8-mobile-menu a:last-child { border-bottom: 0; }
.gac8-mobile-menu a i { color: var(--gac8-accent); margin-right: 8px; }

/* ===== Hero Carousel ===== */
.gac8-hero {
  position: relative;
  margin: 12px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--gac8-border);
  background: #06201c;
}
.gac8-slides { position: relative; aspect-ratio: 16/9; }
.gac8-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.gac8-slide img { width: 100%; height: 100%; object-fit: cover; }
.gac8-slide.gac8-slide-active { opacity: 1; }
.gac8-slide-cap {
  position: absolute;
  left: 10px;
  bottom: 10px;
  background: rgba(0,0,0,0.55);
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 1.25rem;
  color: var(--gac8-text);
}
.gac8-dots {
  display: flex;
  gap: 6px;
  justify-content: center;
  padding: 6px 0 8px;
}
.gac8-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(224,255,255,0.4);
  cursor: pointer;
}
.gac8-dot.gac8-dot-active { background: var(--gac8-accent); }

/* ===== Section / Title ===== */
.gac8-section { padding: 14px 12px; }
.gac8-section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--gac8-text);
  margin-bottom: 10px;
  border-left: 4px solid var(--gac8-accent);
  padding-left: 8px;
}
.gac8-section-title small {
  font-size: 1.15rem;
  color: var(--gac8-muted);
  font-weight: 500;
}

/* ===== Game grid (compact tiles) ===== */
.gac8-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.gac8-tile {
  background: var(--gac8-card);
  border: 1px solid var(--gac8-border);
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.gac8-tile:active { transform: scale(0.97); }
.gac8-tile img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.gac8-tile-name {
  padding: 6px 8px;
  font-size: 1.2rem;
  text-align: center;
  color: var(--gac8-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.gac8-tile-tag {
  position: absolute;
  top: 4px;
  left: 4px;
  background: var(--gac8-accent);
  color: #06201c;
  font-size: 1rem;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 6px;
}

/* ===== Category heading inside lists ===== */
.gac8-cat-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 14px 0 8px;
  color: var(--gac8-accent);
  font-weight: 800;
  font-size: 1.5rem;
}
.gac8-cat-head i { font-size: 1.7rem; }

/* ===== CTA Banner ===== */
.gac8-cta {
  background: linear-gradient(90deg, #004D40 0%, #40E0D0 100%);
  color: #06201c;
  border-radius: 14px;
  padding: 16px;
  margin: 14px 12px;
  text-align: center;
  box-shadow: 0 6px 18px rgba(64,224,208,0.25);
}
.gac8-cta h3 { font-size: 1.6rem; font-weight: 800; margin-bottom: 6px; }
.gac8-cta p { font-size: 1.3rem; margin-bottom: 10px; color: #04201c; }
.gac8-cta .gac8-btn {
  background: #06201c;
  color: var(--gac8-accent);
  font-size: 1.4rem;
  padding: 10px 22px;
}

/* ===== Info / feature cards ===== */
.gac8-card {
  background: var(--gac8-card);
  border: 1px solid var(--gac8-border);
  border-radius: 12px;
  padding: 12px;
  margin: 10px 12px;
}
.gac8-card h4 {
  color: var(--gac8-accent);
  font-size: 1.5rem;
  margin-bottom: 6px;
}
.gac8-card p { color: var(--gac8-text); font-size: 1.3rem; }

.gac8-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  padding: 0 12px;
}
.gac8-feature {
  background: var(--gac8-card-2);
  border: 1px solid var(--gac8-border);
  border-radius: 10px;
  padding: 12px;
  text-align: center;
}
.gac8-feature .gac8-ic {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(64,224,208,0.15);
  color: var(--gac8-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 6px;
  font-size: 2rem;
}
.gac8-feature h5 { color: var(--gac8-text); font-size: 1.3rem; margin-bottom: 4px; }
.gac8-feature p { color: var(--gac8-muted); font-size: 1.15rem; }

/* ===== FAQ ===== */
.gac8-faq { padding: 8px 12px; }
.gac8-faq-item {
  background: var(--gac8-card);
  border: 1px solid var(--gac8-border);
  border-radius: 10px;
  margin-bottom: 8px;
  overflow: hidden;
}
.gac8-faq-q {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  color: var(--gac8-text);
  padding: 12px;
  font-size: 1.35rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 8px;
}
.gac8-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease, padding 0.25s ease;
  color: var(--gac8-muted);
  font-size: 1.25rem;
  padding: 0 12px;
}
.gac8-faq-open .gac8-faq-a { max-height: 400px; padding: 0 12px 12px; }
.gac8-faq-toggle { color: var(--gac8-accent); font-weight: 800; }

/* ===== Winners / testimonials ===== */
.gac8-winners {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 8px;
  padding: 0 12px;
}
.gac8-winner {
  background: var(--gac8-card-2);
  border: 1px solid var(--gac8-border);
  border-radius: 10px;
  padding: 10px;
  text-align: center;
}
.gac8-winner .gac8-amt { color: var(--gac8-gold); font-size: 1.5rem; font-weight: 800; }
.gac8-winner small { color: var(--gac8-muted); }

/* ===== Footer ===== */
.gac8-footer {
  background: #06201c;
  border-top: 1px solid var(--gac8-border);
  padding: 18px 12px 24px;
  margin-top: 16px;
}
.gac8-footer-brand { color: var(--gac8-text); font-weight: 800; font-size: 1.6rem; margin-bottom: 6px; }
.gac8-footer p { color: var(--gac8-muted); font-size: 1.2rem; margin-bottom: 10px; }
.gac8-footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  margin-bottom: 12px;
}
.gac8-footer-links a {
  color: var(--gac8-text);
  font-size: 1.2rem;
  padding: 4px 2px;
}
.gac8-footer-links a i { color: var(--gac8-accent); margin-right: 6px; }
.gac8-footer-copy { color: var(--gac8-muted); font-size: 1.1rem; border-top: 1px solid rgba(64,224,208,0.15); padding-top: 10px; }
.gac8-foot-promo {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 10px 0;
}
.gac8-foot-promo button {
  flex: 1 1 45%;
  background: linear-gradient(90deg, #004D40, #40E0D0);
  color: #06201c;
  border: 0;
  border-radius: 8px;
  padding: 9px;
  font-weight: 700;
  font-size: 1.25rem;
  cursor: pointer;
}

/* ===== Bottom Navigation ===== */
.gac8-bnav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  background: linear-gradient(180deg, #00362c 0%, #00231d 100%);
  border-top: 1px solid var(--gac8-border);
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  height: 62px;
  padding: 4px 0;
}
.gac8-wrapper .gac8-bnav { left: 50%; transform: translateX(-50%); }
.gac8-bnav-btn {
  flex: 1;
  min-width: 60px;
  min-height: 60px;
  background: transparent;
  border: 0;
  color: var(--gac8-text);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  cursor: pointer;
  font-size: 1.05rem;
  transition: color 0.15s ease, transform 0.15s ease;
}
.gac8-bnav-btn .gac8-bnav-ic { font-size: 22px; line-height: 1; }
.gac8-bnav-btn .material-icons.gac8-bnav-ic { font-size: 24px; }
.gac8-bnav-btn:active { transform: scale(0.92); }
.gac8-bnav-btn.gac8-bnav-active { color: var(--gac8-accent); }
.gac8-bnav-promo { color: var(--gac8-gold); }

/* Mobile bottom padding so content isn't hidden behind nav */
main { padding-bottom: 80px; }

/* ===== Desktop: hide bottom nav, show wider layout ===== */
@media (min-width: 769px) {
  .gac8-bnav { display: none; }
  main { padding-bottom: 24px; }
  .gac8-wrapper { max-width: 960px; }
  .gac8-grid { grid-template-columns: repeat(5, 1fr); }
  .gac8-features { grid-template-columns: repeat(4, 1fr); }
}

/* Ensure visible focus for accessibility */
:focus-visible { outline: 2px solid var(--gac8-accent); outline-offset: 2px; }
