/* ===========================================================
   fun97.homes - Shared stylesheet
   Prefix : wa46e-
   Palette: #2D2D2D / #FF1493 / #98FB98 / #FFB3FF / #FF91A4
   Comments in English only.
   =========================================================== */

:root {
  --wa46e-bg: #2D2D2D;
  --wa46e-bg-alt: #1c1c1c;
  --wa46e-primary: #FF1493;
  --wa46e-primary-dark: #c80f72;
  --wa46e-mint: #98FB98;
  --wa46e-pink: #FFB3FF;
  --wa46e-salmon: #FF91A4;
  --wa46e-text: #ffffff;
  --wa46e-text-muted: #d8d8d8;
  --wa46e-border: rgba(255, 20, 147, 0.25);
  --wa46e-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
  --wa46e-radius: 14px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  padding: 0;
  font-family: "Be Vietnam Pro", "Segoe UI", Roboto, system-ui, sans-serif;
  background: var(--wa46e-bg);
  color: var(--wa46e-text);
  line-height: 1.5rem;
  font-size: 1.5rem;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--wa46e-pink); text-decoration: none; }
a:hover { color: var(--wa46e-mint); }

/* ---------- Layout containers ---------- */
.wa46e-wrapper {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  position: relative;
  background: var(--wa46e-bg);
}

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

main { padding-bottom: 90px; }

/* ---------- Header ---------- */
.wa46e-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(135deg, #1c1c1c 0%, #2D2D2D 60%, #3a1c2e 100%);
  border-bottom: 1px solid var(--wa46e-border);
  box-shadow: var(--wa46e-shadow);
}

.wa46e-header-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.8rem 1.2rem;
  min-height: 56px;
}

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

.wa46e-header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.wa46e-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 38px;
  padding: 0 1.2rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1.3rem;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
  text-decoration: none;
}
.wa46e-btn-primary {
  background: linear-gradient(135deg, var(--wa46e-primary) 0%, var(--wa46e-salmon) 100%);
  color: #fff;
  box-shadow: 0 4px 12px rgba(255, 20, 147, 0.45);
}
.wa46e-btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: var(--wa46e-text);
  border: 1px solid var(--wa46e-border);
}
.wa46e-btn-mint {
  background: linear-gradient(135deg, var(--wa46e-mint) 0%, #6bd8a3 100%);
  color: #10331a;
}
.wa46e-btn:hover { transform: translateY(-1px); }
.wa46e-btn:active { transform: scale(0.97); }

.wa46e-menu-btn {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--wa46e-border);
  color: var(--wa46e-text);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

/* ---------- Expandable nav menu ---------- */
.wa46e-mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.32s ease;
  background: #161616;
  border-top: 1px solid transparent;
}
.wa46e-mobile-menu.wa46e-open {
  max-height: 460px;
  border-top: 1px solid var(--wa46e-border);
}
.wa46e-mobile-menu ul {
  list-style: none;
  margin: 0;
  padding: 0.6rem 1.2rem 1rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}
.wa46e-mobile-menu a {
  display: block;
  padding: 0.9rem 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  color: var(--wa46e-text);
  font-size: 1.35rem;
  font-weight: 600;
}

/* ---------- Carousel ---------- */
.wa46e-carousel {
  position: relative;
  margin: 1.2rem 0;
  border-radius: var(--wa46e-radius);
  overflow: hidden;
  box-shadow: var(--wa46e-shadow);
}
.wa46e-slide {
  display: none;
  position: relative;
}
.wa46e-slide.wa46e-active { display: block; }
.wa46e-slide img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.wa46e-slide-cta {
  position: absolute;
  right: 12px;
  bottom: 12px;
}

/* ---------- Sections ---------- */
.wa46e-section {
  margin: 2rem 0;
}
.wa46e-section-title {
  font-size: 2rem;
  font-weight: 800;
  margin: 0 0 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.wa46e-section-title i { color: var(--wa46e-primary); }
.wa46e-lead {
  color: var(--wa46e-text-muted);
  font-size: 1.4rem;
  margin: 0 0 1.2rem;
}
.wa46e-h1 {
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1.25;
  margin: 1.4rem 0 0.6rem;
  background: linear-gradient(135deg, var(--wa46e-pink), var(--wa46e-mint));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Game grid (compact icons) ---------- */
.wa46e-cat-head {
  font-size: 1.6rem;
  font-weight: 700;
  margin: 1.6rem 0 0.8rem;
  color: var(--wa46e-pink);
  text-transform: uppercase;
  letter-spacing: 0.6px;
}
.wa46e-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}
.wa46e-game {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 0.6rem 0.4rem;
  text-align: center;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.2s ease;
}
.wa46e-game:hover {
  transform: translateY(-2px);
  border-color: var(--wa46e-primary);
}
.wa46e-game img {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  margin: 0 auto 0.4rem;
}
.wa46e-game-name {
  font-size: 1.15rem;
  color: var(--wa46e-text);
  line-height: 1.25;
  min-height: 32px;
  display: block;
}

/* ---------- Cards ---------- */
.wa46e-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--wa46e-radius);
  padding: 1.4rem;
  margin-bottom: 1rem;
}
.wa46e-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.6rem;
  color: var(--wa46e-mint);
}

/* ---------- Features list ---------- */
.wa46e-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
}
.wa46e-feature {
  background: rgba(255, 20, 147, 0.06);
  border: 1px solid var(--wa46e-border);
  border-radius: 10px;
  padding: 1rem;
  text-align: center;
}
.wa46e-feature i { font-size: 2.4rem; color: var(--wa46e-primary); }
.wa46e-feature strong { display: block; margin-top: 0.4rem; font-size: 1.3rem; }
.wa46e-feature small { color: var(--wa46e-text-muted); font-size: 1.1rem; }

/* ---------- Steps ---------- */
.wa46e-steps { counter-reset: wa46e-step; }
.wa46e-step {
  position: relative;
  padding: 0.8rem 0.8rem 0.8rem 3.6rem;
  margin-bottom: 0.6rem;
  background: rgba(255, 255, 255, 0.03);
  border-left: 3px solid var(--wa46e-mint);
  border-radius: 8px;
}
.wa46e-step::before {
  counter-increment: wa46e-step;
  content: counter(wa46e-step);
  position: absolute;
  left: 0.8rem;
  top: 50%;
  transform: translateY(-50%);
  width: 2.2rem;
  height: 2.2rem;
  background: var(--wa46e-primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
}

/* ---------- Winners ticker ---------- */
.wa46e-winners {
  background: linear-gradient(135deg, #3a1c2e, #1c1c1c);
  border: 1px solid var(--wa46e-border);
  border-radius: var(--wa46e-radius);
  padding: 1rem 1.2rem;
  min-height: 64px;
  position: relative;
  overflow: hidden;
}
.wa46e-winner-row {
  display: none;
  align-items: center;
  gap: 0.8rem;
}
.wa46e-winner-row.wa46e-show { display: flex; }
.wa46e-winner-row img { width: 36px; height: 36px; border-radius: 8px; }
.wa46e-winner-name { font-weight: 700; }
.wa46e-winner-amount { color: var(--wa46e-mint); font-weight: 800; }

/* ---------- Payment / promo badges ---------- */
.wa46e-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.wa46e-badge {
  background: rgba(152, 251, 152, 0.08);
  border: 1px solid rgba(152, 251, 152, 0.35);
  color: var(--wa46e-mint);
  border-radius: 999px;
  padding: 0.5rem 1rem;
  font-size: 1.2rem;
  font-weight: 700;
}

/* ---------- Testimonials ---------- */
.wa46e-quote {
  border-left: 3px solid var(--wa46e-primary);
  padding: 0.6rem 1rem;
  margin-bottom: 0.8rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
}
.wa46e-quote p { margin: 0 0 0.4rem; font-size: 1.3rem; }
.wa46e-quote cite { color: var(--wa46e-pink); font-style: normal; font-weight: 700; }

/* ---------- CTA band ---------- */
.wa46e-cta {
  background: linear-gradient(135deg, var(--wa46e-primary), var(--wa46e-salmon));
  border-radius: var(--wa46e-radius);
  padding: 1.6rem;
  text-align: center;
  color: #fff;
  margin: 1.6rem 0;
  box-shadow: 0 8px 22px rgba(255, 20, 147, 0.35);
}
.wa46e-cta h2 { margin: 0 0 0.6rem; font-size: 2rem; }
.wa46e-cta p { margin: 0 0 1rem; }

/* ---------- Footer ---------- */
.wa46e-footer {
  background: #161616;
  border-top: 1px solid var(--wa46e-border);
  padding: 1.8rem 1.4rem 2rem;
  color: var(--wa46e-text-muted);
  font-size: 1.25rem;
}
.wa46e-footer h4 { color: var(--wa46e-text); margin: 0 0 0.6rem; font-size: 1.4rem; }
.wa46e-footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem 0.8rem;
  margin: 0.8rem 0;
}
.wa46e-footer-links a { color: var(--wa46e-text-muted); font-size: 1.2rem; }
.wa46e-footer-brand { margin: 1rem 0; }
.wa46e-copyright { font-size: 1.1rem; color: #888; margin-top: 1rem; }

/* ---------- Mobile bottom navigation ---------- */
.wa46e-bnav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  height: 62px;
  background: linear-gradient(180deg, #1c1c1c, #0e0e0e);
  border-top: 1px solid var(--wa46e-border);
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  padding: 0;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.5);
}
.wa46e-bnav-btn {
  flex: 1;
  min-width: 60px;
  min-height: 60px;
  background: transparent;
  border: none;
  color: var(--wa46e-text-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  cursor: pointer;
  position: relative;
  transition: color 0.2s ease, transform 0.15s ease;
}
.wa46e-bnav-btn .material-icons,
.wa46e-bnav-btn ion-icon,
.wa46e-bnav-btn i { font-size: 24px; }
.wa46e-bnav-btn span { font-size: 11px; font-weight: 600; }
.wa46e-bnav-btn:active { transform: scale(0.92); }
.wa46e-bnav-active { color: var(--wa46e-primary); }
.wa46e-bnav-active::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: var(--wa46e-primary);
}
.wa46e-bnav-promo { color: var(--wa46e-pink); }
.wa46e-bnav-badge {
  position: absolute;
  top: 6px;
  right: 16px;
  background: var(--wa46e-mint);
  color: #10331a;
  font-size: 9px;
  font-weight: 800;
  border-radius: 999px;
  padding: 1px 5px;
}

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

/* ---------- Hide bottom nav on desktop ---------- */
@media (min-width: 769px) {
  .wa46e-bnav { display: none; }
  main { padding-bottom: 2rem; }
  .wa46e-wrapper, .wa46e-container { max-width: 430px; }
}

/* ---------- Small screens fine tuning ---------- */
@media (max-width: 360px) {
  .wa46e-grid { grid-template-columns: repeat(2, 1fr); }
  .wa46e-game img { width: 52px; height: 52px; }
}
