/* 5777bd.click core CSS - prefix s6ae- */
/* Color palette: #262626 (dark bg) | #8FBC8F (light accent) */

:root {
  --s6ae-primary: #8FBC8F;
  --s6ae-primary-dark: #5E8C5E;
  --s6ae-primary-light: #B4D9B4;
  --s6ae-bg: #262626;
  --s6ae-bg-dark: #1a1a1a;
  --s6ae-bg-card: #303030;
  --s6ae-bg-card-2: #3a3a3a;
  --s6ae-text: #f3f3f3;
  --s6ae-text-muted: #b5b5b5;
  --s6ae-gold: #e6c46b;
  --s6ae-red: #d9534f;
  --s6ae-border: #404040;
  --s6ae-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  --s6ae-radius: 12px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  font-size: 62.5%;
}

body {
  font-family: 'SolaimanLipi', 'Noto Sans Bengali', 'Hind Siliguri', system-ui, -apple-system, sans-serif;
  background: var(--s6ae-bg);
  color: var(--s6ae-text);
  line-height: 1.5rem;
  font-size: 1.5rem;
  max-width: 430px;
  margin: 0 auto;
  overflow-x: hidden;
  position: relative;
}

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

a { color: var(--s6ae-primary); text-decoration: none; }

/* ===== Header ===== */
.s6ae-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  max-width: 430px;
  margin: 0 auto;
  height: 56px;
  background: linear-gradient(135deg, var(--s6ae-bg-dark) 0%, var(--s6ae-bg) 100%);
  border-bottom: 1px solid var(--s6ae-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.2rem;
  z-index: 1000;
  box-shadow: var(--s6ae-shadow);
}

.s6ae-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--s6ae-text);
  font-weight: 700;
  font-size: 1.8rem;
}

.s6ae-logo img {
  width: 32px;
  height: 32px;
  border-radius: 6px;
}

.s6ae-logo-text {
  background: linear-gradient(90deg, var(--s6ae-primary) 0%, var(--s6ae-gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.s6ae-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 36px;
  padding: 0 1.2rem;
  border: none;
  border-radius: 20px;
  font-size: 1.3rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, opacity 0.15s ease;
  color: #fff;
  background: var(--s6ae-primary-dark);
}

.s6ae-btn:active { transform: scale(0.95); }

.s6ae-btn-register {
  background: linear-gradient(135deg, var(--s6ae-primary) 0%, var(--s6ae-primary-dark) 100%);
  color: #1a1a1a;
}

.s6ae-btn-login {
  background: transparent;
  border: 1.5px solid var(--s6ae-primary);
  color: var(--s6ae-primary);
}

.s6ae-menu-toggle {
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  color: var(--s6ae-text);
  font-size: 2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== Mobile menu ===== */
.s6ae-mobile-menu {
  position: fixed;
  top: 56px;
  left: 0;
  right: 0;
  max-width: 430px;
  margin: 0 auto;
  background: var(--s6ae-bg-dark);
  border-bottom: 1px solid var(--s6ae-border);
  padding: 1rem 1.2rem;
  transform: translateY(-120%);
  transition: transform 0.3s ease;
  z-index: 9999;
  max-height: 80vh;
  overflow-y: auto;
}

.s6ae-mobile-menu.s6ae-menu-open {
  transform: translateY(0);
}

.s6ae-mobile-menu a {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 0.6rem;
  color: var(--s6ae-text);
  border-bottom: 1px solid var(--s6ae-border);
  font-size: 1.4rem;
}

.s6ae-mobile-menu a:active { background: var(--s6ae-bg-card); }

.s6ae-mobile-menu a i { color: var(--s6ae-primary); width: 22px; text-align: center; }

/* ===== Main / Layout ===== */
.s6ae-main {
  padding-top: 56px;
  padding-bottom: 80px;
  min-height: 100vh;
}

.s6ae-section {
  padding: 1.6rem 1.2rem;
}

.s6ae-section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--s6ae-text);
  border-left: 4px solid var(--s6ae-primary);
  padding-left: 0.8rem;
}

.s6ae-section-title i { color: var(--s6ae-primary); }

.s6ae-subtitle {
  font-size: 1.6rem;
  font-weight: 600;
  margin: 1rem 0 0.6rem;
  color: var(--s6ae-primary-light);
}

.s6ae-text-muted { color: var(--s6ae-text-muted); }

/* ===== Carousel ===== */
.s6ae-carousel {
  position: relative;
  width: 100%;
  height: 180px;
  overflow: hidden;
  border-radius: 0 0 var(--s6ae-radius) var(--s6ae-radius);
  background: var(--s6ae-bg-dark);
}

.s6ae-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
  cursor: pointer;
}

.s6ae-slide.s6ae-slide-active { opacity: 1; }

.s6ae-slide img { width: 100%; height: 100%; object-fit: cover; }

.s6ae-slide-badge {
  position: absolute;
  left: 1rem;
  bottom: 1.4rem;
  background: rgba(0, 0, 0, 0.6);
  color: var(--s6ae-gold);
  padding: 0.4rem 1rem;
  border-radius: 16px;
  font-size: 1.2rem;
  font-weight: 700;
  border: 1px solid var(--s6ae-gold);
}

.s6ae-dots {
  position: absolute;
  bottom: 0.8rem;
  right: 1rem;
  display: flex;
  gap: 0.4rem;
}

.s6ae-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
}

.s6ae-dot.s6ae-dot-active { background: var(--s6ae-primary); }

/* ===== Hero / CTA ===== */
.s6ae-hero {
  padding: 1.6rem 1.2rem;
  text-align: center;
  background: radial-gradient(circle at top, rgba(143, 188, 143, 0.12) 0%, transparent 70%);
}

.s6ae-hero h1 {
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 0.8rem;
  color: var(--s6ae-text);
}

.s6ae-hero h1 .s6ae-accent { color: var(--s6ae-primary); }

.s6ae-hero p {
  color: var(--s6ae-text-muted);
  font-size: 1.35rem;
  margin-bottom: 1.2rem;
}

.s6ae-cta-row {
  display: flex;
  gap: 0.8rem;
  justify-content: center;
  flex-wrap: wrap;
}

.s6ae-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: 28px;
  font-size: 1.5rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: transform 0.15s ease;
}

.s6ae-cta:active { transform: scale(0.96); }

.s6ae-cta-primary {
  background: linear-gradient(135deg, var(--s6ae-gold) 0%, #c9a23f 100%);
  color: #1a1a1a;
}

.s6ae-cta-secondary {
  background: linear-gradient(135deg, var(--s6ae-primary) 0%, var(--s6ae-primary-dark) 100%);
  color: #1a1a1a;
}

.s6ae-link-text {
  color: var(--s6ae-primary);
  font-weight: 700;
  border-bottom: 1px dashed var(--s6ae-primary);
  cursor: pointer;
}

/* ===== Category & Games ===== */
.s6ae-cat-block { margin-bottom: 2rem; }

.s6ae-cat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.2rem;
  margin: 1.4rem 0 0.8rem;
}

.s6ae-cat-head h2 {
  font-size: 1.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--s6ae-text);
}

.s6ae-cat-head h2 i { color: var(--s6ae-primary); }

.s6ae-cat-more {
  font-size: 1.2rem;
  color: var(--s6ae-primary);
  cursor: pointer;
  font-weight: 600;
}

.s6ae-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
  padding: 0 1.2rem;
}

.s6ae-game-card {
  background: var(--s6ae-bg-card);
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid var(--s6ae-border);
  transition: transform 0.15s ease, border-color 0.15s ease;
  text-align: center;
}

.s6ae-game-card:active {
  transform: scale(0.96);
  border-color: var(--s6ae-primary);
}

.s6ae-game-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: var(--s6ae-bg-dark);
}

.s6ae-game-name {
  font-size: 1.1rem;
  padding: 0.4rem 0.3rem 0.5rem;
  color: var(--s6ae-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
}

/* ===== Info / Feature modules ===== */
.s6ae-card {
  background: var(--s6ae-bg-card);
  border-radius: var(--s6ae-radius);
  padding: 1.4rem;
  margin-bottom: 1.2rem;
  border: 1px solid var(--s6ae-border);
}

.s6ae-card h3 {
  font-size: 1.6rem;
  margin-bottom: 0.6rem;
  color: var(--s6ae-primary-light);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.s6ae-card p {
  font-size: 1.35rem;
  color: var(--s6ae-text-muted);
  margin-bottom: 0.6rem;
}

.s6ae-card ul { list-style: none; padding-left: 0; }

.s6ae-card ul li {
  padding: 0.5rem 0;
  font-size: 1.35rem;
  color: var(--s6ae-text-muted);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  border-bottom: 1px dashed var(--s6ae-border);
}

.s6ae-card ul li:last-child { border-bottom: none; }

.s6ae-card ul li i { color: var(--s6ae-primary); margin-top: 0.3rem; }

/* ===== RTP table ===== */
.s6ae-rtp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.25rem;
}

.s6ae-rtp-table th, .s6ae-rtp-table td {
  padding: 0.6rem 0.4rem;
  text-align: center;
  border-bottom: 1px solid var(--s6ae-border);
}

.s6ae-rtp-table th { color: var(--s6ae-primary); font-weight: 700; }

.s6ae-rtp-table td { color: var(--s6ae-text-muted); }

.s6ae-rtp-high { color: var(--s6ae-gold); font-weight: 700; }

/* ===== Testimonials ===== */
.s6ae-testi {
  background: var(--s6ae-bg-card);
  border-radius: var(--s6ae-radius);
  padding: 1rem 1.2rem;
  margin-bottom: 0.8rem;
  border-left: 3px solid var(--s6ae-primary);
}

.s6ae-testi-name { font-weight: 700; color: var(--s6ae-primary-light); font-size: 1.3rem; }

.s6ae-testi-text { color: var(--s6ae-text-muted); font-size: 1.3rem; margin-top: 0.3rem; }

.s6ae-testi-stars { color: var(--s6ae-gold); margin-top: 0.3rem; font-size: 1.1rem; }

/* ===== Payment ===== */
.s6ae-pay-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.s6ae-pay-chip {
  background: var(--s6ae-bg-card-2);
  border: 1px solid var(--s6ae-border);
  border-radius: 8px;
  padding: 0.6rem 0.9rem;
  font-size: 1.2rem;
  color: var(--s6ae-text);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.s6ae-pay-chip i { color: var(--s6ae-primary); }

/* ===== Winners ===== */
.s6ae-winner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0.8rem;
  background: var(--s6ae-bg-card);
  border-radius: 8px;
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}

.s6ae-winner-name { color: var(--s6ae-text); font-weight: 600; }

.s6ae-winner-amount { color: var(--s6ae-gold); font-weight: 700; }

/* ===== FAQ ===== */
.s6ae-faq-item {
  background: var(--s6ae-bg-card);
  border-radius: 8px;
  margin-bottom: 0.6rem;
  overflow: hidden;
  border: 1px solid var(--s6ae-border);
}

.s6ae-faq-q {
  padding: 0.9rem 1rem;
  font-weight: 700;
  color: var(--s6ae-text);
  font-size: 1.35rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.s6ae-faq-q i { color: var(--s6ae-primary); }

.s6ae-faq-a {
  padding: 0 1rem 0.9rem;
  color: var(--s6ae-text-muted);
  font-size: 1.3rem;
}

/* ===== App download CTA ===== */
.s6ae-app-cta {
  background: linear-gradient(135deg, var(--s6ae-bg-card) 0%, var(--s6ae-primary-dark) 200%);
  border-radius: var(--s6ae-radius);
  padding: 1.4rem;
  text-align: center;
  border: 1px solid var(--s6ae-primary-dark);
}

.s6ae-app-cta h3 { color: var(--s6ae-gold); font-size: 1.7rem; margin-bottom: 0.4rem; }

.s6ae-app-cta p { color: var(--s6ae-text-muted); font-size: 1.3rem; margin-bottom: 0.8rem; }

/* ===== Footer ===== */
.s6ae-footer {
  background: var(--s6ae-bg-dark);
  border-top: 1px solid var(--s6ae-border);
  padding: 1.6rem 1.2rem 2rem;
}

.s6ae-footer-brand {
  color: var(--s6ae-text-muted);
  font-size: 1.3rem;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.s6ae-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.s6ae-footer-link {
  background: var(--s6ae-bg-card);
  border: 1px solid var(--s6ae-border);
  color: var(--s6ae-text);
  padding: 0.5rem 0.9rem;
  border-radius: 6px;
  font-size: 1.2rem;
  cursor: pointer;
}

.s6ae-footer-link:active { border-color: var(--s6ae-primary); }

.s6ae-footer-copy {
  color: var(--s6ae-text-muted);
  font-size: 1.15rem;
  text-align: center;
  border-top: 1px solid var(--s6ae-border);
  padding-top: 1rem;
}

/* ===== Bottom nav ===== */
.s6ae-bnav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  max-width: 430px;
  margin: 0 auto;
  height: 62px;
  background: linear-gradient(180deg, var(--s6ae-bg-card) 0%, var(--s6ae-bg-dark) 100%);
  border-top: 1px solid var(--s6ae-border);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.4);
}

.s6ae-bnav-btn {
  flex: 1;
  min-width: 60px;
  min-height: 60px;
  background: transparent;
  border: none;
  color: var(--s6ae-text-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  cursor: pointer;
  font-size: 1rem;
  transition: color 0.15s ease, transform 0.15s ease;
  position: relative;
}

.s6ae-bnav-btn i { font-size: 22px; }

.s6ae-bnav-btn:active { transform: scale(0.9); }

.s6ae-bnav-btn.s6ae-bnav-active { color: var(--s6ae-primary); }

.s6ae-bnav-btn.s6ae-bnav-active::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 3px;
  background: var(--s6ae-primary);
  border-radius: 0 0 4px 4px;
}

.s6ae-bnav-promo { color: var(--s6ae-gold); }

.s6ae-bnav-badge {
  position: absolute;
  top: 4px;
  right: 14px;
  background: var(--s6ae-red);
  color: #fff;
  font-size: 0.9rem;
  min-width: 16px;
  height: 16px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

/* ===== Help and article pages ===== */
.s6ae-page-hero {
  padding: 7.2rem 1.2rem 1.6rem;
  background: radial-gradient(circle at top right, rgba(143, 188, 143, 0.18), transparent 60%);
  text-align: center;
}

.s6ae-page-hero h1 {
  font-size: 2.2rem;
  line-height: 1.3;
  margin-bottom: 0.8rem;
  color: var(--s6ae-text);
}

.s6ae-page-hero p {
  color: var(--s6ae-text-muted);
  font-size: 1.35rem;
}

.s6ae-step-list {
  counter-reset: s6ae-step;
  display: grid;
  gap: 0.8rem;
}

.s6ae-step {
  background: var(--s6ae-bg-card);
  border: 1px solid var(--s6ae-border);
  border-radius: var(--s6ae-radius);
  padding: 1rem;
  position: relative;
}

.s6ae-step::before {
  counter-increment: s6ae-step;
  content: counter(s6ae-step);
  position: absolute;
  right: 1rem;
  top: 1rem;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--s6ae-primary);
  color: #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.s6ae-step h3 { color: var(--s6ae-primary-light); font-size: 1.5rem; margin-bottom: 0.4rem; padding-right: 3rem; }
.s6ae-step p { color: var(--s6ae-text-muted); font-size: 1.3rem; }

.s6ae-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
}

.s6ae-mini-card {
  background: var(--s6ae-bg-card);
  border: 1px solid var(--s6ae-border);
  border-radius: 10px;
  padding: 1rem;
}

.s6ae-mini-card h3 { color: var(--s6ae-gold); font-size: 1.4rem; margin-bottom: 0.4rem; }
.s6ae-mini-card p { color: var(--s6ae-text-muted); font-size: 1.25rem; }

.s6ae-alert {
  border-left: 4px solid var(--s6ae-gold);
  background: rgba(230, 196, 107, 0.1);
  padding: 1rem;
  border-radius: 8px;
  color: var(--s6ae-text-muted);
  font-size: 1.3rem;
}

/* ===== Desktop: hide bottom nav ===== */
@media (min-width: 769px) {
  .s6ae-bnav { display: none; }
  body { max-width: 430px; }
  .s6ae-main { padding-bottom: 2rem; }
}

/* ===== Small screens ===== */
@media (max-width: 360px) {
  .s6ae-grid { grid-template-columns: repeat(2, 1fr); }
  .s6ae-hero h1 { font-size: 2rem; }
}

/* Utility */
.s6ae-pb-safe { padding-bottom: 90px; }
.s6ae-hidden { display: none; }
