/* =========================================================
   tk3666.homes - core base CSS (class prefix: gd11-)
   Palette: #FFA500 | #FFFFFF | #FFF8DC | #0F0F23 | #EEE8AA
   Mobile-first, max-width 430px. Comments in English.
   ========================================================= */

:root {
  --gd11-primary: #FFA500;
  --gd11-white: #FFFFFF;
  --gd11-cream: #FFF8DC;
  --gd11-bg: #0F0F23;
  --gd11-accent: #EEE8AA;
  --gd11-bg2: #181838;
  --gd11-bg3: #20204a;
  --gd11-text: #FFFFFF;
  --gd11-muted: #EEE8AA;
  --gd11-danger: #ff4d4d;
  --gd11-radius: 10px;
  --gd11-shadow: 0 4px 14px rgba(0,0,0,0.35);
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: "Hind Siliguri", "Noto Sans Bengali", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: var(--gd11-bg);
  color: var(--gd11-text);
  line-height: 1.6;
  font-size: 16px;
}

.gd11-wrapper {
  max-width: 430px;
  margin: 0 auto;
  position: relative;
  min-height: 100vh;
  background: linear-gradient(180deg, #0F0F23 0%, #14142e 60%, #0F0F23 100%);
}

a { color: var(--gd11-primary); text-decoration: none; }

img { max-width: 100%; display: block; }

/* ========= Header ========= */
.gd11-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  max-width: 430px;
  margin: 0 auto;
  z-index: 1000;
  background: rgba(15,15,35,0.96);
  border-bottom: 1px solid rgba(255,165,0,0.35);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  height: 56px;
}

.gd11-brand { display: flex; align-items: center; gap: 8px; }
.gd11-brand img { width: 28px; height: 28px; border-radius: 6px; }
.gd11-brand-name {
  color: var(--gd11-primary);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: .5px;
}

.gd11-header-actions { display: flex; align-items: center; gap: 6px; }

.gd11-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border: none;
  border-radius: 8px;
  padding: 7px 12px;
  font-size: .85rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform .15s ease, opacity .15s ease;
  min-height: 36px;
}
.gd11-btn:active { transform: scale(.95); }
.gd11-btn-login {
  background: transparent;
  color: var(--gd11-white);
  border: 1px solid var(--gd11-primary);
}
.gd11-btn-register {
  background: linear-gradient(135deg, #FFA500, #ff7b00);
  color: #0F0F23;
  box-shadow: 0 2px 8px rgba(255,165,0,.45);
}

.gd11-menu-btn {
  background: transparent;
  border: 1px solid rgba(255,165,0,.4);
  color: var(--gd11-primary);
  border-radius: 8px;
  width: 36px; height: 36px;
  font-size: 1.1rem;
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
}

/* ========= Nav menu ========= */
.gd11-nav {
  position: fixed;
  top: 56px; left: 0; right: 0;
  max-width: 430px;
  margin: 0 auto;
  background: rgba(20,20,56,0.98);
  border-bottom: 1px solid rgba(255,165,0,.3);
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
  z-index: 999;
}
.gd11-nav.gd11-nav-open { max-height: 460px; }
.gd11-nav ul {
  list-style: none;
  margin: 0; padding: 6px 0;
}
.gd11-nav a {
  display: block;
  padding: 11px 16px;
  color: var(--gd11-cream);
  border-bottom: 1px solid rgba(255,255,255,.06);
  font-size: .95rem;
}
.gd11-nav a:active { background: rgba(255,165,0,.12); }

/* ========= Main ========= */
.gd11-main {
  padding-top: 56px;
  padding-bottom: 80px;
}
.gd11-section { padding: 14px 12px; }
.gd11-section h2 {
  color: var(--gd11-primary);
  font-size: 1.25rem;
  margin: 6px 0 10px;
  border-left: 4px solid var(--gd11-primary);
  padding-left: 8px;
}
.gd11-section h3 { color: var(--gd11-accent); font-size: 1.05rem; margin: 10px 0 6px; }
.gd11-section p { color: var(--gd11-cream); font-size: .92rem; margin: 6px 0; }

/* ========= Carousel ========= */
.gd11-carousel {
  position: relative;
  margin: 10px 12px 4px;
  border-radius: var(--gd11-radius);
  overflow: hidden;
  box-shadow: var(--gd11-shadow);
  height: 160px;
}
.gd11-slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity .6s ease;
  cursor: pointer;
}
.gd11-slide.gd11-slide-active { opacity: 1; }
.gd11-slide img { width: 100%; height: 100%; object-fit: cover; }
.gd11-slide-caption {
  position: absolute;
  left: 10px; bottom: 8px;
  background: rgba(15,15,35,.7);
  color: var(--gd11-primary);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: .85rem;
  font-weight: 700;
}
.gd11-carousel-dots {
  position: absolute;
  right: 8px; bottom: 8px;
  display: flex; gap: 5px;
}
.gd11-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,.4);
  border: none; cursor: pointer; padding: 0;
}
.gd11-dot.gd11-dot-active { background: var(--gd11-primary); }

/* ========= Hero CTA ========= */
.gd11-hero-cta {
  margin: 12px;
  background: linear-gradient(135deg, rgba(255,165,0,.15), rgba(238,232,170,.08));
  border: 1px solid rgba(255,165,0,.4);
  border-radius: var(--gd11-radius);
  padding: 14px;
  text-align: center;
}
.gd11-hero-cta h1 {
  color: var(--gd11-primary);
  font-size: 1.4rem;
  margin: 0 0 6px;
}
.gd11-hero-cta p { color: var(--gd11-cream); font-size: .9rem; margin: 0 0 10px; }
.gd11-cta-row { display: flex; gap: 8px; justify-content: center; }
.gd11-cta-row .gd11-btn { flex: 1; }

/* ========= Game grid ========= */
.gd11-cat-title {
  color: var(--gd11-primary);
  font-size: 1.15rem;
  font-weight: 800;
  margin: 14px 12px 6px;
  display: flex; align-items: center; gap: 8px;
}
.gd11-cat-title i { color: var(--gd11-accent); }

.gd11-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 4px 12px 8px;
}
.gd11-card {
  background: var(--gd11-bg2);
  border: 1px solid rgba(255,165,0,.18);
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  transition: transform .15s ease, border-color .15s ease;
  text-align: center;
}
.gd11-card:active { transform: scale(.96); border-color: var(--gd11-primary); }
.gd11-card-img {
  width: 100%; aspect-ratio: 1/1;
  object-fit: cover;
  background: #000;
}
.gd11-card-name {
  font-size: .72rem;
  color: var(--gd11-cream);
  padding: 5px 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ========= Info / feature modules ========= */
.gd11-card-box {
  background: var(--gd11-bg2);
  border: 1px solid rgba(255,165,0,.18);
  border-radius: var(--gd11-radius);
  padding: 12px;
  margin: 10px 12px;
}
.gd11-card-box h3 { margin-top: 0; }
.gd11-feature-list { list-style: none; padding: 0; margin: 0; }
.gd11-feature-list li {
  display: flex; align-items: flex-start; gap: 8px;
  padding: 7px 0;
  border-bottom: 1px dashed rgba(255,255,255,.08);
  font-size: .9rem;
  color: var(--gd11-cream);
}
.gd11-feature-list li:last-child { border-bottom: none; }
.gd11-feature-list i { color: var(--gd11-primary); margin-top: 3px; }

.gd11-inline-link {
  color: var(--gd11-primary);
  font-weight: 700;
  border-bottom: 1px dotted var(--gd11-primary);
}

.gd11-stats {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 8px;
  margin: 8px 0;
}
.gd11-stat {
  background: rgba(255,165,0,.08);
  border-radius: 8px;
  padding: 8px;
  text-align: center;
}
.gd11-stat-num { color: var(--gd11-primary); font-size: 1.2rem; font-weight: 800; }
.gd11-stat-label { color: var(--gd11-accent); font-size: .72rem; }

/* Testimonials */
.gd11-testi {
  background: var(--gd11-bg3);
  border-radius: 8px;
  padding: 10px;
  margin: 6px 0;
}
.gd11-testi-name { color: var(--gd11-primary); font-weight: 700; font-size: .85rem; }
.gd11-testi-text { color: var(--gd11-cream); font-size: .85rem; }

/* Payment chips */
.gd11-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.gd11-chip {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,165,0,.3);
  border-radius: 20px;
  padding: 5px 10px;
  font-size: .78rem;
  color: var(--gd11-cream);
  display: inline-flex; align-items: center; gap: 4px;
}

/* Winners */
.gd11-winner {
  display: flex; justify-content: space-between;
  padding: 6px 8px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  font-size: .82rem;
}
.gd11-winner span:first-child { color: var(--gd11-cream); }
.gd11-winner span:last-child { color: var(--gd11-primary); font-weight: 700; }

/* App download CTA */
.gd11-app-cta {
  background: linear-gradient(135deg, #FFA500, #ff7b00);
  color: #0F0F23;
  border-radius: var(--gd11-radius);
  padding: 12px;
  margin: 10px 12px;
  text-align: center;
}
.gd11-app-cta h3 { color: #0F0F23; margin: 0 0 4px; }
.gd11-app-cta p { color: #1a1a2e; font-size: .85rem; margin: 0 0 8px; }
.gd11-app-cta .gd11-btn { background: #0F0F23; color: var(--gd11-primary); }

/* ========= Footer ========= */
.gd11-footer {
  background: #0b0b1c;
  border-top: 1px solid rgba(255,165,0,.3);
  padding: 14px 12px 70px;
  color: var(--gd11-cream);
  font-size: .82rem;
}
.gd11-footer h4 { color: var(--gd11-primary); margin: 8px 0 4px; font-size: .9rem; }
.gd11-footer-links { display: flex; flex-wrap: wrap; gap: 6px 12px; margin: 4px 0 8px; }
.gd11-footer-links a { color: var(--gd11-cream); font-size: .8rem; }
.gd11-footer-promo {
  display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0;
}
.gd11-footer-promo .gd11-btn { font-size: .78rem; padding: 6px 10px; }
.gd11-footer-copy { color: var(--gd11-muted); font-size: .72rem; margin-top: 8px; }

/* ========= Mobile bottom nav ========= */
.gd11-bottomnav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  max-width: 430px;
  margin: 0 auto;
  height: 62px;
  background: rgba(11,11,28,0.98);
  border-top: 1px solid rgba(255,165,0,.4);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 -2px 10px rgba(0,0,0,.4);
}
.gd11-bottomnav-btn {
  flex: 1;
  min-width: 60px;
  min-height: 60px;
  background: transparent;
  border: none;
  color: var(--gd11-cream);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  cursor: pointer;
  font-size: 10px;
  transition: color .15s ease, transform .15s ease;
  padding: 0;
}
.gd11-bottomnav-btn i,
.gd11-bottomnav-btn .material-icons-outlined,
.gd11-bottomnav-btn .ionicon { font-size: 22px; }
.gd11-bottomnav-btn:active { transform: scale(.9); }
.gd11-bottomnav-btn.gd11-bottomnav-active { color: var(--gd11-primary); }
.gd11-bottomnav-btn.gd11-bottomnav-active i { color: var(--gd11-primary); }

/* ========= Desktop ========= */
@media (min-width: 769px) {
  .gd11-bottomnav { display: none; }
  .gd11-wrapper { max-width: 430px; }
  .gd11-header, .gd11-nav { max-width: 430px; }
  .gd11-footer { padding-bottom: 20px; }
  .gd11-main { padding-bottom: 20px; }
}

/* Utility */
.gd11-text-center { text-align: center; }
.gd11-mt-8 { margin-top: 8px; }
.gd11-promo-text { color: var(--gd11-primary); font-weight: 800; }
