@import url("https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap");
:root {
  --primary-color: #3d529b;
  --secondary-color: #004994;
  --primary-gray: #747474;
  --secondary-gray: #666;
}
.main {
  max-width: 1920px;
  margin: 0 auto;
}
body {
  margin: 0;
  padding: 0;
  font-family: "Open Sans", sans-serif;
}
* {
  margin: 0;
  box-sizing: border-box;
}
.btn {
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
}
.btn-purple {
  background-color: var(--primary-color);
  color: white;
  padding: 14px 60px;
  border-radius: 8px;
  height: 46px;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  height: 133px !important;
  max-height: 133px;
  & img {
    height: 52px;
  }
}
.hero {
  position: relative;
  min-height: calc(100svh - 133px);
  height: fit-content;
  color: white;
  padding: 117px 100px;

  & p {
    color: #fff;
    font-size: 30px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
  }
  & article {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 400px;
  }
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url(assets/hero.webp);
  background-size: cover;
  background-position: right;
  background-repeat: no-repeat;
  transform: scaleX(-1);
  transform-origin: center;
  z-index: -1;
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.5) 0%, transparent 40%);
  z-index: -1;
}

h1 {
  color: #fff;
  font-size: 70px;
  font-style: normal;
  font-weight: 500;
  line-height: 100%; /* 70px */
}
.text-bold {
  font-weight: 700 !important;
}
.card-img-mc {
  position: absolute;
  bottom: -12%;
  right: 100px;
}

.prize-section {
  padding: 80px 100px;
  display: grid;
  grid-template-columns: 3fr 2fr;
  align-items: stretch;
  & article:last-child {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
    height: 100%;
  }
  & img {
    width: 100%;
    border-radius: 40px;
    height: auto;
    max-height: 447px;
    max-width: 563px;
    object-fit: cover;
  }
}
.prize-text {
  width: 100%;
  max-width: 600px;
  padding-right: 40px;
  & h2 {
    color: #000;
    font-size: 50px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
  }
  & h3 {
    color: #000;
    font-size: 40px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
  }
  & .text-lg {
    color: #000;
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
  }
  & p {
    color: #000;
    font-family: "Open Sans";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%; /* 24px */
  }
}

.participate {
  padding: 80px 100px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  & h2 {
    color: #000;
    font-size: 50px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    & + p {
      color: #000;
      font-family: "Open Sans";
      font-size: 24px;
      font-style: normal;
      font-weight: 400;
      line-height: normal;
    }
  }
}
.participate-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.mc-card {
  height: 410px;
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 4px 40px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: 40px;
  gap: 20px;
  color: white;
  isolation: isolate;
  & > * {
    position: relative;
    z-index: 1;
  }
  & .title {
    color: #fff;
    font-size: 32px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
  }
  & .ab {
    position: absolute;
    left: -16px;
    top: -10px;
    color: rgba(255, 255, 255, 0.71);
    text-align: center;
    font-size: 210px;
    font-style: normal;
    font-weight: 700;
    line-height: 100%; /* 210px */
    letter-spacing: -8.4px;
  }
  &.card-01 {
    background-image: url(assets/cards/01.webp);
  }
  &.card-02 {
    background-image: url(assets/cards/02.webp);
  }
  &.card-03 {
    background-image: url(assets/cards/03.webp);
  }
  &.card-04 {
    background-image: url(assets/cards/04.webp);
  }
}

.mc-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.5) 50%, transparent 100%);
  z-index: 0;
  pointer-events: none;
  border-radius: 4px 40px;
}
.earn-chances {
  padding: 80px 100px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  & h2 {
    color: #000;
    font-size: 50px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
  }
  & .articles {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
  }
}
.article-item {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: start;
  max-width: 280px;
  & img {
    height: 60px;
  }
  color: #747474;
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: 100%; /* 24px */
}

.ftr-footer {
  padding: 120px;
  display: flex;
  flex-direction: column;
  background-color: #f7f7f7;
  gap: 40px;
  align-items: start;
  & h2 {
    color: var(--secondary-color);
    font-size: 40px;
    font-style: normal;
    font-weight: 700;
    line-height: 100%; /* 40px */
  }
  & p {
    color: #666;
    font-size: 32px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%; /* 48px */
  }
  & a {
    color: #666;
  }
}

@media (max-width: 856px) {
  .claim-your-card {
    display: none;
  }
  .modal {
    padding: 10px !important;
  }
  .logos {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    gap: 20px;
    & > img {
      height: auto;
      width: auto;
      max-height: 31px;
      object-fit: contain;
      max-width: 200px;
    }
  }
  .hero::before {
    background-position: center;
  }
  .hero {
    padding: 40px 20px;
    height: 500px;
    & article {
      gap: 20px;
      height: 100%;
      max-width: 340px;
      & .st {
        flex: 1;
      }
    }
    & h1 {
      color: #fff;
      font-size: 32px;
      font-style: normal;
      font-weight: 700;
      line-height: 110%; /* 35.2px */
      letter-spacing: -1.28px;
    }
    & p {
      color: #fff;
      font-size: 16px;
      font-style: normal;
      font-weight: 400;
      line-height: 120%; /* 19.2px */
      letter-spacing: -0.32px;
    }
    & .card-img-mc {
      width: 30vw;
      right: 20px;
      bottom: 0;
    }
  }
  .btn-purple {
    padding: 12px 40px;
  }
  .prize-section {
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    & h2 {
      font-size: 40px;
      font-style: normal;
      font-weight: 700;
      line-height: normal;
    }
    & h3 {
      font-size: 32px;
      font-style: normal;
      font-weight: 400;
      line-height: normal;
    }
    & p {
      font-size: 16px;
      font-style: normal;
      font-weight: 400;
      line-height: 150%; /* 24px */
    }
    & .text-lg {
      font-size: 18px;
      font-style: normal;
      font-weight: 400;
      line-height: normal;
      margin-bottom: 20px;
    }
  }
  .participate {
    padding: 40px 20px;
    & h2 {
      color: #000;
      font-size: 40px;
      font-style: normal;
      font-weight: 400;
      line-height: normal;
      & + p {
        color: #000;
        font-size: 18px;
        font-style: normal;
        font-weight: 400;
        line-height: normal;
      }
    }
    .participate-grid {
      grid-template-columns: 1fr;
      grid-template-rows: 1fr 1fr 1fr 1fr;
      & .ab {
        color: rgba(255, 255, 255, 0.71);
        text-align: center;
        font-size: 150px;
        font-style: normal;
        font-weight: 700;
        line-height: 100%; /* 150px */
        letter-spacing: -6px;
      }
      & .title {
        font-size: 24px;
        font-style: normal;
        font-weight: 400;
        line-height: normal;
      }
      & .mc-card {
        padding: 32px;
      }
    }
  }
  .earn-chances {
    padding: 40px 20px;
    & h2 {
      font-size: 40px;
      font-style: normal;
      font-weight: 400;
      line-height: 100%; /* 40px */
    }
    & .articles {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 40px;
      & .article-item {
        color: #666;
        font-size: 18px;
        font-style: normal;
        font-weight: 400;
        line-height: 100%; /* 18px */
      }
    }
  }
  .ftr-footer {
    padding: 40px 20px;
    & h2 {
      font-size: 30px;
      font-style: normal;
      font-weight: 700;
      line-height: 100%; /* 30px */
    }
    & p {
      font-size: 20px;
      font-style: normal;
      font-weight: 400;
      line-height: 150%; /* 30px */
    }
  }
}
