/* ============================================================
 * jl5.homes - Core base styles (basefiles scope)
 * CSS class prefix: v827-
 * Palette: #87CEFA | #C71585 | #2C2C2C | #48D1CC | #B0E0E6
 * Dark tones for backgrounds, light tones for text.
 * ============================================================ */

:root {
  --v827-primary: #C71585;
  --v827-secondary: #48D1CC;
  --v827-accent: #87CEFA;
  --v827-soft: #B0E0E6;
  --v827-bg: #1b1b1f;
  --v827-bg-2: #2C2C2C;
  --v827-card: #26262c;
  --v827-text: #f5f7fa;
  --v827-muted: #c8ccd5;
  --v827-gold: #f3c969;
  --v827-radius: 14px;
  --v827-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

* { margin: 0; padding: 0; }

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

body {
  overflow-x: hidden;
}

.v827-skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--v827-primary);
  color: #fff;
  padding: 8px 14px;
  z-index: 99999;
  border-radius: 0 0 8px 0;
  font-size: 13px;
}
.v827-skip-link:focus { left: 0; }

/* ---------- Header / Navigation ---------- */
.v827-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(90deg, #2C2C2C 0%, #1b1b1f 100%);
  border-bottom: 2px solid rgba(199, 21, 133, 0.55);
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.4);
}

.v827-header-inner {
  max-width: 430px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  min-height: 56px;
  gap: 10px;
}

.v827-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.v827-logo-img { width: 30px; height: 30px; border-radius: 8px; }
.v827-logo-text {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--v827-accent);
  letter-spacing: 0.5px;
}
.v827-logo-text span { color: var(--v827-primary); }

.v827-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.v827-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 1.25rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1.4;
}
.v827-btn:active { transform: scale(0.96); }

.v827-btn-login {
  background: transparent;
  color: var(--v827-soft);
  border: 1.5px solid var(--v827-secondary);
}
.v827-btn-login:hover { box-shadow: 0 0 0 3px rgba(72, 209, 204, 0.2); }

.v827-btn-register {
  background: linear-gradient(90deg, var(--v827-primary), #ff4fa3);
  color: #fff;
  box-shadow: 0 4px 14px rgba(199, 21, 133, 0.45);
}
.v827-btn-register:hover { opacity: 0.92; }

.v827-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(135, 206, 250, 0.12);
  color: var(--v827-accent);
  border: 1px solid rgba(135, 206, 250, 0.3);
  cursor: pointer;
  font-size: 20px;
}
.v827-menu-toggle.v827-active { background: rgba(199, 21, 133, 0.2); }

/* Mobile menu panel */
.v827-mobile-menu {
  position: fixed;
  top: 56px;
  left: 0;
  right: 0;
  z-index: 9999;
  background: #18181c;
  border-bottom: 2px solid var(--v827-primary);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.v827-mobile-menu.v827-active { max-height: 520px; }

.v827-mobile-menu ul {
  list-style: none;
  max-width: 430px;
  margin: 0 auto;
  padding: 10px 14px 18px;
  text-align: left;
}
.v827-mobile-menu li {
  border-bottom: 1px solid rgba(199, 21, 133, 0.18);
}
.v827-mobile-menu a {
  display: block;
  padding: 13px 8px;
  color: var(--v827-muted);
  text-decoration: none;
  font-size: 1.45rem;
  font-weight: 600;
}
.v827-mobile-menu a:hover { color: var(--v827-accent); }

/* ---------- Main / Layout ---------- */
.v827-wrapper {
  max-width: 430px;
  margin: 0 auto;
  padding: 0 14px;
}
main.v827-main {
  padding-top: 70px;
  padding-bottom: 24px;
  background: var(--v827-bg);
  color: var(--v827-text);
  min-height: 60vh;
}
@media (max-width: 768px) {
  main.v827-main { padding-bottom: 90px; }
}

.v827-section { margin: 28px 0; }
.v827-section-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--v827-accent);
  margin-bottom: 6px;
}
.v827-section-title span { color: var(--v827-primary); }
.v827-section-sub {
  font-size: 1.3rem;
  color: var(--v827-muted);
  margin-bottom: 14px;
  line-height: 1.5;
}

/* ---------- Hero / Carousel ---------- */
.v827-hero {
  position: relative;
  border-radius: var(--v827-radius);
  overflow: hidden;
  box-shadow: var(--v827-shadow);
  background: #111;
}
.v827-slides { position: relative; }
.v827-slide {
  position: relative;
  opacity: 0;
  transition: opacity 0.6s ease;
  display: none;
}
.v827-slide.v827-active { opacity: 1; display: block; }
.v827-slide img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}
.v827-slide-cap {
  position: absolute;
  left: 14px;
  bottom: 12px;
  right: 14px;
  background: linear-gradient(90deg, rgba(199, 21, 133, 0.88), rgba(44, 44, 44, 0.7));
  padding: 10px 14px;
  border-radius: 10px;
  color: #fff;
}
.v827-slide-cap b {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 2px;
}
.v827-slide-cap span { font-size: 1.18rem; color: var(--v827-soft); }

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

/* ---------- H1 / Intro ---------- */
.v827-h1 {
  font-size: 2.3rem;
  font-weight: 800;
  line-height: 1.3;
  color: #fff;
  margin: 22px 0 8px;
}
.v827-h1 span { color: var(--v827-primary); }
.v827-intro {
  font-size: 1.4rem;
  line-height: 1.6;
  color: var(--v827-muted);
  margin-bottom: 12px;
}

/* ---------- CTA banner ---------- */
.v827-cta {
  background: linear-gradient(90deg, var(--v827-primary), var(--v827-secondary));
  color: #fff;
  padding: 14px 16px;
  border-radius: var(--v827-radius);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  box-shadow: var(--v827-shadow);
  margin: 18px 0;
}
.v827-cta-text { font-size: 1.5rem; font-weight: 700; }
.v827-cta-text small {
  display: block;
  font-size: 1.12rem;
  font-weight: 500;
  opacity: 0.9;
}
.v827-cta-btn {
  background: #fff;
  color: var(--v827-primary);
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 1.35rem;
  font-weight: 800;
  border: none;
  cursor: pointer;
}
.v827-cta-btn:active { transform: scale(0.96); }

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

/* ---------- Game sections ---------- */
.v827-cat-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 22px 0 10px;
  padding-bottom: 6px;
  border-bottom: 2px solid rgba(72, 209, 204, 0.25);
}
.v827-cat-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: rgba(72, 209, 204, 0.15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--v827-secondary);
  font-size: 20px;
  border: 1px solid rgba(72, 209, 204, 0.35);
}
.v827-cat-head h2 {
  font-size: 1.75rem;
  font-weight: 800;
  color: #fff;
}
.v827-cat-head h2 span { color: var(--v827-secondary); }
.v827-cat-note { font-size: 1.15rem; color: var(--v827-muted); margin-left: auto; }

.v827-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.v827-card {
  background: var(--v827-card);
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(135, 206, 250, 0.15);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  cursor: pointer;
}
.v827-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.45);
  border-color: rgba(199, 21, 133, 0.55);
}
.v827-card img {
  width: 100%;
  height: 96px;
  object-fit: cover;
  display: block;
  background: #111;
}
.v827-card-name {
  display: block;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--v827-text);
  text-align: center;
  padding: 6px 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.v827-card-tag {
  position: absolute;
  top: 6px;
  right: 6px;
  background: rgba(199, 21, 133, 0.85);
  color: #fff;
  font-size: 0.95rem;
  padding: 2px 6px;
  border-radius: 6px;
  font-weight: 700;
}

/* ---------- Feature / Info modules ---------- */
.v827-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.v827-feature {
  background: var(--v827-card);
  border: 1px solid rgba(135, 206, 250, 0.18);
  border-radius: 12px;
  padding: 12px;
}
.v827-feature i {
  font-size: 22px;
  color: var(--v827-secondary);
  margin-bottom: 6px;
  display: inline-block;
}
.v827-feature b {
  display: block;
  font-size: 1.35rem;
  color: #fff;
  margin-bottom: 3px;
}
.v827-feature p {
  font-size: 1.18rem;
  color: var(--v827-muted);
  line-height: 1.45;
}

/* RTP compact bars */
.v827-rtp-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--v827-card);
  border-radius: 10px;
  padding: 10px 12px;
  margin-bottom: 8px;
}
.v827-rtp-name {
  flex: 0 0 100px;
  font-size: 1.2rem;
  color: #fff;
  font-weight: 600;
}
.v827-rtp-bar {
  flex: 1;
  height: 10px;
  background: rgba(135, 206, 250, 0.15);
  border-radius: 5px;
  overflow: hidden;
}
.v827-rtp-fill {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--v827-secondary), var(--v827-primary));
}
.v827-rtp-num {
  flex: 0 0 48px;
  text-align: right;
  font-size: 1.2rem;
  color: var(--v827-gold);
  font-weight: 700;
}

/* VIP / Club cards */
.v827-tier-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.v827-tier {
  background: linear-gradient(135deg, #2C2C2C, #1b1b1f);
  border: 1px solid rgba(243, 201, 105, 0.45);
  border-radius: 12px;
  padding: 12px;
  text-align: center;
}
.v827-tier h3 {
  font-size: 1.4rem;
  color: var(--v827-gold);
  margin-bottom: 4px;
}
.v827-tier p { font-size: 1.12rem; color: var(--v827-muted); line-height: 1.45; }

/* Testimonials */
.v827-review {
  background: var(--v827-card);
  border-left: 4px solid var(--v827-primary);
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 8px;
}
.v827-review-stars { color: var(--v827-gold); font-size: 1.2rem; margin-bottom: 4px; }
.v827-review p { font-size: 1.25rem; color: var(--v827-text); line-height: 1.5; }
.v827-review small {
  display: block;
  margin-top: 4px;
  font-size: 1.1rem;
  color: var(--v827-muted);
}

/* Payment methods */
.v827-pay-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.v827-pay {
  background: var(--v827-card);
  border: 1px solid rgba(135, 206, 250, 0.2);
  border-radius: 10px;
  padding: 10px 4px;
  text-align: center;
  font-size: 1.1rem;
  color: var(--v827-muted);
}
.v827-pay i { font-size: 22px; color: var(--v827-secondary); display: block; margin-bottom: 3px; }

/* Winners showcase */
.v827-winner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--v827-card);
  border-radius: 10px;
  padding: 9px 12px;
  margin-bottom: 6px;
}
.v827-winner-name { font-size: 1.2rem; color: #fff; font-weight: 600; }
.v827-winner-game { font-size: 1.05rem; color: var(--v827-muted); }
.v827-winner-amt { font-size: 1.3rem; color: var(--v827-gold); font-weight: 800; }

/* Tricks list */
.v827-trick {
  display: flex;
  gap: 10px;
  background: var(--v827-card);
  border-radius: 10px;
  padding: 10px 12px;
  margin-bottom: 6px;
}
.v827-trick-num {
  flex: 0 0 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--v827-primary);
  color: #fff;
  font-size: 1.2rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.v827-trick b { display: block; font-size: 1.3rem; color: #fff; margin-bottom: 2px; }
.v827-trick p { font-size: 1.18rem; color: var(--v827-muted); line-height: 1.45; }

/* App download CTA */
.v827-app-cta {
  background: radial-gradient(circle at top left, rgba(72, 209, 204, 0.18), transparent), var(--v827-card);
  border: 1px solid rgba(72, 209, 204, 0.4);
  border-radius: var(--v827-radius);
  padding: 16px;
  text-align: center;
}
.v827-app-cta h3 { font-size: 1.7rem; color: var(--v827-secondary); margin-bottom: 4px; }
.v827-app-cta p { font-size: 1.22rem; color: var(--v827-muted); line-height: 1.5; margin-bottom: 12px; }
.v827-app-buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.v827-app-btn {
  background: #fff;
  color: #2C2C2C;
  padding: 9px 16px;
  border-radius: 10px;
  font-size: 1.25rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Security block */
.v827-secure {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.v827-secure-item {
  background: var(--v827-card);
  border: 1px solid rgba(72, 209, 204, 0.25);
  border-radius: 10px;
  padding: 10px;
  text-align: center;
}
.v827-secure-item i { font-size: 24px; color: var(--v827-secondary); }
.v827-secure-item b { display: block; font-size: 1.25rem; color: #fff; margin: 4px 0 2px; }
.v827-secure-item span { font-size: 1.1rem; color: var(--v827-muted); }

/* FAQ */
.v827-faq-item {
  background: var(--v827-card);
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 8px;
  border-left: 3px solid var(--v827-primary);
}
.v827-faq-item h3 { font-size: 1.4rem; color: var(--v827-accent); margin-bottom: 4px; }
.v827-faq-item p { font-size: 1.22rem; color: var(--v827-muted); line-height: 1.5; }

/* Category highlights */
.v827-cat-highlight {
  background: var(--v827-card);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(135, 206, 250, 0.18);
}
.v827-cat-highlight img { width: 100%; height: 110px; object-fit: cover; }
.v827-cat-highlight-body { padding: 10px 12px; }
.v827-cat-highlight h3 { font-size: 1.45rem; color: #fff; margin-bottom: 3px; }
.v827-cat-highlight p { font-size: 1.18rem; color: var(--v827-muted); line-height: 1.45; }

/* Reveal animation */
.v827-reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.v827-reveal.v827-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Footer ---------- */
.v827-footer {
  background: #141417;
  color: var(--v827-muted);
  padding: 22px 0 30px;
  border-top: 2px solid rgba(199, 21, 133, 0.45);
  margin-top: 24px;
}
.v827-footer-inner {
  max-width: 430px;
  margin: 0 auto;
  padding: 0 14px;
}
.v827-footer-brand { font-size: 1.3rem; line-height: 1.5; margin-bottom: 10px; color: var(--v827-muted); }
.v827-footer-brand b { color: var(--v827-accent); }
.v827-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  margin-bottom: 12px;
}
.v827-footer-links a {
  font-size: 1.18rem;
  color: var(--v827-muted);
  text-decoration: none;
  cursor: pointer;
}
.v827-footer-links a:hover { color: var(--v827-primary); }
.v827-promo-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}
.v827-promo-btns .v827-btn { flex: 1 1 calc(50% - 4px); justify-content: center; }
.v827-footer-copy {
  font-size: 1.12rem;
  color: #888;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 10px;
}

/* ---------- Mobile bottom navigation ---------- */
.v827-bnav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 62px;
  background: linear-gradient(180deg, #2C2C2C, #141417);
  border-top: 2px solid var(--v827-primary);
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  box-shadow: 0 -4px 14px rgba(0, 0, 0, 0.4);
}
.v827-bnav-btn {
  flex: 1 1 0;
  min-width: 60px;
  min-height: 60px;
  background: transparent;
  color: var(--v827-muted);
  border: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  cursor: pointer;
  transition: color 0.18s ease, transform 0.18s ease;
  text-decoration: none;
  padding: 4px 0;
}
.v827-bnav-btn i,
.v827-bnav-icon { font-size: 24px; line-height: 1; }
.v827-bnav-label { font-size: 1rem; font-weight: 600; }
.v827-bnav-btn:active { transform: scale(0.9); }
.v827-bnav-btn:hover { color: var(--v827-accent); }
.v827-bnav-btn.v827-current {
  color: var(--v827-primary);
}
.v827-bnav-btn.v827-current .v827-bnav-label { font-weight: 800; }
.v827-bnav-btn.v827-current::after {
  content: "";
  position: absolute;
  bottom: 0;
  width: 38px;
  height: 3px;
  background: var(--v827-primary);
  border-radius: 3px 3px 0 0;
}
.v827-bnav-btn { position: relative; }

/* ---------- Responsive ---------- */
@media (min-width: 768px) {
  .v827-bnav { display: none; }
  main.v827-main { padding-bottom: 30px; }
}
@media (min-width: 769px) {
  .v827-header-inner,
  .v827-wrapper,
  .v827-footer-inner,
  .v827-mobile-menu ul { max-width: 760px; }
  .v827-grid { grid-template-columns: repeat(6, 1fr); }
  .v827-features { grid-template-columns: repeat(4, 1fr); }
  .v827-tier-grid { grid-template-columns: repeat(4, 1fr); }
  .v827-pay-grid { grid-template-columns: repeat(8, 1fr); }
  .v827-secure { grid-template-columns: repeat(4, 1fr); }
}