.payment-methods {
  background-color: #0c0d12;
  padding: 50px 20px;
  text-align: center;
  color: #e6e6e6;
}

.payment-methods__container {
  max-width: 1240px;
  margin: 0 auto;
}

.payment-methods__title {
  font-family: 'Museo Sans Cyrl 500', sans-serif;
  font-size: 64px;
  font-weight: bold;
  margin-bottom: 40px;
  color: #f1f1f1;
}

.payment-methods__list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
}

.payment-method {
  position: relative;
  background-color: #141a28;
  border-radius: 10px;
  padding: 30px 20px;
  width: 180px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.3);
  transition: 0.3s;
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-direction: column;
}

.payment-method:hover {
  transform: translateY(-5px);
}

.payment-method__icon {
  width: 78px;
  height: auto;
  margin-bottom: 15px;
  filter: brightness(1.1);
}

.payment-method__label {
  font-family: 'Museo Sans Cyrl 300',sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #fff;
}

.payment-method__discount-holder {
  position: absolute;
  top: -10px;
  right: -10px;
  background-color: #0c0d12;
  color: #fff;
  font-size: 13px;
  font-weight: bold;
  padding: 6.5px 6px;
  border-radius: 50%;
}

.payment-method__discount {
  background-color: #CF2A2D;
  color: #fff;
  font-size: 13px;
  font-weight: bold;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 4px rgba(0,0,0,0.4);
}

@media (max-width: 768px) {
  .payment-methods__list {
    justify-content: center;
    gap: 20px;
  }

  .payment-method {
    width: 45%;
  }
  
  .payment-methods__title {
    font-size: 54px;
  }
  
}

@media (max-width: 480px) {
    .payment-method__icon {
      width: 50px;
      height: 59px;
    }
    
    .payment-method__discount-holder {
        padding: 4.5px 5px;
    }
    
    .payment-method__discount {
        padding: 9.5px 2px;
        width: 34px;
        height: 34px;
        display: block;
    }
    
  .payment-method {
    width: 45%;
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .payment-methods__title {
    font-size: 32px;
  }
}

@media (min-width: 1024px) {
    .payment-method {
      width: 228px;
      padding: 20px 5px;
    }
}

@media (min-width: 1440px) {
    .payment-method {
      width: 300px;
      padding: 20px 5px;
    }
    .payment-methods__list {
      gap: 30px;
    }
    .payment-methods__container {
      max-width: 1300px;
    }
}