/* jay99 basefiles stylesheet - prefix we9e3- */
/* English comments only. Palette: #87CEFA / #000080 / #F0F8FF / #1C2833 */

:root {
  --we9e3-primary: #87CEFA;
  --we9e3-navy: #000080;
  --we9e3-light: #F0F8FF;
  --we9e3-dark: #1C2833;
  --we9e3-dark-2: #131c25;
  --we9e3-card: #202c3a;
  --we9e3-muted: #9fb0c2;
  --we9e3-accent: #ffd24a;
  --we9e3-grad: linear-gradient(135deg, #000080 0%, #1C2833 100%);
  --we9e3-radius: 14px;
}

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

html { font-size: 62.5%; }

body {
  font-family: "Hind Siliguri", "Noto Sans Bengali", "Segoe UI", system-ui, sans-serif;
  background: var(--we9e3-dark);
  color: var(--we9e3-light);
  line-height: 1.5rem;
  font-size: 1.4rem;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

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

/* ===== Mobile-first container max-width 430px ===== */
.we9e3-wrapper {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  position: relative;
}

/* ===== Header ===== */
.we9e3-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--we9e3-grad);
  border-bottom: 1px solid rgba(135, 206, 250, 0.25);
}
.we9e3-header-inner {
  max-width: 430px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 1rem;
  gap: 0.8rem;
}
.we9e3-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--we9e3-light);
  font-weight: 700;
  font-size: 1.7rem;
}
.we9e3-brand img { width: 30px; height: 30px; border-radius: 8px; }
.we9e3-brand .we9e3-brand-tag { color: var(--we9e3-primary); font-weight: 700; }

.we9e3-header-actions { display: flex; align-items: center; gap: 0.5rem; }
.we9e3-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.7rem 1.2rem;
  font-size: 1.3rem;
  line-height: 1;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.we9e3-btn:hover { text-decoration: none; transform: translateY(-1px); }
.we9e3-btn:active { transform: scale(0.97); }
.we9e3-btn-register {
  background: linear-gradient(135deg, #ffd24a, #ff9d3a);
  color: #1C2833;
  box-shadow: 0 4px 14px rgba(255, 157, 58, 0.35);
}
.we9e3-btn-login {
  background: transparent;
  color: var(--we9e3-light);
  border: 1.5px solid var(--we9e3-primary);
}
.we9e3-menu-btn {
  background: transparent;
  border: none;
  color: var(--we9e3-light);
  font-size: 2rem;
  cursor: pointer;
  padding: 0.3rem 0.6rem;
  line-height: 1;
}

/* ===== Expandable navigation menu ===== */
.we9e3-mobile-menu {
  max-width: 430px;
  margin: 0 auto;
  background: var(--we9e3-dark-2);
  border-bottom: 1px solid rgba(135, 206, 250, 0.15);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.we9e3-mobile-menu.we9e3-menu-open { max-height: 460px; }
.we9e3-menu-list {
  list-style: none;
  padding: 0.5rem 1rem 1rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}
.we9e3-menu-list a {
  display: block;
  padding: 0.8rem 1rem;
  background: var(--we9e3-card);
  color: var(--we9e3-light);
  border-radius: 10px;
  border-left: 3px solid var(--we9e3-primary);
  font-size: 1.25rem;
  font-weight: 600;
}
.we9e3-menu-list a:hover { background: var(--we9e3-navy); text-decoration: none; }

/* ===== Main ===== */
main.we9e3-main { padding-bottom: 80px; }
.we9e3-section { padding: 1.6rem 1rem; }
.we9e3-section h2 {
  font-size: 1.7rem;
  color: var(--we9e3-light);
  margin-bottom: 0.8rem;
  border-left: 4px solid var(--we9e3-primary);
  padding-left: 0.8rem;
}
.we9e3-section h3 {
  font-size: 1.4rem;
  color: var(--we9e3-primary);
  margin: 0.8rem 0 0.4rem;
}
.we9e3-section p { color: var(--we9e3-light); margin-bottom: 0.7rem; }

/* ===== Hero carousel ===== */
.we9e3-hero {
  position: relative;
  margin: 1rem;
  border-radius: var(--we9e3-radius);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 128, 0.4);
}
.we9e3-slides { position: relative; }
.we9e3-slide {
  display: none;
  position: relative;
}
.we9e3-slide img { width: 100%; height: 200px; object-fit: cover; }
.we9e3-slide.we9e3-slide-active { display: block; }
.we9e3-slide-cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.85));
  padding: 1.2rem 1rem 1rem;
}
.we9e3-slide-cap strong { display: block; color: var(--we9e3-primary); font-size: 1.5rem; margin-bottom: 0.2rem; }
.we9e3-slide-cap span { color: var(--we9e3-light); font-size: 1.15rem; }
.we9e3-slide-cta {
  display: inline-block;
  margin-top: 0.6rem;
  background: var(--we9e3-accent);
  color: var(--we9e3-dark);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1.1rem;
}
.we9e3-dot-row {
  position: absolute;
  bottom: 8px;
  right: 12px;
  display: flex;
  gap: 6px;
  z-index: 5;
}
.we9e3-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(240, 248, 255, 0.45);
  border: none; cursor: pointer; padding: 0;
}
.we9e3-dot.we9e3-dot-active { background: var(--we9e3-primary); }

/* ===== Category quick filter chips ===== */
.we9e3-chips {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding: 0.5rem 1rem 1rem;
  scrollbar-width: none;
}
.we9e3-chips::-webkit-scrollbar { display: none; }
.we9e3-chip {
  flex: 0 0 auto;
  background: var(--we9e3-card);
  color: var(--we9e3-light);
  border: 1px solid rgba(135, 206, 250, 0.3);
  border-radius: 999px;
  padding: 0.55rem 1.1rem;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
}

/* ===== Game grid ===== */
.we9e3-cat-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 1rem 0.6rem;
}
.we9e3-cat-title h2 { margin: 0; border: none; padding: 0; font-size: 1.55rem; }
.we9e3-cat-title .we9e3-cat-icon { color: var(--we9e3-accent); margin-right: 0.4rem; }
.we9e3-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
  padding: 0 1rem 0.6rem;
}
.we9e3-game-card {
  background: var(--we9e3-card);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(135, 206, 250, 0.12);
  text-align: center;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.we9e3-game-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 128, 0.45);
  border-color: var(--we9e3-primary);
}
.we9e3-game-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #0b131c;
}
.we9e3-game-name {
  display: block;
  padding: 0.45rem 0.3rem;
  font-size: 1.05rem;
  color: var(--we9e3-light);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.we9e3-game-card a:hover { text-decoration: none; }

/* ===== Promo CTA banner ===== */
.we9e3-promo {
  margin: 1rem;
  padding: 1.2rem;
  background: var(--we9e3-grad);
  border-radius: var(--we9e3-radius);
  border: 1px solid rgba(135, 206, 250, 0.3);
  text-align: center;
}
.we9e3-promo h3 { color: var(--we9e3-accent); font-size: 1.5rem; margin-bottom: 0.4rem; }
.we9e3-promo p { color: var(--we9e3-light); font-size: 1.2rem; margin-bottom: 0.8rem; }
.we9e3-link-text {
  color: var(--we9e3-accent);
  font-weight: 700;
  text-decoration: underline;
}

/* ===== Info / features cards ===== */
.we9e3-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
  padding: 0 1rem;
}
.we9e3-card {
  background: var(--we9e3-card);
  border-radius: 12px;
  padding: 1rem;
  border: 1px solid rgba(135, 206, 250, 0.12);
}
.we9e3-card .we9e3-card-ic {
  font-size: 2rem;
  color: var(--we9e3-primary);
  margin-bottom: 0.4rem;
}
.we9e3-card h3 { font-size: 1.25rem; color: var(--we9e3-light); margin-bottom: 0.3rem; }
.we9e3-card p { font-size: 1.1rem; color: var(--we9e3-muted); margin: 0; }

/* ===== Testimonials ===== */
.we9e3-quote {
  background: var(--we9e3-card);
  border-left: 3px solid var(--we9e3-primary);
  border-radius: 10px;
  padding: 0.9rem 1rem;
  margin: 0.5rem 1rem;
  font-size: 1.15rem;
  color: var(--we9e3-light);
}
.we9e3-quote b { color: var(--we9e3-accent); }

/* ===== Payment / winners ===== */
.we9e3-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0 1rem;
}
.we9e3-pill {
  background: var(--we9e3-navy);
  color: var(--we9e3-primary);
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  font-size: 1.05rem;
  font-weight: 600;
  border: 1px solid rgba(135, 206, 250, 0.3);
}

/* ===== Footer ===== */
.we9e3-footer {
  background: var(--we9e3-dark-2);
  border-top: 1px solid rgba(135, 206, 250, 0.2);
  padding: 1.5rem 1rem 1rem;
  max-width: 430px;
  margin: 0 auto;
}
.we9e3-footer p { color: var(--we9e3-muted); font-size: 1.15rem; margin-bottom: 0.6rem; }
.we9e3-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin: 0.6rem 0;
}
.we9e3-footer-links a { color: var(--we9e3-primary); font-size: 1.15rem; }
.we9e3-footer-promo {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.6rem 0 1rem;
}
.we9e3-footer-copy { color: var(--we9e3-muted); font-size: 1.05rem; border-top: 1px solid rgba(135,206,250,0.12); padding-top: 0.8rem; }

/* ===== Mobile bottom nav (fixed) ===== */
.we9e3-bottomnav {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 1000;
  max-width: 430px;
  margin: 0 auto;
  height: 62px;
  background: var(--we9e3-grad);
  border-top: 1px solid rgba(135, 206, 250, 0.35);
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.4);
}
.we9e3-bottomnav a, .we9e3-bottomnav button {
  flex: 1 1 0;
  min-width: 60px;
  min-height: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  background: transparent;
  border: none;
  color: var(--we9e3-muted);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  padding: 0.4rem 0;
  transition: color 0.15s ease, transform 0.15s ease;
}
.we9e3-bottomnav a:hover, .we9e3-bottomnav button:hover { text-decoration: none; }
.we9e3-bottomnav .we9e3-bn-ic { font-size: 2.2rem; line-height: 1; }
.we9e3-bottomnav a:hover .we9e3-bn-ic, .we9e3-bottomnav button:hover .we9e3-bn-ic { transform: translateY(-2px); }
.we9e3-bottomnav .we9e3-active { color: var(--we9e3-accent); }
.we9e3-bottomnav .we9e3-bn-promo { color: var(--we9e3-primary); }

/* ===== Desktop ===== */
@media (min-width: 769px) {
  .we9e3-bottomnav { display: none; }
  main.we9e3-main { padding-bottom: 24px; }
  .we9e3-wrapper, .we9e3-footer, .we9e3-header-inner, .we9e3-mobile-menu { max-width: 430px; }
}

/* Ensure tap targets are comfortable */
.we9e3-btn, .we9e3-chip, .we9e3-game-card { min-height: 44px; }
