/* BackDoor Sports OS Theme v0.2.7 — Open Play homepage hierarchy and clarity update. */
.bdso-op-sales-enhanced .bdop-v3-hero__visual img,
.bdso-op-sales-enhanced .bdop-v3-showcase img {
  background: #07111f;
  box-shadow: 0 34px 84px rgba(1, 10, 24, .34);
}

/* Remove the original duplicate text-only feature grid when the enhanced gallery loads. */
.bdso-op-sales-enhanced #features > .bdop-v3-feature-grid {
  display: none !important;
}

.bdso-op-feature-gallery {
  max-width: 1180px;
  margin: 0 auto 42px;
}

.bdso-op-spotlight-group + .bdso-op-spotlight-group {
  margin-top: 62px;
}

.bdso-op-spotlight-group__heading {
  max-width: 760px;
  margin-bottom: 22px;
}

.bdso-op-spotlight-group__heading > span {
  display: inline-flex;
  margin-bottom: 9px;
  color: #087fae;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.bdso-op-spotlight-group__heading h3 {
  margin: 0 0 9px;
  color: #07111f;
  font-size: clamp(1.75rem, 3vw, 2.7rem);
  line-height: 1.06;
  letter-spacing: -.04em;
}

.bdso-op-spotlight-group__heading p {
  margin: 0;
  color: #5a6f82;
  line-height: 1.65;
}

.bdso-op-spotlights {
  display: grid;
  gap: 22px;
}

.bdso-op-spotlights--featured,
.bdso-op-spotlights--standard {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.bdso-op-spotlights--compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.bdso-op-spotlights--featured .bdso-op-spotlight:first-child,
.bdso-op-spotlights--standard .bdso-op-spotlight:last-child {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(330px, .88fr);
}

.bdso-op-spotlight {
  position: relative;
  overflow: hidden;
  border: 1px solid #d6e4ee;
  border-radius: 25px;
  background: #fff;
  box-shadow: 0 20px 54px rgba(7, 17, 31, .10);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.bdso-op-spotlight:hover {
  transform: translateY(-4px);
  border-color: #78dfff;
  box-shadow: 0 28px 70px rgba(7, 17, 31, .16);
}

.bdso-op-spotlight figure {
  position: relative;
  aspect-ratio: 4 / 3;
  margin: 0;
  overflow: hidden;
  background: #06111f;
}

.bdso-op-spotlights--featured .bdso-op-spotlight:first-child figure,
.bdso-op-spotlights--standard .bdso-op-spotlight:last-child figure {
  min-height: 100%;
  aspect-ratio: auto;
}

.bdso-op-spotlights--compact .bdso-op-spotlight figure {
  aspect-ratio: 16 / 10;
}

.bdso-op-spotlight figure::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 30%;
  background: linear-gradient(to bottom, transparent, rgba(4, 13, 26, .48));
  pointer-events: none;
}

.bdso-op-spotlight img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .45s ease;
}

.bdso-op-spotlight:hover img {
  transform: scale(1.025);
}

.bdso-op-spotlight__mockup-tag {
  position: absolute;
  z-index: 3;
  top: 14px;
  left: 14px;
  border: 1px solid rgba(129, 235, 255, .32);
  border-radius: 999px;
  padding: 6px 9px;
  background: rgba(4, 17, 31, .76);
  color: #91efff;
  font-size: .62rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
  backdrop-filter: blur(7px);
}

.bdso-op-spotlight__body {
  padding: 26px 28px 29px;
}

.bdso-op-spotlight__label {
  display: inline-flex;
  align-items: center;
  margin-bottom: 13px;
  border: 1px solid #b8eefe;
  border-radius: 999px;
  padding: 5px 9px;
  background: #eafaff;
  color: #05739d;
  font-size: .68rem;
  font-weight: 850;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.bdso-op-spotlight h4 {
  margin: 0 0 10px;
  color: #07111f;
  font-size: clamp(1.45rem, 2.2vw, 2.05rem);
  line-height: 1.05;
  letter-spacing: -.035em;
}

.bdso-op-spotlight p {
  margin: 0;
  color: #53677b;
  line-height: 1.62;
}

.bdso-op-spotlight ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.bdso-op-spotlight li {
  position: relative;
  border-radius: 12px;
  padding: 10px 10px 10px 28px;
  background: #f1f6fa;
  color: #263e54;
  font-size: .76rem;
  font-weight: 720;
  line-height: 1.35;
}

.bdso-op-spotlight li::before {
  content: "✓";
  position: absolute;
  left: 10px;
  top: 9px;
  color: #0898c9;
  font-weight: 900;
}

/* Compact cards remain visual but take up much less vertical space. */
.bdso-op-spotlight--compact {
  border-radius: 20px;
  box-shadow: 0 14px 34px rgba(7, 17, 31, .08);
}

.bdso-op-spotlight--compact .bdso-op-spotlight__body {
  padding: 20px;
}

.bdso-op-spotlight--compact h4 {
  font-size: 1.32rem;
}

.bdso-op-spotlight--compact p {
  font-size: .9rem;
}

.bdso-op-spotlight--compact ul {
  display: none;
}

/* Feature-specific interface cues make the later mockups more demonstrative. */
.bdso-op-ui-preview {
  position: absolute;
  z-index: 4;
  right: 14px;
  bottom: 14px;
  display: grid;
  gap: 6px;
  min-width: 170px;
  max-width: 62%;
  border: 1px solid rgba(115, 230, 255, .30);
  border-radius: 14px;
  padding: 12px;
  background: rgba(3, 16, 31, .88);
  color: #eafcff;
  box-shadow: 0 16px 34px rgba(0, 7, 18, .32);
  backdrop-filter: blur(9px);
}

.bdso-op-ui-preview strong {
  color: #6ee8f5;
  font-size: .62rem;
  letter-spacing: .08em;
}

.bdso-op-ui-preview span {
  border-radius: 8px;
  padding: 6px 8px;
  background: rgba(255, 255, 255, .08);
  font-size: .7rem;
  font-weight: 700;
}

.bdso-op-ui-preview span.is-selected,
.bdso-op-ui-preview .bdso-op-ui-action {
  background: #4bdde8;
  color: #04111d;
}

.bdso-op-ui-score {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-size: 1.2rem;
}

.bdso-op-ui-score i {
  color: #7f98aa;
  font-style: normal;
}

.bdso-op-ui-action {
  text-align: center;
}

.bdso-op-availability-adjusted {
  border-color: #a7dfe8 !important;
  background: #edfafd !important;
  color: #087f99 !important;
}

@media (max-width: 980px) {
  .bdso-op-spotlights--compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .bdso-op-spotlights--featured,
  .bdso-op-spotlights--standard {
    grid-template-columns: 1fr;
  }

  .bdso-op-spotlights--featured .bdso-op-spotlight:first-child,
  .bdso-op-spotlights--standard .bdso-op-spotlight:last-child {
    grid-column: auto;
    display: block;
  }

  .bdso-op-spotlights--featured .bdso-op-spotlight:first-child figure,
  .bdso-op-spotlights--standard .bdso-op-spotlight:last-child figure {
    min-height: auto;
    aspect-ratio: 4 / 3;
  }

  .bdso-op-spotlight ul {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 680px) {
  .bdso-op-spotlight-group + .bdso-op-spotlight-group {
    margin-top: 44px;
  }

  .bdso-op-spotlights--compact {
    grid-template-columns: 1fr;
  }

  .bdso-op-spotlight {
    border-radius: 20px;
  }

  .bdso-op-spotlight__body,
  .bdso-op-spotlight--compact .bdso-op-spotlight__body {
    padding: 22px 20px 24px;
  }

  .bdso-op-spotlight ul {
    grid-template-columns: 1fr;
  }

  .bdso-op-spotlight--compact ul {
    display: none;
  }

  .bdso-op-ui-preview {
    right: 10px;
    bottom: 10px;
    min-width: 150px;
    max-width: 70%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bdso-op-spotlight,
  .bdso-op-spotlight img {
    transition: none;
  }
}

/* v0.2.8 QA cleanup */
.bdso-op-spotlight:hover img{transform:scale(1.015);}
.bdop-v3 > section, .bdop-v3 > div{display:block;}
