/* =========================================================
   ac3655.click - style.css
   All custom classes use prefix "we58c-"
   Palette: #0D1117 (dark bg) | #F8F8FF (text) | #FF9500 (accent)
            #8A2BE2 (purple) | #FFF176 (highlight yellow)
   Mobile-first, container max-width: 430px
   ========================================================= */

:root {
  --we58c-bg: #0D1117;
  --we58c-bg-2: #161B26;
  --we58c-bg-3: #1F2633;
  --we58c-text: #F8F8FF;
  --we58c-muted: #9AA3B2;
  --we58c-primary: #FF9500;
  --we58c-purple: #8A2BE2;
  --we58c-yellow: #FFF176;
  --we58c-border: #2A3142;
  --we58c-radius: 12px;
  --we58c-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  --we58c-header-h: 56px;
  --we58c-bottomnav-h: 62px;
}

* { box-sizing: border-box; }

html { font-size: 62.5%; }

body {
  margin: 0;
  padding: 0;
  background: var(--we58c-bg);
  color: var(--we58c-text);
  font-family: "Hind Siliguri", "Noto Sans Bengali", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 1.5rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

/* ---------- Layout container ---------- */
.we58c-wrapper {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  background: var(--we58c-bg);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}
.we58c-container {
  padding: 0 14px;
}

/* ---------- Header ---------- */
.we58c-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(90deg, #0D1117 0%, #1F1530 60%, #0D1117 100%);
  border-bottom: 1px solid var(--we58c-border);
  box-shadow: var(--we58c-shadow);
}
.we58c-header-inner {
  max-width: 430px;
  margin: 0 auto;
  height: var(--we58c-header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
}
.we58c-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--we58c-text);
}
.we58c-brand img { width: 28px; height: 28px; border-radius: 6px; }
.we58c-brand-name {
  font-size: 1.8rem;
  background: linear-gradient(90deg, var(--we58c-primary), var(--we58c-yellow));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.we58c-header-actions { display: flex; align-items: center; gap: 8px; }

/* ---------- Buttons ---------- */
.we58c-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 36px;
  padding: 0 14px;
  border: none;
  border-radius: 999px;
  font-size: 1.35rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: transform .15s ease, filter .15s ease;
}
.we58c-btn:hover { transform: translateY(-1px); filter: brightness(1.08); }
.we58c-btn-primary { background: linear-gradient(90deg, var(--we58c-primary), #FFB13D); color: #1A1206; }
.we58c-btn-secondary { background: linear-gradient(90deg, var(--we58c-purple), #B57BFF); color: #fff; }
.we58c-btn-ghost { background: transparent; border: 1px solid var(--we58c-border); color: var(--we58c-text); }
.we58c-btn-yellow { background: var(--we58c-yellow); color: #1A1206; }
.we58c-btn-lg { min-height: 48px; font-size: 1.6rem; padding: 0 22px; width: 100%; }

/* Menu toggle button */
.we58c-menu-btn {
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--we58c-bg-3); color: var(--we58c-text);
  border: 1px solid var(--we58c-border); border-radius: 8px;
  cursor: pointer; font-size: 1.6rem;
}

/* ---------- Mobile expandable menu ---------- */
.we58c-mobile-menu {
  max-height: 0;
  overflow: hidden;
  background: var(--we58c-bg-2);
  border-top: 1px solid var(--we58c-border);
  transition: max-height .35s ease;
}
.we58c-mobile-menu.we58c-menu-open { max-height: 460px; }
.we58c-mobile-menu-inner {
  max-width: 430px;
  margin: 0 auto;
  padding: 10px 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.we58c-mobile-menu a {
  display: block;
  padding: 9px 10px;
  background: var(--we58c-bg-3);
  border: 1px solid var(--we58c-border);
  border-radius: 8px;
  font-size: 1.35rem;
  color: var(--we58c-text);
}
.we58c-mobile-menu a:hover { background: var(--we58c-purple); color: #fff; }

/* ---------- Main / hero spacing ---------- */
main.we58c-main {
  padding-top: calc(var(--we58c-header-h) + 10px);
  padding-bottom: calc(var(--we58c-bottomnav-h) + 24px);
}

/* ---------- Carousel ---------- */
.we58c-carousel {
  position: relative;
  width: 100%;
  border-radius: var(--we58c-radius);
  overflow: hidden;
  box-shadow: var(--we58c-shadow);
  margin: 6px 0 14px;
}
.we58c-carousel-track { position: relative; width: 100%; aspect-ratio: 16 / 7; }
.we58c-carousel-slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity .6s ease;
  cursor: pointer;
}
.we58c-carousel-slide img { width: 100%; height: 100%; object-fit: cover; }
.we58c-carousel-slide.we58c-active { opacity: 1; }
.we58c-carousel-dots {
  position: absolute;
  bottom: 8px; left: 0; right: 0;
  display: flex; justify-content: center; gap: 6px;
}
.we58c-carousel-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(248,248,255,.45);
  cursor: pointer;
}
.we58c-carousel-dot.we58c-active { background: var(--we58c-yellow); }

/* ---------- Section ---------- */
.we58c-section {
  margin: 18px 0;
  padding: 14px;
  background: var(--we58c-bg-2);
  border: 1px solid var(--we58c-border);
  border-radius: var(--we58c-radius);
}
.we58c-section-title {
  font-size: 1.7rem;
  font-weight: 700;
  margin: 0 0 10px;
  display: flex; align-items: center; gap: 8px;
  color: var(--we58c-yellow);
}
.we58c-section-title i { color: var(--we58c-primary); }
.we58c-section p { color: var(--we58c-text); margin: 6px 0; }
.we58c-lead { color: var(--we58c-muted); font-size: 1.4rem; }

/* ---------- H1 ---------- */
.we58c-h1 {
  font-size: 2.1rem;
  font-weight: 800;
  margin: 6px 0 10px;
  line-height: 1.3;
  background: linear-gradient(90deg, var(--we58c-yellow), var(--we58c-primary));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---------- Category title ---------- */
.we58c-cat-title {
  font-size: 1.6rem;
  font-weight: 700;
  margin: 14px 0 8px;
  padding-left: 8px;
  border-left: 4px solid var(--we58c-primary);
  color: var(--we58c-text);
}

/* ---------- Game grid ---------- */
.we58c-game-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.we58c-game-card {
  background: var(--we58c-bg-3);
  border: 1px solid var(--we58c-border);
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  cursor: pointer;
  transition: transform .15s ease, border-color .15s ease;
  display: block;
}
.we58c-game-card:hover {
  transform: translateY(-2px);
  border-color: var(--we58c-primary);
}
.we58c-game-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: #000;
}
.we58c-game-name {
  font-size: 1.15rem;
  padding: 5px 4px;
  color: var(--we58c-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---------- Feature / highlights cards ---------- */
.we58c-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.we58c-feature-card {
  background: var(--we58c-bg-3);
  border: 1px solid var(--we58c-border);
  border-radius: 10px;
  padding: 12px;
}
.we58c-feature-card i { font-size: 2.2rem; color: var(--we58c-primary); }
.we58c-feature-card h3 { margin: 6px 0 4px; font-size: 1.35rem; color: var(--we58c-yellow); }
.we58c-feature-card p { margin: 0; font-size: 1.25rem; color: var(--we58c-muted); }

/* ---------- RTP / stat bars ---------- */
.we58c-stat-row { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px dashed var(--we58c-border); font-size: 1.3rem; }
.we58c-stat-row span:last-child { color: var(--we58c-yellow); font-weight: 700; }
.we58c-bar { height: 8px; background: var(--we58c-bg-3); border-radius: 4px; overflow: hidden; margin: 4px 0 10px; }
.we58c-bar-fill { height: 100%; background: linear-gradient(90deg, var(--we58c-purple), var(--we58c-primary)); }

/* ---------- Testimonials ---------- */
.we58c-testimonial {
  background: var(--we58c-bg-3);
  border: 1px solid var(--we58c-border);
  border-left: 4px solid var(--we58c-purple);
  border-radius: 8px;
  padding: 10px 12px;
  margin-bottom: 8px;
}
.we58c-testimonial p { margin: 0 0 4px; font-size: 1.3rem; }
.we58c-testimonial small { color: var(--we58c-yellow); }

/* ---------- Winners list ---------- */
.we58c-winner-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 6px 8px; background: var(--we58c-bg-3); border-radius: 6px;
  margin-bottom: 6px; font-size: 1.3rem;
}
.we58c-winner-row span:last-child { color: var(--we58c-primary); font-weight: 700; }

/* ---------- Payment chips ---------- */
.we58c-chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.we58c-chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--we58c-bg-3); border: 1px solid var(--we58c-border);
  border-radius: 999px; padding: 6px 12px; font-size: 1.2rem; color: var(--we58c-text);
}

/* ---------- CTA banner ---------- */
.we58c-cta {
  background: linear-gradient(120deg, var(--we58c-purple), var(--we58c-primary));
  border-radius: var(--we58c-radius);
  padding: 16px;
  color: #fff;
  text-align: center;
  margin: 14px 0;
}
.we58c-cta h2 { margin: 0 0 6px; font-size: 1.8rem; color: #fff; }
.we58c-cta p { margin: 0 0 10px; font-size: 1.3rem; color: #FFF7E6; }

/* ---------- Inline promo link ---------- */
.we58c-promo-link {
  color: var(--we58c-primary);
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
}

/* ---------- Footer ---------- */
.we58c-footer {
  margin-top: 20px;
  padding: 18px 14px calc(var(--we58c-bottomnav-h) + 30px);
  background: var(--we58c-bg-2);
  border-top: 1px solid var(--we58c-border);
}
.we58c-footer h3 { font-size: 1.5rem; color: var(--we58c-yellow); margin: 10px 0 6px; }
.we58c-footer p { color: var(--we58c-muted); font-size: 1.25rem; }
.we58c-footer-links {
  display: grid; grid-template-columns: 1fr 1fr; gap: 6px;
  margin: 10px 0;
}
.we58c-footer-links a {
  font-size: 1.25rem; color: var(--we58c-text);
  padding: 4px 6px; background: var(--we58c-bg-3); border-radius: 6px;
}
.we58c-footer-copy { font-size: 1.15rem; color: var(--we58c-muted); text-align: center; margin-top: 10px; }

/* ---------- Mobile bottom navigation ---------- */
.we58c-bottomnav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: var(--we58c-bottomnav-h);
  background: linear-gradient(180deg, #161B26, #0D1117);
  border-top: 1px solid var(--we58c-border);
  z-index: 1000;
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  box-shadow: 0 -4px 14px rgba(0,0,0,.4);
}
.we58c-bottomnav-btn {
  flex: 1;
  min-width: 60px;
  min-height: 60px;
  background: transparent;
  border: none;
  color: var(--we58c-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  cursor: pointer;
  font-size: 1.05rem;
  text-decoration: none;
  transition: color .15s ease, transform .15s ease;
}
.we58c-bottomnav-btn i,
.we58c-bottomnav-btn .material-icons-outlined {
  font-size: 22px;
}
.we58c-bottomnav-btn:hover { transform: translateY(-2px); color: var(--we58c-yellow); }
.we58c-bottomnav-btn.we58c-nav-current { color: var(--we58c-primary); }
.we58c-bottomnav-btn span { font-size: 1.05rem; }

/* ---------- Desktop ---------- */
@media (min-width: 769px) {
  .we58c-bottomnav { display: none; }
  main.we58c-main { padding-bottom: 30px; }
  .we58c-footer { padding-bottom: 24px; }
}

/* ---------- Small mobile tuning ---------- */
@media (max-width: 360px) {
  .we58c-game-grid { grid-template-columns: repeat(2, 1fr); }
  .we58c-brand-name { font-size: 1.5rem; }
}
