/*!
 * jl-1.homes - core stylesheet (mobile-first)
 * All custom classes use the w2852- prefix for namespace isolation.
 * Palette: #1C2833 / #FF7F50 / #FFD700 / #FFCCCB / #E9ECEF / #A0522D
 * Root font 62.5% so 1rem = 10px.
 */

:root {
  --w2852-primary: #FF7F50;       /* coral accent */
  --w2852-gold: #FFD700;          /* highlight gold */
  --w2852-bg: #1C2833;            /* dark base background */
  --w2852-bg-2: #243445;          /* secondary dark surface */
  --w2852-bg-3: #0F1822;          /* deeper background */
  --w2852-text: #E9ECEF;          /* light text */
  --w2852-soft: #FFCCCB;          /* soft pink */
  --w2852-brown: #A0522D;         /* warm brown */
  --w2852-border: rgba(255, 215, 0, 0.18);
  --w2852-radius: 12px;
  --w2852-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
  --w2852-header-h: 56px;
  --w2852-bottom-h: 62px;
}

* { box-sizing: border-box; }

html {
  font-size: 62.5%; /* 1rem = 10px */
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, system-ui, sans-serif;
  background: radial-gradient(circle at top, #243445 0%, var(--w2852-bg) 55%, var(--w2852-bg-3) 100%);
  color: var(--w2852-text);
  line-height: 1.5rem;
  font-size: 1.5rem;
  min-height: 100vh;
  overflow-x: hidden;
}

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

.w2852-container {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1.2rem;
}

/* ============ HEADER ============ */
.w2852-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--w2852-header-h);
  background: linear-gradient(90deg, var(--w2852-bg-3), var(--w2852-bg) 60%, var(--w2852-bg-3));
  border-bottom: 1px solid var(--w2852-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.2rem;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.w2852-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  font-size: 2rem;
  color: var(--w2852-gold);
  letter-spacing: 0.5px;
}
.w2852-logo img { width: 28px; height: 28px; border-radius: 6px; }
.w2852-logo span { color: var(--w2852-primary); }

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

.w2852-menu-btn {
  background: transparent;
  border: 1px solid var(--w2852-border);
  color: var(--w2852-text);
  width: 38px; height: 38px;
  border-radius: 8px;
  font-size: 2rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}

.w2852-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1.3rem;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  min-height: 38px;
}
.w2852-btn:active { transform: scale(0.96); }
.w2852-btn-login {
  background: transparent;
  color: var(--w2852-text);
  border: 1px solid var(--w2852-gold);
}
.w2852-btn-register {
  background: linear-gradient(90deg, var(--w2852-primary), var(--w2852-gold));
  color: var(--w2852-bg-3);
  font-weight: 800;
  box-shadow: 0 3px 12px rgba(255, 127, 80, 0.4);
}

/* ============ MOBILE MENU ============ */
.w2852-mobile-menu {
  position: fixed;
  top: var(--w2852-header-h);
  left: 0; right: 0;
  background: var(--w2852-bg-2);
  border-bottom: 1px solid var(--w2852-border);
  padding: 1rem 1.4rem;
  transform: translateY(-160%);
  transition: transform 0.28s ease;
  z-index: 9999;
  max-height: 70vh;
  overflow-y: auto;
  box-shadow: var(--w2852-shadow);
}
.w2852-mobile-menu.w2852-menu-open { transform: translateY(0); }
.w2852-mobile-menu a {
  display: block;
  padding: 0.95rem 0.6rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--w2852-text);
  font-size: 1.45rem;
  font-weight: 600;
}
.w2852-mobile-menu a:last-child { border-bottom: none; }
.w2852-mobile-menu a:hover { color: var(--w2852-gold); padding-left: 1rem; }

/* ============ MAIN LAYOUT ============ */
.w2852-main {
  padding-top: calc(var(--w2852-header-h) + 1rem);
  padding-bottom: 1rem;
}

/* ============ CAROUSEL ============ */
.w2852-carousel {
  position: relative;
  overflow: hidden;
  border-radius: var(--w2852-radius);
  box-shadow: var(--w2852-shadow);
  margin-bottom: 1.4rem;
}
.w2852-carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}
.w2852-carousel-slide {
  min-width: 100%;
  position: relative;
}
.w2852-carousel-slide img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.w2852-carousel-slide a { display: block; }
.w2852-carousel-caption {
  position: absolute;
  left: 1rem; bottom: 1rem;
  background: rgba(15, 24, 34, 0.78);
  padding: 0.6rem 1rem;
  border-radius: 8px;
  font-size: 1.3rem;
  color: var(--w2852-gold);
  font-weight: 700;
}
.w2852-carousel-dots {
  position: absolute;
  bottom: 0.8rem; right: 1rem;
  display: flex; gap: 0.4rem;
}
.w2852-carousel-dot {
  width: 8px; height: 8px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  cursor: pointer;
}
.w2852-carousel-dot.w2852-dot-active { background: var(--w2852-primary); }

/* ============ HERO / SECTION TITLES ============ */
.w2852-hero {
  text-align: center;
  padding: 1.2rem 0 1.4rem;
}
.w2852-hero h1 {
  font-size: 2.4rem;
  line-height: 1.25;
  margin: 0 0 0.6rem;
  color: var(--w2852-text);
}
.w2852-hero h1 span { color: var(--w2852-primary); }
.w2852-hero p { color: var(--w2852-soft); font-size: 1.4rem; margin: 0; }

.w2852-section {
  margin: 1.6rem 0;
}
.w2852-section-title {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--w2852-gold);
  margin: 0 0 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding-left: 0.8rem;
  border-left: 4px solid var(--w2852-primary);
}
.w2852-section-title i,
.w2852-section-title span.material-icons,
.w2852-section-title ion-icon { font-size: 2rem; }

/* ============ GAME GRID ============ */
.w2852-game-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
}
.w2852-game-card {
  background: var(--w2852-bg-2);
  border-radius: var(--w2852-radius);
  overflow: hidden;
  text-align: center;
  padding: 0.6rem 0.4rem 0.7rem;
  border: 1px solid transparent;
  transition: transform 0.15s ease, border-color 0.15s ease;
  cursor: pointer;
}
.w2852-game-card:hover,
.w2852-game-card:active {
  transform: translateY(-3px);
  border-color: var(--w2852-primary);
}
.w2852-game-card img {
  width: 100%;
  height: 78px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 0.4rem;
}
.w2852-game-name {
  font-size: 1.15rem;
  color: var(--w2852-text);
  font-weight: 600;
  line-height: 1.3;
  word-break: break-word;
}

/* ============ CARDS / FEATURES ============ */
.w2852-card {
  background: var(--w2852-bg-2);
  border-radius: var(--w2852-radius);
  padding: 1.2rem;
  margin-bottom: 1rem;
  border: 1px solid var(--w2852-border);
  box-shadow: var(--w2852-shadow);
}
.w2852-card h2 {
  margin: 0 0 0.6rem;
  font-size: 1.7rem;
  color: var(--w2852-gold);
}
.w2852-card h3 {
  margin: 0.8rem 0 0.4rem;
  font-size: 1.4rem;
  color: var(--w2852-primary);
}
.w2852-card p { margin: 0.4rem 0; font-size: 1.35rem; color: var(--w2852-text); }

.w2852-feature-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
  margin: 0.8rem 0;
}
.w2852-feature-item {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 10px;
  padding: 0.9rem;
  text-align: center;
  border: 1px solid rgba(255, 215, 0, 0.1);
}
.w2852-feature-item i,
.w2852-feature-item span.material-icons,
.w2852-feature-item ion-icon {
  font-size: 2.2rem;
  color: var(--w2852-primary);
  margin-bottom: 0.3rem;
}
.w2852-feature-item strong { display: block; color: var(--w2852-gold); font-size: 1.3rem; }
.w2852-feature-item span.w2852-sub { color: var(--w2852-soft); font-size: 1.15rem; }

/* ============ CTA ============ */
.w2852-cta {
  background: linear-gradient(135deg, var(--w2852-brown), var(--w2852-primary));
  border-radius: var(--w2852-radius);
  padding: 1.4rem;
  text-align: center;
  margin: 1.4rem 0;
  color: #fff;
  box-shadow: var(--w2852-shadow);
}
.w2852-cta h2 { color: var(--w2852-gold); margin: 0 0 0.5rem; font-size: 1.8rem; }
.w2852-cta p { margin: 0 0 1rem; font-size: 1.35rem; }
.w2852-cta .w2852-btn {
  background: var(--w2852-gold);
  color: var(--w2852-bg-3);
  font-size: 1.5rem;
  padding: 1rem 2.2rem;
}
.w2852-text-link {
  font-weight: 700;
  color: var(--w2852-primary);
  border-bottom: 1px dashed var(--w2852-primary);
}

/* ============ RTP TABLE ============ */
.w2852-rtp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.25rem;
  margin-top: 0.6rem;
}
.w2852-rtp-table th,
.w2852-rtp-table td {
  padding: 0.6rem 0.4rem;
  border-bottom: 1px solid rgba(255, 215, 0, 0.12);
  text-align: center;
}
.w2852-rtp-table th { color: var(--w2852-gold); }
.w2852-rtp-table td.w2852-tp { color: var(--w2852-primary); font-weight: 700; }

/* ============ TESTIMONIALS ============ */
.w2852-testimonial {
  background: rgba(255, 255, 255, 0.04);
  border-left: 3px solid var(--w2852-gold);
  border-radius: 8px;
  padding: 0.9rem 1rem;
  margin-bottom: 0.8rem;
}
.w2852-testimonial p { margin: 0 0 0.4rem; font-size: 1.3rem; }
.w2852-testimonial .w2852-author { color: var(--w2852-soft); font-size: 1.15rem; }

/* ============ PAYMENT / WINNERS ============ */
.w2852-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.6rem;
}
.w2852-chip {
  background: var(--w2852-bg-3);
  border: 1px solid var(--w2852-border);
  border-radius: 999px;
  padding: 0.5rem 1rem;
  font-size: 1.15rem;
  color: var(--w2852-gold);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.w2852-winner-list { list-style: none; padding: 0; margin: 0.6rem 0 0; }
.w2852-winner-list li {
  display: flex;
  justify-content: space-between;
  padding: 0.55rem 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
  font-size: 1.25rem;
}
.w2852-winner-list li span:last-child { color: var(--w2852-primary); font-weight: 700; }

/* ============ FOOTER ============ */
.w2852-footer {
  margin-top: 2rem;
  padding: 1.6rem 0 calc(var(--w2852-bottom-h) + 1.4rem);
  background: var(--w2852-bg-3);
  border-top: 1px solid var(--w2852-border);
  color: var(--w2852-soft);
  font-size: 1.25rem;
}
.w2852-footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
  margin: 1rem 0;
}
.w2852-footer-links a {
  color: var(--w2852-text);
  font-size: 1.2rem;
  padding: 0.3rem 0;
}
.w2852-footer-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1rem 0;
}
.w2852-footer-buttons .w2852-btn {
  flex: 1 1 45%;
  font-size: 1.2rem;
  padding: 0.6rem 0.8rem;
}
.w2852-footer-buttons .w2852-btn-register {
  background: linear-gradient(90deg, var(--w2852-primary), var(--w2852-gold));
}
.w2852-copyright {
  text-align: center;
  font-size: 1.1rem;
  color: rgba(233, 236, 239, 0.6);
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* ============ BOTTOM NAV ============ */
.w2852-bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: var(--w2852-bottom-h);
  background: linear-gradient(90deg, var(--w2852-bg-3), var(--w2852-bg-2));
  border-top: 1px solid var(--w2852-border);
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  z-index: 1000;
  box-shadow: 0 -2px 14px rgba(0, 0, 0, 0.35);
}
.w2852-bottom-nav-btn {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--w2852-text);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font-size: 1.05rem;
  cursor: pointer;
  padding: 0.4rem 0;
  min-width: 60px;
  min-height: 60px;
  transition: color 0.15s ease, transform 0.15s ease;
}
.w2852-bottom-nav-btn i,
.w2852-bottom-nav-btn span.material-icons,
.w2852-bottom-nav-btn ion-icon {
  font-size: 22px;
}
.w2852-bottom-nav-btn:active { transform: scale(0.92); }
.w2852-bottom-nav-btn.w2852-nav-active {
  color: var(--w2852-gold);
}
.w2852-bottom-nav-btn.w2852-nav-promo {
  color: var(--w2852-primary);
}
.w2852-bottom-nav-btn.w2852-nav-promo i { filter: drop-shadow(0 0 4px rgba(255, 127, 80, 0.6)); }

/* Bottom padding so fixed nav never overlaps content (mobile) */
@media (max-width: 768px) {
  .w2852-main { padding-bottom: calc(var(--w2852-bottom-h) + 1.2rem); }
}

/* Desktop: hide bottom nav and widen container */
@media (min-width: 769px) {
  .w2852-bottom-nav { display: none; }
  .w2852-footer { padding-bottom: 1.4rem; }
  .w2852-container { max-width: 760px; }
  .w2852-game-grid { grid-template-columns: repeat(5, 1fr); }
  .w2852-carousel-slide img { height: 340px; }
}

/* Small phones */
@media (max-width: 360px) {
  .w2852-game-grid { grid-template-columns: repeat(2, 1fr); }
  .w2852-logo { font-size: 1.7rem; }
}
