

.model {
  position: relative;
  z-index: 3;
  text-align: center;
  background: url(https://storage-asset.msi.com/event/2026/cnd/crimson-desert/images/bg-mountain.webp) no-repeat center center;
  background-size: cover;
  background-attachment: fixed;
  padding: 25px 0;
}
.model::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 45%;
  background: linear-gradient(to bottom, rgba(27, 32, 37, 0.8), rgba(27, 32, 37, 0));
}
@media (min-width: 996px) {
  .model {
    background: url(https://storage-asset.msi.com/event/2026/cnd/crimson-desert/images/bg-mountain.webp) no-repeat center ;
    background-size: cover;
    background-attachment: fixed;
    padding: 0px 0 80px;
  }
}
.model__pdLine {
  display: flex;
  /* flex-direction: column; */
  justify-content: center;
  align-items: center;
  gap: 20px;
}
@media (min-width: 996px) {
  .model__pdLine {
    gap: 80px;
    flex-direction: row;
  }
}
.model__pdLine__item {

  position: relative;
  /* background-color: rgb(27, 32, 37); */
  border-radius: 25px;
  overflow: hidden;
  font-family: var(--font);
  font-size: min(max(2vw, 17px), 20px);
  transition: 0.2s;
  filter: opacity(0.5)
}
.model__pdLine__item:hover {
  transform: scale(1.1)
}
.model__pdLine__item.active {
  filter: opacity(1) brightness(1.1)
}

.model__pdLine__item img {
  /* position: relative;
  margin: 0 auto; */
  max-width: 110px;
}
.model__pdLine__item .imgBg {
  position: relative;
  z-index: 0;
}
.model__pdLine__item .imgBg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
}

.model__pdLine__item p {
  flex: 0 0 60%;
  position: relative;
  z-index: 3;
  padding: 15px;
  color: #fff;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (min-width: 996px) {
  .model__pdLine__item {
    max-width: 400px;
  }
  .model__pdLine__item .imgPd {
    transform: translate(-50%, 20%);
  }
  .model__pdLine__item img {

    max-width: 150px;
  }
  .model__pdLine__item p {
    min-height: 100px;
  }
}
.model__filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 25px;
  padding-top: 25px;
}
.model__filter-item {
  display: inline-flex;
  background-color: rgba(27, 32, 37, 0.8);
  border: #fff 1px solid;
  color: #fff;
  border-radius: 25px;
  padding: 10px 25px;
  cursor: pointer;
}
.model__filter-item.active {
  background: url("../images/bg.jpg") center center repeat;
  font-weight: bold;
  color: #230b01;
}
.model__filter-item:hover {
  background-color: #fff;
  color: rgb(27, 32, 37);
  transform: translateY(2px);
}
@media (min-width: 996px) {
  .model__filter {
    padding-top: 45px;
  }
}
.model__segment {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 25px;
  padding-top: 25px;
}
.model__segment-item {
  display: inline-flex;
  background-color: rgba(27, 32, 37, 0.2);
  border: #fff 1px solid;
  color: #fff;
  border-radius: 25px;
  padding: 10px 25px;
  cursor: pointer;
}
.model__segment-item.active {
  background: url("../images/bg.jpg") center center repeat;
  font-weight: bold;
  color: #230b01;
}
.model__segment-item:hover {
  background-color: #fff;
  color: rgb(27, 32, 37);
  transform: translateY(2px);
}
@media (min-width: 996px) {
  .model__segment {
    padding-top: 45px;
  }
}
.model__pdBox {
  display: flex;
  flex-direction: column;
  gap: 0px;
  margin-top: 25px;
  padding: 5px;
  background-color: rgba(27, 32, 37, 0.8);
}
@media (min-width: 768px) {
  .model__pdBox {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0px;
    margin-top: 60px;
  }
}
.modelCard {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  border-bottom: rgba(121, 131, 142, 0.8) 1px solid;
  border: rgba(121, 131, 142, 0.8) 1px solid;
}
.modelCard-title a {
  color: #fff;
  font-weight: bold;
}
.modelCard-title a:hover {
  text-decoration: underline;
}
.modelCard__btn {
  position: relative;
  margin-left: 10px;
}
.modelCard__btn a, .modelCard__btn button {
  border: #fff 1px solid;
  padding: 10px;
  border-radius: 5px;
  color: #fff;
  font-family: var(--font);
}
.modelCard__btn a:hover, .modelCard__btn button:hover {
  background-color: #fff;
  color: rgb(27, 32, 37);
  transform: translateY(2px);
}
@media (min-width: 768px) {
  .modelCard {
    width: 50%;
  }
}
@media (min-width: 996px) {
  .modelCard__img {
    min-height: 200px;
    position: relative;
  }
  .modelCard__img img {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 60%;
    width: auto;
    object-fit: contain;
  }
  .modelCard figcaption {
    position: absolute;
    z-index: 3;
    top: 70%;
    left: 0;
    width: 100%;
    padding: 10px;
    color: #fff;
    font-weight: bold;
  }
}



.popup {
  position: fixed;
  z-index: 99;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  overflow-y: auto;
  display: none;
}
.popup.show {
  display: block;
}
.popup__wrapper {
  position: relative;
}
.popup__inner {
  position: relative;
}
.popup__header {
  padding: 25px;
  text-align: center;
  background: url("../images/bg.jpg") center center repeat-x;
}
.popup__header h2 {
  font-size: min(max(3.5vw, 28px), 36px);
  color: #5f032e;
  font-family: var(--font);
}
.popup__body {
  padding: 35px 25px 150px;
  width: 100%;
  margin: 0 auto;
  max-width: 1000px;
  margin: 0 auto;
}
.popup__close {
  position: fixed;
  z-index: 10;
  left: 50%;
  bottom: 20px;
  z-index: 1;
  width: 45px;
  height: 45px;
  cursor: pointer;
  opacity: 0.6;
  background: #5f032e;
  border-radius: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  align-items: center;
}
.popup__close::before {
  content: "\ea02";
  font-family: "msi-icons";
  font-size: 36px;
  color: #fff;
}
.popup__close:hover {
  opacity: 1;
}
@media (min-width: 996px) {
  .popup__close {
    width: 90px;
    height: 90px;
  }
}


.popout {
  position: fixed;
  z-index: 99;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  overflow-y: auto;
  display: none;
}
.popout__block {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}
.popout__block-close {
  position: fixed;
  z-index: 10;
  left: 50%;
  bottom: 20px;
  z-index: 1;
  width: 45px;
  height: 45px;
  cursor: pointer;
  opacity: 0.6;
  background: #be731e;
  border-radius: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  align-items: center;
}
.popout__block-close::before {
  content: "\ea02";
  font-family: "msi-icons";
  font-size: 36px;
  color: #fff;
}
.popout__block-close:hover {
  opacity: 1;
}
@media (min-width: 996px) {
  .popout__block-close {
    width: 90px;
    height: 90px;
  }
}
.popout__dm {
  border: 2px solid #be731e;
  width: 100%;
  margin: 0 auto;
  max-width: 1200px;
  padding: 20px;
  text-align: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px;
}
@media (min-width: 996px) {
  .popout__dm {
    padding: 50px;
  }
}
.popout__dm a {
  display: inline-flex;
  background: #fff;
  padding: 20px;
  border-radius: 15px;
}
.popout__dm a img {
  width: auto;
  height: 30px;
  object-fit: contain;
}
