/* ============================================================
   hibaje.cfd - Core Layout Stylesheet (prefix: wa083-)
   Color palette: #1E90FF | #6495ED | #0000CD | #2C3E50
   Mobile-first design, max-width 430px primary target.
   ============================================================ */

:root {
  --wa083-primary: #1E90FF;
  --wa083-secondary: #6495ED;
  --wa083-deep: #0000CD;
  --wa083-dark: #2C3E50;
  --wa083-bg: #0f1c2e;
  --wa083-bg-soft: #182a42;
  --wa083-card: #1c2f4a;
  --wa083-text: #f5f9ff;
  --wa083-text-soft: #b9cbe6;
  --wa083-accent: #FFD24A;
  --wa083-accent-2: #ff5e8a;
  --wa083-border: #2b4366;
  --wa083-radius: 1.2rem;
  --wa083-shadow: 0 0.4rem 1.5rem rgba(0, 0, 0, 0.35);
}

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

html {
  font-size: 62.5%;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: "Hind Siliguri", "Noto Sans Bengali", "Segoe UI", system-ui, sans-serif;
  background: linear-gradient(180deg, var(--wa083-bg) 0%, var(--wa083-dark) 100%);
  color: var(--wa083-text);
  line-height: 1.5rem;
  font-size: 1.5rem;
  min-height: 100vh;
  overflow-x: hidden;
}

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

.wa083-wrapper {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  position: relative;
}

.wa083-container {
  width: 100%;
  padding: 0 1.2rem;
}

/* ============ Header / Top Navigation ============ */
.wa083-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(90deg, var(--wa083-deep), var(--wa083-primary));
  box-shadow: 0 0.2rem 0.8rem rgba(0, 0, 0, 0.4);
  border-bottom: 0.2rem solid var(--wa083-secondary);
}

.wa083-header-inner {
  max-width: 430px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 1rem;
  gap: 0.8rem;
}

.wa083-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 0;
}
.wa083-logo img {
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 0.6rem;
}
.wa083-logo b {
  font-size: 1.7rem;
  color: var(--wa083-text);
  font-weight: 800;
  letter-spacing: 0.05rem;
}

.wa083-header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.wa083-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 3.4rem;
  padding: 0 1.2rem;
  border: none;
  border-radius: 2rem;
  font-size: 1.3rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
  text-decoration: none;
  color: #fff;
  line-height: 1;
}
.wa083-btn:active { transform: scale(0.96); }

.wa083-btn-register {
  background: linear-gradient(135deg, var(--wa083-accent), #ff9f1c);
  color: #2C3E50;
  box-shadow: 0 0.3rem 0.8rem rgba(255, 210, 74, 0.35);
}
.wa083-btn-login {
  background: rgba(255, 255, 255, 0.12);
  border: 0.15rem solid #fff;
  color: #fff;
}
.wa083-btn-cta {
  background: linear-gradient(135deg, var(--wa083-primary), var(--wa083-deep));
  box-shadow: 0 0.3rem 0.9rem rgba(30, 144, 255, 0.4);
  width: 100%;
  min-height: 4rem;
  font-size: 1.5rem;
}

.wa083-menu-btn {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #fff;
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 0.8rem;
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* Expandable nav menu */
.wa083-nav {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: var(--wa083-bg-soft);
}
.wa083-nav-open { max-height: 50rem; }
.wa083-nav-inner {
  padding: 0.6rem 1rem 1rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}
.wa083-nav-inner a {
  display: block;
  padding: 0.8rem 1rem;
  background: var(--wa083-card);
  border-radius: 0.8rem;
  color: var(--wa083-text);
  font-size: 1.3rem;
  font-weight: 600;
  text-align: center;
  border: 0.1rem solid var(--wa083-border);
}
.wa083-nav-inner a:hover, .wa083-nav-inner a:active {
  background: var(--wa083-primary);
}

/* ============ Main content spacing ============ */
.wa083-main {
  padding-top: 6rem;
  padding-bottom: 8rem; /* clear bottom nav on mobile */
}

/* ============ Hero / Carousel ============ */
.wa083-carousel {
  position: relative;
  border-radius: var(--wa083-radius);
  overflow: hidden;
  margin: 1rem 0;
  box-shadow: var(--wa083-shadow);
}
.wa083-slide {
  display: none;
  position: relative;
  cursor: pointer;
}
.wa083-slide-active { display: block; }
.wa083-slide img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.wa083-slide-cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1rem 1.2rem;
  background: linear-gradient(0deg, rgba(0,0,0,0.75), transparent);
  color: #fff;
}
.wa083-slide-cap b { font-size: 1.6rem; display: block; }
.wa083-slide-cap span { font-size: 1.2rem; color: var(--wa083-text-soft); }

.wa083-dots {
  position: absolute;
  bottom: 0.8rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
}
.wa083-dot {
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
}
.wa083-dot-active { background: var(--wa083-accent); }

/* ============ Section headings ============ */
.wa083-section {
  margin: 2rem 0;
}
.wa083-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding: 0 0.2rem;
}
.wa083-section-head h2 {
  font-size: 1.8rem;
  color: #fff;
  font-weight: 800;
  position: relative;
  padding-left: 1.2rem;
}
.wa083-section-head h2::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 0.4rem;
  height: 1.6rem;
  background: var(--wa083-accent);
  border-radius: 0.4rem;
}
.wa083-section-head a {
  font-size: 1.2rem;
  color: var(--wa083-secondary);
}

/* ============ Filter tabs ============ */
.wa083-filters {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.4rem;
  margin-bottom: 0.8rem;
  scrollbar-width: none;
}
.wa083-filters::-webkit-scrollbar { display: none; }
.wa083-filter-tab {
  flex: 0 0 auto;
  padding: 0.6rem 1.2rem;
  border-radius: 2rem;
  background: var(--wa083-card);
  color: var(--wa083-text-soft);
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  border: 0.1rem solid var(--wa083-border);
  white-space: nowrap;
}
.wa083-filter-tab-active {
  background: var(--wa083-primary);
  color: #fff;
}

/* ============ Game grid ============ */
.wa083-game-group h3 {
  font-size: 1.5rem;
  margin: 1.2rem 0 0.8rem;
  color: var(--wa083-secondary);
  font-weight: 700;
}
.wa083-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
}
.wa083-game-card {
  background: var(--wa083-card);
  border-radius: 0.8rem;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  border: 0.1rem solid var(--wa083-border);
  transition: transform 0.15s ease;
}
.wa083-game-card:active { transform: scale(0.95); }
.wa083-game-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.wa083-game-card span {
  display: block;
  font-size: 1.1rem;
  text-align: center;
  padding: 0.4rem 0.2rem;
  color: var(--wa083-text);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ============ Cards / Blocks ============ */
.wa083-card {
  background: var(--wa083-card);
  border-radius: var(--wa083-radius);
  padding: 1.4rem;
  margin-bottom: 1rem;
  border: 0.1rem solid var(--wa083-border);
  box-shadow: var(--wa083-shadow);
}
.wa083-card h3 {
  font-size: 1.5rem;
  color: var(--wa083-accent);
  margin-bottom: 0.6rem;
  font-weight: 800;
}
.wa083-card p {
  font-size: 1.3rem;
  color: var(--wa083-text-soft);
  margin-bottom: 0.6rem;
  line-height: 1.7rem;
}

.wa083-promo-link {
  color: var(--wa083-accent);
  font-weight: 800;
  text-decoration: underline;
  cursor: pointer;
}

/* ============ Feature / list ============ */
.wa083-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
}
.wa083-feature-item {
  background: var(--wa083-bg-soft);
  padding: 1rem;
  border-radius: 0.8rem;
  border-left: 0.3rem solid var(--wa083-primary);
  text-align: center;
}
.wa083-feature-item .material-icons,
.wa083-feature-item ion-icon {
  font-size: 2.4rem;
  color: var(--wa083-secondary);
}
.wa083-feature-item b {
  display: block;
  font-size: 1.3rem;
  margin-top: 0.4rem;
  color: #fff;
}

/* ============ RTP / Stats compact ============ */
.wa083-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
}
.wa083-stat {
  background: var(--wa083-bg-soft);
  padding: 0.8rem;
  border-radius: 0.8rem;
  text-align: center;
}
.wa083-stat b {
  font-size: 1.6rem;
  color: var(--wa083-accent);
  display: block;
}
.wa083-stat span {
  font-size: 1.1rem;
  color: var(--wa083-text-soft);
}

/* ============ Testimonials ============ */
.wa083-testimonial {
  background: var(--wa083-bg-soft);
  border-radius: 0.8rem;
  padding: 1rem;
  margin-bottom: 0.8rem;
  border-left: 0.3rem solid var(--wa083-accent-2);
}
.wa083-testimonial b { color: var(--wa083-secondary); }
.wa083-testimonial .wa083-stars { color: var(--wa083-accent); font-size: 1.1rem; }

/* ============ Payment icons ============ */
.wa083-payments {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.wa083-pay {
  background: #fff;
  color: var(--wa083-dark);
  padding: 0.4rem 0.8rem;
  border-radius: 0.5rem;
  font-size: 1.1rem;
  font-weight: 700;
}

/* ============ Winners ============ */
.wa083-winner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0.8rem;
  background: var(--wa083-bg-soft);
  border-radius: 0.6rem;
  margin-bottom: 0.4rem;
  font-size: 1.2rem;
}
.wa083-winner b { color: var(--wa083-accent); }

/* ============ FAQ ============ */
.wa083-faq-item {
  background: var(--wa083-bg-soft);
  border-radius: 0.8rem;
  padding: 0.8rem 1rem;
  margin-bottom: 0.6rem;
}
.wa083-faq-item b {
  display: block;
  color: var(--wa083-secondary);
  font-size: 1.3rem;
  margin-bottom: 0.3rem;
}
.wa083-faq-item p { font-size: 1.2rem; color: var(--wa083-text-soft); }

/* ============ SEO content article ============ */
.wa083-seo-article { font-size: 1.35rem; line-height: 1.9rem; color: var(--wa083-text-soft); }
.wa083-seo-article h2 { font-size: 1.7rem; color: #fff; margin: 1.2rem 0 0.6rem; font-weight: 800; }
.wa083-seo-article h3 { font-size: 1.45rem; color: var(--wa083-secondary); margin: 1rem 0 0.4rem; }
.wa083-seo-article p { margin-bottom: 0.8rem; }
.wa083-seo-article a { color: var(--wa083-accent); font-weight: 700; }

/* ============ Footer ============ */
.wa083-footer {
  background: linear-gradient(180deg, var(--wa083-dark), #0a1422);
  border-top: 0.2rem solid var(--wa083-primary);
  padding: 2rem 1.2rem 1rem;
  color: var(--wa083-text-soft);
}
.wa083-footer-brand {
  font-size: 1.3rem;
  line-height: 1.8rem;
  margin-bottom: 1rem;
}
.wa083-footer-brand b { color: #fff; font-size: 1.6rem; }
.wa083-footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
  margin: 1rem 0;
}
.wa083-footer-links a {
  color: var(--wa083-text-soft);
  font-size: 1.2rem;
  padding: 0.4rem 0;
}
.wa083-footer-links a:hover { color: var(--wa083-accent); }

.wa083-footer-promos {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0;
}
.wa083-footer-promos .wa083-btn {
  min-height: 3rem;
  padding: 0 0.9rem;
  font-size: 1.2rem;
}

.wa083-footer-copy {
  border-top: 0.1rem solid var(--wa083-border);
  padding-top: 1rem;
  font-size: 1.1rem;
  text-align: center;
  color: var(--wa083-text-soft);
}

/* ============ Mobile bottom navigation (fixed) ============ */
.wa083-bottomnav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 6rem;
  background: linear-gradient(90deg, var(--wa083-deep), var(--wa083-primary));
  border-top: 0.2rem solid var(--wa083-secondary);
  display: flex;
  justify-content: space-around;
  align-items: center;
  box-shadow: 0 -0.3rem 1rem rgba(0, 0, 0, 0.4);
}
.wa083-bottombtn {
  flex: 1;
  min-width: 6rem;
  min-height: 6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  color: #fff;
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.15s ease, color 0.15s ease;
  position: relative;
}
.wa083-bottombtn .material-icons,
.wa083-bottombtn ion-icon,
.wa083-bottombtn i { font-size: 2.4rem; }
.wa083-bottombtn:active { transform: scale(0.9); }
.wa083-bottombtn-active { color: var(--wa083-accent); }
.wa083-bottombtn-promo {
  color: var(--wa083-accent);
}

/* Back to top floating */
.wa083-totop {
  position: fixed;
  right: 1.2rem;
  bottom: 7rem;
  z-index: 900;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: var(--wa083-accent);
  color: var(--wa083-dark);
  border: none;
  font-size: 2rem;
  font-weight: 800;
  box-shadow: var(--wa083-shadow);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============ Desktop: hide bottom nav, widen wrapper ============ */
@media (min-width: 769px) {
  .wa083-wrapper { max-width: 760px; }
  .wa083-header-inner { max-width: 760px; }
  .wa083-bottomnav { display: none; }
  .wa083-main { padding-bottom: 3rem; }
  .wa083-grid { grid-template-columns: repeat(5, 1fr); }
  .wa083-features { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 430px) and (max-width: 768px) {
  .wa083-grid { grid-template-columns: repeat(4, 1fr); }
}
