/* 4567bd layout CSS - all classes use prefix g7e5- */
:root {
  --g7e5-primary: #FF8C00;
  --g7e5-primary-dark: #E65100;
  --g7e5-accent: #FFEB3B;
  --g7e5-bg: #0A0A0A;
  --g7e5-bg-2: #141414;
  --g7e5-card: #1c1c1c;
  --g7e5-text: #F8F9FA;
  --g7e5-text-soft: #E0FFFF;
  --g7e5-muted: #9aa0a6;
  --g7e5-border: rgba(255,140,0,0.25);
  --g7e5-radius: 1.2rem;
  --g7e5-shadow: 0 4px 18px rgba(0,0,0,0.45);
}

* { 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",system-ui,Arial,sans-serif;
  background: var(--g7e5-bg);
  color: var(--g7e5-text);
  line-height: 1.5rem;
  max-width: 430px;
  margin: 0 auto;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}
img { max-width: 100%; display: block; }
a { color: var(--g7e5-accent); text-decoration: none; }

/* ===== Header ===== */
.g7e5-header {
  position: fixed; top: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 430px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.8rem 1rem;
  background: linear-gradient(90deg, #0A0A0A, #1a1206, #0A0A0A);
  border-bottom: 1px solid var(--g7e5-border);
  z-index: 1000;
}
.g7e5-brand { display: flex; align-items: center; gap: 0.6rem; }
.g7e5-brand img { width: 2.8rem; height: 2.8rem; border-radius: 0.6rem; }
.g7e5-brand-name { font-size: 1.5rem; font-weight: 800; color: var(--g7e5-accent); letter-spacing: 0.5px; }
.g7e5-header-actions { display: flex; align-items: center; gap: 0.5rem; }
.g7e5-menu-btn {
  background: transparent; border: 0; color: var(--g7e5-text);
  font-size: 1.6rem; cursor: pointer; padding: 0.4rem; min-width: 44px; min-height: 44px;
}
.g7e5-btn {
  border: 0; border-radius: 0.8rem; padding: 0.6rem 1rem;
  font-size: 1.2rem; font-weight: 700; cursor: pointer; min-height: 36px;
}
.g7e5-btn-register { background: linear-gradient(90deg,#FF8C00,#E65100); color: #0A0A0A; }
.g7e5-btn-login { background: transparent; color: var(--g7e5-accent); border: 1px solid var(--g7e5-accent); }

/* ===== Mobile expandable menu ===== */
.g7e5-mobile-menu {
  position: fixed; top: 5.2rem; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 430px;
  background: var(--g7e5-bg-2);
  border-bottom: 1px solid var(--g7e5-border);
  max-height: 0; overflow: hidden; transition: max-height 0.3s ease;
  z-index: 9999;
}
.g7e5-menu-open { max-height: 32rem; }
.g7e5-mobile-menu a {
  display: block; padding: 1rem 1.4rem; color: var(--g7e5-text-soft);
  font-size: 1.3rem; border-bottom: 1px solid rgba(255,140,0,0.12);
}
.g7e5-mobile-menu a:active { background: rgba(255,140,0,0.15); }

/* ===== Main / sections ===== */
main { padding-top: 5.6rem; }
.g7e5-section { padding: 1.6rem 1.2rem; }
.g7e5-section-title {
  font-size: 1.6rem; font-weight: 800; color: var(--g7e5-accent);
  margin-bottom: 1rem; border-left: 4px solid var(--g7e5-primary); padding-left: 0.8rem;
}
.g7e5-intro { font-size: 1.3rem; color: var(--g7e5-text-soft); }

/* ===== Carousel ===== */
.g7e5-carousel {
  position: relative; width: 100%; height: 17rem; overflow: hidden;
  border-radius: var(--g7e5-radius); box-shadow: var(--g7e5-shadow);
}
.g7e5-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity 0.6s ease;
  cursor: pointer;
}
.g7e5-slide-active { opacity: 1; }
.g7e5-slide img { width: 100%; height: 100%; object-fit: cover; }
.g7e5-slide-cap {
  position: absolute; left: 1rem; bottom: 1rem; right: 1rem;
  font-size: 1.3rem; font-weight: 700; color: var(--g7e5-accent);
  text-shadow: 0 2px 6px rgba(0,0,0,0.8);
}
.g7e5-dots { position: absolute; bottom: 0.6rem; left: 0; right: 0; text-align: center; }
.g7e5-dot {
  display: inline-block; width: 0.7rem; height: 0.7rem; margin: 0 0.25rem;
  border-radius: 50%; background: rgba(248,249,250,0.4); border: 0; cursor: pointer;
}
.g7e5-dot-active { background: var(--g7e5-accent); }

/* ===== Category heading ===== */
.g7e5-cat-title {
  font-size: 1.4rem; font-weight: 800; color: var(--g7e5-primary);
  margin: 1.4rem 0 0.8rem; display: flex; align-items: center; gap: 0.5rem;
}

/* ===== Game grid ===== */
.g7e5-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.8rem;
}
.g7e5-game {
  background: var(--g7e5-card); border-radius: 0.8rem; overflow: hidden;
  cursor: pointer; border: 1px solid rgba(255,140,0,0.15);
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.g7e5-game:active { transform: scale(0.96); border-color: var(--g7e5-accent); }
.g7e5-game img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.g7e5-game-name {
  font-size: 1rem; color: var(--g7e5-text-soft); text-align: center;
  padding: 0.4rem 0.2rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* ===== Cards / modules ===== */
.g7e5-card {
  background: var(--g7e5-card); border-radius: var(--g7e5-radius);
  padding: 1.2rem; margin-bottom: 1rem; border: 1px solid var(--g7e5-border);
}
.g7e5-card h3 { font-size: 1.3rem; color: var(--g7e5-accent); margin-bottom: 0.6rem; }
.g7e5-card p { font-size: 1.2rem; color: var(--g7e5-text-soft); margin-bottom: 0.6rem; }
.g7e5-card ul { padding-left: 1.4rem; color: var(--g7e5-text-soft); font-size: 1.2rem; }
.g7e5-card li { margin-bottom: 0.4rem; }

/* Promo link button (text-style bold) */
.g7e5-promo {
  display: inline-block; font-weight: 800; color: var(--g7e5-accent);
  background: linear-gradient(90deg,#FF8C00,#E65100); color: #0A0A0A;
  padding: 0.5rem 1rem; border-radius: 0.6rem; font-size: 1.2rem;
  cursor: pointer; border: 0;
}
.g7e5-promo-text { color: var(--g7e5-accent); font-weight: 700; cursor: pointer; }

/* RTP table compact */
.g7e5-rtp-row {
  display: flex; justify-content: space-between; padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255,140,0,0.12); font-size: 1.2rem;
}
.g7e5-rtp-bar { height: 0.5rem; background: #333; border-radius: 0.3rem; margin-top: 0.3rem; overflow: hidden; }
.g7e5-rtp-fill { height: 100%; background: linear-gradient(90deg,#FFEB3B,#FF8C00); }

/* Testimonial */
.g7e5-testi { background: var(--g7e5-card); border-radius: 0.8rem; padding: 1rem; margin-bottom: 0.8rem; }
.g7e5-testi b { color: var(--g7e5-accent); }
.g7e5-stars { color: var(--g7e5-accent); font-size: 1.1rem; }

/* Payment chips */
.g7e5-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.g7e5-chip {
  background: var(--g7e5-card); border: 1px solid var(--g7e5-border);
  border-radius: 0.6rem; padding: 0.5rem 0.8rem; font-size: 1.1rem; color: var(--g7e5-text-soft);
}

/* Winners */
.g7e5-winner {
  display: flex; justify-content: space-between; font-size: 1.1rem;
  padding: 0.5rem 0; border-bottom: 1px solid rgba(255,140,0,0.1);
}
.g7e5-winner b { color: var(--g7e5-primary); }

/* App download CTA */
.g7e5-app-cta {
  background: linear-gradient(135deg,#E65100,#FF8C00); color: #0A0A0A;
  border-radius: var(--g7e5-radius); padding: 1.2rem; text-align: center; margin-bottom: 1rem;
}
.g7e5-app-cta h3 { color: #0A0A0A; }
.g7e5-app-cta button {
  margin-top: 0.6rem; background: #0A0A0A; color: var(--g7e5-accent);
  border: 0; border-radius: 0.6rem; padding: 0.7rem 1.4rem; font-weight: 800; font-size: 1.2rem; cursor: pointer;
}

/* ===== Footer ===== */
.g7e5-footer {
  background: var(--g7e5-bg-2); padding: 1.6rem 1.2rem 2rem;
  border-top: 1px solid var(--g7e5-border); margin-top: 1rem;
}
.g7e5-footer p { font-size: 1.1rem; color: var(--g7e5-muted); margin-bottom: 0.6rem; }
.g7e5-footer-links { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; margin: 0.8rem 0; }
.g7e5-footer-links a { font-size: 1.1rem; color: var(--g7e5-text-soft); }
.g7e5-footer-promo { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0.8rem 0; }
.g7e5-footer-copy { font-size: 1rem; color: var(--g7e5-muted); margin-top: 0.8rem; }

/* ===== Mobile bottom nav ===== */
.g7e5-bnav {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 430px; height: 6rem;
  background: linear-gradient(180deg,#141414,#0A0A0A);
  border-top: 1px solid var(--g7e5-border);
  display: flex; justify-content: space-around; align-items: center;
  z-index: 1000;
}
.g7e5-bnav-btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 60px; min-height: 60px; background: transparent; border: 0;
  color: var(--g7e5-muted); font-size: 1rem; cursor: pointer; gap: 0.2rem;
  transition: transform 0.15s ease, color 0.15s ease;
}
.g7e5-bnav-btn:active { transform: scale(0.9); }
.g7e5-bnav-btn .material-icons,
.g7e5-bnav-btn .fas,
.g7e5-bnav-btn .far,
.g7e5-bnav-btn .ion { font-size: 2.4rem; }
.g7e5-bnav-active { color: var(--g7e5-accent); }

/* Desktop: hide bottom nav, show more padding */
@media (min-width: 769px) {
  .g7e5-bnav { display: none; }
}
@media (max-width: 768px) {
  main { padding-bottom: 7.2rem; }
}
