/* ============================================================
 * melbet app bangladesh - core stylesheet (class prefix: ge1c-)
 * Mobile-first canvas: 320-430px. Centered on wider screens.
 * Palette: #000080 navy | #1A1A1A dark | #CCCCCC light | #87CEEB sky
 * ============================================================ */

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Hind Siliguri", "Noto Sans Bengali", "Shonar Bangla", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: #0c0c14;
  color: #CCCCCC;
  line-height: 1.6;
  font-size: 15px;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: #87CEEB; text-decoration: none; }
a:hover, a:focus { color: #b3e0ff; text-decoration: underline; }
button { font-family: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0 0 .5em; color: #ffffff; font-weight: 700; line-height: 1.25; }
p { margin: 0 0 .9em; }

/* ---------- Mobile frame on wider screens ---------- */
.ge1c-shell {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  background: linear-gradient(180deg, #0b0b14 0%, #11111c 40%, #0c0c14 100%);
  position: relative;
  box-shadow: 0 0 40px rgba(0,0,0,.6);
  padding-bottom: 76px; /* clearance for fixed bottom nav */
}

/* ---------- Skip link ---------- */
.ge1c-skip {
  position: absolute; left: -9999px; top: 0;
  background: #87CEEB; color: #000080; padding: 8px 12px; z-index: 2000;
}
.ge1c-skip:focus { left: 8px; top: 8px; }

/* ---------- Header ---------- */
.ge1c-header {
  position: sticky; top: 0; z-index: 100;
  background: linear-gradient(90deg, #000050 0%, #000080 50%, #000050 100%);
  border-bottom: 1px solid rgba(135,206,235,.25);
  padding: 10px 12px;
  display: flex; align-items: center; gap: 10px;
}
.ge1c-brand { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; }
.ge1c-brand img.ge1c-logo {
  width: 38px; height: 38px; border-radius: 8px;
  background: #ffffff; padding: 3px;
  box-shadow: 0 2px 8px rgba(0,0,0,.35);
  flex-shrink: 0;
}
.ge1c-brand-title { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.ge1c-brand-title strong {
  color: #ffffff; font-size: 15px; font-weight: 700; letter-spacing: .2px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ge1c-brand-title span { color: #87CEEB; font-size: 11px; }
.ge1c-header-actions { display: flex; gap: 6px; }
.ge1c-btn {
  display: inline-flex; align-items: center; justify-content: center;
  border: none; border-radius: 8px; padding: 9px 14px; font-size: 13px;
  font-weight: 700; transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
  text-decoration: none; line-height: 1;
}
.ge1c-btn:hover { text-decoration: none; transform: translateY(-1px); }
.ge1c-btn:active { transform: translateY(0); }
.ge1c-btn-primary {
  background: linear-gradient(135deg, #87CEEB 0%, #5fb4dc 100%);
  color: #000080; box-shadow: 0 3px 10px rgba(135,206,235,.35);
}
.ge1c-btn-ghost {
  background: rgba(255,255,255,.08); color: #ffffff;
  border: 1px solid rgba(135,206,235,.4);
}
.ge1c-icon-btn {
  width: 38px; height: 38px; border-radius: 8px; padding: 0;
  background: rgba(255,255,255,.08); border: 1px solid rgba(135,206,235,.3);
  color: #87CEEB; display: inline-flex; align-items: center; justify-content: center;
}
.ge1c-icon-btn:hover { background: rgba(135,206,235,.18); }

/* ---------- Mobile menu (slide-down panel) ---------- */
.ge1c-menu-backdrop {
  position: fixed; inset: 0; background: rgba(0,0,0,.55);
  opacity: 0; pointer-events: none; transition: opacity .25s ease; z-index: 150;
}
.ge1c-mobile-menu {
  position: fixed; top: 0; right: -100%; width: 78%; max-width: 320px;
  height: 100vh; background: #11111c; padding: 18px; z-index: 200;
  transition: right .3s ease; overflow-y: auto;
  border-left: 1px solid rgba(135,206,235,.25);
  box-shadow: -8px 0 30px rgba(0,0,0,.6);
}
.ge1c-mobile-menu.ge1c-open { right: 0; }
.ge1c-mobile-menu.ge1c-open ~ .ge1c-menu-backdrop { opacity: 1; pointer-events: auto; }
.ge1c-menu-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.ge1c-menu-head strong { color: #fff; font-size: 16px; }
.ge1c-menu-head button {
  width: 34px; height: 34px; border-radius: 8px; border: none;
  background: rgba(255,255,255,.08); color: #fff; font-size: 18px;
}
.ge1c-menu-list li { border-bottom: 1px solid rgba(255,255,255,.06); }
.ge1c-menu-list a {
  display: block; padding: 12px 6px; color: #CCCCCC; font-size: 14px;
}
.ge1c-menu-list a:hover { color: #87CEEB; padding-left: 10px; text-decoration: none; }
.ge1c-menu-list a small { display: block; color: #6a6a78; font-size: 11px; margin-top: 2px; }
.ge1c-menu-cta { margin-top: 16px; display: grid; gap: 8px; }

body.ge1c-no-scroll { overflow: hidden; }

/* ---------- Page title ---------- */
.ge1c-page-title {
  padding: 16px 12px 4px;
  color: #ffffff;
  font-size: 20px;
  line-height: 1.3;
}

/* ---------- Hero / carousel ---------- */
.ge1c-hero {
  position: relative; overflow: hidden; margin: 12px;
  border-radius: 14px; aspect-ratio: 16 / 7;
  background: #000010; box-shadow: 0 6px 18px rgba(0,0,0,.5);
}
.ge1c-hero-track { position: absolute; inset: 0; }
.ge1c-hero-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity .55s ease;
  display: flex; align-items: end;
}
.ge1c-hero-slide.ge1c-active { opacity: 1; }
.ge1c-hero-slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.ge1c-hero-caption {
  position: relative; z-index: 2; padding: 14px; width: 100%;
  background: linear-gradient(0deg, rgba(0,0,40,.92) 0%, rgba(0,0,40,.55) 60%, transparent 100%);
  color: #fff;
}
.ge1c-hero-caption h2 { color: #fff; font-size: 17px; margin-bottom: 4px; }
.ge1c-hero-caption p { color: #CCCCCC; font-size: 12px; margin: 0 0 8px; }
.ge1c-hero-dots {
  position: absolute; bottom: 8px; left: 0; right: 0; z-index: 3;
  display: flex; gap: 6px; justify-content: center;
}
.ge1c-hero-dot {
  width: 8px; height: 8px; border-radius: 50%; border: none; padding: 0;
  background: rgba(255,255,255,.45); transition: background .2s, transform .2s;
}
.ge1c-hero-dot.ge1c-dot-active { background: #87CEEB; transform: scale(1.25); }

/* ---------- Section layout ---------- */
.ge1c-section { padding: 14px 12px; }
.ge1c-section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.ge1c-section-head h2 { font-size: 17px; color: #fff; position: relative; padding-left: 12px; }
.ge1c-section-head h2::before {
  content: ''; position: absolute; left: 0; top: 4px; bottom: 4px; width: 4px;
  background: linear-gradient(180deg, #87CEEB, #000080); border-radius: 4px;
}
.ge1c-section-head a { font-size: 12px; color: #87CEEB; }
.ge1c-muted { color: #9a9aa6; font-size: 12px; }

/* ---------- Filter chips ---------- */
.ge1c-chips {
  display: flex; gap: 8px; overflow-x: auto; padding: 4px 12px 10px;
  scrollbar-width: none;
}
.ge1c-chips::-webkit-scrollbar { display: none; }
.ge1c-chip {
  flex-shrink: 0; padding: 7px 14px; border-radius: 20px;
  background: rgba(255,255,255,.06); color: #CCCCCC; font-size: 12px;
  border: 1px solid rgba(135,206,235,.2); white-space: nowrap;
}
.ge1c-chip.ge1c-chip-active {
  background: linear-gradient(135deg, #000080, #1a1a4a);
  color: #87CEEB; border-color: #87CEEB;
}

/* ---------- Search bar ---------- */
.ge1c-search {
  margin: 4px 12px 12px; position: relative;
}
.ge1c-search input {
  width: 100%; padding: 11px 14px 11px 38px; border-radius: 22px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(135,206,235,.22);
  color: #fff; font-size: 13px; outline: none;
}
.ge1c-search input::placeholder { color: #7a7a86; }
.ge1c-search input:focus { border-color: #87CEEB; }
.ge1c-search svg {
  position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  width: 16px; height: 16px; color: #87CEEB;
}

/* ---------- Game grid ---------- */
.ge1c-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 0 12px; }
.ge1c-game-card {
  background: linear-gradient(180deg, #15152a 0%, #0e0e1a 100%);
  border: 1px solid rgba(135,206,235,.12); border-radius: 12px;
  overflow: hidden; transition: transform .15s, border-color .15s; display: block;
  text-decoration: none;
}
.ge1c-game-card:hover { transform: translateY(-2px); border-color: rgba(135,206,235,.45); text-decoration: none; }
.ge1c-game-thumb { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: #0a0a14; }
.ge1c-game-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ge1c-game-tag {
  position: absolute; top: 6px; left: 6px; padding: 2px 7px; font-size: 10px;
  background: rgba(135,206,235,.95); color: #000080; border-radius: 4px; font-weight: 700;
}
.ge1c-game-play {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,40,.55); opacity: 0; transition: opacity .15s; color: #fff; font-size: 11px; font-weight: 700;
}
.ge1c-game-card:hover .ge1c-game-play,
.ge1c-game-card:focus-visible .ge1c-game-play { opacity: 1; }
.ge1c-game-body { padding: 7px 8px 9px; }
.ge1c-game-body strong { display: block; color: #fff; font-size: 11.5px; line-height: 1.25; }
.ge1c-game-body small { display: block; color: #7a7a86; font-size: 10px; margin-top: 2px; }

/* Larger feature card variant */
.ge1c-grid-feature { grid-template-columns: repeat(2, 1fr); }

/* ---------- Info / feature cards ---------- */
.ge1c-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; padding: 0 12px; }
.ge1c-card {
  background: linear-gradient(180deg, #15152a, #0e0e1a);
  border: 1px solid rgba(135,206,235,.14); border-radius: 12px; padding: 14px;
}
.ge1c-card .ge1c-ico {
  width: 38px; height: 38px; border-radius: 10px; margin-bottom: 8px;
  background: linear-gradient(135deg, #000080, #87CEEB);
  display: flex; align-items: center; justify-content: center; color: #fff;
}
.ge1c-card h3 { font-size: 14px; color: #fff; }
.ge1c-card p { font-size: 12px; color: #b3b3bf; margin: 0; }

/* ---------- Steps ---------- */
.ge1c-steps { counter-reset: step; padding: 0 12px; display: grid; gap: 10px; }
.ge1c-step {
  display: flex; gap: 12px; padding: 12px; border-radius: 12px;
  background: rgba(255,255,255,.04); border: 1px solid rgba(135,206,235,.12);
}
.ge1c-step-num {
  flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%;
  background: linear-gradient(135deg, #87CEEB, #000080);
  color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center;
}
.ge1c-step-body h4 { font-size: 13px; color: #fff; margin-bottom: 3px; }
.ge1c-step-body p { font-size: 12px; color: #b3b3bf; margin: 0; }

/* ---------- Rich text / SEO ---------- */
.ge1c-rich { padding: 14px 12px; }
.ge1c-rich h2 { font-size: 17px; color: #fff; }
.ge1c-rich h3 { font-size: 14px; color: #87CEEB; margin-top: 14px; }
.ge1c-rich p { font-size: 13.5px; color: #c2c2cf; }
.ge1c-rich ul { padding-left: 18px; margin: 0 0 10px; list-style: disc; }
.ge1c-rich ul li { margin-bottom: 4px; color: #c2c2cf; }
.ge1c-rich a { color: #87CEEB; }

/* ---------- FAQ ---------- */
.ge1c-faq { padding: 0 12px; display: grid; gap: 8px; }
.ge1c-faq-item {
  background: rgba(255,255,255,.04); border: 1px solid rgba(135,206,235,.14);
  border-radius: 10px; overflow: hidden;
}
.ge1c-faq-q {
  width: 100%; background: none; border: none; padding: 12px 14px;
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  color: #fff; font-size: 13px; font-weight: 600; text-align: left;
}
.ge1c-faq-q .ge1c-faq-sign { color: #87CEEB; font-size: 18px; flex-shrink: 0; transition: transform .2s; }
.ge1c-faq-item.ge1c-faq-open .ge1c-faq-sign { transform: rotate(45deg); }
.ge1c-faq-a {
  max-height: 0; overflow: hidden; transition: max-height .25s ease;
  padding: 0 14px; color: #b3b3bf; font-size: 12.5px;
}
.ge1c-faq-item.ge1c-faq-open .ge1c-faq-a { max-height: 400px; padding: 0 14px 12px; }

/* ---------- Promotional banner ---------- */
.ge1c-cta-banner {
  margin: 14px 12px; padding: 16px; border-radius: 14px; text-align: center;
  background: linear-gradient(135deg, #000080 0%, #1a1a4a 50%, #000050 100%);
  border: 1px solid rgba(135,206,235,.35);
  box-shadow: 0 6px 18px rgba(0,0,40,.5);
}
.ge1c-cta-banner h3 { color: #fff; font-size: 16px; margin-bottom: 4px; }
.ge1c-cta-banner p { color: #CCCCCC; font-size: 12px; margin-bottom: 12px; }
.ge1c-cta-banner .ge1c-btn { padding: 11px 22px; font-size: 14px; }

/* ---------- Footer ---------- */
.ge1c-footer {
  margin-top: 18px; padding: 18px 12px 22px;
  border-top: 1px solid rgba(135,206,235,.18);
  background: #08080f;
}
.ge1c-footer-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-bottom: 14px; }
.ge1c-footer h4 { color: #87CEEB; font-size: 12px; margin-bottom: 8px; text-transform: uppercase; letter-spacing: .6px; }
.ge1c-footer ul li { margin-bottom: 5px; }
.ge1c-footer ul a { color: #b3b3bf; font-size: 12px; }
.ge1c-footer ul a:hover { color: #87CEEB; }
.ge1c-footer-bottom { text-align: center; color: #6a6a78; font-size: 11px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.06); }
.ge1c-footer-brand { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.ge1c-footer-brand img { width: 30px; height: 30px; border-radius: 6px; background: #fff; padding: 2px; }
.ge1c-footer-brand strong { color: #fff; font-size: 14px; }
.ge1c-disclaimer {
  margin-top: 10px; padding: 10px; border-radius: 8px;
  background: rgba(135,206,235,.06); color: #8a8a96; font-size: 11px;
}

/* ---------- Bottom navigation (5 buttons, fixed) ---------- */
.ge1c-bottom-nav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 120;
  max-width: 480px; margin: 0 auto;
  background: linear-gradient(180deg, rgba(17,17,28,.96), rgba(8,8,15,.99));
  border-top: 1px solid rgba(135,206,235,.28);
  display: grid; grid-template-columns: repeat(5, 1fr);
  padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
  backdrop-filter: blur(8px);
}
.ge1c-nav-btn {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 5px 2px; background: none; border: none; color: #8a8a96;
  font-size: 10px; line-height: 1.1; text-align: center;
  border-radius: 10px; transition: color .15s, transform .15s;
  text-decoration: none;
}
.ge1c-nav-btn:hover { color: #87CEEB; text-decoration: none; }
.ge1c-nav-btn .ge1c-nav-ico {
  width: 24px; height: 24px; display: flex; align-items: center; justify-content: center;
}
.ge1c-nav-btn .ge1c-nav-ico svg { width: 22px; height: 22px; }
.ge1c-nav-btn.ge1c-nav-active { color: #87CEEB; }
.ge1c-nav-btn.ge1c-nav-active .ge1c-nav-ico {
  background: rgba(135,206,235,.18); border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(135,206,235,.12);
}
.ge1c-nav-btn-cta { color: #ffd56b; }
.ge1c-nav-btn-cta .ge1c-nav-ico {
  background: linear-gradient(135deg, #87CEEB, #000080); border-radius: 50%;
  color: #fff; box-shadow: 0 2px 8px rgba(135,206,235,.4);
}
.ge1c-nav-btn-cta:hover { color: #ffe6a0; }

/* ---------- Back to top ---------- */
.ge1c-to-top {
  position: fixed; right: 14px; bottom: 90px; z-index: 110;
  width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(135deg, #87CEEB, #000080);
  color: #fff; border: none; display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s;
  box-shadow: 0 4px 12px rgba(0,0,40,.5);
}
.ge1c-to-top.ge1c-show { opacity: 1; pointer-events: auto; }
.ge1c-to-top:hover { transform: translateY(-2px); }

/* ---------- Utility ---------- */
.ge1c-row { display: flex; gap: 10px; flex-wrap: wrap; }
.ge1c-pill {
  display: inline-block; padding: 3px 10px; font-size: 11px;
  background: rgba(135,206,235,.12); color: #87CEEB;
  border: 1px solid rgba(135,206,235,.3); border-radius: 12px; margin: 0 4px 4px 0;
}
.ge1c-divider { height: 1px; background: rgba(135,206,235,.14); margin: 16px 12px; }
.ge1c-hide { display: none !important; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ---------- Responsive tweaks ---------- */
@media (min-width: 320px) {
  .ge1c-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 375px) {
  .ge1c-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .ge1c-section-head h2 { font-size: 18px; }
}
@media (min-width: 430px) {
  .ge1c-grid { gap: 10px; }
  .ge1c-game-body strong { font-size: 12.5px; }
}
@media (min-width: 481px) {
  /* Keep mobile canvas. Slight spacing improvements only. */
  body { background: #050509; }
}
