/* ============================================================
   bgd3.homes - Theme stylesheet (theme-27ea.css)
   All custom classes use the gea9- prefix.
   Palette: #D2691E | #0A0A0A | #6F4E37 | #9932CC
   Mobile-first, max-width 430px. Comments in English.
   ============================================================ */

:root {
  --gea9-primary: #D2691E;
  --gea9-bg: #0A0A0A;
  --gea9-text: #F5E6D3;
  --gea9-accent: #9932CC;
  --gea9-brown: #6F4E37;
  --gea9-card: #161010;
  --gea9-border: #2a1c14;
  --gea9-muted: #b89b7e;
}

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

html { font-size: 62.5%; }

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

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

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

/* ---------- Header ---------- */
.gea9-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: linear-gradient(180deg, #1a0f08 0%, var(--gea9-bg) 100%);
  border-bottom: 1px solid var(--gea9-border);
}
.gea9-header-inner {
  max-width: 430px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.7rem 1rem; min-height: 54px;
}
.gea9-logo { display: flex; align-items: center; gap: 0.6rem; color: var(--gea9-text); }
.gea9-logo img { width: 28px; height: 28px; border-radius: 6px; }
.gea9-logo .gea9-brand { font-size: 1.8rem; font-weight: 800; color: var(--gea9-primary); letter-spacing: 0.5px; }
.gea9-menu-btn {
  background: transparent; border: 0; color: var(--gea9-text); font-size: 2.2rem;
  cursor: pointer; padding: 0.4rem 0.6rem; min-width: 44px; min-height: 44px;
}
.gea9-auth { display: flex; gap: 0.5rem; align-items: center; }
.gea9-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  font-size: 1.3rem; font-weight: 700; padding: 0.6rem 1rem; border-radius: 999px;
  border: 0; cursor: pointer; min-height: 38px; transition: transform 0.15s ease, opacity 0.15s ease;
}
.gea9-btn:active { transform: scale(0.95); }
.gea9-btn-login { background: transparent; color: var(--gea9-text); border: 1px solid var(--gea9-brown); }
.gea9-btn-register { background: linear-gradient(90deg, var(--gea9-primary), var(--gea9-accent)); color: #fff; }

/* ---------- Expandable mobile menu ---------- */
.gea9-mobile-menu {
  max-height: 0; overflow: hidden; transition: max-height 0.3s ease;
  background: #120a06; border-bottom: 1px solid var(--gea9-border);
}
.gea9-menu-open { max-height: 520px; }
.gea9-mobile-menu .gea9-container { padding: 0.6rem 1.2rem 1rem; }
.gea9-menu-link {
  display: block; padding: 0.9rem 0.4rem; color: var(--gea9-text);
  border-bottom: 1px dashed var(--gea9-border); font-size: 1.45rem;
}
.gea9-menu-link:active { color: var(--gea9-primary); }

/* ---------- Hero / Carousel ---------- */
.gea9-hero { margin-top: 64px; padding: 1rem 0 0.4rem; }
.gea9-carousel { position: relative; border-radius: 14px; overflow: hidden; }
.gea9-slide {
  display: none; position: relative; cursor: pointer;
}
.gea9-slide.gea9-slide-active { display: block; }
.gea9-slide img { width: 100%; height: 180px; object-fit: cover; }
.gea9-slide-cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(180deg, transparent, rgba(10,10,10,0.9));
  padding: 1.4rem 1rem 0.8rem; font-size: 1.4rem; font-weight: 700; color: #fff;
}
.gea9-dots { display: flex; gap: 0.5rem; justify-content: center; padding: 0.6rem 0; }
.gea9-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gea9-brown); }

/* ---------- Section titles ---------- */
.gea9-section { padding: 1.4rem 0; }
.gea9-section-title {
  font-size: 1.9rem; font-weight: 800; color: var(--gea9-primary);
  margin-bottom: 0.8rem; display: flex; align-items: center; gap: 0.5rem;
}
.gea9-section-title .material-icons-outlined { font-size: 2.2rem; color: var(--gea9-accent); }

/* ---------- Category label ---------- */
.gea9-cat-label {
  font-size: 1.5rem; font-weight: 700; color: var(--gea9-text);
  margin: 1rem 0 0.6rem; padding-left: 0.6rem; border-left: 4px solid var(--gea9-primary);
}

/* ---------- Game grid ---------- */
.gea9-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.7rem; }
.gea9-card {
  background: var(--gea9-card); border: 1px solid var(--gea9-border); border-radius: 10px;
  padding: 0.5rem; text-align: center; cursor: pointer; transition: transform 0.15s ease, border-color 0.15s;
}
.gea9-card:active { transform: scale(0.96); border-color: var(--gea9-primary); }
.gea9-card img { width: 100%; height: 80px; object-fit: cover; border-radius: 7px; margin-bottom: 0.3rem; }
.gea9-card-name { font-size: 1.05rem; color: var(--gea9-text); line-height: 1.3rem; min-height: 2.6rem; overflow: hidden; }

/* ---------- Info / feature blocks ---------- */
.gea9-info {
  background: var(--gea9-card); border: 1px solid var(--gea9-border); border-radius: 12px;
  padding: 1rem 1.1rem; margin-bottom: 1rem;
}
.gea9-info h3 { color: var(--gea9-primary); font-size: 1.6rem; margin-bottom: 0.5rem; }
.gea9-info p { color: var(--gea9-muted); font-size: 1.35rem; }
.gea9-info a { color: var(--gea9-primary); font-weight: 700; }
.gea9-features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.6rem; }
.gea9-feature {
  background: var(--gea9-card); border: 1px solid var(--gea9-border); border-radius: 10px;
  padding: 0.9rem; text-align: center;
}
.gea9-feature .material-icons-outlined, .gea9-feature .fas, .gea9-feature .bi { font-size: 2.2rem; color: var(--gea9-accent); }
.gea9-feature h4 { font-size: 1.35rem; color: var(--gea9-text); margin: 0.3rem 0; }
.gea9-feature p { font-size: 1.15rem; color: var(--gea9-muted); }

/* ---------- Testimonials ---------- */
.gea9-testi { display: flex; gap: 0.7rem; overflow-x: auto; padding-bottom: 0.4rem; }
.gea9-testi-item { min-width: 240px; background: var(--gea9-card); border: 1px solid var(--gea9-border); border-radius: 10px; padding: 0.8rem; }
.gea9-testi-item .stars { color: #FFD27A; font-size: 1.2rem; }
.gea9-testi-item p { font-size: 1.25rem; color: var(--gea9-text); margin: 0.3rem 0; }
.gea9-testi-item .who { font-size: 1.1rem; color: var(--gea9-muted); }

/* ---------- Winners ---------- */
.gea9-winner { display: flex; align-items: center; gap: 0.6rem; padding: 0.5rem 0; border-bottom: 1px dashed var(--gea9-border); }
.gea9-winner .avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--gea9-brown); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; }
.gea9-winner .amt { margin-left: auto; color: var(--gea9-primary); font-weight: 700; }

/* ---------- Payment row ---------- */
.gea9-pay { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.gea9-pay span { background: var(--gea9-card); border: 1px solid var(--gea9-border); border-radius: 8px; padding: 0.4rem 0.7rem; font-size: 1.15rem; color: var(--gea9-text); }

/* ---------- CTA banner ---------- */
.gea9-cta {
  background: linear-gradient(90deg, var(--gea9-primary), var(--gea9-accent));
  border-radius: 12px; padding: 1.1rem; text-align: center; margin: 1rem 0;
}
.gea9-cta h3 { color: #fff; font-size: 1.8rem; margin-bottom: 0.4rem; }
.gea9-cta p { color: #fff; font-size: 1.25rem; margin-bottom: 0.7rem; }
.gea9-cta .gea9-btn { background: #fff; color: var(--gea9-primary); }

/* ---------- Footer ---------- */
.gea9-footer { background: #120a06; border-top: 1px solid var(--gea9-border); padding: 1.6rem 0 110px; }
.gea9-footer .gea9-brand-intro { color: var(--gea9-muted); font-size: 1.2rem; margin-bottom: 0.8rem; }
.gea9-footer-links { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 0.8rem; }
.gea9-footer-links a {
  background: var(--gea9-card); border: 1px solid var(--gea9-border); border-radius: 8px;
  padding: 0.4rem 0.7rem; font-size: 1.15rem; color: var(--gea9-text);
}
.gea9-footer-promo { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0.6rem 0; }
.gea9-footer-promo .gea9-btn { flex: 1 1 45%; }
.gea9-copyright { color: var(--gea9-muted); font-size: 1.1rem; text-align: center; padding-top: 0.8rem; border-top: 1px dashed var(--gea9-border); }

/* ---------- Mobile bottom nav ---------- */
.gea9-bottomnav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1000;
  background: #120a06; border-top: 1px solid var(--gea9-border);
  display: flex; justify-content: space-around; align-items: stretch;
  height: 60px;
}
.gea9-navbtn {
  flex: 1; min-width: 60px; min-height: 60px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
  background: transparent; border: 0; color: var(--gea9-muted); cursor: pointer;
  text-decoration: none; transition: color 0.15s ease, transform 0.15s ease;
}
.gea9-navbtn .ic { font-size: 22px; line-height: 1; }
.gea9-navbtn .lbl { font-size: 1.05rem; }
.gea9-navbtn:active { transform: scale(0.92); color: var(--gea9-primary); }
.gea9-navbtn-active { color: var(--gea9-primary); }
.gea9-navbtn-promo { color: var(--gea9-accent); }

/* ---------- Utility ---------- */
.gea9-text-link { color: var(--gea9-primary); font-weight: 700; border-bottom: 1px dotted var(--gea9-primary); }
.gea9-divider { height: 1px; background: var(--gea9-border); margin: 1rem 0; }

/* ---------- Desktop ---------- */
@media (min-width: 769px) {
  .gea9-bottomnav { display: none; }
  .gea9-footer { padding-bottom: 2rem; }
  .gea9-header-inner, .gea9-mobile-menu .gea9-container, .gea9-container { max-width: 430px; }
}

/* ---------- Mobile bottom padding clearance ---------- */
@media (max-width: 768px) {
  main.gea9-main { padding-bottom: 80px; }
  body { padding-bottom: 0; }
}
