/* Diceoravibe — hero styles */

/* —— Home hero (dv-hero layout) —— */
html body #top.hero--home.depth {
  min-height: clamp(20rem, 42vh, 28rem);
  align-items: center;
  padding-top: calc(var(--hh) + 1rem);
  padding-bottom: 1.35rem;
  background: #070b14;
  border-bottom: 1px solid rgba(167, 139, 250, 0.14);
}

html body #top.hero--home.depth::before {
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(7, 11, 20, 0.72) 0%,
    rgba(7, 11, 20, 0.38) 55%,
    rgba(7, 11, 20, 0.82) 100%
  );
}

html body #top.hero--home.depth::after {
  display: none;
}

html body #top.hero--home .hero__scene {
  z-index: 0;
  opacity: 1;
}

html body #top.hero--home .hero__scene img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 28%;
  opacity: 1;
  filter: saturate(1.12) brightness(0.88);
  transform: none;
  animation: none;
  -webkit-mask: none;
  mask: none;
}

html body #top.hero--home .depth-lines {
  display: none;
}

html body #top.hero--home .hero__inner {
  display: block;
  z-index: 2;
}

html body #top .dv-hero {
  position: relative;
  z-index: 1;
  padding: 0.75rem 1rem 0.65rem;
  border-radius: var(--r-l);
  background: linear-gradient(135deg, rgba(15, 22, 40, 0.94) 0%, rgba(9, 13, 24, 0.88) 100%);
  border: 1px solid rgba(167, 139, 250, 0.22);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

html body #top .dv-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--rasp), var(--coral), var(--rasp));
}

html body #top .dv-hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  margin-bottom: 0.4rem;
}

html body #top .dv-hero--center {
  text-align: center;
  width: 100%;
  max-width: none;
  margin-inline: auto;
}

html body #top .dv-hero--center .dv-hero__meta {
  justify-content: center;
}

html body #top .dv-hero--center .dv-hero__pill--age {
  margin-left: 0;
}

html body #top .dv-hero__pill {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.2rem 0.55rem;
  border-radius: var(--r-pill);
  color: var(--text-soft);
  border: 1px solid rgba(240, 168, 48, 0.28);
  background: rgba(240, 168, 48, 0.08);
}

html body #top .dv-hero__pill--age {
  margin-left: auto;
  color: var(--cream);
  border-color: rgba(167, 139, 250, 0.35);
  background: rgba(124, 58, 237, 0.15);
}

html body #top .dv-hero__title {
  font-size: clamp(1.65rem, 3.6vw, 2.35rem) !important;
  line-height: 1.02;
  max-width: none;
  margin-bottom: 0.4rem;
}

html body #top .dv-hero--center .dv-hero__title {
  max-width: min(100%, 52rem);
  margin-left: auto;
  margin-right: auto;
}

html body #top .dv-hero__title .accent {
  font-family: var(--f-display);
  font-style: normal;
  font-weight: 800;
  color: var(--rasp);
}

html body #top .dv-hero__copy {
  padding-bottom: 0.45rem;
  border-bottom: 1px solid rgba(167, 139, 250, 0.12);
}

html body #top .dv-hero--center .dv-hero__copy {
  display: flex;
  flex-direction: column;
  align-items: center;
}

html body #top .dv-hero__lead {
  font-size: 0.9rem;
  line-height: 1.42;
  margin-bottom: 0.5rem;
  max-width: min(100%, 58rem);
}

html body #top .dv-hero--center .dv-hero__lead {
  margin-left: auto;
  margin-right: auto;
}

html body #top .dv-hero__cta {
  padding: 0.55rem 1.05rem;
  font-size: 0.88rem;
}

html body #top .dv-hero__score {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin: 0 auto 0.75rem;
  line-height: 1.2;
  padding: 0.45rem 0.85rem;
  border-radius: var(--r-m);
  background: rgba(7, 11, 20, 0.55);
  border: 1px dashed rgba(240, 168, 48, 0.25);
}

html body #top .dv-hero__score-num {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 2rem;
  color: var(--rasp);
}

html body #top .dv-hero__score-lab {
  font-size: 0.62rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--text-mut);
  max-width: 9rem;
}

html body #top .dv-hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 0.45rem;
  margin: 0.35rem 0 0;
  padding: 0;
  list-style: none;
}

html body #top .dv-hero--center .dv-hero__trust {
  justify-content: center;
}

html body #top .dv-hero__trust li {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-soft);
  padding: 0.18rem 0.5rem;
  border-radius: var(--r-s);
  background: rgba(167, 139, 250, 0.08);
  border: 1px solid rgba(167, 139, 250, 0.18);
}

html body #top .dv-hero__trust li::before {
  content: "✓ ";
  color: var(--rasp);
}

/* —— Inner page heroes —— */
html body .hero.depth:not(#top) {
  min-height: 0;
  padding-top: calc(var(--hh) + 0.65rem);
  padding-bottom: 1.1rem;
  background: linear-gradient(180deg, #0c1224, var(--ink-0));
  border-bottom: 1px solid rgba(167, 139, 250, 0.1);
}

html body .hero.depth:not(#top)::before {
  background: linear-gradient(90deg, var(--ink-0) 0%, rgba(7, 11, 20, 0.75) 55%, rgba(7, 11, 20, 0.35) 100%);
}

html body .hero.depth:not(#top) .hero__inner {
  grid-template-columns: minmax(0, 1.2fr) minmax(180px, 260px);
  gap: 1.15rem;
}

html body .hero.depth:not(#top) .hero__main {
  padding: 0.35rem 0;
}

html body .hero.depth:not(#top) .hero__title {
  font-size: clamp(1.55rem, 3.2vw, 2.25rem) !important;
  max-width: 22ch;
  margin-bottom: 0.45rem;
}

html body .hero.depth:not(#top) .hero__lead {
  font-size: 0.92rem;
  line-height: 1.5;
}

html body .hero.depth:not(#top) .hero__viz {
  position: relative;
  padding: 0.45rem;
  border-radius: var(--r-m);
  border: 1px solid rgba(167, 139, 250, 0.18);
  background: rgba(11, 17, 32, 0.75);
  min-height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

html body .hero.depth:not(#top) .hero__score {
  position: static !important;
  transform: none !important;
  width: 100%;
  flex-direction: row;
  justify-content: space-between;
  padding: 0.45rem 0.65rem;
  border-radius: var(--r-m);
  background: rgba(240, 168, 48, 0.12);
  border: 1px solid rgba(240, 168, 48, 0.28);
}

html body .hero.depth:not(#top) .hero__score b {
  font-size: 1.65rem;
  color: var(--rasp);
}

html body .hero.depth:not(#top) .hero__obj {
  max-width: 6.5rem;
  animation: none;
}

html body .df-rv-crumbs + .hero.depth {
  padding-top: 0.65rem;
}

@media (max-width: 720px) {
  html body .hero.depth:not(#top) .hero__inner {
    grid-template-columns: 1fr;
  }
}
