/* OttoCare HOME module — every rule scoped to .oc-home.
 * Moved from rewards_review_3.html: #hero, .hero-bg, .top-bar, .hero-brand, body::after.
 * Fixed positioning became absolute so the screen stays inside whatever holds it. */
.oc-home, .oc-home * { box-sizing: border-box; }

.oc-home {
  --home-bg-image: none;
  --home-bg-overlay: linear-gradient(to bottom,
      rgba(0, 0, 0, 0.30) 0%,
      rgba(0, 0, 0, 0.05) 25%,
      rgba(0, 0, 0, 0.10) 45%,
      rgba(0, 0, 0, 0.70) 65%,
      rgba(0, 0, 0, 0.98) 85%,
      rgba(0, 0, 0, 1.0) 100%);
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  background: #000;
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  -webkit-tap-highlight-color: transparent;
}
.oc-home[hidden] { display: none; }

/* BACKGROUND — stays put while the screen scrolls */
.oc-home .home-bg {
  position: absolute;
  inset: 0;
  background: var(--home-bg-image) center top / cover no-repeat;
}
.oc-home .home-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--home-bg-overlay);
}
.oc-home.bg-full .home-bg::after { display: none; }

/* bottom fade — same style as the top bar fade */
.oc-home::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.5) 60%, transparent 100%);
  z-index: 150;
  pointer-events: none;
}
.oc-home.bg-full::after {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.12) 60%, transparent 100%);
}

/* TOP BAR — stays when the content scrolls */
.oc-home .home-top-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 32px 22px 0;
  pointer-events: none;
}
.oc-home .home-top-bar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: -40px;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.22) 60%, transparent 100%);
  z-index: -1;
}

/* BRAND — padded logo artwork centered across the full top bar; hero padding reserves room below it.
   Spans the bar edge to edge so the logo can use the whole width, as 100vw did inside the old iframe. */
.oc-home .home-brand {
  position: absolute;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  line-height: 1;
}
.oc-home .home-brand img {
  max-height: 240px;
  max-width: 100%;
  width: auto;
  display: block;
}

/* SCROLLING CONTENT */
.oc-home .home-scroll {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: none;
}
.oc-home .home-scroll::-webkit-scrollbar { display: none; }

.oc-home .home-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  padding-top: 91px;
  padding-bottom: 110px;   /* room for the bottom menu (modules/nav) */
}

.oc-home .home-center {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 14px 18px 8px;
}
