html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

:root {
  --fs-min: 16px;
  --fs-aux-min: 13px;
  --title-fs: 40px;
  --title-fs-sm: 28px;
}

@media (min-width: 768px) {
  :root {
    --fs-min: 22px;
    --fs-aux-min: 14px;
  }
}

.msi__container {
  position: relative;
  padding: 0 18px;
  margin: 0 auto;
}

@media (min-width: 1921px) {
  .msi__container { width: 1720px; }
}
@media (max-width: 1920px) and (min-width: 1600px) {
  .msi__container { width: 1580px; }
}
@media (max-width: 1599px) and (min-width: 1300px) {
  .msi__container { width: 1340px; }
}
@media (max-width: 1299px) and (min-width: 992px) {
  .msi__container { width: 1070px; }
}
@media (max-width: 991px) and (min-width: 768px) {
  .msi__container { width: 830px; }
}
@media (max-width: 767px) {
  .msi__container { width: 100%; }
}

.mainarea {
  background: url("https://storage-asset.msi.com/event/2026/cnd/msi-university/images/bg.png") no-repeat center center;
  background-size: cover;
  background-attachment: fixed;
  overflow: hidden;
  position: relative;
}

.mainarea::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: linear-gradient(180deg, rgba(5, 8, 24, 0.35) 0%, transparent 35%, rgba(8, 0, 20, 0.25) 100%);
}

.promo2 {
  padding: 40px 0 88px;
  position: relative;
  z-index: 1;
}

.promo2__hero {
  margin-bottom: 28px;
}

.mainarea .kv {
  position: relative;
  width: 100%;
  padding-bottom: 37.25%;
}

@media (max-width: 767px) {
  .mainarea .kv {
    padding-bottom: 0;
    min-height: 540px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

.mainarea .kv__desktop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

@media (max-width: 767px) {
  .mainarea .kv__desktop {
    display: block !important;
    position: relative;
    inset: auto;
    height: 100%;
    min-height: 540px;
  }
}

.mainarea .kv__mobile {
  display: none;
  position: relative;
  width: 100%;
  overflow: hidden;
}

@media (max-width: 767px) {
  .mainarea .kv__mobile {
    display: none;
  }
}

.mainarea .kv__mobile-img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: top;
}

.mainarea .kv__img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 114%;
  max-width: none;
}

@media (max-width: 767px) {
  .mainarea .kv__img {
    top: 46%;
    width: 235%;
    max-width: none;
  }
}

.mainarea .kv__logo-wrap {
  position: absolute;
  top: 45%;
  left: 35%;
  transform: translate(-50%, -50%);
  width: 25%;
}

@media (max-width: 767px) {
  .mainarea .kv__logo-wrap {
    top: 28%;
    left: 50%;
    width: 60%;
  }
}

.mainarea .kv__clover {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  margin: 0 auto;
  width: 100%;
  animation: promo2CloverFloatY 2.8s ease-in-out infinite alternate;
  will-change: transform;
}

.mainarea .kv__clover-img {
  width: 100%;
  max-width: none;
  height: auto;
}

.mainarea .kv__bgn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: block;
  width: 95%;
  height: auto;
  will-change: transform;
}

@media (max-width: 767px) {
  .mainarea .kv__bgn {
    top: 47%;
    max-width: 220px;
    width: 175%;
  }
}

.mainarea .kv__textbox {
  position: absolute;
  top: 50%;
  left: 63%;
  transform: translate(-50%, -50%);
  width: 100%;
  text-align: center;
}

@media (max-width: 767px) {
  .mainarea .kv__textbox {
    left: 50%;
    top: auto;
    bottom: 34px;
    transform: translateX(-50%);
    width: calc(100% - 24px);
    max-width: 24rem;
    margin: 0 auto;
    padding: 1.1rem 0.9rem 1.2rem;
    box-sizing: border-box;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(10, 14, 34, 0.82) 0%, rgba(15, 10, 34, 0.72) 100%);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.32);
    backdrop-filter: blur(10px);
  }
}

.promo2__title {
  margin: 0 0 28px;
  font-family: "Rajdhani", "Aldrich", sans-serif;
  text-transform: uppercase;
}

.promo2__title-main,
.promo2__title-sub {
  display: block;
}

.promo2__title-main {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 25px;
  gap: 10px;
  color: rgb(207, 180, 127);
  font-size: clamp(30px, 2.8vw, 46px);
  font-weight: 700;
  letter-spacing: 2px;
  text-shadow: rgb(0, 0, 0) 2px 2px 5px;
  transition: color 0.3s, text-shadow 0.3s, filter 0.3s;
}

.promo2__title-sub {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(15px, 1vw, 20px);
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: 0.06em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}

.mainarea .kv__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-width: 11.5rem;
  max-width: 100%;
  padding: 0.72rem 1.3rem;
  border-radius: 999px;
  font-family: "Rajdhani", sans-serif;
  font-size: clamp(0.88rem, 1vw, 1rem);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(180deg, #d41232 0%, #c8102e 100%);
  border: 2px solid #9a0c22;
  box-shadow: 0 4px 0 #7a0a1c, 0 8px 24px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.mainarea .kv__button:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
  box-shadow: 0 6px 0 #7a0a1c, 0 12px 28px rgba(200, 16, 46, 0.35);
}

.mainarea .kv__button {
  margin-top: 1.5vw;
}

.promo2__description,
.promo2__section-text {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 16px;
  line-height: 1.7;
}

.promo2__products-block {
  margin-bottom: 28px;
  width: 1580px;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  overflow: hidden;
  box-sizing: border-box;
}

.promo2__products-block .lucky-promo__products-wrap,
.promo2__products-block .lucky-promo__marquee {
  overflow: hidden;
}

.promo2__products-block .lucky-promo__marquee-track {
  animation: luckyPromoMarquee 42s linear infinite;
  will-change: transform;
}

.promo2__products-block .lucky-promo__slide,
.promo2__products-block .lucky-promo__card,
.promo2__products-block .lucky-promo__card-link {
  height: 100%;
}

.promo2__products-block .lucky-promo__card-body {
  display: flex;
  flex-direction: column;
}

.promo2__products-block .lucky-promo__card-footer {
  margin-top: auto;
}

.promo2__products-block .lucky-promo__meta-badges--overlay {
  position: absolute;
  top: 14px;
  left: 14px;
  right: auto;
  margin-bottom: 0;
  min-height: 0;
  gap: 8px;
  z-index: 3;
}

.promo2__products-block .lucky-promo__meta-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 6px 10px;
  border-radius: 12px;
  font-family: "Rajdhani", "Aldrich", sans-serif;
  font-size: 12px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.06em;
  border: 1px solid transparent;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(10px);
}

.promo2__products-block .promo2__meta-badge-chance {
  color: #f3fbff;
  background: linear-gradient(180deg, rgba(14, 24, 46, 0.92) 0%, rgba(24, 49, 92, 0.84) 100%);
  border-color: rgba(84, 170, 255, 0.38);
  font-size: clamp(10px, 0.78vw, 12px);
  font-weight: 700;
  padding: 1px 7px;
  border-radius: 20px;
  box-shadow: 0 8px 18px rgba(8, 18, 38, 0.28);
}

.promo2__products-block .lucky-promo__meta-badge--label {
  color: rgba(255, 255, 255, 0.96);
  background: linear-gradient(180deg, rgba(11, 18, 36, 0.88) 0%, rgba(18, 27, 52, 0.72) 100%);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
}

.promo2__products-note {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.promo2__warning-note {
  max-width: 980px;
  margin: 0 auto 24px;
  text-align: center;
}

.promo2__warning-note-text {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-family: "Rajdhani", "Aldrich", sans-serif;
  font-size: clamp(1rem, 1.22vw, 1.2rem);
  line-height: 1.6;
}

.promo2__products-note-text,
.promo2__products-note-accent {
  margin: 0;
  font-family: "Rajdhani", "Aldrich", sans-serif;
  line-height: 1.6;
}

.promo2__products-note-text {
  color: #fff;
  font-size: 20px;
}

.promo2__products-note-text strong,
.promo2__warning-note-text strong {
  color: #fbb03b;
  font-weight: 700;
}

.promo2__products-note-accent {
  margin-top: 10px;
  font-size: clamp(1.2rem, 1.55vw, 1.65rem);
  font-weight: 700;
  background: linear-gradient(90deg, #f7931e 0%, #fbb03b 36%, #ffffff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.promo2__section-title {
  margin: 0 0 24px;
  color: #fff;
  font-family: "Rajdhani", "Aldrich", sans-serif;
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
  text-transform: uppercase;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.22);
}

.promo2__section-title-accent {
  color: transparent;
  background: linear-gradient(90deg, #16a3f2, #7bd3f9, #b2ffea);
  -webkit-background-clip: text;
  background-clip: text;
  display: inline-block;
  text-transform: uppercase;
  padding-bottom: 1%;
}

.promo2__redeem {
  margin: 42px auto 36px;
  width: 1580px;
  max-width: 100%;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(15, 18, 34, 0.72), rgba(9, 12, 24, 0.84)),
    url("/wp-content/uploads/promo2/bg2.jpg") center center / cover no-repeat;
  text-align: center;
}

.redeem__box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  text-align: center;
}

.redeem__item {
  padding: 24px 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(17, 22, 39, 0.88), rgba(10, 14, 28, 0.96));
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.22);
}

.redeem__item p,
.redeem__text p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 16px;
  line-height: 1.7;
}

.redeem__title {
  padding: 12px 0 10px;
  color: #fff;
  font-family: "Rajdhani", "Aldrich", sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.redeem__icon {
  width: 100%;
  max-width: 118px;
  margin: 0 auto;
  padding: 12px;
  border-radius: 50%;
  background: image-set(url("https://storage-asset.msi.com/event/2026/cnd/pragmata-game-bundle/images/w-bg.webp") type("image/webp"), url("https://storage-asset.msi.com/event/2026/cnd/pragmata-game-bundle/images/w-bg.jpg") type("image/jpeg")) center center / cover no-repeat;
  box-shadow: #000 5px 5px 15px;
}

.redeem__icon img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
}

.redeem__more {
  margin-top: 24px;
}

.redeem__text {
  padding: 20px;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.24);
}

.redeem__text h4 {
  margin: 0 0 12px;
  color: #fff;
  font-family: "Rajdhani", "Aldrich", sans-serif;
  font-size: 1.25rem;
}

.redeem__text p + p {
  margin-top: 10px;
}

.redeem__text .text--note {
  font-size: 14px;
  color: #b7bec9;
}

@media (min-width: 996px) {
  .redeem__box {
    flex-direction: row;
    gap: 24px;
    align-items: stretch;
  }

  .redeem__item {
    flex: 1;
  }
}

@keyframes promo2CloverFloatY {
  0% {
    transform: translate3d(0, -14px, 0);
  }
  100% {
    transform: translate3d(0, 12px, 0);
  }
}

@media (max-width: 1199px) {
  .promo2__title { font-size: 1.9rem; }
}

@media (max-width: 991px) {
  .promo2 {
    padding: 28px 0 64px;
  }

}

@media (max-width: 767px) {
  .promo2__title {
    margin: 0;
  }

  .promo2__title-main {
    padding: 8px 18px;
    font-size: 28px;
    letter-spacing: 1.5px;
  }

  .promo2__title-sub {
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.5;
    letter-spacing: 0.04em;
  }

  .mainarea .kv__clover {
    width: 100%;
    max-width: none;
  }

  .mainarea .kv__clover-img {
    width: 100%;
    max-width: none;
  }

  .mainarea .kv__button {
    min-width: 0;
    width: auto;
    margin-top: 14px;
    padding: 0.78rem 1rem;
    font-size: 0.88rem;
    letter-spacing: 0.06em;
  }

  .promo2__hero {
    margin-bottom: 20px;
  }

  .promo2__products-block {
    margin-bottom: 20px;
    padding: 10px 0;
    border-radius: 18px;
  }

  .promo2__products-block .lucky-promo__products-wrap,
  .promo2__products-block .lucky-promo__marquee {
    padding: 0 10px;
  }

  .promo2__products-block .lucky-promo__marquee::before,
  .promo2__products-block .lucky-promo__marquee::after {
    width: 18px;
  }

  .promo2__products-block .lucky-promo__marquee-track {
    gap: 10px;
    animation-duration: 52s;
  }

  .promo2__products-block .lucky-promo__slide {
    width: 170px;
    min-width: 170px;
  }

  .promo2__products-block .lucky-promo__card {
    border-radius: 14px;
  }

  .promo2__products-block .lucky-promo__card-media {
    padding: 8px 8px 0;
  }

  .promo2__products-block .lucky-promo__meta-badges--overlay {
    top: 12px;
    left: 12px;
    gap: 6px;
  }

  .promo2__products-block .lucky-promo__meta-badge {
    min-height: 24px;
    padding: 5px 8px;
    border-radius: 10px;
    font-size: 11px;
    letter-spacing: 0.04em;
  }

  .promo2__products-block .promo2__meta-badge-chance {
    font-size: 10px;
    padding: 1px 6px;
    border-radius: 20px;
  }

  .promo2__products-block .lucky-promo__card-image {
    border-radius: 12px;
  }

  .promo2__products-block .lucky-promo__card-body {
    min-height: 190px;
    padding: 12px 10px 10px;
  }

  .promo2__products-block .lucky-promo__card-title {
    min-height: 54px;
    margin-bottom: 8px;
  }

  .promo2__products-block .lucky-promo__card-note {
    min-height: 30px;
  }

  .promo2__products-block .lucky-promo__card-footer {
    margin-top: auto;
    padding-top: 10px;
  }

  .promo2__products-note {
    max-width: 100%;
    padding: 0 10px;
  }

  .promo2__warning-note {
    margin: 0 auto 18px;
    padding: 0 10px;
  }

  .promo2__warning-note-text {
    font-size: 0.98rem;
    line-height: 1.55;
  }

  .promo2__products-note-text {
    font-size: 15px;
    line-height: 1.5;
  }

  .promo2__products-note-accent {
    margin-top: 12px;
    font-size: 1.15rem;
    line-height: 1.45;
  }

  .promo2__section-title {
    margin-bottom: 18px;
    font-size: 1.7rem;
  }

  .promo2__redeem {
    margin: 30px auto 24px;
    padding: 18px 14px;
  }

  .redeem__item {
    padding: 18px 16px;
    border-radius: 18px;
  }

  .redeem__icon {
    max-width: 96px;
    padding: 10px;
  }

  .redeem__icon img {
    width: 100%;
  }


  .redeem__title {
    font-size: 1.15rem;
  }

  .redeem__item p,
  .redeem__text p {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .redeem__text {
    padding: 16px;
    border-radius: 16px;
  }

  .redeem__text h4 {
    font-size: 1.08rem;
  }
}