/* =========================================================
   MAX LOTUS — Green / Gold theme
   Self-contained component styles (works with Tailwind CDN)
   ========================================================= */

:root {
  --gold: #e7b53c;
  --gold-soft: #f4d580;
  --gold-deep: #b8891f;
  --red: #12894b;
  --red-soft: #22c55e;
  --red-deep: #0a5c31;
  --ink: #050607;
  --panel: #0d0f14;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

section[id] { scroll-margin-top: 96px; }
@media (min-width: 768px) { section[id] { scroll-margin-top: 110px; } }

body {
  font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  background:
    radial-gradient(900px 600px at 12% -10%, rgba(15, 122, 67, 0.09), transparent 60%),
    radial-gradient(1000px 700px at 100% 0%, rgba(231, 181, 60, 0.07), transparent 55%),
    var(--ink);
}

/* ---------- Custom color helpers used throughout markup ---------- */
.text-gold { color: var(--gold) !important; }
.bg-gold { background-color: var(--gold) !important; }
.border-gold { border-color: var(--gold) !important; }
.border-gold\/10 { border-color: rgba(245, 197, 24, 0.10) !important; }
.border-gold\/20 { border-color: rgba(245, 197, 24, 0.20) !important; }
.hover\:text-gold:hover { color: var(--gold) !important; }
.hover\:border-gold:hover { border-color: var(--gold) !important; }
.hover\:border-gold\/50:hover { border-color: rgba(245, 197, 24, 0.5) !important; }
.hover\:bg-gold\/90:hover { background-color: rgba(245, 197, 24, 0.9) !important; }

/* ---------- Header ---------- */
.stadium-gradient {
  background:
    linear-gradient(180deg, rgba(22, 163, 74, 0.12), transparent 70%),
    linear-gradient(90deg, #000 0%, #06140c 50%, #000 100%);
  box-shadow: 0 6px 26px rgba(0, 0, 0, 0.6);
}

/* Top utility bar */
.topbar {
  background: linear-gradient(90deg, #0c0d10, #14100c 50%, #0c0d10);
  border-bottom: 1px solid rgba(231, 181, 60, 0.16);
  font-size: 0.78rem;
}
.topbar a { transition: color 0.2s ease; }
.topbar a:hover { color: var(--gold-soft); }
.powered-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 800;
  letter-spacing: 0.4px;
}
.powered-badge b {
  background: linear-gradient(90deg, var(--gold-soft), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.powered-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 0 rgba(245, 197, 24, 0.7);
  animation: pulseDot 1.8s infinite;
}
@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(245, 197, 24, 0.6); }
  70% { box-shadow: 0 0 0 8px rgba(245, 197, 24, 0); }
  100% { box-shadow: 0 0 0 0 rgba(245, 197, 24, 0); }
}

/* Primary navigation links */
.nav-link {
  position: relative;
  padding: 8px 4px;
  font-weight: 700;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.82);
  transition: color 0.2s ease;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--gold), var(--red));
  transition: width 0.25s ease;
}
.nav-link:hover { color: var(--gold); }
.nav-link:hover::after { width: 100%; }

/* Nav CTA buttons */
.btn-wa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 12px;
  font-weight: 800;
  color: #052e16;
  background: linear-gradient(90deg, #22c55e, #16a34a);
  box-shadow: 0 8px 22px rgba(34, 197, 94, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-wa:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(34, 197, 94, 0.4); }
.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 12px;
  font-weight: 800;
  color: #1a0a00;
  background: linear-gradient(90deg, var(--gold-soft), var(--gold), var(--gold-deep));
  box-shadow: 0 8px 22px rgba(245, 197, 24, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(22, 163, 74, 0.35); }
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 12px;
  font-weight: 800;
  color: var(--gold);
  border: 1px solid rgba(245, 197, 24, 0.4);
  background: rgba(245, 197, 24, 0.06);
  transition: all 0.2s ease;
}
.btn-outline:hover { border-color: var(--red); color: #fff; background: rgba(22, 163, 74, 0.15); }

/* Hamburger + mobile menu */
.nav-toggle {
  width: 44px; height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border: 1px solid rgba(245, 197, 24, 0.3);
  background: rgba(245, 197, 24, 0.06);
  color: var(--gold);
}
.mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.mobile-menu.open { max-height: 640px; }
.mobile-link {
  display: block;
  padding: 12px 14px;
  border-radius: 10px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(245, 197, 24, 0.12);
  background: rgba(255, 255, 255, 0.03);
}
.mobile-link:hover { color: var(--gold); border-color: rgba(22, 163, 74, 0.4); }

/* ---------- Hero ---------- */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--gold-soft);
  background: linear-gradient(90deg, rgba(22, 163, 74, 0.18), rgba(245, 197, 24, 0.14));
  border: 1px solid rgba(245, 197, 24, 0.35);
  box-shadow: 0 8px 30px rgba(22, 163, 74, 0.15);
}

.hero-title {
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -0.5px;
  background: linear-gradient(100deg, #ffffff 15%, var(--gold-soft) 45%, var(--gold) 70%, #ffffff 100%);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 10px 40px rgba(231, 181, 60, 0.10);
  animation: gradientShift 7s ease-in-out infinite;
}

.hero-description {
  margin: 26px auto 0;
  max-width: 720px;
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.72);
}
.hero-description strong { color: var(--gold); }

.hero-btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 40px;
  border-radius: 16px;
  font-weight: 800;
  font-size: 1.05rem;
  color: #1a0a00;
  background: linear-gradient(90deg, var(--gold-soft), var(--gold), var(--gold-deep));
  box-shadow: 0 14px 40px rgba(245, 197, 24, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.hero-btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -130%;
  width: 55%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: skewX(-20deg);
  animation: shine 4s ease-in-out 1.5s infinite;
}
.hero-btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 20px 50px rgba(22, 163, 74, 0.35);
}

/* ---------- Stat boxes ---------- */
.stat-box {
  text-align: center;
  padding: 26px 16px;
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(245, 197, 24, 0.18);
  backdrop-filter: blur(6px);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.stat-box:hover {
  transform: translateY(-6px);
  border-color: rgba(22, 163, 74, 0.5);
  box-shadow: 0 18px 40px rgba(22, 163, 74, 0.18);
}
.stat-number {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 900;
  background: linear-gradient(90deg, var(--gold-soft), var(--gold-deep), var(--gold-soft));
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradientShift 6s ease-in-out infinite;
}
.stat-text {
  margin-top: 6px;
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

/* ---------- Feature section ---------- */
.feature-section { padding: 80px 0; background: var(--ink); }
.feature-header { text-align: center; max-width: 780px; margin: 0 auto 56px; }
.feature-badge {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--red-soft);
  background: rgba(22, 163, 74, 0.12);
  border: 1px solid rgba(22, 163, 74, 0.3);
}
.feature-title {
  margin-top: 18px;
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  font-weight: 900;
  color: #fff;
}
.feature-title span {
  background: linear-gradient(90deg, var(--gold), var(--red-soft), var(--gold));
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradientShift 6s ease-in-out infinite;
}
.feature-description {
  margin-top: 18px;
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.65);
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 22px;
}
@media (min-width: 640px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .feature-grid { grid-template-columns: repeat(4, 1fr); } }

.feature-card {
  display: block;
  padding: 28px 22px;
  border-radius: 20px;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.05), rgba(0, 0, 0, 0.3));
  border: 1px solid rgba(245, 197, 24, 0.16);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--red));
  opacity: 0;
  transition: opacity 0.25s ease;
}
.feature-card:hover {
  transform: translateY(-8px);
  border-color: rgba(22, 163, 74, 0.5);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.55);
}
.feature-card:hover::before { opacity: 1; }
.feature-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  margin-bottom: 18px;
  color: var(--gold);
  background: linear-gradient(150deg, rgba(231, 181, 60, 0.14), rgba(15, 122, 67, 0.16));
  border: 1px solid rgba(231, 181, 60, 0.22);
}
.feature-icon svg { width: 28px; height: 28px; }
.feature-card h3 { font-size: 1.25rem; font-weight: 800; color: var(--gold); margin-bottom: 10px; }
.feature-card p { color: rgba(255, 255, 255, 0.65); line-height: 1.65; font-size: 0.95rem; }
.feature-chip {
  display: inline-block;
  margin-top: 16px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold-soft);
  background: rgba(22, 163, 74, 0.14);
  border: 1px solid rgba(22, 163, 74, 0.3);
}

/* ---------- Games grid ---------- */
.games-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
@media (min-width: 768px) { .games-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .games-grid { grid-template-columns: repeat(4, 1fr); } }

.game-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding: 26px 16px;
  border-radius: 20px;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.05), rgba(0, 0, 0, 0.35));
  border: 1px solid rgba(245, 197, 24, 0.16);
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.game-card::after {
  content: "";
  position: absolute;
  inset: -40% 40% auto -40%;
  height: 120px;
  background: radial-gradient(circle, rgba(22, 163, 74, 0.28), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.game-card:hover {
  transform: translateY(-8px);
  border-color: rgba(22, 163, 74, 0.55);
  box-shadow: 0 22px 50px rgba(22, 163, 74, 0.2);
}
.game-card:hover::after { opacity: 1; }
.game-emoji {
  width: 62px;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: var(--gold-soft);
  border-radius: 50%;
  background: linear-gradient(150deg, rgba(231, 181, 60, 0.16), rgba(15, 122, 67, 0.18));
  border: 1px solid rgba(231, 181, 60, 0.28);
  z-index: 1;
}
.game-emoji img { width: 36px; height: 36px; display: block; }
.game-card h3 { font-size: 1.05rem; font-weight: 800; color: #fff; z-index: 1; }
.game-card p { font-size: 0.82rem; color: rgba(255, 255, 255, 0.6); z-index: 1; line-height: 1.5; }
.game-tag {
  z-index: 1;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
  color: #1a0a00;
  background: linear-gradient(90deg, var(--gold), var(--gold-deep));
}
.game-tag.hot {
  color: #fff;
  background: linear-gradient(90deg, var(--red), var(--red-deep));
}

/* ---------- Trust boxes ---------- */
.trust-box {
  text-align: center;
  padding: 26px 14px;
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(22, 163, 74, 0.12), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(245, 197, 24, 0.18);
}
.trust-box h3 {
  font-size: clamp(1.6rem, 4vw, 2.3rem);
  font-weight: 900;
  background: linear-gradient(90deg, var(--gold-soft), var(--red-soft));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.trust-box p { margin-top: 6px; font-size: 0.85rem; color: rgba(255, 255, 255, 0.6); }

/* ---------- Glass panels ---------- */
.glass-effect {
  border-radius: 18px;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.06), rgba(0, 0, 0, 0.3));
  border: 1px solid rgba(245, 197, 24, 0.16);
  backdrop-filter: blur(8px);
}

/* ---------- Why feature ---------- */
.why-feature {
  padding: 22px 24px;
  border-radius: 16px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.05), rgba(0, 0, 0, 0.3));
  border: 1px solid rgba(245, 197, 24, 0.16);
  border-left: 4px solid var(--red);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.why-feature:hover { transform: translateX(6px); border-left-color: var(--gold); }

/* ---------- Steps ---------- */
.step-card {
  position: relative;
  text-align: center;
  padding: 40px 26px 30px;
  border-radius: 20px;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.05), rgba(0, 0, 0, 0.3));
  border: 1px solid rgba(245, 197, 24, 0.16);
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.step-card:hover { transform: translateY(-6px); border-color: rgba(22, 163, 74, 0.5); }
.step-number {
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 900;
  color: #1a0a00;
  border-radius: 50%;
  background: linear-gradient(150deg, var(--gold-soft), var(--gold), var(--red-soft));
  box-shadow: 0 10px 26px rgba(22, 163, 74, 0.25);
}
.step-card h3 { font-size: 1.2rem; font-weight: 800; color: var(--gold); margin-bottom: 10px; }
.step-card p { color: rgba(255, 255, 255, 0.65); line-height: 1.6; }

/* ---------- Contact ---------- */
.glass-contact {
  padding: 34px;
  border-radius: 24px;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.06), rgba(0, 0, 0, 0.35));
  border: 1px solid rgba(245, 197, 24, 0.2);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.5);
}
.contact-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--gold);
}
.contact-input {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  color: #fff;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(245, 197, 24, 0.2);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.contact-input::placeholder { color: rgba(255, 255, 255, 0.4); }
.contact-input:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.2);
}
.contact-btn {
  position: relative;
  overflow: hidden;
  padding: 16px 28px;
  border-radius: 14px;
  font-weight: 800;
  font-size: 1.05rem;
  color: #1a0a00;
  background: linear-gradient(90deg, var(--gold-soft), var(--gold), var(--gold-deep));
  box-shadow: 0 12px 30px rgba(245, 197, 24, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.contact-btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -130%;
  width: 55%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  transform: skewX(-20deg);
}
.contact-btn:hover::after { animation: shine 0.9s ease; }
.contact-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(22, 163, 74, 0.35);
}

/* ---------- FAQ CTA ---------- */
.faq-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  border-radius: 14px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(90deg, var(--red), var(--red-deep));
  box-shadow: 0 12px 30px rgba(22, 163, 74, 0.3);
  transition: transform 0.2s ease;
}
.faq-cta:hover { transform: translateY(-2px) scale(1.03); }

/* ---------- FAQ icon ---------- */
.rotate-180 { transform: rotate(180deg); }

/* ---------- Section heading gradient text (marquee) ---------- */
.marquee {
  overflow: hidden;
  white-space: nowrap;
  border-top: 1px solid rgba(245, 197, 24, 0.2);
  border-bottom: 1px solid rgba(245, 197, 24, 0.2);
  background: linear-gradient(90deg, rgba(22, 163, 74, 0.12), rgba(245, 197, 24, 0.08));
}
.marquee__track {
  display: inline-flex;
  gap: 44px;
  padding: 12px 0;
  animation: marquee 22s linear infinite;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--gold-soft);
}
.marquee__track span { display: inline-flex; align-items: center; gap: 10px; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Check list ---------- */
.check-list { list-style: none; padding: 0; }
.check-list li {
  position: relative;
  padding-left: 34px;
  line-height: 1.6;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23050607' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/12px no-repeat,
    linear-gradient(150deg, var(--gold-soft), var(--gold-deep));
}

/* ---------- Floating WhatsApp premium widget ---------- */
.wa-float {
  position: fixed;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  z-index: 60;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  width: auto;
}
@media (min-width: 768px) {
  .wa-float { right: 22px; bottom: 22px; width: 320px; }
}

/* Speech bubble teaser above the card */
.wa-float__bubble {
  position: relative;
  align-self: flex-end;
  max-width: 250px;
  padding: 11px 14px;
  border-radius: 14px 14px 4px 14px;
  font-size: 0.82rem;
  line-height: 1.4;
  font-weight: 600;
  color: #06210f;
  background: linear-gradient(135deg, #dcfce7, #ffffff);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  transform-origin: bottom right;
  animation: waBubbleIn 0.5s ease 1.2s both, waBubbleFloat 3.5s ease-in-out 1.8s infinite;
}
.wa-float__bubble.wa-hide {
  animation: none;
  opacity: 0;
  transform: translateY(8px) scale(0.95);
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.wa-float__bubble b { color: #128c4a; }
.wa-float__bubble::after {
  content: "";
  position: absolute;
  right: 22px;
  bottom: -7px;
  width: 14px; height: 14px;
  background: #ffffff;
  transform: rotate(45deg);
  border-radius: 0 0 3px 0;
}

/* Main chat card */
.wa-float__dock {
  position: relative;
  width: auto;
  align-self: flex-end;
}
@media (min-width: 768px) { .wa-float__dock { width: 100%; } }
.wa-float__main {
  position: relative;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 0;
  border-radius: 50%;
  color: #fff;
  background: transparent;
  border: none;
  overflow: hidden;
  animation: waCardIn 0.5s ease 0.8s both;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.wa-float__main::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, #25d366, #128c4a);
  display: none;
}
.wa-float__main:hover { transform: translateY(-4px); }
@media (min-width: 768px) {
  .wa-float__main {
    width: 100%;
    padding: 13px 16px 13px 14px;
    border-radius: 20px;
    background:
      linear-gradient(135deg, rgba(37, 211, 102, 0.12), rgba(11, 13, 16, 0)),
      linear-gradient(135deg, #12271a, #0b0d10);
    border: 1px solid rgba(37, 211, 102, 0.35);
    box-shadow: 0 20px 46px rgba(0, 0, 0, 0.55);
  }
  .wa-float__main::before { display: block; }
  .wa-float__main:hover {
    border-color: #25d366;
    box-shadow: 0 26px 58px rgba(37, 211, 102, 0.28);
  }
}

.wa-float__icon {
  position: relative;
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #25d366, #128c4a);
  box-shadow: 0 10px 26px rgba(37, 211, 102, 0.45);
}
@media (min-width: 768px) {
  .wa-float__icon { width: 52px; height: 52px; box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4); }
}
.wa-float__icon img { width: 32px; height: 32px; position: relative; z-index: 1; }
@media (min-width: 768px) { .wa-float__icon img { width: 30px; height: 30px; } }
.wa-float__icon::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid #25d366;
  animation: waRing 2s ease-out infinite;
}
.wa-float__badge {
  position: absolute;
  top: -4px; right: -4px;
  min-width: 18px; height: 18px;
  padding: 0 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.66rem;
  font-weight: 800;
  color: #1a0a00;
  background: linear-gradient(90deg, var(--gold), var(--gold-deep));
  border: 2px solid #0b0d10;
  border-radius: 999px;
  z-index: 2;
  animation: waBadge 1.6s ease-in-out infinite;
}
.wa-float__body { display: none; flex-direction: column; line-height: 1.2; min-width: 0; }
@media (min-width: 768px) { .wa-float__body { display: flex; } }
.wa-float__title { font-weight: 800; font-size: 0.95rem; color: #fff; }
.wa-float__status {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
  font-size: 0.74rem;
  font-weight: 600;
  color: #4ade80;
}
.wa-typing { display: inline-flex; align-items: center; gap: 3px; }
.wa-typing i {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: #4ade80;
  animation: waTyping 1.3s infinite ease-in-out;
}
.wa-typing i:nth-child(2) { animation-delay: 0.2s; }
.wa-typing i:nth-child(3) { animation-delay: 0.4s; }
.wa-float__btn {
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 10px;
  font-size: 0.78rem;
  font-weight: 800;
  color: #06210f;
  background: linear-gradient(90deg, #4ade80, #25d366);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.3);
}

.wa-float__close {
  position: absolute;
  top: -8px; left: -8px;
  width: 22px; height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 14px;
  line-height: 1;
  color: #fff;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.3);
  cursor: pointer;
  z-index: 4;
}
@media (min-width: 768px) {
  .wa-float__close { top: -9px; left: auto; right: -9px; width: 24px; height: 24px; font-size: 15px; }
}
.wa-float__close:hover { background: rgba(0, 0, 0, 0.85); }

@keyframes waRing {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.5); opacity: 0; }
}
@keyframes waBadge {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.18); }
}
@keyframes waTyping {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
  30% { transform: translateY(-3px); opacity: 1; }
}
@keyframes waCardIn {
  from { opacity: 0; transform: translateY(24px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes waBubbleIn {
  from { opacity: 0; transform: translateY(10px) scale(0.9); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes waBubbleFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
@media (prefers-reduced-motion: reduce) {
  .wa-float__bubble, .wa-float__main, .wa-float__icon::after,
  .wa-float__badge, .wa-typing i { animation: none; }
}

/* ==========================================================
   Stylish enhancements
   ========================================================== */

/* Animated gradient text shimmer */
@keyframes gradientShift {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 100% center; }
}
/* Button shine sweep */
@keyframes shine {
  0% { left: -130%; }
  60%, 100% { left: 130%; }
}

/* Decorative animated glows in the hero */
#home::before,
#home::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(120px);
  z-index: 0;
}
#home::before {
  width: 460px; height: 460px;
  top: -120px; left: -100px;
  background: rgba(22, 163, 74, 0.20);
  animation: floatOrb 12s ease-in-out infinite;
}
#home::after {
  width: 420px; height: 420px;
  bottom: -140px; right: -80px;
  background: rgba(231, 181, 60, 0.18);
  animation: floatOrb 14s ease-in-out infinite reverse;
}
@keyframes floatOrb {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -24px) scale(1.08); }
}

/* Subtle dotted texture on alternating sections */
.feature-section, #games {
  position: relative;
}
.feature-section::before, #games::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(231, 181, 60, 0.06) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 78%);
  pointer-events: none;
}
.feature-section > .container, #games > .container { position: relative; z-index: 1; }

/* Gradient glow border sweep on premium cards */
.feature-card, .game-card, .step-card {
  background-clip: padding-box;
}
.feature-card::after, .game-card::after {
  mix-blend-mode: screen;
}

/* Card lift shine on hover for game cards */
.game-card, .feature-card, .trust-box, .stat-box, .step-card {
  will-change: transform;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.in { opacity: 1; transform: none; }

/* Nicer focus rings for accessibility */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  border-radius: 8px;
}

@media (prefers-reduced-motion: reduce) {
  .hero-title, .stat-number, .feature-title span,
  .hero-btn::after, #home::before, #home::after { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
