/* Challenges launch polish — scoped to the redesigned Challenges hub only. */
.dc-screen {
  isolation: isolate;
  background: #050504;
}

/* Keep the same approved Home background, but sharp/focused on this screen. */
.dc-screen::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: url('/assets/home/home-season-hallway-v2.webp') top center / cover no-repeat;
  filter: none;
  transform: none;
}

.dc-screen::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(3,3,3,.30) 0%, rgba(3,3,3,.58) 34%, rgba(3,3,3,.84) 72%, rgba(3,3,3,.94) 100%),
    radial-gradient(circle at 78% 12%, rgba(239,171,0,.08), transparent 28%);
}

.dc-screen .dc-page {
  position: relative;
  z-index: 1;
  background: radial-gradient(circle at 83% 11%, rgba(236,169,0,.06), transparent 25%);
}

/* The Coins wallet must never cover/crop “Conquiste recompensas”. */
.dc-screen .dc-hero {
  display: grid;
  grid-template-columns: minmax(0,1fr) 116px;
  grid-template-rows: auto auto;
  column-gap: 12px;
  align-items: end;
  min-height: 160px;
  padding: 28px 2px 18px;
}

.dc-screen .dc-hero h1 {
  grid-column: 1 / -1;
  align-self: start;
}

.dc-screen .dc-hero p {
  grid-column: 1;
  grid-row: 2;
  min-width: 0;
  margin: 5px 0 0;
  padding-right: 2px;
  white-space: normal;
  overflow: visible;
  line-height: 1.25;
  text-wrap: balance;
}

.dc-screen .dc-hero > div {
  position: static;
  grid-column: 2;
  grid-row: 2;
  justify-self: end;
  align-self: end;
  width: 116px;
  min-height: 58px;
  box-sizing: border-box;
}

/* Power Lift: approved clean asset underneath, copy/CTA remain real CSS/HTML. */
.dc-screen .dc-powerlift-feature {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  align-content: end;
  min-height: 320px;
  gap: 0;
  overflow: hidden;
  margin-top: 14px;
  padding: 20px;
  border: 1px solid rgba(234,171,13,.88);
  border-radius: 14px;
  background-image:
    linear-gradient(90deg, rgba(2,2,2,.96) 0%, rgba(2,2,2,.86) 27%, rgba(2,2,2,.44) 53%, rgba(2,2,2,.08) 76%, rgba(2,2,2,.03) 100%),
    linear-gradient(0deg, rgba(2,2,2,.76) 0%, rgba(2,2,2,.10) 42%, rgba(2,2,2,.04) 100%),
    url('/assets/challenges/powerlift-banner-v1.webp');
  background-repeat: no-repeat;
  background-size: cover, cover, cover;
  background-position: center, center, 58% center;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.025), 0 12px 30px rgba(0,0,0,.34);
}

.dc-screen .dc-powerlift-feature::after {
  display: none;
}

.dc-screen .dc-powerlift-feature > span {
  display: none;
}

.dc-screen .dc-powerlift-feature > div {
  position: relative;
  z-index: 2;
  max-width: 58%;
  align-self: end;
}

.dc-screen .dc-powerlift-feature small {
  color: #f5b514;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .12em;
  text-shadow: 0 2px 8px rgba(0,0,0,.9);
}

.dc-screen .dc-powerlift-feature h2 {
  margin: 5px 0 7px;
  color: #f5f5f2;
  font-family: "Bebas Neue";
  font-size: 34px;
  font-weight: 400;
  line-height: .94;
  text-shadow: 0 2px 12px rgba(0,0,0,.95);
}

.dc-screen .dc-powerlift-feature p {
  max-width: 290px;
  margin: 0;
  color: #f0efeb;
  font-size: 11px;
  line-height: 1.34;
  text-shadow: 0 2px 7px rgba(0,0,0,.95);
}

.dc-screen .dc-powerlift-feature ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin: 11px 0 0;
  padding: 0;
  list-style: none;
}

.dc-screen .dc-powerlift-feature li {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #dedbd4;
  font-size: 8px;
  text-shadow: 0 1px 5px #000;
}

.dc-screen .dc-powerlift-feature li svg {
  width: 14px;
  color: #f5b514;
}

.dc-screen .dc-powerlift-feature button {
  position: relative;
  z-index: 2;
  display: flex;
  width: 58%;
  min-height: 42px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 14px;
  padding: 0 14px;
  border: 1px solid #e5a900;
  border-radius: 9px;
  color: #171004;
  background: linear-gradient(100deg,#eda80a,#ffd259);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .02em;
  box-shadow: 0 7px 18px rgba(0,0,0,.34);
}

.dc-screen .dc-powerlift-feature button svg {
  width: 18px;
  flex: 0 0 auto;
}

@media (max-width: 430px) {
  .dc-screen .dc-hero {
    grid-template-columns: minmax(0,1fr) 108px;
    column-gap: 10px;
    min-height: 166px;
    padding-top: 24px;
  }

  .dc-screen .dc-hero p {
    font-size: 16px;
    line-height: 1.24;
  }

  .dc-screen .dc-hero > div {
    width: 108px;
  }

  .dc-screen .dc-powerlift-feature {
    min-height: 300px;
    padding: 17px;
    background-position: center, center, 60% center;
  }

  .dc-screen .dc-powerlift-feature > div {
    max-width: 60%;
  }

  .dc-screen .dc-powerlift-feature h2 {
    font-size: 30px;
  }

  .dc-screen .dc-powerlift-feature p {
    font-size: 10px;
  }

  .dc-screen .dc-powerlift-feature ul {
    display: grid;
    gap: 4px;
  }

  .dc-screen .dc-powerlift-feature button {
    width: 60%;
    min-height: 40px;
    padding-inline: 11px;
    font-size: 9px;
  }
}

@media (max-width: 360px) {
  .dc-screen .dc-hero {
    grid-template-columns: minmax(0,1fr) 102px;
  }

  .dc-screen .dc-hero p {
    font-size: 15px;
  }

  .dc-screen .dc-hero > div {
    width: 102px;
    padding-inline: 8px;
  }

  .dc-screen .dc-powerlift-feature > div,
  .dc-screen .dc-powerlift-feature button {
    width: 64%;
    max-width: 64%;
  }
}
