/* ============================================================
   abe444.click - style-ce43c4.css
   All custom classes and CSS variables use the "uie4-" prefix.
   Mobile-first canvas (320-430px). Wider screens keep the mobile
   composition centered. Palette:
     #006400 deep green | #98FB98 mint | #2C3E50 ink
     #EE82EE violet | #001a00 ultra-dark
   ============================================================ */

:root {
  --uie4-deep: #006400;
  --uie4-mint: #98FB98;
  --uie4-ink: #2C3E50;
  --uie4-violet: #EE82EE;
  --uie4-dark: #001a00;
  --uie4-dark-2: #062b06;
  --uie4-card: #0c3a0c;
  --uie4-card-2: #0a2f0a;
  --uie4-line: rgba(152, 251, 152, 0.16);
  --uie4-text: #eaffea;
  --uie4-text-dim: #a9d6a9;
  --uie4-gold: #ffd24a;
  --uie4-radius: 14px;
  --uie4-radius-sm: 10px;
  --uie4-header-h: 56px;
  --uie4-nav-h: 64px;
  --uie4-max: 480px;
  --uie4-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--uie4-dark);
  color: var(--uie4-text);
  font-family: "Hind Siliguri", "Noto Sans Bengali", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 15px;
  line-height: 1.55;
  -webkit-text-size-adjust: 100%;
}

img { max-width: 100%; display: block; }

a { color: var(--uie4-mint); text-decoration: none; }
a:hover, a:focus { color: var(--uie4-violet); }

.uie4-wrap {
  width: 100%;
  max-width: var(--uie4-max);
  margin: 0 auto;
  padding: 0 12px;
}

/* The mobile canvas stays centered even on wide screens. */
.uie4-shell {
  position: relative;
  max-width: var(--uie4-max);
  margin: 0 auto;
  background:
    radial-gradient(120% 60% at 50% -10%, rgba(0, 110, 0, 0.55), transparent 60%),
    linear-gradient(180deg, #04210a 0%, #00140a 60%, #000c04 100%);
  min-height: 100vh;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.6);
}

/* -----------------------------------------------------------
   Header: minimal title + action band
   ----------------------------------------------------------- */
.uie4-header {
  position: sticky;
  top: 0;
  z-index: 60;
  height: var(--uie4-header-h);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  background: linear-gradient(180deg, rgba(0, 40, 0, 0.98), rgba(0, 26, 0, 0.96));
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--uie4-line);
}

.uie4-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex: 1;
}

.uie4-brand-logo {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  object-fit: cover;
  background: var(--uie4-deep);
  border: 1px solid var(--uie4-mint);
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.4) inset;
}

.uie4-brand-name {
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.4px;
  color: #ffffff;
  white-space: nowrap;
}
.uie4-brand-name span { color: var(--uie4-mint); }

.uie4-brand-tag {
  font-size: 10px;
  color: var(--uie4-text-dim);
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.uie4-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.uie4-btn {
  -webkit-appearance: none;
  appearance: none;
  border: none;
  border-radius: 999px;
  padding: 9px 14px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  font-family: inherit;
}

.uie4-btn-login {
  background: transparent;
  color: var(--uie4-mint);
  border: 1px solid var(--uie4-mint);
}

.uie4-btn-register {
  background: linear-gradient(135deg, #EE82EE 0%, #d446d4 100%);
  color: #2b0230;
  box-shadow: 0 4px 14px rgba(238, 130, 238, 0.4);
}

.uie4-btn:hover { transform: translateY(-1px); }

.uie4-icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(152, 251, 152, 0.08);
  border: 1px solid var(--uie4-line);
  color: var(--uie4-mint);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.uie4-icon-btn:hover { background: rgba(238, 130, 238, 0.18); color: #fff; }

.uie4-menu-icon {
  width: 20px; height: 20px; display: block;
}

/* -----------------------------------------------------------
   Slide-down partitioned menu page
   ----------------------------------------------------------- */
#uie4-menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 70;
}
#uie4-menu-backdrop.uie4-backdrop-show {
  opacity: 1;
  pointer-events: auto;
}

#uie4-menu-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: 86%;
  max-width: 380px;
  height: 100%;
  background: linear-gradient(180deg, #04210a, #00140a);
  z-index: 80;
  transform: translateX(105%);
  transition: transform 0.28s ease;
  overflow-y: auto;
  padding: 16px 14px calc(var(--uie4-nav-h) + 16px);
  border-left: 1px solid var(--uie4-line);
}
#uie4-menu-panel.uie4-menu-open { transform: translateX(0); }

.uie4-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.uie4-menu-head h3 {
  margin: 0;
  font-size: 16px;
  color: var(--uie4-mint);
  letter-spacing: 0.4px;
}
.uie4-menu-close {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--uie4-line);
  color: var(--uie4-text);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.uie4-menu-section { margin-bottom: 18px; }
.uie4-menu-section-title {
  font-size: 11px;
  color: var(--uie4-text-dim);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0 0 8px 6px;
}
.uie4-menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.uie4-menu-list li a {
  display: block;
  padding: 10px 12px;
  background: var(--uie4-card);
  border: 1px solid var(--uie4-line);
  border-radius: var(--uie4-radius-sm);
  color: var(--uie4-text);
  font-size: 13px;
  font-weight: 600;
}
.uie4-menu-list li a:hover {
  background: var(--uie4-deep);
  color: #fff;
}

.uie4-menu-promo {
  margin-top: 8px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.uie4-menu-promo .uie4-btn { width: 100%; }

/* -----------------------------------------------------------
   Hero carousel
   ----------------------------------------------------------- */
.uie4-hero {
  position: relative;
  margin: 12px 0 4px;
  border-radius: var(--uie4-radius);
  overflow: hidden;
  border: 1px solid var(--uie4-line);
  background: #000;
}

#uie4-hero { position: relative; }

.uie4-slide {
  position: relative;
  display: none;
  cursor: pointer;
}
.uie4-slide.uie4-slide-active { display: block; }
.uie4-slide img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.uie4-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 35%, rgba(0, 20, 0, 0.85) 100%);
}
.uie4-slide-caption {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 10px;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}
.uie4-slide-caption h2 {
  margin: 0 0 2px;
  font-size: 16px;
  color: var(--uie4-mint);
}
.uie4-slide-caption p {
  margin: 0;
  font-size: 12px;
  color: #f1fff1;
}

.uie4-hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--uie4-line);
  color: var(--uie4-mint);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  font-size: 16px;
}
#uie4-hero-prev { left: 8px; }
#uie4-hero-next { right: 8px; }

.uie4-dots {
  position: absolute;
  bottom: 6px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 5px;
  z-index: 5;
}
.uie4-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.uie4-dot.uie4-dot-active {
  background: var(--uie4-mint);
  transform: scale(1.25);
}

/* -----------------------------------------------------------
   Quick category chips
   ----------------------------------------------------------- */
.uie4-chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 10px 0 6px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.uie4-chips::-webkit-scrollbar { display: none; }

.uie4-chip {
  flex: 0 0 auto;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--uie4-card);
  border: 1px solid var(--uie4-line);
  color: var(--uie4-mint);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}
.uie4-chip:hover {
  background: var(--uie4-deep);
  color: #fff;
}

/* -----------------------------------------------------------
   Section heading
   ----------------------------------------------------------- */
.uie4-section {
  margin: 18px 0 6px;
}
.uie4-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 10px;
}
.uie4-section-head h2 {
  margin: 0;
  font-size: 16px;
  color: #fff;
  position: relative;
  padding-left: 12px;
}
.uie4-section-head h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 16px;
  background: linear-gradient(180deg, var(--uie4-mint), var(--uie4-violet));
  border-radius: 4px;
}
.uie4-section-head .uie4-more {
  font-size: 12px;
  color: var(--uie4-mint);
}

/* -----------------------------------------------------------
   Game grid (4 cols on 320px, 4-5 cols on 375-430px)
   ----------------------------------------------------------- */
.uie4-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
@media (min-width: 360px) {
  .uie4-grid { gap: 9px; }
}
@media (min-width: 400px) {
  .uie4-grid { grid-template-columns: repeat(5, 1fr); }
}

.uie4-game {
  background: var(--uie4-card);
  border: 1px solid var(--uie4-line);
  border-radius: var(--uie4-radius-sm);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  display: block;
  text-align: center;
  padding: 0 0 6px;
}
.uie4-game:hover, .uie4-game:focus {
  transform: translateY(-2px);
  border-color: var(--uie4-mint);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.45);
}
.uie4-game-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #000;
  border-bottom: 1px solid var(--uie4-line);
}
.uie4-game-name {
  font-size: 11px;
  line-height: 1.25;
  color: var(--uie4-text);
  padding: 5px 4px 2px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 30px;
  font-weight: 600;
}

/* -----------------------------------------------------------
   Info / content blocks
   ----------------------------------------------------------- */
.uie4-card {
  background: var(--uie4-card-2);
  border: 1px solid var(--uie4-line);
  border-radius: var(--uie4-radius);
  padding: 14px;
  margin: 10px 0;
}
.uie4-card h3 {
  margin: 0 0 8px;
  font-size: 15px;
  color: var(--uie4-mint);
}
.uie4-card p {
  margin: 0 0 8px;
  color: var(--uie4-text);
  font-size: 14px;
}
.uie4-card p:last-child { margin-bottom: 0; }

.uie4-lede {
  margin: 14px 0;
  color: var(--uie4-text);
  font-size: 14.5px;
}
.uie4-lede strong { color: var(--uie4-mint); }

/* Inline keyword links inside body copy */
.uie4-inline-link {
  color: var(--uie4-violet);
  border-bottom: 1px dashed rgba(238, 130, 238, 0.55);
  font-weight: 600;
}
.uie4-inline-link:hover { color: var(--uie4-mint); border-color: var(--uie4-mint); }

/* Feature/column compact grid */
.uie4-cols-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.uie4-cols-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.uie4-mini {
  background: var(--uie4-card);
  border: 1px solid var(--uie4-line);
  border-radius: var(--uie4-radius-sm);
  padding: 10px;
  font-size: 12.5px;
  color: var(--uie4-text);
}
.uie4-mini b { color: var(--uie4-mint); display: block; margin-bottom: 3px; font-size: 13px; }

/* Payment methods row */
.uie4-pay-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.uie4-pay {
  padding: 6px 10px;
  background: var(--uie4-card);
  border: 1px solid var(--uie4-line);
  border-radius: 999px;
  font-size: 12px;
  color: var(--uie4-text);
}

/* Testimonials */
.uie4-testi {
  background: var(--uie4-card-2);
  border: 1px solid var(--uie4-line);
  border-left: 3px solid var(--uie4-violet);
  border-radius: var(--uie4-radius-sm);
  padding: 10px 12px;
  margin-bottom: 8px;
}
.uie4-testi p { margin: 0 0 4px; font-size: 13px; color: var(--uie4-text); }
.uie4-testi .uie4-stars { color: var(--uie4-gold); font-size: 12px; letter-spacing: 1px; }
.uie4-testi .uie4-author { color: var(--uie4-text-dim); font-size: 11px; }

/* FAQ accordion */
.uie4-faq-item {
  background: var(--uie4-card-2);
  border: 1px solid var(--uie4-line);
  border-radius: var(--uie4-radius-sm);
  margin-bottom: 8px;
  overflow: hidden;
}
.uie4-faq-q {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  color: var(--uie4-text);
  font-weight: 700;
  font-size: 13.5px;
  padding: 12px 14px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-family: inherit;
}
.uie4-faq-q .uie4-faq-sign { color: var(--uie4-mint); font-size: 18px; line-height: 1; }
.uie4-faq-a {
  display: none;
  padding: 0 14px 12px;
  color: var(--uie4-text-dim);
  font-size: 13px;
}
.uie4-faq-item.uie4-faq-open .uie4-faq-a { display: block; }
.uie4-faq-item.uie4-faq-open .uie4-faq-sign { transform: rotate(45deg); }

/* Checklist */
.uie4-checklist {
  list-style: none;
  margin: 0;
  padding: 0;
}
.uie4-checklist li {
  position: relative;
  padding: 6px 6px 6px 24px;
  font-size: 13px;
  color: var(--uie4-text);
  border-bottom: 1px dashed var(--uie4-line);
}
.uie4-checklist li:last-child { border-bottom: none; }
.uie4-checklist li::before {
  content: "✓";
  position: absolute;
  left: 4px;
  top: 6px;
  color: var(--uie4-mint);
  font-weight: 800;
}

/* Steps */
.uie4-steps {
  list-style: none;
  counter-reset: step;
  margin: 0;
  padding: 0;
}
.uie4-steps li {
  counter-increment: step;
  position: relative;
  padding: 8px 8px 8px 38px;
  font-size: 13px;
  color: var(--uie4-text);
  border-bottom: 1px dashed var(--uie4-line);
}
.uie4-steps li:last-child { border-bottom: none; }
.uie4-steps li::before {
  content: counter(step);
  position: absolute;
  left: 4px;
  top: 8px;
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, var(--uie4-deep), var(--uie4-violet));
  color: #fff;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Promo CTA banner */
.uie4-cta {
  background: linear-gradient(135deg, rgba(0, 100, 0, 0.85), rgba(238, 130, 238, 0.25));
  border: 1px solid var(--uie4-mint);
  border-radius: var(--uie4-radius);
  padding: 14px;
  margin: 14px 0;
  text-align: center;
}
.uie4-cta h3 { margin: 0 0 6px; color: #fff; font-size: 16px; }
.uie4-cta p { margin: 0 0 10px; color: var(--uie4-text); font-size: 13px; }

/* -----------------------------------------------------------
   Extended footer (homepage only)
   ----------------------------------------------------------- */
.uie4-ext-footer {
  margin-top: 22px;
  padding: 16px 12px 4px;
  background: linear-gradient(180deg, #04210a, #000c04);
  border-top: 1px solid var(--uie4-line);
}
.uie4-ext-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.uie4-ext-block h4 {
  margin: 0 0 8px;
  font-size: 13px;
  color: var(--uie4-mint);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}
.uie4-ext-block ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.uie4-ext-block li { margin-bottom: 5px; }
.uie4-ext-block a {
  color: var(--uie4-text);
  font-size: 12.5px;
}
.uie4-ext-block a:hover { color: var(--uie4-violet); }

.uie4-ext-brand {
  grid-column: 1 / -1;
  border-bottom: 1px dashed var(--uie4-line);
  padding-bottom: 12px;
  margin-bottom: 4px;
}
.uie4-ext-brand p {
  margin: 6px 0 0;
  font-size: 12.5px;
  color: var(--uie4-text-dim);
}

.uie4-ext-promos {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-top: 4px;
}
.uie4-ext-promos .uie4-btn {
  width: 100%;
  font-size: 11.5px;
  padding: 9px 4px;
}

.uie4-ext-disclaimer {
  grid-column: 1 / -1;
  margin-top: 8px;
  padding: 10px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px dashed var(--uie4-line);
  border-radius: var(--uie4-radius-sm);
  font-size: 11.5px;
  color: var(--uie4-text-dim);
}

/* -----------------------------------------------------------
   Common footer
   ----------------------------------------------------------- */
.uie4-footer {
  padding: 14px 12px calc(var(--uie4-nav-h) + 18px);
  text-align: center;
  color: var(--uie4-text-dim);
  font-size: 12px;
  border-top: 1px solid var(--uie4-line);
  margin-top: 16px;
}
.uie4-footer .uie4-copy { color: var(--uie4-text); font-weight: 600; }

/* Bottom padding so content never hides behind docked nav */
.uie4-main { padding-bottom: 8px; }

/* -----------------------------------------------------------
   Mobile bottom navigation (docked floating bar)
   ----------------------------------------------------------- */
.uie4-bottomnav {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 8px;
  width: calc(100% - 16px);
  max-width: calc(var(--uie4-max) - 16px);
  z-index: 65;
  background: linear-gradient(180deg, rgba(4, 33, 10, 0.98), rgba(0, 12, 4, 0.98));
  border: 1px solid var(--uie4-line);
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.55);
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  padding: 6px 4px;
  height: var(--uie4-nav-h);
}

.uie4-nav-item {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: var(--uie4-text-dim);
  font-size: 10px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 12px;
  padding: 4px 2px;
  position: relative;
  transition: color 0.18s ease, background 0.18s ease;
  min-height: 44px;
}
.uie4-nav-item .uie4-nav-ico {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.uie4-nav-item .uie4-nav-ico svg { width: 20px; height: 20px; }

.uie4-nav-item:hover { color: var(--uie4-mint); }

/* Active state: background block carrier + sliding indicator */
.uie4-nav-item.uie4-nav-active {
  color: #fff;
  background: linear-gradient(135deg, rgba(0, 100, 0, 0.9), rgba(238, 130, 238, 0.45));
  box-shadow: inset 0 0 0 1px rgba(152, 251, 152, 0.45);
}
.uie4-nav-item.uie4-nav-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 22px;
  height: 3px;
  border-radius: 3px;
  background: var(--uie4-mint);
  transform: translateX(-50%);
}

.uie4-nav-promo {
  color: var(--uie4-violet);
}
.uie4-nav-promo:hover { color: #fff; }

/* -----------------------------------------------------------
   Utilities
   ----------------------------------------------------------- */
.uie4-hide-on-mobile { display: none; }
.uie4-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;
}

/* Keep desktop view locked to mobile canvas */
@media (min-width: 481px) {
  body { background: #000; }
}
