/* kkfd.homes core stylesheet - Bengali localized mobile-first gaming site */
/* All custom classes use ge81- prefix for namespace isolation */

:root {
  --ge81-bg: #1A1A1A;
  --ge81-bg-alt: #232323;
  --ge81-bg-card: #2a2a2a;
  --ge81-text: #ADB5BD;
  --ge81-text-light: #f5f5f5;
  --ge81-primary: #FFCC02;
  --ge81-accent: #FF8C00;
  --ge81-border: rgba(255, 204, 2, 0.22);
  --ge81-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
  --ge81-radius: 12px;
  --ge81-header-h: 56px;
  --ge81-bottomnav-h: 60px;
}

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

html { font-size: 62.5%; scroll-behavior: smooth; }

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

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

/* ===== Header ===== */
.ge81-header {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--ge81-header-h);
  background: linear-gradient(90deg, #141414 0%, #1f1f1f 100%);
  border-bottom: 2px solid var(--ge81-primary);
  box-shadow: var(--ge81-shadow);
  z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 1.2rem;
}
.ge81-logo {
  display: flex; align-items: center; gap: 0.8rem;
  color: var(--ge81-primary); font-weight: 800; font-size: 1.9rem;
  letter-spacing: 0.5px;
}
.ge81-logo img { width: 30px; height: 30px; border-radius: 6px; }
.ge81-logo span { color: var(--ge81-text-light); }
.ge81-header-actions { display: flex; align-items: center; gap: 0.6rem; }
.ge81-btn {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.7rem 1.4rem; border-radius: 20px;
  font-size: 1.35rem; font-weight: 700; border: none;
  cursor: pointer; transition: transform 0.18s, box-shadow 0.18s;
  min-height: 36px;
}
.ge81-btn:active { transform: scale(0.95); }
.ge81-btn-register {
  background: linear-gradient(135deg, var(--ge81-accent), #ff6a00);
  color: #fff; box-shadow: 0 3px 10px rgba(255, 140, 0, 0.35);
}
.ge81-btn-login {
  background: linear-gradient(135deg, var(--ge81-primary), #ffb800);
  color: #1A1A1A; box-shadow: 0 3px 10px rgba(255, 204, 2, 0.35);
}
.ge81-menu-toggle {
  background: transparent; border: 1px solid var(--ge81-border);
  color: var(--ge81-primary); width: 38px; height: 38px;
  border-radius: 8px; cursor: pointer; font-size: 1.8rem;
  display: flex; align-items: center; justify-content: center;
}

/* ===== Mobile Menu ===== */
.ge81-mobile-menu {
  position: fixed; top: var(--ge81-header-h); left: 0; right: 0;
  background: #161616; border-bottom: 1px solid var(--ge81-border);
  max-height: 0; overflow: hidden; transition: max-height 0.32s ease;
  z-index: 9999;
}
.ge81-mobile-menu.ge81-open { max-height: 420px; }
.ge81-mobile-menu ul { list-style: none; padding: 0.8rem 1.2rem; }
.ge81-mobile-menu li { border-bottom: 1px solid rgba(255,255,255,0.05); }
.ge81-mobile-menu li:last-child { border-bottom: none; }
.ge81-mobile-menu a {
  display: flex; align-items: center; gap: 0.9rem;
  padding: 1.1rem 0.6rem; color: var(--ge81-text);
  font-size: 1.45rem; font-weight: 600;
}
.ge81-mobile-menu a i { color: var(--ge81-primary); width: 22px; text-align: center; }
.ge81-mobile-menu a:active { color: var(--ge81-primary); }

/* ===== Layout ===== */
.ge81-main { padding-top: calc(var(--ge81-header-h) + 8px); min-height: 100vh; }
.ge81-container { width: 100%; max-width: 430px; margin: 0 auto; padding: 0 1rem; }
.ge81-section { margin: 1.6rem 0; }
.ge81-section-title {
  display: flex; align-items: center; gap: 0.7rem;
  font-size: 1.8rem; font-weight: 800; color: var(--ge81-text-light);
  margin-bottom: 1rem; padding-left: 0.8rem;
  border-left: 4px solid var(--ge81-primary);
}
.ge81-section-title i { color: var(--ge81-accent); }

/* ===== Hero Carousel ===== */
.ge81-carousel { position: relative; border-radius: var(--ge81-radius); overflow: hidden; box-shadow: var(--ge81-shadow); }
.ge81-carousel-track { display: flex; transition: transform 0.5s ease; }
.ge81-slide { min-width: 100%; position: relative; cursor: pointer; }
.ge81-slide img { width: 100%; height: 180px; object-fit: cover; }
.ge81-slide-overlay {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.85));
  padding: 1.2rem 1rem 1rem; color: #fff;
}
.ge81-slide-overlay h2 { font-size: 1.8rem; color: var(--ge81-primary); margin-bottom: 0.3rem; }
.ge81-slide-overlay p { font-size: 1.25rem; color: var(--ge81-text); }
.ge81-carousel-dots {
  position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 6px; z-index: 5;
}
.ge81-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.4); cursor: pointer; }
.ge81-dot.ge81-active { background: var(--ge81-primary); width: 22px; border-radius: 4px; }

/* ===== H1 Hero Block ===== */
.ge81-h1-block {
  text-align: center; padding: 1.4rem 1rem;
  background: radial-gradient(circle at top, rgba(255,140,0,0.12), transparent 70%);
  margin-bottom: 1rem;
}
.ge81-h1-block h1 {
  font-size: 2.2rem; color: var(--ge81-primary); font-weight: 800;
  line-height: 1.3; margin-bottom: 0.5rem;
}
.ge81-h1-block p { font-size: 1.35rem; color: var(--ge81-text); }
.ge81-cta-row { display: flex; gap: 0.8rem; justify-content: center; margin-top: 1rem; flex-wrap: wrap; }
.ge81-cta-row .ge81-btn { padding: 1rem 2rem; font-size: 1.5rem; }

/* ===== Game Grid ===== */
.ge81-game-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.8rem;
}
.ge81-game-card {
  background: var(--ge81-bg-card); border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.05);
  overflow: hidden; cursor: pointer;
  transition: transform 0.18s, border-color 0.18s;
  text-align: center;
}
.ge81-game-card:active { transform: scale(0.96); border-color: var(--ge81-primary); }
.ge81-game-card img { width: 100%; height: 84px; object-fit: cover; background: #111; }
.ge81-game-card .ge81-game-name {
  padding: 0.5rem 0.3rem; font-size: 1.15rem; color: var(--ge81-text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  font-weight: 600;
}
.ge81-game-card:hover .ge81-game-name { color: var(--ge81-primary); }
.ge81-cat-label {
  display: inline-block; padding: 0.25rem 0.9rem; border-radius: 12px;
  background: rgba(255,204,2,0.12); color: var(--ge81-primary);
  font-size: 1.2rem; font-weight: 700; margin-bottom: 0.6rem;
}

/* ===== Info Modules ===== */
.ge81-card {
  background: var(--ge81-bg-card); border-radius: var(--ge81-radius);
  padding: 1.4rem; margin-bottom: 1.2rem;
  border: 1px solid rgba(255,255,255,0.05);
  box-shadow: var(--ge81-shadow);
}
.ge81-card h2 { color: var(--ge81-primary); font-size: 1.7rem; margin-bottom: 0.8rem; font-weight: 800; }
.ge81-card h3 { color: var(--ge81-accent); font-size: 1.45rem; margin: 0.8rem 0 0.4rem; font-weight: 700; }
.ge81-card p { color: var(--ge81-text); font-size: 1.35rem; margin-bottom: 0.6rem; }
.ge81-card ul { list-style: none; padding-left: 0; }
.ge81-card ul li { padding: 0.5rem 0 0.5rem 1.6rem; position: relative; font-size: 1.3rem; color: var(--ge81-text); }
.ge81-card ul li::before { content: "▶"; color: var(--ge81-accent); position: absolute; left: 0; font-size: 1rem; top: 0.65rem; }
.ge81-card a { color: var(--ge81-primary); font-weight: 700; }
.ge81-card a strong { color: var(--ge81-primary); }

.ge81-faq-item { border-bottom: 1px solid rgba(255,255,255,0.07); padding: 0.8rem 0; }
.ge81-faq-item:last-child { border-bottom: none; }
.ge81-faq-item h3 { color: var(--ge81-primary); font-size: 1.4rem; margin-bottom: 0.4rem; cursor: pointer; }
.ge81-faq-item p { color: var(--ge81-text); font-size: 1.3rem; }

.ge81-features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.8rem; }
.ge81-feature-item {
  background: #1f1f1f; border-radius: 10px; padding: 1rem;
  text-align: center; border: 1px solid var(--ge81-border);
}
.ge81-feature-item i { color: var(--ge81-primary); font-size: 2.4rem; margin-bottom: 0.5rem; }
.ge81-feature-item h3 { color: var(--ge81-text-light); font-size: 1.3rem; margin-bottom: 0.3rem; }
.ge81-feature-item p { font-size: 1.15rem; color: var(--ge81-text); }

.ge81-payment-row { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-top: 0.6rem; }
.ge81-pay-chip {
  background: #1f1f1f; border: 1px solid var(--ge81-border);
  border-radius: 8px; padding: 0.5rem 0.9rem; font-size: 1.2rem;
  color: var(--ge81-text); display: inline-flex; align-items: center; gap: 0.4rem;
}
.ge81-pay-chip i { color: var(--ge81-accent); }

.ge81-winners { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.7rem; }
.ge81-winner {
  background: #1f1f1f; border-radius: 10px; padding: 0.8rem;
  border-left: 3px solid var(--ge81-accent);
}
.ge81-winner .ge81-wname { color: var(--ge81-text-light); font-weight: 700; font-size: 1.3rem; }
.ge81-winner .ge81-wamt { color: var(--ge81-primary); font-weight: 800; font-size: 1.5rem; }
.ge81-winner .ge81-wgame { color: var(--ge81-text); font-size: 1.15rem; }

.ge81-trust-banner {
  background: linear-gradient(135deg, rgba(255,140,0,0.18), rgba(255,204,2,0.1));
  border: 1px solid var(--ge81-border); border-radius: var(--ge81-radius);
  padding: 1.2rem; text-align: center; margin: 1rem 0;
}
.ge81-trust-banner i { color: var(--ge81-primary); font-size: 2.6rem; }
.ge81-trust-banner h3 { color: var(--ge81-text-light); font-size: 1.5rem; margin: 0.4rem 0; }

/* ===== Footer ===== */
.ge81-footer {
  background: #111; border-top: 2px solid var(--ge81-primary);
  padding: 1.8rem 1rem 2rem; margin-top: 1.5rem;
}
.ge81-footer-brand { color: var(--ge81-text); font-size: 1.3rem; margin-bottom: 1rem; line-height: 1.6rem; }
.ge81-footer-brand strong { color: var(--ge81-primary); }
.ge81-footer-links { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1rem; }
.ge81-footer-links .ge81-btn { padding: 0.6rem 1.2rem; font-size: 1.25rem; }
.ge81-footer-copy { color: #666; font-size: 1.15rem; border-top: 1px solid #222; padding-top: 0.8rem; text-align: center; }

/* ===== Mobile Bottom Nav ===== */
.ge81-bottomnav {
  position: fixed; bottom: 0; left: 0; right: 0;
  height: var(--ge81-bottomnav-h);
  background: linear-gradient(180deg, #1f1f1f, #111);
  border-top: 2px solid var(--ge81-primary);
  display: flex; justify-content: space-around; align-items: center;
  z-index: 1000; box-shadow: 0 -4px 14px rgba(0,0,0,0.5);
}
.ge81-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; cursor: pointer; color: var(--ge81-text);
  transition: color 0.2s, transform 0.2s; position: relative;
}
.ge81-navbtn i, .ge81-navbtn .material-icons-outlined { font-size: 24px; }
.ge81-navbtn span { font-size: 1.05rem; font-weight: 600; }
.ge81-navbtn:active { transform: scale(0.9); }
.ge81-navbtn.ge81-active { color: var(--ge81-primary); }
.ge81-navbtn.ge81-active::before {
  content: ""; position: absolute; top: 0; left: 25%; right: 25%;
  height: 3px; background: var(--ge81-primary); border-radius: 0 0 4px 4px;
}
.ge81-navbtn-promo { color: var(--ge81-accent); }
.ge81-navbtn-promo i { font-size: 26px; }

/* ===== Responsive ===== */
@media (min-width: 769px) {
  .ge81-bottomnav { display: none; }
  .ge81-container { max-width: 760px; }
  .ge81-game-grid { grid-template-columns: repeat(5, 1fr); }
  .ge81-features { grid-template-columns: repeat(4, 1fr); }
  .ge81-winners { grid-template-columns: repeat(4, 1fr); }
  .ge81-slide img { height: 300px; }
  body { background: #181818; }
  .ge81-header { justify-content: center; gap: 2rem; }
}
@media (max-width: 768px) {
  .ge81-main { padding-bottom: calc(var(--ge81-bottomnav-h) + 12px); }
}
@media (max-width: 360px) {
  .ge81-game-grid { grid-template-columns: repeat(2, 1fr); }
  .ge81-features { grid-template-columns: 1fr; }
  .ge81-h1-block h1 { font-size: 1.9rem; }
}
