/* ── Hero section: junk-food background + readability ── */

#root > div > section:first-of-type {
  position: relative;
  overflow: hidden;
  min-height: 80vh !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

#root > div > section:first-of-type::after,
#root > div > section:first-of-type::before {
  display: none !important;
}

/* ── Overlay: dark gradient (set via inline style in JS) ── */
#root > div > section:first-of-type > .absolute.inset-0 {
  z-index: 0 !important;
  pointer-events: none;
}

/* ── Glass content panel ── */
#root > div > section:first-of-type > .relative.z-10 {
  position: relative;
  z-index: 20 !important;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  background: rgba(10, 12, 20, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.10);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border-radius: 24px;
  padding: 36px 32px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

/* ── Badge ── */
#root > div > section:first-of-type .inline-flex.items-center.gap-2 {
  border-radius: 9999px;
  background: rgba(127, 29, 29, 0.65) !important;
  border: 1px solid rgba(251, 113, 133, 0.40) !important;
  color: #fecdd3 !important;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

/* ── Heading ── */
#root > div > section:first-of-type h1 {
  font-family: "Lexend Deca", "Poppins", system-ui, sans-serif !important;
  font-size: clamp(2.8rem, 2.2rem + 2.6vw, 5.5rem) !important;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
  color: #ffffff !important;
  text-shadow: 0 6px 24px rgba(0, 0, 0, 0.55), 0 2px 4px rgba(0, 0, 0, 0.3);
  letter-spacing: -0.03em;
  line-height: 1.06 !important;
}

#root > div > section:first-of-type h1 span {
  color: #ff6f80 !important;
  text-shadow: 0 6px 24px rgba(0, 0, 0, 0.55), 0 0 40px rgba(255, 111, 128, 0.25);
}

/* ── Subtitle / body text ── */
#root > div > section:first-of-type p.text-xl,
#root > div > section:first-of-type p.text-2xl,
#root > div > section:first-of-type p[class*="text-xl"],
#root > div > section:first-of-type p[class*="text-2xl"] {
  color: rgba(255, 255, 255, 0.88) !important;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.45);
}

#root > div > section:first-of-type p.text-xl,
#root > div > section:first-of-type p[class*="text-xl"] {
  font-size: clamp(1.08rem, 1rem + 0.45vw, 1.35rem) !important;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

#root > div > section:first-of-type p.text-lg,
#root > div > section:first-of-type p[class*="text-lg"] {
  color: rgba(241, 245, 249, 0.85) !important;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  font-size: clamp(0.96rem, 0.9rem + 0.22vw, 1.08rem) !important;
}

/* ── CTA buttons ── */
#root > div > section:first-of-type a[href="#truth"] {
  background: rgba(255, 255, 255, 0.18) !important;
  border: 1px solid rgba(255, 255, 255, 0.30) !important;
  color: #ffffff !important;
  backdrop-filter: blur(4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  font-weight: 600;
}

#root > div > section:first-of-type a[href="#truth"]:hover {
  background: rgba(255, 255, 255, 0.28) !important;
}

#root > div > section:first-of-type a[href="#order"] {
  background: linear-gradient(180deg, #ff586f 0%, #e7425b 100%) !important;
  border: 1px solid rgba(255, 162, 176, 0.45) !important;
  color: #fff !important;
  box-shadow: 0 12px 32px rgba(180, 30, 50, 0.50), 0 4px 12px rgba(0, 0, 0, 0.3);
  font-weight: 800;
}

#root > div > section:first-of-type a[href="#order"]:hover {
  background: linear-gradient(180deg, #ff6b7f 0%, #f04e65 100%) !important;
  box-shadow: 0 16px 40px rgba(180, 30, 50, 0.60), 0 4px 12px rgba(0, 0, 0, 0.3);
}

#root > div > section:first-of-type a[href="#truth"],
#root > div > section:first-of-type a[href="#order"] {
  padding: 0.9rem 1.78rem !important;
  border-radius: 14px !important;
  transition: all 0.2s ease;
}

/* ── Stats grid ── */
#root > div > section:first-of-type .grid.grid-cols-3 {
  border-color: rgba(255, 255, 255, 0.15) !important;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

#root > div > section:first-of-type .grid.grid-cols-3 > div {
  background: rgba(10, 12, 20, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 12px 10px;
  backdrop-filter: blur(4px);
}

#root > div > section:first-of-type .grid.grid-cols-3 > div > div:first-child {
  color: #ff7386 !important;
  font-size: clamp(2rem, 1.75rem + 1.1vw, 2.9rem) !important;
  line-height: 1 !important;
  text-shadow: 0 0 20px rgba(255, 115, 134, 0.3);
}

#root > div > section:first-of-type .grid.grid-cols-3 > div > div:last-child {
  color: rgba(255, 255, 255, 0.7) !important;
}

/* ── Parallax overrides ── */
.parallax-enabled #root > div > section:first-of-type.parallax-section::before,
.parallax-enabled #root > div > section:first-of-type.parallax-section::after {
  display: none !important;
}

/* ── Responsive — Tablet ── */
@media (max-width: 900px) {
  #root > div > section:first-of-type {
    min-height: 60vh !important;
  }

  #root > div > section:first-of-type > .relative.z-10 {
    padding: 24px 18px;
    margin: 14px;
    border-radius: 20px;
    max-width: 100%;
  }

  #root > div > section:first-of-type h1 {
    font-size: clamp(2rem, 1.6rem + 2.8vw, 3.2rem) !important;
  }

  #root > div > section:first-of-type p.text-xl,
  #root > div > section:first-of-type p[class*="text-xl"] {
    font-size: 1rem !important;
  }

  #root > div > section:first-of-type .grid.grid-cols-3 > div {
    padding: 10px 6px;
  }
}

/* ── Responsive — Mobile ── */
@media (max-width: 640px) {
  #root > div > section:first-of-type {
    min-height: auto !important;
    padding-top: 5rem !important;
    padding-bottom: 2.5rem !important;
  }

  #root > div > section:first-of-type > .relative.z-10 {
    padding: 20px 14px;
    margin: 8px;
    border-radius: 16px;
  }

  #root > div > section:first-of-type h1 {
    font-size: clamp(1.6rem, 1.3rem + 2vw, 2.4rem) !important;
    line-height: 1.12 !important;
  }

  #root > div > section:first-of-type h1 span {
    display: inline !important;
  }

  #root > div > section:first-of-type p.text-xl,
  #root > div > section:first-of-type p[class*="text-xl"],
  #root > div > section:first-of-type p[class*="text-2xl"] {
    font-size: 0.92rem !important;
    line-height: 1.6 !important;
  }

  #root > div > section:first-of-type p.text-lg,
  #root > div > section:first-of-type p[class*="text-lg"] {
    font-size: 0.85rem !important;
  }

  #root > div > section:first-of-type a[href="#truth"],
  #root > div > section:first-of-type a[href="#order"] {
    padding: 0.7rem 1.2rem !important;
    font-size: 0.9rem !important;
    border-radius: 12px !important;
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  #root > div > section:first-of-type .grid.grid-cols-3 {
    gap: 0.35rem !important;
    margin-top: 2rem !important;
    padding-top: 1.5rem !important;
  }

  #root > div > section:first-of-type .grid.grid-cols-3 > div {
    padding: 8px 4px !important;
    border-radius: 10px !important;
  }

  #root > div > section:first-of-type .grid.grid-cols-3 > div > div:first-child {
    font-size: 1.4rem !important;
  }

  #root > div > section:first-of-type .inline-flex.items-center.gap-2 {
    font-size: 0.65rem !important;
    padding: 0.35rem 0.75rem !important;
  }
}

/* ── Responsive — Small phones ── */
@media (max-width: 400px) {
  #root > div > section:first-of-type > .relative.z-10 {
    padding: 16px 10px;
    margin: 6px;
  }

  #root > div > section:first-of-type h1 {
    font-size: 1.4rem !important;
  }
}
