.doom-content {
  --doom-accent: #ece81a;
  --megamenu-height: 60px;
  --panel-max-content-width: 768px;
  --panel-padding: 4rem 1rem;
}
.doom-content img {
  user-select: none;
  pointer-events: none;
}
.padding-panel {
  padding: var(--panel-padding);
}
.doom-content:is(h1, h2, h3, h4, h5, h6) {
  color: #fff;
  line-height: 1.1;
  letter-spacing: 0.04em;
}
.doom-content h2,
.doom-content h3 {
  color: #fff;
  font-size: 2.25rem;
}
.doom-content ul {
  list-style-position: inside;
  list-style-type: disc;
}
.doom-content p,
.doom-content li,
.doom-content td {
  color: #fff;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.5;
}
.doom-content .block-cta {
  display: block;
  position: relative;
  width: fit-content;
  margin: 0 auto;
  padding: 0.75rem 2rem;
  color: black;
  font-weight: 600;
  font-size: 1rem;
  background-color: var(--doom-accent);
}
@media screen and (min-width: 640px) {
  .doom-content {
    --panel-max-content-width: 768px;
    --panel-padding: 4rem 2rem;
  }
}
@media screen and (min-width: 768px) {
  .doom-content {
    --panel-max-content-width: 640px;
    --panel-padding: 9.5rem;
  }
  .doom-content h2 {
    font-size: 3.25rem;
  }
  .doom-content p,
  .doom-content li {
    font-size: 1.125rem;
  }
  .doom-content .block-subtitle {
    font-size: 1rem;
  }
}
@media screen and (min-width: 912px) {
  .doom-content {
    --megamenu-height: 100px;
  }
}
@media screen and (min-width: 1024px) {
  .doom-content {
    --panel-max-content-width: 1280px;
  }
  .doom-content h2 {
    font-size: 3.25rem;
  }
}
@media screen and (min-width: 1440px) {
  .doom-content {
    --panel-max-content-width: 1600px;
  }
}

.product-item {
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  position: relative;
  padding: 1rem;
  padding-top: 2rem;
  background: radial-gradient(
      50% 50% at 50% 50%,
      rgba(0, 0, 0, 0.25) 0%,
      rgba(0, 0, 0, 0) 100%
    ),
    rgba(51, 51, 51, 0.7);
  transition: 0.2s var(--ease-out-quart);
}
.product-item[data-brand="corsair"] {
  --brand-img: url("https://assets.corsair.com/image/upload/f_auto,q_auto/v1745395873/pages/doom-the-dark-ages/corsair/corsair.png");
}
.product-item[data-brand="elgato"] {
  --brand-img: url("https://assets.corsair.com/image/upload/f_auto,q_auto/v1745398841/pages/doom-the-dark-ages/elgato/elgato.png");
}
.product-item[data-brand="drop"] {
  --brand-img: url("https://assets.corsair.com/image/upload/f_auto,q_auto/v1745398077/pages/doom-the-dark-ages/drop/drop.png");
}
.product-item::before {
  opacity: 0.5;
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 48px;
  height: 48px;
  content: "";
  background-image: var(--brand-img);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
.product-item-image {
  margin-bottom: 0.5rem;
}
.product-item-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
}
.product-item-info .product-item-name {
  font-weight: 600;
  font-size: 1.25rem;
}
.product-item-info .product-item-description {
  margin-bottom: 0.5rem;
  color: #d4d8da;
  font-size: 0.875rem;
}
.product-item .block-cta {
  margin-left: 0;
}
.product-item .block-cta::before {
  inset: 0;
  opacity: 0;
  position: absolute;
  width: 100%;
  height: 100%;
  content: "";
  background: rgba(0, 0, 0, 0.2);
  transition: opacity 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}
.product-item .product-item-image {
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  transform: scale(0.9);
}
.product-item:hover .product-item-image {
  transform: scale(1);
}
.product-item .block-cta:hover::before {
  opacity: 1;
}
.product-item:hover .product-item-corner {
  opacity: 1;
}
.product-item-corner {
  opacity: 0;
  position: absolute;
  width: 32px;
  height: 32px;
  border-color: #fff;
  transition: opacity 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}
.product-item-corner-tl {
  inset: 0 auto auto 0;
  border-top: 2px solid #fff;
  border-left: 2px solid #fff;
}
.product-item-corner-tr {
  inset: 0 0 auto auto;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
}
.product-item-corner-br {
  inset: auto 0 0 auto;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
}
.product-item-corner-bl {
  inset: auto auto 0 0;
  border-bottom: 2px solid #fff;
  border-left: 2px solid #fff;
}
@media screen and (min-width: 640px) {
  .product-item {
    padding: 2rem;
    padding-top: 4rem;
  }
}
@media screen and (min-width: 1024px) {
  .product-item-info .product-item-name {
    font-size: 2rem;
  }
  .product-item-info .product-item-description {
    font-size: 1rem;
  }
}
@media screen and (min-width: 1440px) {
  .product-item-info .product-item-name {
    font-size: 2.5rem;
  }
  .product-item-info .product-item-description {
    font-size: 1.125rem;
  }
}

.products-panel {
  background: #000;
}
.products-panel .block-content {
  gap: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.products-panel .block-header {
  gap: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #fff;
  text-align: center;
}
.products-panel .block-title {
  margin: 0;
}
.products-panel .block-description {
  max-width: var(--panel-max-content-width);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.25;
  text-align: center;
}
.products-panel .products-grid {
  gap: 1.5rem;
  grid-template-columns: 1fr;
  display: grid;
  max-width: var(--panel-max-content-width);
}
.products-panel .product-item {
  cursor: pointer;
}
.products-panel .product-item-image img {
  aspect-ratio: 4/3;
  object-fit: contain;
}
@media screen and (min-width: 1024px) {
  .products-panel .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .products-panel .block-title {
    max-width: 1200px;
  }
}

#full-collection {
  padding: 0;
  padding-top: 2rem;
}
#full-collection .block-content {
  position: relative;
}
#full-collection .block-copy {
  padding-inline: 2rem;
  z-index: 1;
  position: absolute;
  top: 0;
  left: 50%;
  width: 100%;
  max-width: var(--panel-max-content-width);
  text-align: center;
  transform: translateX(-50%);
}
#full-collection .interactive-content {
  padding-top: 8rem;
}
#full-collection .hotspots-wrapper {
  mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 1) 50%
  );
  position: relative;
}
#full-collection .product-item-wrapper {
  padding-inline: 0.5rem;
}
#full-collection .product-item {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  height: 400px;
  cursor: grab;
}
#full-collection .product-item:active {
  cursor: grabbing;
}
#full-collection .product-item-image {
  flex-grow: 1;
  width: 80%;
  min-height: 0;
}
#full-collection .product-item-image img {
  object-fit: contain;
  width: 100%;
  height: 100%;
}
#full-collection .product-item-name {
  margin-bottom: 12px;
  font-weight: 600;
}
#full-collection .product-item-description {
  display: none;
}
#full-collection .hotspot-targets {
  display: none;
}
#full-collection .slider-nav-mobile {
  gap: 0.5rem;
  display: flex;
  justify-content: flex-end;
  padding: 2rem 1rem;
}

#full-collection .slider-nav-desktop {
  display: none;
}
@media screen and (min-width: 1024px) {
  #full-collection {
    padding-top: 4rem;
  }
  #full-collection .block-copy {
    position: relative;
    max-width: 1200px;
  }
  #full-collection .interactive-content {
    gap: 2rem;
    grid-template-columns: 2fr 1fr;
    display: grid;
    align-items: center;
    margin-right: 6rem;
    padding-top: 2rem;
  }
  #full-collection .hotspots-wrapper {
    mask-image: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 1) 10%,
      rgba(0, 0, 0, 1) 90%,
      rgba(0, 0, 0, 0) 100%
    );
  }
  #full-collection .product-item-wrapper {
    padding-block: 1rem;
    padding-inline: 0;
  }
  #full-collection .product-item {
    height: 400px;
  }
  #full-collection .product-item-image {
    width: 100%;
  }
  #full-collection .collection-wrapper {
    mask-image: none;
    position: relative;
  }
  #collection-slider {
    mask-image: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 1) 10%,
      rgba(0, 0, 0, 1) 90%,
      rgba(0, 0, 0, 0) 100%
    );
  }
  #full-collection .slider-nav-mobile {
    display: none;
  }
  #full-collection .slider-nav-desktop {
    inset: 0;
    padding-block: 2rem;
    display: block;
    display: flex;
    position: absolute;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    pointer-events: none;
  }
  #full-collection .slider-nav-desktop button {
    pointer-events: all;
  }
  #full-collection .slider-next {
    transform: rotate(180deg);
  }
  #full-collection .hotspot-targets {
    inset: 0;
    display: block;
    position: absolute;
  }
  #full-collection .hotspot-target {
    display: flex;
    position: absolute;
    top: 10%;
    left: 10%;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    transition: background-color 0.2s ease-out;
    transform: translate(-50%, -50%);
  }
  #full-collection .hotspot-target img {
    width: 24px;
    height: 24px;
    transition: transform 0.2s ease-out;
  }
  #full-collection .hotspot-target:hover {
    background-color: rgba(255, 255, 255, 0.3);
  }
  #full-collection .hotspot-target:hover img {
    transform: scale(1.1);
  }
  #full-collection .hotspot-target[data-active="true"],
  #full-collection .hotspot-target[data-active="true"]:hover {
    background-color: rgba(255, 255, 255, 0.3);
  }
  #full-collection .hotspot-target[data-active="true"] img,
  #full-collection .hotspot-target[data-active="true"]:hover img {
    transform: scale(1);
  }
  #full-collection .hotspot-target[data-product-id="corsair-m75-wireless"] {
    top: 60%;
    left: 68%;
  }
  #full-collection
    .hotspot-target[data-product-id="corsair-k65-plus-wireless"] {
    top: 70%;
    left: 40%;
  }
  #full-collection .hotspot-target[data-product-id="corsair-deskmat"] {
    top: 77%;
    left: 57%;
  }
  #full-collection .hotspot-target[data-product-id="origin-pc-system"] {
    top: 38%;
    left: 89%;
  }
  #full-collection .hotspot-target[data-product-id="elgato-stream-deck"] {
    top: 45%;
    left: 47%;
  }
  #full-collection .hotspot-target[data-product-id="scuf-controller"] {
    top: 60%;
    left: 60%;
  }
  #full-collection .hotspot-target[data-product-id="corsair-hs80"] {
    top: 45%;
    left: 60%;
  }
}
@media screen and (min-width: 1600px) {
  #full-collection .interactive-content {
    margin-right: 12rem;
  }
  #full-collection .product-item {
    height: 530px;
  }
}
@media screen and (min-width: 2100px) {
  #full-collection .interactive-content {
    max-width: 2000px;
    margin: 0 auto;
  }
}
