/* HIDE PREVIEW CONTAINER */
div[class*="PreviewCalendar_previewContainer"] {
  display: none;
}

h1,
h2,
h3,
p {
  font-family: "Saira", sans-serif;
  color: #fff;
}

html {
  scroll-behavior: smooth;
}

/* HERO */
#icue-link-hero {
  position: relative;
  width: 100%;
  min-height: 500px;
  height: calc(100vh - 100px);
  display: flex;
  justify-content: center;
  padding: 4rem 1rem;
}

#icue-link-hero-video {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  object-fit: cover;
}

#icue-link-hero-content {
  position: relative;
  height: 100%;
  max-width: 400px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
}

#icue-link-hero-logo {
  max-width: 120px;
  margin-bottom: 1rem;
}

#icue-link-hero-title {
  font-size: 2.75rem;
  line-height: 1;
  margin-bottom: 0.5rem;
  text-shadow: 0px 4px 6px rgba(0, 0, 0, 0.5);
}

#icue-link-hero-subtitle {
  font-weight: 400;
  font-size: 1.25rem;
  line-height: 1.1;
  letter-spacing: 0.2em;
  margin-bottom: 1rem;
  text-shadow: 0px 4px 6px rgba(0, 0, 0, 0.5);
}

#icue-link-hero-divider {
  border: none;
  height: 1px;
  background-color: #ece81a;
  width: 60%;
  max-width: 240px;
  margin-bottom: 1rem;
}

#icue-link-hero-description {
  font-weight: 400;
  font-size: 0.875rem;
  line-height: 1.25;
  letter-spacing: 0.1em;
  text-shadow: 0px 4px 6px rgba(0, 0, 0, 0.5);
}

/* NAVIGATION */
#icue-link-navigation {
  display: none;
}

/* ICUE LINK CONTENT */
#icue-link-content .section-title {
  font-size: 2rem;
  line-height: 1.1;
  margin-bottom: 0.75rem;
}

/* HOW IT WORKS */
#how-it-works {
  background: linear-gradient(180deg, #0c0c0c 0%, #232830 100%);
}

#how-it-works-wrapper {
  padding: 2rem 1rem;
  max-height: 1400px;
}

#how-it-works-section-header {
  display: flex;
  flex-direction: column;
}

#how-it-works-section-header > .section-title {
  margin-bottom: 0.25rem;
}

#how-it-works-watch-video {
  color: #ece81a;
  font-family: "Saira", sans-serif;
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
  align-self: flex-start;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

#how-it-works-carousel {
  display: none;
  color: #fff;
  margin-left: -1rem;
  margin-right: -1rem;
}

#how-it-works-carousel .slick-track {
  display: flex;
}

#how-it-works-carousel .carousel-panel {
  padding: 0 1rem;
  height: inherit;
  cursor: grab;
}

#how-it-works-carousel .carousel-panel:active {
  cursor: grabbing;
}

#how-it-works-carousel .panel-content {
  background-color: #000;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  height: 100%;
}

#how-it-works-carousel .panel-copy {
  margin-bottom: 0.5rem;
}

#how-it-works-carousel .panel-subtitle {
  font-size: 0.75rem;
  color: #ece81a;
  line-height: 1.1;
  margin-bottom: 0.5rem;
}

#how-it-works-carousel .panel-title {
  font-size: 1.75rem;
  line-height: 1.1;
  margin-bottom: 0.75rem;
}

#how-it-works-carousel .panel-description {
  font-size: 0.875rem;
  font-weight: 400;
}

#how-it-works-carousel .panel-list {
  padding: 1rem 0;
}

#how-it-works-carousel .panel-list > li {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: "Saira Condensed";
  font-size: 1rem;
  line-height: 1.25;
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
}

#how-it-works-carousel .panel-list > li::before {
  content: "square";
  display: block;
  font-family: "Material Icons Sharp";
  color: #ece81a;
  font-size: 0.5rem;
}

#how-it-works-carousel .panel-media {
  min-height: 0;
  display: flex;
}

#how-it-works-carousel .panel-media > img {
  object-fit: contain;
}

#how-it-works-carousel .panel-content > * {
  opacity: 0.3;
  transition: opacity 400ms;
}

#how-it-works-carousel .slick-current .panel-content > * {
  opacity: 1;
}

#how-it-works-carousel .arrow-icon {
  font-size: 1rem;
}

#how-it-works-carousel .custom-prev {
  left: 4px;
}

#how-it-works-carousel .custom-next {
  right: 4px;
}

#how-it-works-carousel .slick-arrow {
  position: absolute;
  z-index: 50;
  top: 50%;
  transform: translateY(-50%);
  color: #000;
  background-color: #ece81a;
  display: flex;
  border-radius: 50%;
  padding: 0.5rem;
  transition: opacity 200ms;
}

#how-it-works-carousel .slick-arrow.slick-disabled {
  opacity: 0;
}

#how-it-works-carousel-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 1rem 0;
}

#how-it-works-carousel-dots .custom-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
}

#how-it-works-carousel-dots .custom-carousel-dots > li {
  transition: width 500ms;
  width: 18px;
  position: relative;
}

#how-it-works-carousel-dots .custom-carousel-dots > .slick-active {
  width: 48px;
}

#how-it-works-carousel-dots .custom-carousel-dots > li::before {
  content: "";
  height: 4px;
  width: 100%;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  display: block;
  background-color: #fff;
  border-radius: 2px;
  opacity: 0.4;
  pointer-events: none;
}

#how-it-works-carousel-dots .custom-carousel-dots > .slick-active::before {
  opacity: 1;
}

#how-it-works-carousel-dots .custom-carousel-dots > li button {
  width: 100%;
  color: transparent;
}

#how-it-works-carousel-play-pause {
  margin-left: 1rem;
  display: flex;
  background-color: rgba(100, 100, 100, 0.3);
  border-radius: 50%;
  padding: 0.5rem;
}

#how-it-works-carousel-play-pause .material-icons-round {
  color: #fff;
  font-size: 1rem;
}

#how-it-works-carousel .panel-progress {
  height: 2px;
  background-color: #fff;
  width: 0;
  opacity: 0;
}

#how-it-works-carousel .panel-progress-track {
  position: relative;
  background: #4a4a4a;
  bottom: 2px;
}

#how-it-works-carousel .slick-current .panel-progress {
  opacity: 1;
}

/* ICUE LINK PRODUCT GRIDS */
#icue-link-product-grids-wrapper {
  background-image: url("https://assets.corsair.com/image/upload/f_auto,q_auto/pages/icue-link/assets/Panel-6/webp/Panel6_background.webp");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: bottom center;
}
#icue-link-product-grids {
  padding: 2rem 1rem;
}

#icue-link-product-grids .grid-item {
  background-size: cover;
  background-position: center;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0.5rem;
}

#icue-link-product-grids .grid-item.disabled {
  pointer-events: none;
}

#icue-link-product-grids .grid-item-content {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

#icue-link-product-grids .grid-item-name {
  font-family: "Saira Condensed", sans-serif;
  color: #ece81a;
  font-size: 1rem;
  font-weight: 500;
}

#icue-link-product-grids .item-name-divider {
  color: #fff;
  margin: 0 0.25rem;
}

#icue-link-product-grids .item-name-white {
  color: #fff;
}

#icue-link-product-grids .grid-item-coming-soon {
  font-family: "Saira Condensed", sans-serif;
  color: #fff;
  font-size: 0.75rem;
  font-style: italic;
  font-weight: 400;
  line-height: 1;
}

/* MOBILE GRID SIZES */
#icue-link-product-grids .icue-link-product-grid {
  display: grid;
  grid-auto-rows: 1fr;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

#pc-cooling-grid,
#cpu-coolers-grid,
#custom-cooling-grid,
#capswap-grid,
#core-components-grid {
  grid-template-columns: 1fr;
}

#icue-panel {
  background: linear-gradient(180deg, #182136, #000 50%);
}

#icue-panel .icue-panel-copy {
  padding: 3rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#icue-panel .icue-panel-logo {
  max-width: 120px;
  margin-bottom: 0.5rem;
}

#icue-panel .icue-panel-subtitle {
  font-size: 0.75rem;
  color: #ece81a;
  line-height: 1.1;
  margin-bottom: 0.5rem;
}

#icue-panel .section-title {
  max-width: 400px;
  text-align: center;
}

#icue-panel .icue-panel-description {
  font-size: 0.875rem;
  font-weight: 400;
  text-align: center;
  margin-bottom: 2rem;
  max-width: 500px;
}

#icue-panel .icue-panel-cta {
  padding: 0.625rem 3rem;
  font-family: "Saira";
  color: #ece81a;
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid #ece81a;
}

#guides {
  padding: 2rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#guides .section-title {
  text-align: center;
  margin-bottom: 1rem;
}

#guides .explorer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  max-width: 300px;
}

#guides .explorer-card {
  background-color: #fff;
}

#guides .explorer-card-image {
  width: 100%;
  object-fit: cover;
}

#guides .explorer-card-copy {
  padding: 1.5rem;
}

#guides .explorer-card-category {
  font-size: 0.75rem;
  color: #000;
  text-transform: uppercase;
  font-weight: 400;
  margin-bottom: 0.5rem;
}

#guides .explorer-card-title {
  color: #000;
  font-family: "Saira Condensed";
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  font-size: 1.125rem;
}

#watch-now-modal {
  display: none;
  /* display: flex; */
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  width: 100%;
  height: 100%;
}

#watch-now-modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(40, 40, 40, 0.5);
  backdrop-filter: blur(2px);
}

#watch-now-modal-content {
  position: relative;
}

#watch-now-modal .desktop-video {
  display: none;
}

#watch-now-close {
  position: absolute;
  right: -24px;
  top: -24px;
  color: #fff;
}

/* SMALL VIEWPORT */
@media screen and (min-width: 640px) {
  /* HERO */
  #icue-link-hero {
    padding-bottom: 8rem;
  }

  #icue-link-hero-content {
    max-width: 640px;
  }

  #icue-link-hero-logo {
    max-width: 160px;
  }

  #icue-link-hero-title {
    font-size: 4rem;
  }

  #icue-link-hero-subtitle {
    font-size: 1.5rem;
  }

  #icue-link-hero-description {
    font-size: 0.875rem;
  }

  /* ICUE LINK CONTENT */
  #icue-link-content .section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
  }

  /* ICUE LINK PRODUCT GRIDS */
  #icue-link-product-grids {
    padding: 2rem;
  }

  #icue-link-product-grids .grid-item {
    padding: 1rem 1.25rem;
  }

  #icue-link-product-grids .grid-item-name {
    font-size: 1.25rem;
  }

  #icue-link-product-grids .grid-item-coming-soon {
    font-size: 1rem;
  }

  /* SMALL VIEWPORT GRID SIZES */
  #icue-link-product-grids .icue-link-product-grid {
    gap: 1rem;
    margin-bottom: 3rem;
  }

  #pc-cooling-grid,
  #custom-cooling-grid,
  #cpu-coolers-grid,
  #capswap-grid,
  #core-components-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* HOW IT WORKS CAROUSEL */
  #how-it-works-wrapper {
    padding: 2rem;
  }

  #how-it-works-carousel {
    margin-left: -2rem;
    margin-right: -2rem;
  }

  #how-it-works-carousel .carousel-panel {
    padding: 0 2rem;
  }

  #how-it-works-carousel .panel-content {
    padding: 2rem;
  }

  #guides {
    padding: 6rem 3rem;
  }

  #how-it-works-carousel .panel-copy {
    margin-bottom: 1rem;
  }

  #how-it-works-carousel .panel-subtitle {
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
  }

  #how-it-works-carousel .panel-title {
    font-size: 2.25rem;
    line-height: 1.1;
    margin-bottom: 0.75rem;
  }

  #how-it-works-carousel .panel-description {
    font-size: 1rem;
  }

  #guides .explorer-content {
    grid-template-columns: repeat(2, 1fr);
    max-width: 600px;
  }

  #guides .explorer-card-image {
    height: 140px;
  }
}

/* MEDIUM VIEWPORT */
@media screen and (min-width: 768px) {
  /* ICUE LINK PRODUCT GRIDS */
  #icue-link-product-grids {
    padding: 3rem;
  }

  #icue-link-product-grids .grid-item {
    min-height: 320px;
  }

  /* HOW IT WORKS CAROUSEL */
  #how-it-works-wrapper {
    padding: 3rem;
  }

  #how-it-works-carousel {
    margin-left: -3rem;
    margin-right: -3rem;
  }

  #how-it-works-carousel .carousel-panel {
    padding: 0 3rem;
  }

  #watch-now-modal .mobile-video {
    display: none;
  }

  #watch-now-modal .desktop-video {
    display: block;
  }
}

/* LARGE VIEWPORT */
@media screen and (min-width: 1024px) {
  /* HERO */
  #icue-link-hero-content {
    max-width: none;
  }

  #icue-link-hero-logo {
    max-width: 180px;
    margin-bottom: 1.5rem;
  }

  #icue-link-hero-title {
    font-size: 5rem;
  }

  #icue-link-hero-subtitle {
    font-size: 2rem;
  }

  #icue-link-hero-divider {
    max-width: 300px;
    margin-bottom: 1.5rem;
  }

  #icue-link-hero-description {
    font-size: 1.125rem;
  }

  /* ICUE LINK CONTENT */
  #icue-link-content .section-title {
    font-size: 2.75rem;
  }

  /* ICUE LINK PRODUCT GRIDS */
  #icue-link-product-grids {
    padding: 4rem;
    max-width: 1800px;
    margin: 0 auto;
  }

  #icue-link-product-grids .grid-item {
    min-height: 420px;
  }

  /* LARGE VIEWPORT GRID SIZES */
  #pc-cooling-grid,
  #custom-cooling-grid,
  #capswap-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* HOW IT WORKS CAROUSEL */
  #how-it-works-section-header {
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
  }

  #how-it-works-section-header .section-title {
    margin: 0;
  }

  #how-it-works-watch-video {
    margin: 0;
    align-self: center;
  }

  #how-it-works-wrapper {
    padding: 4rem;
    max-width: 1800px;
    margin: 0 auto;
  }

  #how-it-works-carousel {
    position: relative;
    left: -120px;
    margin: 0;
    width: calc(100% + 120px + 4rem);
  }

  #how-it-works-carousel .carousel-panel {
    padding-right: 24px;
    padding-left: 0;
    overflow: hidden;
  }

  #how-it-works-carousel .panel-content {
    padding: 3rem;
    max-height: 600px;
    flex-direction: row;
    gap: 4rem;
  }

  #how-it-works-carousel .panel-copy {
    flex-grow: 1;
    max-width: 320px;
    min-width: 300px;
  }

  #how-it-works-carousel .panel-list {
    padding: 2rem 0;
  }

  #how-it-works-carousel .panel-list > li {
    font-size: 1.125rem;
    margin-bottom: 1rem;
  }

  #how-it-works-carousel .panel-list > li::before {
    font-size: 1rem;
  }

  #how-it-works-carousel .panel-media {
    justify-content: center;
  }

  #how-it-works-carousel .panel-media > video {
    object-fit: cover;
    width: 100%;
    object-position: center;
  }

  #how-it-works-carousel .slick-list {
    overflow: visible;
    /* -webkit-mask-image: linear-gradient(
      to right,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 1) 10%,
      rgba(0, 0, 0, 1) 80%,
      rgba(0, 0, 0, 0) 100%
    );
    mask-image: linear-gradient(
      to right,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 1) 10%,
      rgba(0, 0, 0, 1) 80%,
      rgba(0, 0, 0, 0) 100%
    ); */
    position: relative;
  }

  #how-it-works-carousel .custom-prev {
    left: 60px;
  }

  #how-it-works-carousel .custom-next {
    right: 80px;
  }

  /* ICUE PANEL */
  #icue-panel {
    background: linear-gradient(180deg, #182136, #000 100%);
  }

  #icue-panel .icue-panel-content {
    display: flex;
    max-width: 1800px;
    margin: 0 auto;
  }

  #icue-panel .icue-panel-copy {
    flex: 1 1 0;
    width: 50%;
    align-items: flex-start;
    justify-content: center;
    padding: 6rem 4rem;
  }

  #icue-panel .icue-panel-media {
    flex: 1 1 0;
    width: 50%;
  }

  #icue-panel .icue-panel-media video {
    height: 100%;
    object-fit: cover;
  }

  #icue-panel .icue-panel-subtitle {
    font-size: 0.875rem;
    color: #ece81a;
  }

  #icue-panel .section-title {
    max-width: none;
    text-align: start;
  }

  #icue-panel .icue-panel-description {
    max-width: 600px;
    font-size: 1rem;
    text-align: start;
  }

  #guides .explorer-content {
    grid-template-columns: repeat(4, 1fr);
    max-width: 1200px;
  }
}

/* XL VIEWPORT */
@media screen and (min-width: 1280px) {
  /* HERO */
  #icue-link-hero-title {
    font-size: 5.5rem;
  }

  #icue-link-hero-subtitle {
    font-size: 2.25rem;
  }

  #icue-link-hero-divider {
    max-width: 300px;
  }

  #icue-link-hero-description {
    font-size: 1.25rem;
  }

  #icue-link-product-grids .grid-item-name {
    font-size: 1.625rem;
  }

  #icue-link-product-grids .grid-item-coming-soon {
    font-size: 1.25rem;
  }

  /* NAVIGATION */
  #icue-link-navigation {
    display: flex;
    justify-content: center;
    position: sticky;
    top: 0;
    background: #262626;
    z-index: 100;
    transition: all 300ms ease-out;
  }

  #icue-link-navigation.megamenu-visible {
    top: 100px;
  }

  #icue-link-navigation-content {
    padding: 0.5rem 4rem;
    max-width: 1800px;
    width: 100%;
    display: flex;
    justify-content: space-between;
  }

  #icue-link-navigation-list {
    display: flex;
    gap: 4rem;
    color: #fff;
    font-family: "Saira";
  }

  #icue-link-navigation-list .nav-item {
    display: flex;
  }

  #icue-link-navigation-list .nav-item button {
    font-weight: 600;
    font-size: 0.875rem;
  }

  #shop-all-cta .shop-all-text {
    padding: 0.625rem 2.5rem;
  }

  #shop-all-cta {
    position: relative;
    background-color: #ece81a;
    font-family: "Saira";
    font-size: 0.75rem;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    padding: 0 0.5rem;
  }

  /* HOW IT WORKS */
  #how-it-works-carousel {
    position: relative;
    left: -240px;
    margin: 0;
    width: calc(100% + 240px + 4rem);
  }

  #how-it-works-carousel .custom-prev {
    left: 180px;
  }
}

@media screen and (min-width: 2100px) {
  #how-it-works-carousel .custom-prev {
    left: 80px;
  }

  #how-it-works-carousel .custom-next {
    right: 80px;
  }
}