.doom-content {
  --panel-max-content-width: 768px;
  --panel-padding: 4rem 1rem;
  --megamenu-height: 60px;
  --doom-accent: #a9b263;
}

.doom-content img {
  user-select: none;
  pointer-events: none;
}

.padding-panel {
  padding: var(--panel-padding);
}

.doom-content :is(h1, h2, h3, h4, h5, h6) {
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0.04em;
  color: #fff;
}

.doom-content h2 {
  font-size: 2.25rem;
}

.doom-content ul {
  list-style-type: disc;
  list-style-position: inside;
}

.doom-content p,
.doom-content li,
.doom-content td {
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.5;
  color: #fff;
}

.doom-content .block-cta {
  color: black;
  background-color: var(--doom-accent);
  padding: 0.75rem 2rem;
  font-weight: 600;
  width: fit-content;
  font-size: 1rem;
  display: block;
  margin: 0 auto;
  position: relative;
}

@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;
  }
}

/* HERO */
#hero {
  background-image: url("https://assets.corsair.com/image/upload/f_auto,q_auto/v1745321352/pages/doom-the-dark-ages/hero/background.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  width: 100%;
  min-height: fit-content;
  height: calc(100svh - var(--megamenu-height));
  max-height: 800px;
  position: relative;
  display: flex;
  justify-content: center;
}

#hero::after {
  content: "";
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.5) 100%
  );
  position: absolute;
  width: 100%;
  height: 50%;
  bottom: 0;
  left: 0;
}

#hero .block-content {
  position: relative;
  min-height: fit-content;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 4rem;
  z-index: 1;
  flex-direction: column;
}

#hero .block-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

#hero .block-quote {
  color: #fff;
  font-family: "Saira Condensed", sans-serif;
  text-align: center;
  font-weight: 500;
  line-height: 1.25;
  text-transform: uppercase;
  font-size: 1.125rem;
  padding: 0.375rem 1.5rem;
  letter-spacing: 0.03em;
  max-width: 400px;
  text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.8078431373) 33.18%,
    rgba(0, 0, 0, 0.8705882353) 66.72%,
    rgba(0, 0, 0, 0) 100%
  );
}

#hero .block-content > img {
  max-width: 300px;
}

@media screen and (min-width: 640px) {
  #hero {
    max-height: none;
  }

  #hero .block-quote {
    padding: 0.75rem 7.5rem;
    font-size: 24px;
    max-width: none;
  }
}

@media screen and (min-width: 1024px) {
  #hero {
    height: calc(100svh - 80px - var(--megamenu-height));
    padding-block: 6rem;
  }

  #hero .block-content > img {
    max-width: none;
  }
}

@media screen and (min-width: 640px) and (max-height: 1200px) {
  #hero {
    padding-top: 4rem;
    padding-bottom: 2rem;
  }
}

/* NAV MENU */
.menu {
  background: #262626;
  display: none;
}

.menu ul {
  display: flex;
  align-items: stretch;
  justify-content: center;
  flex-flow: row wrap;
  gap: 3rem;
  margin: 0 auto;
  list-style: none;
  height: 80px;
}

.menu-link {
  color: #fff;
  text-align: center;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  position: relative;
  transition: 0.4s all;
  border-bottom: 2px solid transparent;
  height: 100%;
}

.menu-link:hover {
  border-color: yellow;
}

@media screen and (min-width: 1024px) {
  .menu {
    display: block;
    position: sticky;
    top: 0;
    z-index: 99;
    transition: top 0.3s ease-out;
  }

  .menu.megamenu-visible {
    top: var(--megamenu-height);
  }
}

/* PRODUCT ITEM */
.product-item {
  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);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  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 {
  content: "";
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 48px;
  height: 48px;
  background-image: var(--brand-img);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.5;
}

.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-size: 1.25rem;
}

.product-item-info .product-item-description {
  font-size: 0.875rem;
  color: #d4d8da;
  margin-bottom: 0.5rem;
}

.product-item .block-cta {
  margin-left: 0;
}

.product-item .block-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2);
  opacity: 0;
  transition: opacity 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.product-item .product-item-image {
  transform: scale(0.9);
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.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 {
  position: absolute;
  width: 32px;
  height: 32px;
  border-color: #fff;
  transition: opacity 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  opacity: 0;
}

.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-bottom: 2px solid #fff;
  border-right: 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;
  }
}

/* HOTSPOT SLIDER */

/* EMBED */
#embed {
  display: flex;
  justify-content: center;
  background-image: url("https://assets.corsair.com/image/upload/v1745565151/pages/doom-the-dark-ages/common/background-grey.png");
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  padding-block: 6rem;
}

#embed::before {
  content: "";
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(
    50% 50% at 50% 50%,
    rgba(0, 0, 0, 0) 50%,
    rgba(0, 0, 0, 0.5) 100%
  );
}

#embed .block-media {
  width: 100%;
  max-width: var(--panel-max-content-width);
}

@media screen and (min-width: 1024px) {
  #embed {
    padding-block: 8rem;
  }
}

/* PRODUCT GRID */
.products-panel {
  background: #000;
}

.products-panel .block-content {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  align-items: center;
}

.products-panel .block-header {
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.products-panel .block-title {
  margin: 0;
}

.products-panel .block-description {
  text-align: center;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.25;
  max-width: var(--panel-max-content-width);
}

.products-panel .products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  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;
  }
}

/* RIBBON */
.ribbon {
  padding: 2rem;
  background: linear-gradient(
    90deg,
    rgba(25, 25, 25, 0) 0%,
    rgba(25, 25, 25, 0.6) 10%,
    rgba(25, 25, 25, 0.85) 30%,
    #191919 50%,
    rgba(25, 25, 25, 0.85) 70%,
    rgba(25, 25, 25, 0.6) 90%,
    rgba(25, 25, 25, 0) 100%
  );
  background-color: #000;
  display: flex;
  justify-content: center;
}

.ribbon .block-content {
  max-width: var(--panel-max-content-width);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.ribbon .block-media {
  display: flex;
  justify-content: center;
}

.ribbon .block-copy {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
  text-align: center;
}

.ribbon .block-title {
  color: #fff;
  text-align: center;
  font-size: 24px;
  font-weight: 600;
  line-height: 28px;
  text-transform: uppercase;
}

.ribbon .block-description {
  color: #fff;
  font-size: 16px;
  font-weight: 400;
  line-height: 22px;
}

.ribbon .shop-now {
  font-size: 16px;
  color: #a9b263;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: color 0.2s ease-in-out;
}

.ribbon .shop-now:hover {
  color: #a9b263cc;
}

@media screen and (min-width: 1024px) {
  .ribbon .block-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
  }

  .ribbon .block-copy {
    align-items: flex-start;
    text-align: left;
    justify-content: center;
    gap: 1rem;
  }

  .ribbon .block-title {
    font-size: 2rem;
  }

  .ribbon .block-description {
    font-size: 1.125rem;
    max-width: 600px;
  }
}

/* GALLERY */
#gallery {
  background-image: url("https://assets.corsair.com/image/upload/v1745565151/pages/doom-the-dark-ages/common/background-grey.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  position: relative;
  padding-inline: 0;
}

#gallery::before {
  content: "";
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(
    50% 50% at 50% 50%,
    rgba(0, 0, 0, 0) 50%,
    rgba(0, 0, 0, 0.5) 100%
  );
}

#gallery .slick-track {
  display: flex !important;
  max-height: 500px;
}

#gallery .slick-slide {
  height: inherit !important;
}

#gallery .block-content {
  position: relative;
  z-index: 1;
}

.gallery-slider-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#gallery .slider-nav {
  display: flex;
  justify-content: flex-end;
  padding-top: 1rem;
  gap: 0.5rem;
  max-width: var(--panel-max-content-width);
  margin: 0 auto;
}

#gallery .slider-prev {
  transform: rotate(-90deg);
}

#gallery .slider-next {
  transform: rotate(90deg);
}

#gallery :is(.slider-next, .slider-prev) {
  position: relative;
  border-radius: 50%;
}

#gallery :is(.slider-next, .slider-prev)::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
  opacity: 0;
  transition: opacity 0.2s ease-out;
}

#gallery :is(.slider-next, .slider-prev):hover::before {
  opacity: 1;
}

@media screen and (min-width: 640px) {
  .gallery-slider-item {
    padding: 1rem;
  }
}

@media screen and (min-width: 1024px) {
  #gallery .slick-track {
    max-height: 600px;
  }
}

@media screen and (min-width: 1920px) {
  #gallery .slick-track {
    max-height: 800px;
  }
}

/* FULL COLLECTION */
#full-collection {
  padding: 0;
  padding-top: 2rem;
}

#full-collection .block-content {
  position: relative;
}

#full-collection .block-copy {
  max-width: var(--panel-max-content-width);
  padding-inline: 2rem;
  text-align: center;
  position: absolute;
  top: 0;
  left: 50%;
  width: 100%;
  transform: translateX(-50%);
  z-index: 1;
}

#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;
  height: 400px;
  align-items: center;
  cursor: grab;
}

#full-collection .product-item:active {
  cursor: grabbing;
}

#full-collection .product-item-image {
  min-height: 0;
  flex-grow: 1;
  width: 80%;
}

#full-collection .product-item-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

#full-collection .product-item-name {
  margin-bottom: 0.5rem;
}

#full-collection .product-item-description {
  display: none;
}

#full-collection .hotspot-targets {
  display: none;
}

#full-collection .slider-nav-mobile {
  display: flex;
  justify-content: flex-end;
  padding: 2rem 1rem;
  gap: 0.5rem;
}

#full-collection .slider-nav-mobile .slider-prev {
  transform: rotate(-90deg);
}

#full-collection .slider-nav-mobile .slider-next {
  transform: rotate(90deg);
}

#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 {
    padding-top: 2rem;
    margin-right: 6rem;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    align-items: center;
  }

  #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-inline: 0;
    padding-block: 1rem;
  }

  #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 {
    display: block;
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding-block: 2rem;
    pointer-events: none;
  }

  #full-collection .slider-nav-desktop button {
    pointer-events: all;
  }

  #full-collection .slider-next {
    transform: rotate(180deg);
  }

  #full-collection .hotspot-targets {
    display: block;
    position: absolute;
    inset: 0;
  }

  #full-collection .hotspot-target {
    position: absolute;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;

    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    transition: background-color 0.2s ease-out;

    top: 10%;
    left: 10%;
  }

  #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: 50%;
    left: 62%;
  }

  #full-collection .hotspot-target[data-product-id="elgato-wave-dx"] {
    top: 59%;
    left: 81%;
  }

  #full-collection .hotspot-target[data-product-id="elgato-arm-lp"] {
    top: 52%;
    left: 97%;
  }

  #full-collection .hotspot-target[data-product-id="elgato-xlr"] {
    top: 23%;
    left: 46%;
  }

  #full-collection .hotspot-target[data-product-id="elgato-stream-deck"] {
    top: 30%;
    left: 35%;
  }

  #full-collection .hotspot-target[data-product-id="drop-cstm80"] {
    top: 61%;
    left: 35%;
  }

  #full-collection .hotspot-target[data-product-id="drop-deskmat"] {
    top: 40%;
    left: 45%;
  }

  #full-collection .hotspot-target[data-product-id="corsair-hs80"] {
    top: 38%;
    left: 89%;
  }
}

@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;
  }
}

/* FOOTER */
#footer .block-content {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #000;
}

#footer .block-copy {
  color: #fff;
  text-align: center;
  font-size: 1rem;
  font-weight: 400;
}

[class*="PreviewCalendar_previewContainer"] {
  display: none;
}
