/* joya 999 - core stylesheet (basefiles). All custom classes use the g441- prefix. */
/* Palette: dark background #262626, light accent #DDA0DD */

:root {
  --g441-bg: #262626;
  --g441-bg-2: #1c1c1c;
  --g441-card: #303030;
  --g441-card-2: #3a3a3a;
  --g441-accent: #DDA0DD;
  --g441-accent-2: #c98cc9;
  --g441-gold: #f4d77a;
  --g441-text: #f5e9f5;
  --g441-muted: #b9a9b9;
  --g441-border: rgba(221, 160, 221, 0.22);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: radial-gradient(circle at top, #343034 0%, var(--g441-bg) 55%, #181616 100%);
  color: var(--g441-text);
  font-family: "Hind Siliguri", "Noto Sans Bengali", "Segoe UI", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  min-height: 100vh;
}

a { color: var(--g441-accent); text-decoration: none; }
a:hover { color: var(--g441-gold); }
img { max-width: 100%; display: block; }

.g441-wrapper {
  max-width: 430px;
  margin: 0 auto;
  padding: 0 12px;
}

/* ---------- Header ---------- */
.g441-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(180deg, #2f2a2f 0%, var(--g441-bg) 100%);
  border-bottom: 1px solid var(--g441-border);
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
}
.g441-header-row {
  max-width: 430px;
  margin: 0 auto;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.g441-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 18px;
  color: var(--g441-text);
  letter-spacing: 0.3px;
}
.g441-logo img { width: 30px; height: 30px; border-radius: 8px; }
.g441-logo span { color: var(--g441-accent); }

.g441-menu-btn {
  margin-left: auto;
  background: transparent;
  border: 1px solid var(--g441-border);
  color: var(--g441-accent);
  width: 38px; height: 38px;
  border-radius: 10px;
  font-size: 18px;
  cursor: pointer;
}

.g441-auth { display: flex; gap: 8px; margin-left: 6px; }
.g441-btn {
  border: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 13px;
  padding: 8px 14px;
  border-radius: 20px;
  font-family: inherit;
  transition: transform .15s ease, box-shadow .15s ease, opacity .15s;
}
.g441-btn:active { transform: scale(0.96); }
.g441-btn-login {
  background: transparent;
  color: var(--g441-accent);
  border: 1px solid var(--g441-accent);
}
.g441-btn-register {
  background: linear-gradient(135deg, var(--g441-accent) 0%, var(--g441-accent-2) 100%);
  color: #2a1f2a;
  box-shadow: 0 4px 14px rgba(221, 160, 221, 0.35);
}

/* ---------- Mobile expandable menu ---------- */
.g441-mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
  background: var(--g441-bg-2);
  border-top: 1px solid var(--g441-border);
}
.g441-mobile-menu.g441-menu-open { max-height: 460px; }
.g441-mobile-menu-inner {
  max-width: 430px;
  margin: 0 auto;
  padding: 10px 12px 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.g441-mobile-menu-inner a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 10px;
  background: var(--g441-card);
  color: var(--g441-text);
  font-size: 13px;
  border: 1px solid transparent;
}
.g441-mobile-menu-inner a:hover {
  border-color: var(--g441-border);
  color: var(--g441-accent);
}

/* ---------- Main ---------- */
main { padding-bottom: 84px; }
.g441-section { padding: 18px 0 6px; }
.g441-section-title {
  font-size: 18px;
  font-weight: 800;
  margin: 0 0 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.g441-section-title i { color: var(--g441-accent); }
.g441-section-sub { color: var(--g441-muted); font-size: 12px; margin: 0 0 12px; }

/* ---------- Hero slider ---------- */
.g441-hero {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  margin-top: 14px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.45);
}
.g441-hero-slide {
  display: none;
  position: relative;
}
.g441-hero-slide.g441-hero-active { display: block; }
.g441-hero-slide img { width: 100%; height: 180px; object-fit: cover; }
.g441-hero-cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 26px 14px 12px;
  background: linear-gradient(0deg, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0) 100%);
}
.g441-hero-cap h2 { margin: 0 0 4px; font-size: 17px; color: #fff; }
.g441-hero-cap p { margin: 0; font-size: 12px; color: var(--g441-accent); }
.g441-hero-dots {
  position: absolute;
  bottom: 8px; right: 12px;
  display: flex; gap: 5px;
}
.g441-hero-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
}
.g441-hero-dot.g441-dot-active { background: var(--g441-accent); }

/* ---------- Promo CTA strip ---------- */
.g441-cta {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(221,160,221,0.18), rgba(244,215,122,0.10));
  border: 1px solid var(--g441-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.g441-cta-text b { color: var(--g441-accent); }

/* ---------- Game grid ---------- */
.g441-cat-block { margin-top: 14px; }
.g441-cat-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 8px;
}
.g441-cat-head h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  display: flex; align-items: center; gap: 8px;
}
.g441-cat-head h3 i { color: var(--g441-accent); }
.g441-cat-head a { font-size: 12px; }

.g441-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.g441-game-card {
  background: var(--g441-card);
  border: 1px solid var(--g441-border);
  border-radius: 12px;
  padding: 6px;
  text-align: center;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s, border-color .15s;
}
.g441-game-card:hover {
  transform: translateY(-2px);
  border-color: var(--g441-accent);
  box-shadow: 0 6px 16px rgba(221, 160, 221, 0.18);
}
.g441-game-card img {
  width: 100%; height: 78px; object-fit: cover;
  border-radius: 8px;
}
.g441-game-name {
  margin-top: 5px;
  font-size: 11px;
  color: var(--g441-text);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---------- Info / features cards ---------- */
.g441-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 10px;
}
.g441-info-card {
  background: var(--g441-card);
  border: 1px solid var(--g441-border);
  border-radius: 14px;
  padding: 12px;
}
.g441-info-card i { font-size: 22px; color: var(--g441-accent); }
.g441-info-card h4 { margin: 6px 0 4px; font-size: 14px; }
.g441-info-card p { margin: 0; font-size: 12px; color: var(--g441-muted); }

/* ---------- RTP table ---------- */
.g441-rtp-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
  font-size: 12px;
}
.g441-rtp-table th, .g441-rtp-table td {
  padding: 8px 10px;
  text-align: left;
  border-bottom: 1px solid var(--g441-border);
}
.g441-rtp-table th { color: var(--g441-accent); font-weight: 700; }
.g441-rtp-bar {
  height: 6px; border-radius: 4px;
  background: rgba(255,255,255,0.08);
  overflow: hidden; margin-top: 4px;
}
.g441-rtp-fill { height: 100%; background: linear-gradient(90deg, var(--g441-accent), var(--g441-gold)); }

/* ---------- Testimonials ---------- */
.g441-quote {
  background: var(--g441-card);
  border-left: 3px solid var(--g441-accent);
  border-radius: 10px;
  padding: 10px 12px;
  margin-top: 8px;
  font-size: 13px;
}
.g441-quote small { color: var(--g441-muted); display: block; margin-top: 4px; }

/* ---------- Payment icons ---------- */
.g441-pay-row {
  display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px;
}
.g441-pay-chip {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 12px;
  border-radius: 20px;
  background: var(--g441-card);
  border: 1px solid var(--g441-border);
  font-size: 12px;
}

/* ---------- FAQ ---------- */
.g441-faq-item {
  background: var(--g441-card);
  border: 1px solid var(--g441-border);
  border-radius: 12px;
  margin-top: 8px;
  overflow: hidden;
}
.g441-faq-q {
  padding: 12px;
  cursor: pointer;
  font-weight: 700;
  font-size: 14px;
  display: flex; justify-content: space-between; align-items: center;
}
.g441-faq-q i { color: var(--g441-accent); }
.g441-faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .3s ease;
  padding: 0 12px;
  color: var(--g441-muted);
  font-size: 13px;
}
.g441-faq-item.g441-faq-open .g441-faq-a { max-height: 240px; padding-bottom: 12px; }
.g441-faq-item.g441-faq-open .g441-faq-q i { transform: rotate(180deg); }

/* ---------- Winners ---------- */
.g441-winner {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 10px; margin-top: 6px;
  background: var(--g441-card); border-radius: 10px;
  border: 1px solid var(--g441-border);
  font-size: 12px;
}
.g441-winner b { color: var(--g441-gold); }

/* ---------- SEO text ---------- */
.g441-seo-text {
  color: var(--g441-muted);
  font-size: 13px;
  margin-top: 12px;
}
.g441-seo-text p { margin: 0 0 10px; }

/* ---------- Footer ---------- */
.g441-footer {
  margin-top: 22px;
  background: var(--g441-bg-2);
  border-top: 1px solid var(--g441-border);
  padding: 18px 0 92px;
}
.g441-footer-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.g441-footer-col h5 {
  margin: 0 0 8px;
  color: var(--g441-accent);
  font-size: 13px;
}
.g441-footer-col a {
  display: block;
  font-size: 12px;
  color: var(--g441-muted);
  padding: 3px 0;
}
.g441-footer-bottom {
  text-align: center;
  font-size: 11px;
  color: var(--g441-muted);
  margin-top: 14px;
}

/* ---------- Bottom navigation ---------- */
.g441-bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: 62px;
  z-index: 1000;
  background: linear-gradient(180deg, #2f2a2f 0%, #1a171a 100%);
  border-top: 1px solid var(--g441-border);
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.5);
}
.g441-nav-btn {
  flex: 1;
  min-width: 60px;
  min-height: 60px;
  background: transparent;
  border: none;
  color: var(--g441-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font-size: 10px;
  font-family: inherit;
  cursor: pointer;
  position: relative;
  transition: color .15s, transform .15s;
}
.g441-nav-btn .material-icons,
.g441-nav-btn ion-icon,
.g441-nav-btn i { font-size: 24px; }
.g441-nav-btn ion-icon { font-size: 26px; }
.g441-nav-btn:hover { color: var(--g441-accent); }
.g441-nav-btn:active { transform: scale(0.92); }
.g441-nav-active { color: var(--g441-accent); }
.g441-nav-active::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 28px; height: 3px;
  background: var(--g441-accent);
  border-radius: 0 0 4px 4px;
}
.g441-nav-promo {
  color: #fff;
  background: linear-gradient(135deg, var(--g441-accent) 0%, var(--g441-accent-2) 100%);
}
.g441-nav-promo .material-icons,
.g441-nav-promo i,
.g441-nav-promo ion-icon { color: #fff; }

/* ---------- Desktop ---------- */
@media (min-width: 769px) {
  .g441-bottom-nav { display: none; }
  main { padding-bottom: 30px; }
  .g441-wrapper { max-width: 430px; }
}
